<br><br><div class="gmail_quote">On 15 May 2012 13:34, Keith Winstein <span dir="ltr">&lt;<a href="mailto:keithw@mit.edu" target="_blank">keithw@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If we went into the<br>
realm of root and raw sockets, as Hari says we really could make the<br>
packets look like TCP which could be pretty cool.<br></blockquote><div><br>One thing to watch out for if you take this road is that a lot of NAT routers make strong assumptions about the semantics of TCP.  Some consumer NATS perform ACK forgery, retransmission of packets that were not retransmitted by the endpoint, MSS modification, reordering of TCP options (and other crazy stuff at the IP layer).  Doing TCP impersonation with a different retransmission model underneath might require both plausible fake TCP headers and tolerance for those headers being messed with in weird ways.<br>
</div></div>