tcpcopy icon indicating copy to clipboard operation
tcpcopy copied to clipboard

菜鸟请问archlinux 3.10内核下 传统架构,Nginx不行

Open jarviszeng-zjc opened this issue 11 years ago • 5 comments

你好,我刚刚使用你这个tcpcopy,在局域网上测试 服务器:192.168.1.78 (root) iptables -I OUTPUT -p tcp --sport 11511 -j NFQUEUE ./intercept 客户端:192.168.1.77(root) ./tcpcopy -x 11311-192.168.1.78:11511 发包机:192.168.1.70 用yandex-tank发请求到客户端:192.168.1.77

现象: 客户端 iftop看到很大流量 服务器 iftop没有流量没变化

请问这是什么问题,谢谢!

jarviszeng-zjc avatar Sep 12 '13 09:09 jarviszeng-zjc

用yandex-tank发请求到客户端:192.168.1.77 这个发送请求的端口对么? 另外最好附上日志~

在 2013年9月12日下午5:30,zengjice [email protected]写道:

你好,我刚刚使用你这个tcpcopy,在局域网上测试 服务器:192.168.1.78 (root) iptables -I OUTPUT -p tcp --sport 11511 -j NFQUEUE ./intercept 客户端:192.168.1.77(root) ./tcpcopy -x 11311-192.168.1.78:11511 发包机:192.168.1.70 用yandex-tank发请求到客户端:192.168.1.77

现象: 客户端 iftop看到很大流量 服务器 iftop没有流量没变化

请问这是什么问题,谢谢!

— Reply to this email directly or view it on GitHubhttps://github.com/wangbin579/tcpcopy/issues/145 .

flowly avatar Sep 12 '13 09:09 flowly

可以了,但是流量差距挺大,客户端500M 服务器5M。。。。

jarviszeng-zjc avatar Sep 13 '13 04:09 jarviszeng-zjc

另外想要测试bind,用udp不行,./tcpcopy -x 53-192.168.1.78:53,如何解决,谢谢!

@zengjice ,./configure --enable-udp

jarviszeng-zjc avatar Sep 13 '13 05:09 jarviszeng-zjc

@zengjice “可以了,但是流量差距挺大,客户端500M 服务器5M。。。”

这个需要日志文件(tcpcopy和intercept的log文件)才能分析

wangbin579 avatar Sep 16 '13 03:09 wangbin579

能提供一下tcpcopy的日志文件(tcpcopy和intercept的log文件)吗?

wangbin579 avatar Oct 14 '13 10:10 wangbin579