Hi, attached is a port for net/dns2tcp, a tool to tunnel TCP connections via DNS traffic. It differs from other DNS tunnels like net/iodine, that it really just wraps up the TCP packets, which decreases the payload (obviously).
http://www.hsc.fr/ressources/outils/dns2tcp/index.html.en I successfully ran the daemon on sparc64, client worked in sparc64 and amd64. Example configurations for client and server are in /usr/local/share/doc/dns2tcp/README I patched the README, so the server chroots to /var/empty and drops privs to _dns2tcp (I didn't know, how to exactly do the useradd part, perhaps somebody could take care of this please?). Also I removed includes for mystrnlen.h, as we have our own strnlen. I didn't look at the myrandom-functions, perhaps it's desirable to use something like arc4random, but I'm not sure if this would be useful. I'd be glad if somebody could take a look at it and tell me what I got wrong, as I'm not creating ports every day ;-) And test reports would be very cool, too. Regards, Simon
dns2tcp.tgz
Description: application/tar-gz