Hi, here is a ebuild for dns2tcp, a tool that enable to create a tcp stream over dns requests, to tunnel connexion over a restrictive firewall. It consist of a client and a server, listening on port 53, both in the same tarball. As other tunneling tools, I propose it should be in net-misc/ In order to be properly used with a init script, I had to patch dns2tcp to write the pid in a file.
Created attachment 164792 [details] ebuild for dns2tcp
Created attachment 164793 [details] initscript for dns2tcpd
Created attachment 164797 [details] patch to create a file with the pid, to ease the writing of the initscript
- The ebuild header is invalid¹ - Invalid license value, see /usr/portage/licenses - set_options and $makeopts stems from...? - dns2tcpdrc is a config file, I suppose? /tmp/toto.pid smells like /tmp file vulnerability... [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Mhh, indeed,it seems I used the wrong configuration file. Thanks for checking.
Created attachment 164839 [details] ebuild corrected for dns2tcp with license fixed, correct header, and removed set_options/$makeopts
Created attachment 164841 [details] patch to create a file with the pid, to ease the writing of the initscript Corrected the path of the pid file
Created attachment 179969 [details] updated ebuild Here is an updated ebuild. I don't include the pid patch since imo it has to go upstream. Michael, did you send it ? I can proxy-maintain this package, if some dev are willing to do this.
It seems i forgot to send them. I have sent it by email, with this bug number.
i would be willing to be your proxy, Olivier. it would still be nice to get the patch upstream first...
The patch was included upstream, but not in a stable release. From what I understood, next release is 0.5