<span>Ju</span>st so you know, gmail filtered this as spam.<br>Comrade Ringo Kamens<br><br><div class="gmail_quote">On Dec 27, 2007 10:16 PM, Kyle Williams <<a href="mailto:kyle.kwilliams@gmail.com">kyle.kwilliams@gmail.com
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Download at: <a href="http://www.janusvm.com/pub/Tor-UPNP.zip" target="_blank">
http://www.janusvm.com/pub/Tor-UPNP.zip</a><br>------------------------------------------------------------------------<br>Tor-UPNP is based on the PERL UPNP project: <a href="http://perlupnp.sourceforge.net/" target="_blank">
http://perlupnp.sourceforge.net/</a><br>It's been over 5 years since I worked with PERL, so things might be a bit<br>funky. The zip file includes a EXE for windows built with the PerlDEV Kit.<br><br>I had to make some heavy modifications to the
upnpgwtool.pl and a few lite<br>modifications to <a href="http://Gateway.pm" target="_blank">Gateway.pm</a> module to get this working with PPP and DHCP. I<br>also removed the 'delete' and 'list' features from this tool. Reason being
<br>that I wasn't able to get a single successful test using those commands. I<br>even tried using Intel's UPNP Tools with Wireshark and have come to the<br>conclusion that my ActionTec router is a piece of shit. However, I'm not
<br>worried about being able to remove entries right now. Apple, Microsoft, and<br>Sony just add a new port forwarding entry without checking to see if the<br>entry already exists. I'm starting to think that maybe their reason is the
<br>same as mine.<br><br>Anyhow..<br>The <a href="http://Gateway.pm" target="_blank">Gateway.pm</a> module was using only:<br>'urn:schemas-upnp-org:service:WANIPConnection:1'<br>when some routers only respond to:<br>
'urn:schemas-upnp-org:service:WANPPPConnection:1'.<br><br>Routers that respond to WANPPPConnection are using PPPoE to get an IP.<br>Routers that respond to WANIPConnection are using DHCP to get an IP.<br><br>With Tor-UPNP, it will attempt to try WANIPConnection first.
<br>If WANIPConnection fails then it will try to use WANPPPConnection.<br>If WANPPPConnection fails then it will give an error message and die.<br><br>This tool will automatically probe for the external IP address, your<br>
internal IP address, then attempt to setup the port forwarding on the ports<br>you specify on the command line.<br><br>SYNTAX: Tor-UPNP.exe OR_Port [DIR_Port]<br><br>Please post feedback. I would appreciate knowing:<br>- Did it work or fail
<br>- What brand and model of router you are using.<br><br>This is licensed under the GPL...it's free.<br>Use it for whatever you want. Source code included!!!<br>I don't even care if I get credit, but it would be nice.
<br>We will be including this in the next release of JanusVM.<br>I just want Tor to use UPNP!! Setup those Exit nodes by default, then let<br>someone opt out if they want to. :)<br><br>Enjoy!<br><font color="#888888"><br>
<br>- Kyle<br><br></font></blockquote></div><br>