Page 1 of 1

password and notice question

Posted: Wed Aug 09, 2006 1:48 pm
by keeper
Ok two question.

1. I have a network with thwo listen ports, 6667 normal port and 6668 with a ssl only port. Now I want to set a password for everyone who wants to connect to port 6668. 6667 without a password.

2. I wonder if there is no Server notice which informs me about a netsplit, or I have to set a mode?

Thanks for help.

Posted: Wed Aug 09, 2006 1:56 pm
by Jobe
For 1. there is a way to require a password for an SSL port if you specify the ssl option in an allow block.

For 2. if you make sure you have the snomask +s (/mode YOURNICK +s +s) then you should recieve server connect and disconnect notices.

Posted: Wed Aug 09, 2006 2:05 pm
by keeper
Jobe1986 wrote:For 1. there is a way to require a password for an SSL port if you specify the ssl option in an allow block.

For 2. if you make sure you have the snomask +s (/mode YOURNICK +s +s) then you should recieve server connect and disconnect notices.
thx for answer 1 that works, and how about two normal ports one with pw and one without. That not possible?

to the second answer yes I have the mode +s +s exactly I have (+iowgraAsxNWqzHtp +kcfFvGqso) but I only see the server connect notice, no quits. But my anope services seems to see them, they report a server quit. But it is necessary that I see quits too over the server notices.

Posted: Wed Aug 09, 2006 2:14 pm
by Jobe
Odd because i see server disconnect notices.
-bravo.invictachat.co.uk- *** LocOps -- Received SQUIT services.invictachat.co.uk from services.invictachat.co.uk[127.0.0.1] (SHUTDOWN command received from Jobe)
As for normal ports you can require a password for a specific port but you can allow the use of a password to put users into a different connection class and still allow them to connect with no password.

Posted: Wed Aug 09, 2006 2:16 pm
by keeper
Jobe1986 wrote:Odd because i see server disconnect notices.
-bravo.invictachat.co.uk- *** LocOps -- Received SQUIT services.invictachat.co.uk from services.invictachat.co.uk[127.0.0.1] (SHUTDOWN command received from Jobe)
As for normal ports you can require a password for a specific port but you can allow the use of a password to put users into a different connection class and still allow them to connect with no password.
Yes the squit notice I see. But I get no notice if the linked server quits, e.g. because he just restart his shell. One more to say I'm on server A while I want to see a server notice that says that Server B quits.

Posted: Wed Aug 09, 2006 2:22 pm
by Jobe
An SQUIT notice is a server disconnection notice just for clarification.

As for remote disconnect notices. Im connected to Bravo on my net Delta is connect to Alpha and Alpha is connected to Bravo. So when Delta disconnected i recieved this notice when i gave Delta the /restart command:
-bravo.invictachat.co.uk- *** Global -- from alpha.invictachat.co.uk: Server delta.invictachat.co.uk[84.45.145.160] closed the connection

Posted: Wed Aug 09, 2006 2:34 pm
by keeper
Jobe1986 wrote:An SQUIT notice is a server disconnection notice just for clarification.

As for remote disconnect notices. Im connected to Bravo on my net Delta is connect to Alpha and Alpha is connected to Bravo. So when Delta disconnected i recieved this notice when i gave Delta the /restart command:
-bravo.invictachat.co.uk- *** Global -- from alpha.invictachat.co.uk: Server delta.invictachat.co.uk[84.45.145.160] closed the connection
yes you give the server the restart command but what is when the server quits because of a connection problem and not because a admin forces the server to restart.

Posted: Wed Aug 09, 2006 2:39 pm
by Jobe
In that situation you usually end up getting a message a little while after saying Connection to server such and such lost (Ping Timeout) The reason for this is because the Unreal isn't constantly checking that the server is still connected, but instead is checking every so often.

Posted: Wed Aug 09, 2006 2:45 pm
by keeper
Jobe1986 wrote:In that situation you usually end up getting a message a little while after saying Connection to server such and such lost (Ping Timeout) The reason for this is because the Unreal isn't constantly checking that the server is still connected, but instead is checking every so often.
Will see it the next time, but in my test when I just end the ircd with kill under my shell I get no messages.

One more question the restart command can no longer restart a remote ircd? In the new documentation it says RESTART <password> <reason>
no server option any more?

Posted: Wed Aug 09, 2006 2:50 pm
by Jobe
I expect thats done for security as you wouldnt want to link your server to someone else and them give themself the priviledges needed to then go ahaed and /die or /restart your server.

Posted: Wed Aug 09, 2006 2:55 pm
by keeper
Jobe1986 wrote:I expect thats done for security as you wouldnt want to link your server to someone else and them give themself the priviledges needed to then go ahaed and /die or /restart your server.
how do you do it then?

Posted: Wed Aug 09, 2006 2:57 pm
by Jobe
To restart a server you would have to connect to that server then /oper using an oper name and pass that have been set up on that server then issue the /restart command. Otherwise there is no way.

Posted: Wed Aug 09, 2006 3:21 pm
by keeper
Jobe1986 wrote:To restart a server you would have to connect to that server then /oper using an oper name and pass that have been set up on that server then issue the /restart command. Otherwise there is no way.
THX