Screndib Posted January 20, 2006 Report Share Posted January 20, 2006 Right now it looks like uTorrent uses the default behavior of just getting a random port when it makes an outgoing connection. What would be nice is the ability to set a range of ports that will be used when making a connection. I haven't done any sockets programming in a while, but from what I can tell this would be a fairly easy feature to implement. I believe it would only require adding in a call to bind the socket to a port before it connects and whatever fairly simple logic would be needed to keep track of open ports.This feature would make it much easier for me to shape bittorrent traffic using port-based shaping tools, specifically m0n0wall. Right know I know all incoming connections are coming to the port that I specified, but any outgoing connections are completely random. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.