Re:NAT-to-NAT direct connections with no proxy/STUN needed
by 00joe on Sunday March 28, 2010 @03:41PM
(#1225103)
Ok, so ICMP is easy to turn off. But why couldn't this technique be done over UDP or TCP? The server could send a UDP packet to a known "fake" address and the client could spoof its source address to penetrate the nat.
[ Parent
| on HN ]
Re:NAT-to-NAT direct connections with no proxy/STUN needed
by tptacek on Sunday March 28, 2010 @04:24PM
(#1225158)
Because the ICMP message is a case where NATs are already programmed to allow arbitrarily-sourced traffic to pass. The point is that the trick discovers the client's address, so they can establish direct 2-way comms.
Re:NAT-to-NAT direct connections with no proxy/STUN needed
by rphlx on Sunday March 28, 2010 @04:22PM
(#1225157)
Because many/most ISPs block simple outbound src addr spoofing.
pwnat works b/c ISPs don't (currently) inspect deep enough to notice spoofed addresses in the error packet contained inside ICMP.
This is an arms race b/t clever hackers and the ISP's increasingly deep packet inspection gear.