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 

about telnet

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


Joined: 10 Oct 2019
Posts: 3

PostPosted: Thu Oct 10, 2019 1:04 pm    Post subject: about telnet Reply with quote

hello,

im tryin connect to eggdrop via telnet,
thats ok but i ve some problems.

telnet connections are slow,
client askin "username" to me in like 5~15 seconds

what can i do for fast connection?
Back to top
View user's profile Send private message
bach
Voice


Joined: 10 Oct 2019
Posts: 3

PostPosted: Thu Oct 10, 2019 1:05 pm    Post subject: Reply with quote

egg ver. 1.8.4 stable
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1042

PostPosted: Thu Oct 10, 2019 1:41 pm    Post subject: Re: about telnet Reply with quote

bach wrote:

...
client askin "username" to me in like 5~15 seconds



I find this to be typical. Same if I use : /ctcp botnick chat

There just seems to be some lag there.

But ! Once logged into the bot - with either of the above methods - the response to commands is just as quick as when logged in via /dcc chat botnick .

Do you find the same?
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
bach
Voice


Joined: 10 Oct 2019
Posts: 3

PostPosted: Thu Oct 10, 2019 2:01 pm    Post subject: Re: about telnet Reply with quote

yes. only problem on first step(auth).

after that, works success all.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1042

PostPosted: Thu Oct 10, 2019 3:05 pm    Post subject: Re: about telnet Reply with quote

bach wrote:

...
yes. only problem on first step(auth).

after that, works success all.


Ok.

I don't find it to be a problem - perhaps a minor inconvenience and an item of curiosity. I don't know why that delay is in there after connection ... I suppose we have to ask one of the folks that writes the code.

Sometimes they are in here.

Mostly though, if you want to ask one of them, you might try the Freenode irc network, and join the channel: #eggdrop
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2846

PostPosted: Thu Oct 10, 2019 5:27 pm    Post subject: Reply with quote

The delay would probably be either due to DNS resolution, or an ident-query timing out. I believe you can reduce the ident-timeout setting to mitigate the ident-query, since the ident-service really isn't used much these days...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1042

PostPosted: Thu Oct 10, 2019 8:59 pm    Post subject: Reply with quote

nml375 wrote:

... or an ident-query timing out.


This is what he was told, in #eggdrop channel :
Quote:

<nick deleted> Eggdrop uses ident for authentication. It queries all connections for an ident response
<nick deleted> If the client connecting doesn't have an ident server running, you have to wait the timeout


Thought you might like to see it.

Quote:

I believe you can reduce the ident-timeout setting to mitigate the ident-query, since the ident-service really isn't used much these days...


No one in the channel mentioned that. You've caused me to go look. Smile
Is this what you refer to? :

Quote:

# This setting defines the time in seconds the bot should wait for ident reply
# before the lookup fails. The default ident on timeout is 'telnet'. A value of
# 0 disables the ident lookup entirely.
set ident-timeout 5


No one mentioned that setting, there on the channel. I wonder why ....
Are there any negative consequences to setting it to zero ?

Thanks for jumping in.
Smile
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2846

PostPosted: Fri Oct 11, 2019 1:57 pm    Post subject: Reply with quote

Hi,
The ident-protocol is a legacy from the old days when most of us would use dialup connections to mainframes, and run our irc clients (on said mainframe) through terminal clients...

Since there would be a large number of users from the same IP address, a service was implemented where you could query which username had initiated which connection (based of port numbers). On irc servers, you'd see this as the <user> part of <nick>!<user>@<host>. In cases where there would be no valid ident-response, the <user> part would usually be prefixed with the tilde-sign (~). I don't see much issues with reducing the ident-timeout, as it's legacy these days. In the rare event that valid requests would start to timeout, you could try to increase it slightly, or adjust usermasks accordingly.

For those curious to the protocol, it's documented in RFC1413.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1042

PostPosted: Fri Oct 11, 2019 4:16 pm    Post subject: Reply with quote

Interesting stuff.

Thank you.
Smile
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
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