• 自己发自己走的是回环地址


    node1:/root#telnet 192.168.137.2 8080
    Trying 192.168.137.2...
    Connected to 192.168.137.2.
    Escape character is '^]'.
    11
    response:11
    22
    response:22
    
    
    没抓到数据:
    
    0 packets dropped by kernel
    node1:/root#tcpdump -S -i eth1 '((tcp) and  (port 8080) )'
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
    
    node1:/root#tcpdump -S -i lo '((tcp) and  (port 8080) )'
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
    
    
    22:45:50.704096 IP node1.36300 > node1.webcache: Flags [P.], seq 2128243426:2128243430, ack 1042421074, win 513, options [nop,nop,TS val 26482813 ecr 26468109], length 4
    22:45:50.704494 IP node1.webcache > node1.36300: Flags [P.], seq 1042421074:1042421087, ack 2128243430, win 512, options [nop,nop,TS val 26482813 ecr 26482813], length 13
    22:45:50.704504 IP node1.36300 > node1.webcache: Flags [.], ack 1042421087, win 513, options [nop,nop,TS val 26482813 ecr 26482813], length 0
    22:45:51.217918 IP node1.36300 > node1.webcache: Flags [P.], seq 2128243430:2128243434, ack 1042421087, win 513, options [nop,nop,TS val 26483326 ecr 26482813], length 4
    22:45:51.218018 IP node1.webcache > node1.36300: Flags [P.], seq 1042421087:1042421100, ack 2128243434, win 512, options [nop,nop,TS val 26483326 ecr 26483326], length 13
    22:45:51.218024 IP node1.36300 > node1.webcache: Flags [.], ack 1042421100, win 513, options [nop,nop,TS val 26483326 ecr 26483326], length 0
  • 相关阅读:
    CodeBlocks "no such file or directory" 错误解决方案(创建类找不到头文件)
    WCF配置文件与文件下载之坎坷路
    使用Visual Studio 2010打造C语言编译器
    一个小程序引发的思考
    在C#使用文件监控对象FileSystemWatcher 实现数据同步
    C 语言 static、extern与指针函数介绍
    检测端口是否被占用
    C# ini文件读写类
    C学习笔记(2)--指针
    plsql auto 常用语法
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348509.html
Copyright © 2020-2023  润新知