]> arthur.barton.de Git - ngircd-alex.git/commit
New configuration option "RequireAuthPing": PING-PONG on login
authorAlexander Barton <alex@barton.de>
Sun, 27 Mar 2011 17:33:48 +0000 (19:33 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 27 Mar 2011 17:33:48 +0000 (19:33 +0200)
commit162433398e320c45f3c8a523814518aa6b78372e
tree5a12366496323db6edc62706e3a45aa36147181a
parentf1a4a4dc882e28affb0f2f3b940e5762df230ccd
New configuration option "RequireAuthPing": PING-PONG on login

When enabled, this configuration option lets ngIRCd send a PING with an
numeric "token" to clients logging in; and it will not become registered
in the network until the client responds with the correct PONG.

This is used by QuakeNet for example (ircu/snircd), and looks like this:

  NICK nick
  :irc.example.net PING :1858979527
  USER user . . :real name
  PONG 1858979527
  :irc.example.net 001 nick :Welcome to the Internet Relay Network ...
src/ngircd/client.h
src/ngircd/conf.c
src/ngircd/conf.h
src/ngircd/conn.c
src/ngircd/conn.h
src/ngircd/irc-login.c
src/ngircd/ngircd.c
src/ngircd/parse.c