Module: ngircd.git
Branch: master
Commit: 8c46067b34b71dac23b388c0acc28fdf8db111fa
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=8c46067b…
Author: Alexander Barton <alex(a)barton.de>
Date: Mon Jan 23 12:30:16 2012 +0100
Update NEWS and ChangeLog files
---
ChangeLog | 7 +++++++
NEWS | 7 +++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ca83f29..b7083db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,9 @@
ngIRCd Release 19
+ - New numeric RPL_WHOISHOST_MSG(378), which returns the DNS hostname
+ (if available) and the IP address of a client in the WHOIS reply.
+ Only the user itself and local IRC operators get this numeric.
- Implement channel exception list (mode 'e'). This allows a channel
operator to define exception masks that allow users to join the
channel even when a "ban" would match and prevent them from joining:
@@ -86,6 +89,10 @@ ngIRCd Release 19
- Log better error messages when rejecting clients.
- Implement IRC commands "GLINE" and "KLINE" to ban users. G-Lines are
synchronized between server on peering, K-Lines are local only.
+ If you use "*!<user>@<host>" or "*!*@<host>" masks, these connections
+ are blocked even before the user is fully logged in (before PASS,
+ NICK, and USER commands have been processed) and before the child
+ processes for authentication are forked, so resource usage is smaller.
- Xcode: update project file for Xcode 4.2 and define HAVE_GAI_STRERROR
for Mac OS X Xcode builds.
- ./configure: Fix logic and quoting of poll() detection code: only use
diff --git a/NEWS b/NEWS
index 14bbe79..054780e 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,9 @@
ngIRCd Release 19
+ - New numeric RPL_WHOISHOST_MSG(378), which returns the DNS hostname
+ (if available) and the IP address of a client in the WHOIS reply.
+ Only the user itself and local IRC operators get this numeric.
- Implement channel exception list (mode 'e'). This allows a channel
operator to define exception masks that allow users to join the
channel even when a "ban" would match and prevent them from joining:
@@ -50,6 +53,10 @@ ngIRCd Release 19
Reported by Cahata, thanks!
- Implement IRC commands "GLINE" and "KLINE" to ban users. G-Lines are
synchronized between server on peering, K-Lines are local only.
+ If you use "*!<user>@<host>" or "*!*@<host>" masks, these connections
+ are blocked even before the user is fully logged in (before PASS,
+ NICK, and USER commands have been processed) and before the child
+ processes for authentication are forked, so resource usage is smaller.
- Added doc/Modes.txt: document modes supported by ngIRCd.
- Implement user mode "R": indicates that the nick name of this user
is "registered". This mode isn't handled by ngIRCd itself, but must
Module: ngircd.git
Branch: master
Commit: e0c9931ad8db8a9bd7d6c030d856ccc28c6facc2
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=e0c9931a…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Jan 22 18:35:54 2012 +0100
Check G/K-Lines before the client has been registered, too
This allows to use "*!<user>@<host>" or "*!*@<host>" masks to reject
clients even before receiving PASS, NICK and USER commands and before
forking authentication child processes which reduces resource usage.
---
src/ngircd/conn.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 5f3c18a..40a2af6 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -2225,6 +2225,7 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events )
"NOTICE AUTH :*** No ident response");
}
#endif
+ Class_HandleServerBans(c);
}
#ifdef DEBUG
else Log( LOG_DEBUG, "Resolver: discarding result for already registered connection %d.", i );