ronaldcole
Posts: 11
Joined: Fri Jan 11, 2013 10:25 am

dante-server: invalid ELF header in libc.so

Sun Feb 17, 2013 7:40 pm

I installed the dante-server package and after configuring /etc/danted.conf I tried to start the daemon and got this in the log file:

Code: Select all

Feb 17 11:26:06 (1361129166) danted[4537]: socks_seteuid(): old: 0, new: 13
Feb 17 11:26:06 (1361129166) danted[4537]: socks_reseteuid(): current: 13, new: 0
Feb 17 11:26:06 (1361129166) danted[4537]: socks_seteuid(): old: 0, new: 65534
Feb 17 11:26:06 (1361129166) danted[4537]: socks_reseteuid(): current: 65534, new: 0
Feb 17 11:26:06 (1361129166) danted[4537]: socks_seteuid(): old: 0, new: 65534
Feb 17 11:26:06 (1361129166) danted[4537]: socks_reseteuid(): current: 65534, new: 0
Feb 17 11:26:06 (1361129166) danted[4537]: symbolfunction(): compiletime configuration error?  Failed to open "libc.so": /usr/lib/arm-linux-gnueabihf/libc.so: invalid ELF header
Feb 17 11:26:06 (1361129166) danted[4537]: sockdexit()
Feb 17 11:26:06 (1361129166) danted[4537]: sockdexit(): terminating
Anybody else get this?

NC99
Posts: 1
Joined: Mon Feb 18, 2013 5:39 pm

Re: dante-server: invalid ELF header in libc.so

Mon Feb 18, 2013 5:43 pm

There's a solution at https://bugs.launchpad.net/ubuntu/+sour ... bug/955044:

Code: Select all

cd /lib/arm-linux-gnueabihf
sudo ln -s libc.so.6 libc.so
Let me know if that works for your config (still working on mine). There should probably be a more permanent fix than this.

-NC.

ften
Posts: 1
Joined: Sun Jun 23, 2013 6:19 am

Re: dante-server: invalid ELF header in libc.so

Sun Jun 23, 2013 6:23 am

Thanks for the tip, that was the last piece I need to get OpenVPN and Dante working.

bluenote
Posts: 127
Joined: Thu Feb 05, 2015 8:25 am

Re: dante-server: invalid ELF header in libc.so

Wed Feb 10, 2016 11:28 pm

ften wrote:Thanks for the tip, that was the last piece I need to get OpenVPN and Dante working.
I guess this is a hail mary being an old post, but sounds like you are doing exactly what I want to do, which is present SOCKS5 to the local network and send that out the openvpn tunnel (which is not the default route for everything).

Unfortunately every time I configure dante, I get weird, delayed results. I have no idea what I'm doing right or wrong.
Could I impose on you to post your config?

thanks

iainfm
Posts: 3
Joined: Mon Jan 07, 2013 2:42 pm

Re: dante-server: invalid ELF header in libc.so

Mon Aug 08, 2016 1:09 pm

I just set it up using the config here http://www.privacypi.org/how-about-a-socks-proxy/ (modified to suit my network), to do exactly the same as you (I presume).

Working so far, but too early to comment on stability :)

bluenote
Posts: 127
Joined: Thu Feb 05, 2015 8:25 am

Re: dante-server: invalid ELF header in libc.so

Mon Aug 08, 2016 5:55 pm

iainfm wrote:I just set it up using the config here http://www.privacypi.org/how-about-a-socks-proxy/ (modified to suit my network), to do exactly the same as you (I presume).

Working so far, but too early to comment on stability :)
For some reason a config similar to what you point to didn't work properly for me.
Apparently Dante works a little funny in the sense that, it doesn't bind to the IP of the outgoing address, so it doesn't send the packets out that interface by default. It leaves that up to the OS, which of course, won't be able to figure out how to do that.
I had to do some funny modifications of the routing tables that applied themselves whenever openvpn came up to make it work.
I don't have those details at my fingertips, but if you need them, let me know.

It seems like the worst way to design software, but who knows, maybe I was missing something. I spent a lot of hours reading mailing lists and such and that seemed to be the official stance. I dunno what the usual use case is but I assume it's not VPN setups.

zarkow
Posts: 1
Joined: Fri May 05, 2017 6:03 pm

Re: dante-server: invalid ELF header in libc.so

Fri May 05, 2017 6:07 pm

Hello!

Yes please, I need the details to get this to work!

I set up OpenVPN on Raspbian, but for the life of me I can't figure out how to make Dante work as a proxy. Help!

Return to “Raspberry Pi OS”