egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eggdrop ssl and inspircd problems

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Chrysalis
Voice


Joined: 10 Oct 2001
Posts: 32
Location: UK

PostPosted: Sat Nov 17, 2007 1:53 am    Post subject: eggdrop ssl and inspircd problems Reply with quote

Previously we ran all our bots on unreal ircd with ssl and they were fine, we then changed to inspircd using same connect port and ssl again.

Since changing the 'some' of the bots when joining large channels immediatly disconnect but dont give a disconnect reason it simply disconnects.

[06:42] Disconnected from

the irc quit reason is client closed connection.

So I enabled +d in console to show debug messages and see this.

sockread EAGAIN: 11 11 (Resource temporarily unavailable)

It shows more then once when it occurs and some bots dont have this problem and are fine, it seems to not occur better on bsd since only 1 freebsd box we have this problem with.

Googling showed up 1 guy been told its a firewall problem in my case it is defenitly not a firewall problem I have root access on the server and the datacentre is not firewalling any traffic to and from the box.

On inspircd some 'old' clients have this problem as well and they all fixed it by upgrading their clients and disabling scanning all the whois on channel join.

I am guessing it might be some dependency eggdrop uses that on the affected boxes is incompatible/old as well as maybe the affected bots scanning all users when joining a channel, they fine when joining small channels although they still get the sockread error but dont disconnect.

Please if anyone else seen this problem and found a resolution I would liek to know thanks. Latest stable version of 1.6 eggdrop and on debian all the affected bots with 1 on freebsd 7.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sat Nov 17, 2007 10:38 am    Post subject: Reply with quote

From what i've read an experianced with this type of thing. I can only see two things that could be causing this problem. However, due to me not knowing that much of bsd. I cant say it would have anything to do with this at all. Thou, in saying that it could at least be worth checking out. 1. The /etc/limits.conf file is limiting your access to resources. 2. The server/system was unable to free any sockects to use for the connection. Apart from that, i wish i could be of more help on this. But thats pretty much the only thing i've know to cause a problem like this. Maybe check out a support forum for bsd?
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Chrysalis
Voice


Joined: 10 Oct 2001
Posts: 32
Location: UK

PostPosted: Sat Nov 17, 2007 11:07 am    Post subject: Reply with quote

ulimit -a shows everything as unlimited instead of pipe. This is only happening on inspircd, efnet, undernet, unreal and ultimateircd all no problems.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sun Nov 18, 2007 1:56 am    Post subject: Reply with quote

have you made sure that openssl on your box is current and recompiled eggdrop?
Back to top
View user's profile Send private message
Chrysalis
Voice


Joined: 10 Oct 2001
Posts: 32
Location: UK

PostPosted: Sun Nov 18, 2007 7:41 am    Post subject: Reply with quote

may have got to the bottom of the disconnect problems it turns out was a bad sendq and buffer setting on inspircd.

the debug messages are still there but for all I know they may have always been there since I only enabled debug when I started investigating this problem. I dont see the messages on boxes I setup myself so there is something wrong locally on the server but I dont know what.

The ssl packages on one of the servers when I checked are the following.

ii libssl-dev 0.9.8c-4 SSL development libraries, header files and
ii libssl0.9.8 0.9.8c-4 SSL shared libraries
ii openssl 0.9.8c-4 Secure Socket Layer (SSL) binary and related

so not latest


but another has

ii libssl-dev 0.9.8g-1 SSL development libraries, header files and
ii libssl0.9.8 0.9.8g-1 SSL shared libraries
ii openssl 0.9.8g-1 Secure Socket Layer (SSL) binary and related

Thanks and recompiled eggdrop on both of them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber