Hi Alessandro!
Am 26.04.2012 um 11:24 schrieb Alessandro Alessio:
Tnx for your reply. So you suggest to not use a PASS if the user is not registered right?
If you don’t use user authentication (a global server password or PAM), you must not send a PASS command right.
But even sending a NICK without a PASS:
NICK guest\n USER guest 0 * :Ronnie Reagan\n
i get a 'Client "guest" unregistered: Read error!‘
Which tells you, that ngIRCd „unregistered“ this client again because of a „read error“.
This would suggest to register the user 'guest‘.
No.
Usually, when using other IRC Client, a user can connect to an IRC Server without being registered before (i.e.: msg nickserv register PASSWORD EMAIL)
Nickserv has nothing to do with user login or the PASS command.
And as I already told you, the commands sent to the server should be:
Am 24.04.2012 um 16:56 schrieb Alessandro Alessio:
then i send the following messages:
PASS NOPASS\n\r NICK giggio\n\r USER guest 0 * :Ronald Reagan\n\r
Really \n\r, ASCII 10, ASCII 13? This should be \r\n, ASCII 13, ASCII 10.
You state above that you only send „\n“ which is ASCII 10, which doesn’t terminates an IRC command. Therefore ngIRCd didn’t get a single command from your client and most probably times out your connection. No?
If not, try to run ngIRCd in „sniffer“ mode („./configure --enable-sniffer“, „ngircd --nodaemon --sniffer“) and let’s have a look at the (complete) output you get.
Regards Alex