<div dir="ltr">I would like to see this changed to something more cross platform. There is a python module (that requires compilation) that is available that does this exact thing:<div style><a href="https://pypi.python.org/pypi/netifaces/">https://pypi.python.org/pypi/netifaces/</a><br>
</div><div style><br></div><div style>It does the same thing as the connect to the A nameserver that we do, but it also has the different systems' specific getifaddrs functions set up.</div><div style><br></div><div style>
In adding IPv6 support I had to change this function greatly and it isn't totally working yet in Twisted's implementation of IPv6 UDP connect, so something that works on more things with more supported protocols would be great.</div>
</div><div class="gmail_extra"><br clear="all"><div>Randall Mason<br><a href="mailto:clashthebunny@gmail.com" target="_blank">clashthebunny@gmail.com</a></div>
<br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 3:30 PM, tahoe-lafs <span dir="ltr"><<a href="mailto:trac@tahoe-lafs.org" target="_blank">trac@tahoe-lafs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">#1988: don't stop the process if you can't execute "ifconfig" or "route.exe"<br>
</div>-----------------------------+---------------------------------------------<br>
<div class="im"> Reporter: zooko | Owner:<br>
Type: defect | Status: new<br>
Priority: normal | Milestone: undecided<br>
</div><div class="im"> Component: code- | Version: 1.10.0<br>
network | Keywords: iputil portability transparency<br>
Resolution: |<br>
Launchpad Bug: |<br>
-----------------------------+---------------------------------------------<br>
<br>
</div>Comment (by daira):<br>
<br>
Replying to [comment:4 zooko]:<br>
<div class="im"> > Replying to [comment:3 utf8notsupported]:<br>
> > Why not use ipconfig.exe on windows instead of route.exe? It's a<br>
closer w32 analog to ifconfig.<br>
><br>
> Using {{{route.exe}}} is known to work. Let's not change it unless<br>
there's a compelling reason to do.<br>
<br>
</div> +1<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ticket URL: <<a href="https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1988#comment:5" target="_blank">https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1988#comment:5</a>><br>
</font></span><div class="HOEnZb"><div class="h5">tahoe-lafs <<a href="https://tahoe-lafs.org" target="_blank">https://tahoe-lafs.org</a>><br>
secure decentralized storage<br>
_______________________________________________<br>
tahoe-lafs-trac-stream mailing list<br>
<a href="mailto:tahoe-lafs-trac-stream@tahoe-lafs.org">tahoe-lafs-trac-stream@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-lafs-trac-stream" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-lafs-trac-stream</a><br>
</div></div></blockquote></div><br></div>