Linux TCPDump

]SK[

One of Freddy's beloved
Joined
Dec 22, 2003
Messages
298
Im tryng to do a tcpdump to watch whats happening on a server of mine. I cant really do a sucessful dump though as its dumping nothing but ssh (will be me). How would I strip out port 22/ssh? Awk?
 

TdC

Trem's hunky sex love muffin
Joined
Dec 20, 2003
Messages
30,693
tdc's server said:
Primitives may be combined using:

A parenthesized group of primitives and operators (paren-
theses are special to the Shell and must be escaped).

Negation (`!' or `not').

Concatenation (`&&' or `and').

Alternation (`||' or `or').
iow tcpdump port \!ssh

the \ escapes the ! you see.
 

Users who are viewing this thread

Top Bottom