Page 1 of 1

Max Length of userhost ?

Posted: Tue Nov 15, 2005 1:28 pm
by EHCanadian
Is there something set that only allows a max length of a user@ip ?

I'm testing a Bot and I called it Network-Bot,
Ok I was using ign before unreal and when the bot loggin in it logged in as

[email protected]

unreal shows [email protected]

thus bot fails oper auth due to what I think is it passed the max char allowed

is this true?

if so how can i extend the length

Posted: Tue Nov 15, 2005 2:19 pm
by medice
this is not the userhost, that's the ident - which is limited to 10
don't know if you're able to change this without breaking things.

Posted: Tue Nov 15, 2005 11:01 pm
by w00t
Highly doubtful, and if you did, you'd be losing support.

Posted: Tue Nov 15, 2005 11:02 pm
by Syzop
I don't undersand anyway, AFAIK it has always been 10 :P. So how could this suddenly be a problem?

Posted: Wed Nov 16, 2005 12:43 am
by Stealth
IIRC Identd is limited to a length of 10 through the IRC protocol, and possibly through the Identd protocol... Making it longer will break clients that expect a length of no more than 10 characters.

Posted: Wed Nov 16, 2005 12:59 am
by Syzop
Actually, I don't think the RFC's limit the username ;). I also don't think it would break any clients.

For example on M$ Exchange they have like 30 character long idents [woah], very funny ;p.

Posted: Wed Nov 16, 2005 4:26 am
by aquanight
Isn't identd defined as a valid UNIX username? So, what's the length limits on those?

Posted: Wed Nov 16, 2005 4:46 pm
by Syzop
No, but..

You really don't want to know, you would be shocked ;).

Posted: Wed Nov 16, 2005 4:49 pm
by EHCanadian
lol don't worry I gave up on it I just called it NetworkBot and its auth, screw the - as its a greater hassle then its worth