通过rawsocket或者wireshark如何设置只抓出去的包?
答案是:NO
http://www.tcpdump.org/manpages/tcpdump.1.html
-Q direction
–direction=direction
Choose send/receive direction direction for which packets should be captured. Possible values are in',
out’ and `inout’. Not available on all platforms.