iptables 大佬来问了问题

2021-08-07 10:08:52 +08:00
 v2byy

tproxy

Transparent proxying often involves "intercepting" traffic on a router. This is usually done with the iptables REDIRECT target; however, there are serious limitations of that method. One of the major issues is that it actually modifies the packets to change the destination address -- which might not be acceptable in certain situations. (Think of proxying UDP for example: you won't be able to find out the original destination address. Even in case of TCP getting the original destination address is racy.)

在一些透明代理的资料,上面这段话中的加粗部分如何理解? UDP 无法知道原始的 dst address ?

994 次点击
所在节点    问与答
2 条回复
undef404
2021-08-07 10:19:50 +08:00
意思是只能看到代理的地址。看不到被代理的那个地址。
v2byy
2021-08-07 15:31:57 +08:00
@undef404 UDP 代理跟 TP 代理有区别么?如果没有,这里为什么单独拿 UDP 出来说事?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/794228

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX