<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 17, 2010, at 9:37 AM, Stefan Reich wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Bitstream Vera Sans Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; "><blockquote type="cite">I'm not sure about Deluge, but &lt;<a href="http://divmod.org/trac/wiki/DivmodVertex">http://divmod.org/trac/wiki/DivmodVertex</a>&gt; does some NAT hole-punching. &nbsp;It does it via sending UDP packets though, not by communicating directly with your router.<br></blockquote><blockquote type="cite"><br></blockquote>Yeah, I found that too... it looks quite interesting, but as you say, it<span class="Apple-converted-space">&nbsp;</span><br>is UDP-based. I know that there is a working TCP-solution. As I said,<span class="Apple-converted-space">&nbsp;</span><br>Deluge does it, and for example, the original Bittorrent client does it too.<br></span></span></blockquote></div><br><div>For what it's worth, Vertex includes an *implementation* of TCP, on top of UDP instead of IP. &nbsp;You can run any Twisted stream-based protocol with Vertex, you don't need to send UDP datagrams around.</div><div><br></div><div>(In fact, Vertex _only_ provides a stream-based transport; the UDP part is an implementation detail. &nbsp;If possible, vertex will try to use TCP first, and could be modified to use a techniques such as the ones described in &lt;<a href="http://www.brynosaurus.com/pub/net/p2pnat/">http://www.brynosaurus.com/pub/net/p2pnat/</a>&gt; section 4 to speak real TCP instead.)</div><div><br></div></body></html>