This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

socket error / broken pipe

Old posts that have not been replied to for several years.
Locked
R
RulerOfHeck
Voice
Posts: 3
Joined: Thu Mar 10, 2005 11:48 am

socket error / broken pipe

Post by RulerOfHeck »

My eggdrop is having huge problems connecting to an irc server. I've tried reinstalling eggdrop twice, tested different configurations and reinstalled tcl/openssl/tcltls. Here is the error:

Code: Select all

[15:39] DNS resolved irc.xtc-dreams.com to 69.64.50.206
[15:39] net: connect! sock 6
[15:39] Connected to irc.xtc-dreams.com
[15:39] net: eof!(write) socket 6 (Broken pipe,32)
[15:39] Disconnected from irc.xtc-dreams.com
It repeats a few times, then it says "DNS resolve failed...".

I've found no clue anywhere of what this error could mean.

The eggdrop (1.6.17) is running in a FreeBSD(5.3) jail, which means that the loopback device isn't working normally. This of course means trouble, but I was able to get an eggdrop running before in a FreeBSD 4.x jail.

Maybe anyone have any idea of how to solve/find out more about this?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

most likely incorrect jail setup (you've got a lot of things to do to produce a jail-friendly environment for network apps like eggdrop, check your manuals); I wouldn't run eggdrop in jail, it's kind of pointless to me and too much hassle

the other possible reason is firewall issues
R
RulerOfHeck
Voice
Posts: 3
Joined: Thu Mar 10, 2005 11:48 am

Post by RulerOfHeck »

I don't think I've got an incorrect jail. If I do, I have no idea what I should do different.

I've set up several, and got a lot of other network programs to run in them, like glftpd. Telnet to eggdrops in jails work, both from within the jail and other jails and remote machines.

The first jail i used FreeBSD packages. I've tried to install a new jail from scratch, and compiled tcl 8.3.5, openssl, tls and eggdrop 1.6.7 in it. Same error.

What exactly does eggdrop have to be able to do with the network interface to connect to IRC? Can't be the same as with telnet connections since telnet works...

EDIT BTW linking two jailed eggdrops works.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

in order to connect to IRC, eggdrop needs to be able to initiate and maintain standard TCP connection to standart port such as 6667; if you can connect through telnet to 6667 from jail, then the issue becomes more subtle and the whole thing needs tracing/debugging

then again, it might be a firewall problem
R
RulerOfHeck
Voice
Posts: 3
Joined: Thu Mar 10, 2005 11:48 am

Post by RulerOfHeck »

:oops:

Yes, firewall problem. /slap me for trying to connect to port 6667 from work. 6666 worked though :D

Thanks for the help.
Locked