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 

DCC/Telnet connection delay

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


Joined: 01 Aug 2010
Posts: 5

PostPosted: Sat Jul 16, 2011 6:52 am    Post subject: DCC/Telnet connection delay Reply with quote

This is kinda a minor problem, but it drives me nuts so I thought I'd ask here Smile

Running eggdrop 1.6.20 on Debian 6, if someone DCC's or telnets into the bot, after the connection accepts, there's a good 10 second or so delay before the Username prompt appears.

If you wait until this prompt appears before beginning to type, the connection will time out. What you have to do is enter your username, hit enter, then your password, then enter again before the prompt even comes up, then everything works great.

Is there a way I can get rid of this connection delay?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Jul 16, 2011 8:38 am    Post subject: Reply with quote

To me, it sounds like you're using some improper timeout values in your config file along with a firewall blocking identd lookups;
Could you post the following settings from your config file?
ident-timeout
connect-timeout
resolve-timeout
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Karunamon
Voice


Joined: 01 Aug 2010
Posts: 5

PostPosted: Mon Jul 18, 2011 3:36 pm    Post subject: Reply with quote

Well now.. these numbers look convenient.

ident-timeout 10
connect-timeout 15
resolve-timeout 5

Any way I can turn off ident checking wholesale? IP addresses alone are adequate for my purposes.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Tue Jul 19, 2011 3:15 pm    Post subject: Reply with quote

The reason for the delay is because the bot's telnet server is waiting for a response to an ident request on port 113.

If you join the partyline by some other method and watch events while you try to connect via telnet, you will see the connection attempt and some seconds later the ident timeout. Your telnet connection will complete after this ident timeout.

A possible solution is to run an ident daemon on the computer from which you are trying to connect to the bot via telnet. This means that the bot immediately receives an ident response and permits the telnet connection without delay.

I sometimes use Windows Ident Server 2.0 from :-
http://rndware.info/products/windows-ident-server.html

Windows Ident Server allows you to see all requests and responses.

If you are operating a PC with a direct internet connection you may need to allow traffic on port 113 through your firewall. If you are operating a PC with internet connection through a router, you may have to reserve a static internal IP for the PC and setup a virtual server on the router to direct traffic on port 113 to the reserved IP (otherwise the router does not know which internal IP address is supposed to receive the ident request).

I don't have the same problem using DCC chat from mIRC IRC client presumably because mIRC has its own built in ident server. If you use a standalone ident daemon, then you should switch off all others, such as the mIRC option, otherwise there is a conflict binding 0.0.0.0:113
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Jul 20, 2011 7:14 am    Post subject: Reply with quote

Karunamon wrote:
Well now.. these numbers look convenient.

ident-timeout 10
connect-timeout 15
resolve-timeout 5

Any way I can turn off ident checking wholesale? IP addresses alone are adequate for my purposes.

Those values should work well enough in most cases.
There's no easy way to disable ident-checking, though you could set the ident-timeout to 1 sec to minimize the delay. Also make sure your hostmasks use a * for the ident-part to make your bot "disregard" identd's (technically, your eggdrop still checks them, but anything would match).
_________________
NML_375, idling at #eggdrop@IrcNET
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