Tcpflow
Flags
Security
-
-U user
- relinquish privleges and become user (if running as root)
-
-z dir
- chroot to dir (requires that
-U
be used).
Control of Scanners
-
-E scanner
- turn off all scanners except scanner
-
-S name=value
:Set a configuration parameter (-hh
for info)
Console output options
-
-B
- binary output, even with
-c
or-C
(normally-c
or-C
turn it off)
-
-c
- console print only (don't create files)
-
-C
- console print only, but without the display of source/dest header
-
-0
- don't print newlines after packets when printing to console
-
-s
- strip non-printable characters (change to '.')
-
-D
- output in hex (useful to combine with
-c
or-C
)
Example
-
tcpflow -D -c -i en0
- HEX 모드로 출력한다.
-
tcpflow -i eth0 port 80
- 포트 번호 필터링.