Anope IRC Services

Anope Development => Modules => Topic started by: Jens Voss on April 05, 2009, 08:00:53 AM

Title: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post 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:
Quote
<- *** You are connected using SSL cipher "DHE-RSA-AES256-SHA"
-> PRIVMSG NickServ access add fingerprint
<- -NickServ- c38070ce96e41cc144ed6590a68d45a6 added to your access list.
now reconnect:
Quote
<- *** 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:
Quote
-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
Title: Re: New experimental module: auto-identify with ssl fingerprint (ns_fingerprint)
Post by: LEthaLity on April 05, 2009, 03:09:57 PM
wow good work \o/
Title: Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post by: Jens Voss on July 04, 2009, 06:22:52 AM
Module updated: you dont need an extra module for inspircd now.
Title: Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post by: Taylor on July 05, 2009, 02:03:58 PM
Now that is pimp, Awesome Work Duke :)
Title: Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post by: Armadillo on August 16, 2010, 08:15:23 PM
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
Title: Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post by: Armadillo on August 24, 2010, 09:23:49 PM
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.
Title: Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
Post by: Jorge Almonte on September 28, 2011, 04:27:58 PM
i need ns_fingerprint for anope 1.8.6 please