vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Mar 25, 2005, at 9:17 PM, Ted Unangst wrote: > always better to show the diff. Fair enough. I have two diffs up, one that works on OpenBSD 3.5 & 3.6 (http://www.cs.rpi.edu/~kempfj2/ftpd.specport.36.patch) and another for OpenBSD 3.7 (http://www.cs.rpi.edu/~kempfj2/ftpd.specport.37.patch). I've been testing on 3.6 and it seems to work (or I'm on crack). I *have not* tested the one for 3.7 (other than checking that it compiles), as bringing my laptop up to 3.7 is my project for tonight. To recap, this patch allows one tell ftpd to only select ports for PASV-mode transfers from a range specified on the command line. It handles the possible problem of port collision by simply retrying until it succeeds or makes nlog(n) attempts (where n is the size of the port range). I still need to come up with an intelligent way of handling the port exhaustion problem, however. Cheers, -Jesse Kempf VLSI Lab Systems Manager Center for Integrated Electronics Rensselaer Polytechnic Institute |