zoukankan      html  css  js  c++  java
  • tcpcopy

    https://www.cnblogs.com/phennry/p/6382755.html?utm_source=itdadao&utm_medium=referral
    
    tcpdump -i eth0 src 172.16.0.86 and '(tcp and src port 8188 or src port 8189)' -nn -V -xxx
    tcpdump -i eth0 src 172.16.0.54 and tcp and dst port 8188 or dst port 8189 -nn
    
     /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d            
     # -s tcp辅机(asistant) -c 修改IP为172.16.0.54 
     
     
     
    /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d
    /usr/local/tcpcopy/sbin/tcpcopy -x 8188-172.16.0.86:8188 -s 172.16.0.86 -c 172.16.0.54 -d
    
     
     tcpdump -i eth0 src 172.16.0.54 and '(tcp and dst port 8188 or dst port 8189)' -nn
     
     
     
     
     
     tcpdump -i eth0 port 6379 -n -s 512
     
     
     
    tcpcopy:
    wget https://github.com/session-replay-tools/tcpcopy/archive/v1.2.0.tar.gz
    ./configure
    make install
    
    /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d
    /usr/local/tcpcopy/sbin/tcpcopy -x 8188-172.16.0.86:8188 -s 172.16.0.86 -c 172.16.0.54 -d
    
    iptables -A INPUT -s 172.16.0.86 -p tcp --sport 8188 -j DROP
    iptables -A INPUT -s 172.16.0.86 -p tcp --sport 8189 -j DROP
    
    
    
    wget https://github.com/session-replay-tools/intercept/archive/1.0.0.tar.gz
     ./configure
    yum -y install libpcap libpcap-deve
    ./configure
    make install
    /usr/local/intercept/sbin/intercept -i eth0 -F 'tcp and (src port 8188 or src port 8189)' -d
  • 相关阅读:
    一些术语
    Professional Frontend Engineering
    爱上阿森纳,爱上一种信仰
    ThinkPHP 和 UCenter接口的冲突
    这个城市
    来自Google的10条价值观
    如何将Gb2312转为unicode?
    未完成的代码(JS)
    微软也用PHP?!
    博客园对"公告"的Js进行了过滤
  • 原文地址:https://www.cnblogs.com/yum777/p/10076061.html
Copyright © 2011-2022 走看看