Hey all,
I'm looking for a way to stop a user from connecting to my network until my code tells the server to continue authenticating them. I posted a feature request, but if something like what I'm interested in is infact implemented, it won't be until 3.3. I'm going to need this functionality far before even the alphas of 3.3 are released.
I was looking at some of Syzop's modules (specifically SQLMod, which has a screenshot of basically what I want to do: http://www.vulnscan.org/UnrealIRCd/imag ... egnick.png ). Does anyone know how I can accomplish this?
I'm looking for code snippets, not a complete module... although a module would be fine too.
Thanks in advance,
Stopping a user from connecting temporarily
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
You may want to take a look at AngryWolf's userauth module...
IIRC, the userauth module would not allow users to connect if they did not supply the proper nick/passwd combination from a file containing all the valid nick/passwd combinations. Perhaps this would be a way to have your own system set up for now...
IIRC, the userauth module would not allow users to connect if they did not supply the proper nick/passwd combination from a file containing all the valid nick/passwd combinations. Perhaps this would be a way to have your own system set up for now...
Hey Stealth,
What you're suggesting won't really work for me (it uses the server password for authentication). I need it to essentially look like this:
*** Looking up your hostname...
*** Found your hostname
*** Please review our Terms of Service located at http://www.mynetwork.net/privacy/tos/
*** If you agree to these terms, please type /AGREE now
[ waits for the AGREE command to be sent ]
*** Welcome to the MyNetwork IRC network blahblah!blahblah@blahblah...
... and so on.
Thanks for the suggestion, though.
Regards,
What you're suggesting won't really work for me (it uses the server password for authentication). I need it to essentially look like this:
*** Looking up your hostname...
*** Found your hostname
*** Please review our Terms of Service located at http://www.mynetwork.net/privacy/tos/
*** If you agree to these terms, please type /AGREE now
[ waits for the AGREE command to be sent ]
*** Welcome to the MyNetwork IRC network blahblah!blahblah@blahblah...
... and so on.
Thanks for the suggestion, though.
Regards,
- Noel
write a services module to send a numeric on connect, set a timer and and kill after 60 seconds. hel you could almost do that with an opered mirc client.
unrealircd.conf
set::autojoin "#tos";
new .mrc file.
unrealircd.conf
set::autojoin "#tos";
new .mrc file.
Code: Select all
on *:join:#tos:{
timer $+ $nick 1 60 kill $nick you must accept our terms of service
notice $nick this is my terms of service
}
on *:text:accept:?:{
timer $+ $nick off
sapart $nick #tos
}
-
- Posts: 29
- Joined: Mon Jun 20, 2005 2:51 pm
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
He doesn't want people to stop conencting, he wants people to read and agree to the rules of his network before they connect.
black_skies4, I suggest you start reading the topics before posting on them, or I may just start deleting your posts. I think of all the ones I have replied to that you have posted on, maybe 1 you actually read.
black_skies4, I suggest you start reading the topics before posting on them, or I may just start deleting your posts. I think of all the ones I have replied to that you have posted on, maybe 1 you actually read.
-
- Posts: 29
- Joined: Mon Jun 20, 2005 2:51 pm
Send a SNOTICE before setting the shun
Anyhow, Use that mIRC bot script in combination with AngryWolf's m_courtroom (not _lite) On connect, join them to that +U room and put a quarantine on them. Set chan +mu so only ops see the messages of nonvoices. They type agree, you opped bot removes the quarantine and saparts them, they are free to go.
Anyhow, Use that mIRC bot script in combination with AngryWolf's m_courtroom (not _lite) On connect, join them to that +U room and put a quarantine on them. Set chan +mu so only ops see the messages of nonvoices. They type agree, you opped bot removes the quarantine and saparts them, they are free to go.
Why the hell can't my signature be empty?
"Your message contains too few characters."
"Your message contains too few characters."