Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344281 - net-proxy/tsocks ebuild should support ./configure DNS options
Summary: net-proxy/tsocks ebuild should support ./configure DNS options
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 16:21 UTC by Jesse Adelman
Modified: 2010-12-08 03:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2010-11-05 16:21:41 UTC
Howdy. I'm going to tweak the existing e-builds to handle this, however I'll need to add some USE flags to do it. The existing USE flag "tordns" doesn't implement this feature.

From "man 8 tsocks":

"   DNS ISSUES
       tsocks will normally not be able to send  DNS  queries  through  a  SOCKS
       server since SOCKS V4 works on TCP and DNS normally uses UDP. Version 1.5
       and up do however provide a method to force DNS lookups to use TCP, which
       then  makes them proxyable. This option can only enabled at compile time,
       please consult the INSTALL file for more information."

From INSTALL:

"        --enable-socksdns       This option causes tsocks to intercept
                                DNS lookups and attempt to force them
                                to use TCP instead of UDP and thus
                                be proxied through the socks server. This
                                is not a very elegant thing to do and
                                should be avoided where possible.

        --disable-hostnames     This disables DNS lookups on names
                                provided as socks servers in the config
                                file. This option is necessary
                                if socks dns is enabled since tsocks
                                can't send a socks dns request to resolve
                                the location of the socks server."

Yeah, the upstream says that it isn't very elegant. When has that ever stopped us before? ;)
Comment 1 Jesse Adelman 2010-12-08 03:10:11 UTC
Ah, I just looked through the "tordns" patch, and indeed this is included there. Large patch, sorry I hadn't checked earlier. :/