hostnames not accepted in tsocks.conf

Bug #1170 reported by Stevie Beth Mhaol
8
Affects Status Importance Assigned to Milestone
tsocks (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

If i set the following line in the /etc/tsocks.conf:
    server = staff-proxy.ul.ie
attempting to use tsocks give me an error, telling me that the server 'staff-proxy.ul.ie' is invalid

If i set the following line in the /etc/tsocks.conf:
    server = staff-proxy.ul.ie
attempting to use tsocks give me an error, telling me that the server 'staff-proxy.ul.ie' is invalid. Using an ip works fine.

I had a look at the source package, removing the '--enable-hostname' line from the configure section of the debian/rules file fixes the problem. I've remade the package locally and it accepts hostnames fine now.

So, it looks like a ./configure bug of some kind.

Changed in tsocks:
assignee: nobody → motu
Revision history for this message
Barry deFreese (bddebian) wrote :

Yes, configure is run with --enable-hostnames which doesn't even appear to be valid so it may be somehow setting --disable-hostnames?. Thanks for the report.

Changed in tsocks:
status: Unconfirmed → Confirmed
Revision history for this message
Barry deFreese (bddebian) wrote :

Fixed in Dapper. Thank you.

Changed in tsocks:
status: Confirmed → Fix Released
Revision history for this message
Stevie Beth Mhaol (kormat) wrote :

Hmm. Has that upload gone through? Checking the source packages for dapper and edgy both show that --enable-hostname is still supplied in debian/rules (also packages.ubuntu.com/tsocks shows that it's the same package unmodified that has been used since warty), and the dapper package still gives the same error. I had a quick look at the supplied configure script btw, it definetely has inbuilt support for both '--enable-hostnames' and '--disable-hostnames', i'm not sure why it's screwing up though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.