Operating System - HP-UX
1836574 Members
2530 Online
110102 Solutions
New Discussion

Re: DanteSOCKS unsupported address family error (HELP!)

 
David A Muscat
New Member

DanteSOCKS unsupported address family error (HELP!)

Hi everyone. I'm just trying to get DanteSOCKS working on HP-UX 11.23. I installed it off the HP-UX Internet Express package without any but when trying to use the "socksify" command I keep getting an error saying "unsupported address family '22' " . See below for a detailed example.

hostname:/root# socksify ftp
Jul 21 09:56:23 (1216598183) danteclient[12690]: dante/client v1.1.19 running
Jul 21 09:56:23 (1216598183) danteclient[12690]: Rgetsockname()
ftp> open ftp.microsoft.com
Jul 21 09:56:38 (1216598198) danteclient[12690]: Rgetipnodebyname(): ftp.microsoft.com, 22
Jul 21 09:56:38 (1216598198) danteclient[12690]: Rgetipnodebyname2(): ftp.microsoft.com
Jul 21 09:56:38 (1216598198) danteclient[12690]: Rgetipnodebyname2(): using udp/tcp
Jul 21 09:56:38 (1216598198) danteclient[12690]: Rconnect(): unsupported address family '22', fallback to system connect()
Jul 21 09:56:38 (1216598198) danteclient[12690]: Rgetsockname()
Connected to ftp.microsoft.com.
220 Microsoft FTP Service
Name (ftp.microsoft.com:logbzt): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-Welcome to FTP.MICROSOFT.COM. Also visit http://www.microsoft.com/downloads.
230 Anonymous user logged in.
Remote system type is Windows_NT.
ftp> dir
Jul 21 09:56:47 (1216598207) danteclient[12690]: Rbind()
Jul 21 09:56:47 (1216598207) danteclient[12690]: Rbind(): unsupported address family '22', fallback to system bind()
Jul 21 09:56:47 (1216598207) danteclient[12690]: Rgetsockname()
200 PORT command successful.
...

Please note that even though I get the error the connection still worked ONLY because the default route to the Internet is still accessible. This has to go via the SOCKS proxy.

The DanteSOCKS FAQ states that I might need to install patch PHSS_22478 to add LD_PRELOAD support to the loader. Firstly, do I really need this if I just want to use "socksify" and secondly, we've actually tried to install the patch but it complains saying the hardware platform isn't supported.

Please help!

Thanks, David.
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: DanteSOCKS unsupported address family error (HELP!)

PHSS_22478 is a dld patch for 11.00. This is so old, the functionality is probably there in any dld version for 11.23.
David A Muscat
New Member

Re: DanteSOCKS unsupported address family error (HELP!)

Hi Dennis. I was thinking much the same when I found out the release date of that particular patch.

However, I was under the impression that you don't even need the LD_PRELOAD capability if all you want to do is use the "socksify" command. e.g. "socksify ftp". As mentioned above, this isn't working for me.

Any gurus out there who've used Dante successfully on HP-UX 11.23???