tcpdump -n -v tcp or udp or icmp and not port 22

show all upd tcp an icmp traffic but ssh


-2
By: opexxx
2009-09-04 09:23:52

These Might Interest You

  • This command is jsut for the main IP settings of ndd. if you need ip6 or icmp edit the text within the egrep inclusion area. Felix001 - www.Fir3net.com Show Sample Output


    0
    for i in `ndd /dev/ip \? | awk '{ print $1 }' | egrep -v "ip6|status|icmp|igmp|\?"` ; do echo $i `ndd -get /dev/ip $i` ; done | grep -v \?
    felix001 · 2010-02-15 12:32:33 0
  • you need to start a listening hping on the reciever: hping3 --listen 10.0.2.254 -I eth0 --sign MSGID1 then you can send your file: hping3 10.0.2.254 --icmp --sign MSGID1 -d 50 -c 1 --file a_file Show Sample Output


    11
    hping3 10.0.2.254 --icmp --sign MSGID1 -d 50 -c 1 --file a_file
    hadace · 2013-10-23 14:01:01 0
  • View all memcache traffic


    3
    sudo tcpdump -i eth0 -s 65535 -A -ttt port 11211
    kineticrick · 2011-03-10 08:20:00 0
  • Run this on a windows machine then add your localhost as a socks server for port 8080 within your web browser. Your traffic will now be proxying and sent via your server over ssh.


    0
    Putty -d 8080 [server]
    felix001 · 2009-10-15 06:54:58 2
  • Traffic details on the Ethernet interface. Show Sample Output


    -1
    ethtool -S eth0
    rockon · 2009-03-01 10:25:46 0
  • Trace and view network traffic. I made this far too complicated.. now fixed, thanks zolden.


    1
    tcpdump -A -s 0 port 80
    rik · 2012-02-22 14:17:45 4

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: