Anope IRC Services
Anope Development => Modules => Topic started by: Jens Voss on April 05, 2009, 08:00:53 AM
-
Hi,
i made a new module for auto-identify your nick with your ssl fingerprint.
Requirements:
- anope 1.9.1
- inspircd 1.2 (latest svn required).
Download: ns_fingerprint.cpp (http://dev.anope.de/modules_1.9/ns_fingerprint.cpp)
How does it work?
If you connect to your ircd using a ssl certificate, the inspircd sends your fingerprint to the services. (using METADATA)
For the first time, you can register your nick, then type the command /nickserv access add fingerprint to add your fingerprint to the access list.
The next time you connect with the same certificate, the module checks the access list for your fingerprint and auto-identifies you.
Example:
<- *** You are connected using SSL cipher "DHE-RSA-AES256-SHA"
-> PRIVMSG NickServ access add fingerprint
<- -NickServ- c38070ce96e41cc144ed6590a68d45a6 added to your access list.
now reconnect:
<- *** You are connected using SSL cipher "DHE-RSA-AES256-SHA"
<- NickServ- This nickname is registered and protected. If it is your
<- NickServ- nick, type /msg NickServ IDENTIFY password. Otherwise,
<- NickServ- please choose a different nick.
<- NickServ- SSL Fingerprint accepted. You are now recognized.
you are also auto-identified after a nickchange.
/nickserv access list shows your fingerprint:
-NickServ- Access list:
-NickServ- jens@127.0.0.1
-NickServ- c38070ce96e41cc144ed6590a68d45a6
to delete your fingerprint from the access list, type /nickserv access del fingerprint or /nickserv access del c38070ce96e41cc144ed6590a68d45a6
-
wow good work \o/
-
Module updated: you dont need an extra module for inspircd now.
-
Now that is pimp, Awesome Work Duke :)
-
Hi,
great module!
But my host doesn't get updated on identify with the fingerprint, is that only an issue for me or for others, too?
Best regards
Inspircd 2.0, Anope 1.9.2p2
-
Sorry for the double post, but I found a new bug:
fingerprint works fine on my combination of inspircd 2.0 and anope 1.9.2p2. But if I change something on the inspircd Config and then only reload (and not restart) the ircd, identification via the fingerprint does not work.
-
i need ns_fingerprint for anope 1.8.6 please