【问题标题】:tcpdump - resolve IP and skip resolving portstcpdump - 解析 IP 并跳过解析端口
【发布时间】:2013-11-06 09:38:52
【问题描述】:

如何告诉tcpdump 解析名称并保留未解析的端口号?

来自男人:

-n     Don’t convert host addresses to names.  This can be used to avoid DNS lookups.
-nn    Don’t convert protocol and port numbers etc. to names either.

设置tcpdump -nn 会跳过地址和端口的解析。

【问题讨论】:

    标签: tcpdump


    【解决方案1】:

    你试过-nnvvS吗(不要解析DNS或端口名称,打印信息时更详细,打印绝对序列号)

    Src:http://www.ihtb.org/security/tcpdump-explained.txt(已存档,原链接失效)

    【讨论】:

    • 只是确认这在运行 tcpdump 版本:4.1-PRE-CVS_2012_03_26 的 CentOS 6.x 系统上对我也不起作用。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-15
    • 1970-01-01
    • 2023-03-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多