I have been looking around and searching and I have not been able to find the raw to trigger when A user opers up and I wanted to write a protection script for Eggdrop [possibly mIRC, and/or X-Chat also] so that when someone opers on my network I will be able to check them against a file/database and if their nick doesnt match it will K/(G)Z-line them but I cannot seem to figure out what the raw is for when some1 opers. Yes I have looked at the raw window on my IRC client [X-Chat].
ps: If this is the wrong board sorry I am new and this seemed the best fit
Raw for when A user opers up
Re: Raw for when A user opers up
Why would you want this? If you set the oper block right, no one else can possibly oper up. You should use the IP/Hostname check and use a secure password. In addition to this you could require your opers to use SSL so they can't sniffed for passwords.
So this bot would be kind of pointless when I understand you right and if you set the oper block correctly.
So this bot would be kind of pointless when I understand you right and if you set the oper block correctly.
Ex Network-Administrator
Re: Raw for when A user opers up
Ok heres the issue: One or two of the people with the O:lines use dynamic hosts and login from different areas and its a real pain to change their host almost daily or so. We had a bad host before who gave out an oper pass to a wannabe hacker and that screwed us over so I am trying to prevent that from happening again (was not an unreal server but the fear is still there among the admins). And a super user (root) can change the owner of the files and read them still even with strict checks (if I remember right).
Re: Raw for when A user opers up
Use the MD5 hash in the oper files: /mkpasswd md5 password --> Type that as oper on the server. Bare in mind that this will be totally different each time you type it, but the password stays the same. At the same time the root user cannot read or use the passwords of the opers.MCM wrote:And a super user (root) can change the owner of the files and read them still even with strict checks (if I remember right).
Ex Network-Administrator
Re: Raw for when A user opers up
I'm sorry are the Opers typing that or is that something that goes in the config file?
Re: Raw for when A user opers up
Well, say like an oper password is "blegh12345", save it in de config as (The bold, see the documentation how to):
[20:35:01] -*.net- *** Authentication phrase (method=md5, para=blegh12345) is: $f1pBvQav$LJMyQm1467889GyS0x71UjQ==
The opers password will remain "blegh12345" although the root user on your box can't see the password, as it is saved as a hash.
[20:35:01] -*.net- *** Authentication phrase (method=md5, para=blegh12345) is: $f1pBvQav$LJMyQm1467889GyS0x71UjQ==
The opers password will remain "blegh12345" although the root user on your box can't see the password, as it is saved as a hash.
Ex Network-Administrator
Re: Raw for when A user opers up
I dont know why I didnt think of /figure that out....I guess its cause I've had a long day...thanks!