On 2014/06/27 09:58, Leclerc, Sebastien wrote: > Hi, > > Would this piece of code be useful to someone else than me?
Not sure about base, but it may make sense to add to ports. > +/* Stolen from ftp-proxy */ Old version of ftp-proxy I guess. It hasn't used DIOCNATLOOK for several releases, it has switched to the much easier-to-use divert-to / getsockname().