Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236938 - dns2tcp-0.4.1 ( new package )
Summary: dns2tcp-0.4.1 ( new package )
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.hsc.fr/ressources/outils/d...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-09-07 10:17 UTC by Michael Scherer
Modified: 2011-07-24 20:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for dns2tcp (dns2tcp-0.4.1.ebuild,684 bytes, text/plain)
2008-09-07 10:20 UTC, Michael Scherer
Details
initscript for dns2tcpd (dns2tcp.init.d,289 bytes, text/plain)
2008-09-07 10:21 UTC, Michael Scherer
Details
patch to create a file with the pid, to ease the writing of the initscript (dns2tcp-pid_file.diff,1.95 KB, text/plain)
2008-09-07 10:29 UTC, Michael Scherer
Details
ebuild corrected for dns2tcp (dns2tcp-0.4.1.ebuild,700 bytes, text/plain)
2008-09-07 18:47 UTC, Michael Scherer
Details
patch to create a file with the pid, to ease the writing of the initscript (dns2tcp-pid_file.diff,1.95 KB, text/plain)
2008-09-07 18:49 UTC, Michael Scherer
Details
updated ebuild (dns2tcp-0.4.3.ebuild,512 bytes, text/plain)
2009-01-28 15:03 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scherer 2008-09-07 10:17:12 UTC
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.
Comment 1 Michael Scherer 2008-09-07 10:20:53 UTC
Created attachment 164792 [details]
ebuild for dns2tcp
Comment 2 Michael Scherer 2008-09-07 10:21:52 UTC
Created attachment 164793 [details]
initscript for dns2tcpd
Comment 3 Michael Scherer 2008-09-07 10:29:30 UTC
Created attachment 164797 [details]
patch to create a file with the pid, to ease the writing of the initscript
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-07 11:57:06 UTC
- 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
Comment 5 Michael Scherer 2008-09-07 18:38:23 UTC
Mhh, indeed,it seems I used the wrong configuration file. Thanks for checking.
Comment 6 Michael Scherer 2008-09-07 18:47:49 UTC
Created attachment 164839 [details]
ebuild corrected for dns2tcp

with license fixed, correct header, and removed set_options/$makeopts
Comment 7 Michael Scherer 2008-09-07 18:49:34 UTC
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
Comment 8 Olivier Huber 2009-01-28 15:03:31 UTC
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.
Comment 9 Michael Scherer 2009-01-28 15:19:59 UTC
It seems i forgot to send them. I have sent it by email, with this bug number.
Comment 10 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-03-03 10:11:30 UTC
i would be willing to be your proxy, Olivier. it would still be nice to get the patch upstream first...
Comment 11 Michael Scherer 2009-03-03 10:16:07 UTC
The patch was included upstream, but not in a stable release. From what I understood, next release is 0.5