Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [module] ns_fingerprint: auto-identify with ssl fingerprint  (Read 8915 times)

0 Members and 1 Guest are viewing this topic.

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
[module] ns_fingerprint: auto-identify with ssl fingerprint
« 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

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
« Last Edit: July 04, 2009, 06:24:35 AM by Jens Voss »
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity

wow good work \o/
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
« Reply #2 on: July 04, 2009, 06:22:52 AM »

Module updated: you dont need an extra module for inspircd now.
Logged

Taylor

  • Contributor
  • *
  • Offline Offline
  • Posts: 100
Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
« Reply #3 on: July 05, 2009, 02:03:58 PM »

Now that is pimp, Awesome Work Duke :)
Logged
Cronus
irc.cncirc.net
http://CnCIRC.net

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
« Reply #4 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
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
« Reply #5 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.
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Jorge Almonte

  • Anope User
  • Offline Offline
  • Posts: 9
Re: [module] ns_fingerprint: auto-identify with ssl fingerprint
« Reply #6 on: September 28, 2011, 04:27:58 PM »

i need ns_fingerprint for anope 1.8.6 please
Logged
Pages: [1]   Go Up