Jilles Tjoelker
5be2a08be3
Include time the k/d line was set in the reason when reading ban confs.
...
This correspond to what happens when a kline or dline is set.
2008-01-02 00:06:08 +01:00
Jilles Tjoelker
e54995b150
Remove idle time checking (auto disconnecting users idle too long).
2008-01-01 23:04:34 +01:00
Jilles Tjoelker
7c3a2f7081
Document special characters in stats i/testmask in sgml.
2008-01-01 22:40:22 +01:00
Jilles Tjoelker
bd03481bde
STATS I and TESTMASK: Show some more auth{} flags.
...
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_)
All these are only shown to opers.
2008-01-01 21:54:27 +01:00
Jilles Tjoelker
1eea3afa43
Fix a crash when connecting to a server.
2008-01-01 18:47:10 +01:00
Jilles Tjoelker
331c47e00a
STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
2008-01-01 18:25:04 +01:00
Jilles Tjoelker
24350e6234
Fix a crash after a local client exits.
2008-01-01 18:15:56 +01:00
Jilles Tjoelker
4d23dfbcb5
Remove various obsolete ConfItem statuses (types) and flags.
2008-01-01 16:06:59 +01:00
Jilles Tjoelker
06e080f3e8
Remove long obsolete comment.
2007-12-28 23:23:15 +01:00
William Pitcock
de0572442e
Replace int fd; in local client object with an fde object.
2007-12-28 15:06:33 -06:00
Jilles Tjoelker
16d59a0d4a
Use connect_timeout for handshakes; add snote and log when they time out.
2007-12-28 16:38:39 +01:00
Jilles Tjoelker
e883cf07e7
Remove code for unregistered clients from check_pings_list()
...
because it is only called for lists of registered clients.
2007-12-28 16:17:39 +01:00
Jilles Tjoelker
372b2193ec
More helpful ERROR server notices.
...
- Do not use hide_error_messages for certain "safe" ERRORs.
- If hide_error_messages hides an ERROR from a handshake,
send a server notice anyway, but without the message
text.
- Send server notices about ERRORs from handshakes network
wide if it was a remote connect.
2007-12-28 01:31:56 +01:00
Jilles Tjoelker
d23bc305d6
Make remote numerics to channels work.
...
Note that +D clients do not get these. This is consistent
with how ircu treats remote numerics and with how we treat
server notices from other servers, but not with how locally
generated notices and numerics are sent also to +D clients.
2007-12-26 22:46:43 +01:00
Jilles Tjoelker
df7a3250b1
Never allow a duplicate kline; always allow a wider kline.
...
Duplicate klines are now disallowed regardless of
no_redundant_klines. There is a somewhat hackish check
to see if the new kline is wider than the existing one.
2007-12-26 00:51:22 +01:00
Jilles Tjoelker
4c171a9c72
When removing a temp kline, show removed mask, not given mask.
...
Example: when temp klining 10.0.0.0/16 and unklining 10.0.0.1/16,
it showed 10.0.0.1/16 being removed before, and shows
10.0.0.0/16 now.
2007-12-26 00:18:22 +01:00
Jilles Tjoelker
fd4ba65e17
Send a few more snotes about remote connects netwide.
...
(bad password for server, SID exists)
2007-12-25 16:19:54 +01:00
Jilles Tjoelker
00fe56c547
Add chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a.
2007-12-25 13:56:05 +01:00
Jilles Tjoelker
63c26c4b5a
Add no_locops extension to disable LOCOPS (force everyone -l).
2007-12-25 13:27:41 +01:00
Jilles Tjoelker
16e0550f25
Use "SID Exists" instead of "Server Exists" where appropriate.
2007-12-25 01:16:18 +01:00
Jilles Tjoelker
2a719c44c0
Consolidate duplicate channel mode flags tables to one.
2007-12-25 01:00:20 +01:00
Jilles Tjoelker
757f5aa8fc
Make the notable TS delta snote netwide as this may screw up the entire network.
2007-12-25 00:18:34 +01:00
Jilles Tjoelker
55b5711c56
Put full detail in the SQUIT reason for invalid TS version or excessive TS delta.
2007-12-25 00:16:26 +01:00
Jilles Tjoelker
05beabd14f
Remove "<server> had been connected for <time>" snote.
...
For registered servers, it is entirely redundant with the
"<server> was connected for <time>. <traffic>" snote, and
only sent for some ways of closing; for handshakes, you
already know that it had not been connected for long.
2007-12-24 23:29:01 +01:00
Jilles Tjoelker
9f8d60cc83
Make the other notices to snomask +b network wide.
...
(with the exception of flooding on an &channel)
2007-12-24 22:43:47 +01:00
Jilles Tjoelker
625b1e582d
Document the mass_notice oper privilege.
2007-12-24 22:04:18 +01:00
Jilles Tjoelker
fa7964705f
Document the resv oper privilege.
2007-12-24 21:59:21 +01:00
Jilles Tjoelker
c13a2d9ad3
Add mass_notice oper priv, enabled by default for compatibility.
...
Controls /wallops and masked notices/privmsgs.
2007-12-24 21:47:05 +01:00
Jilles Tjoelker
333d73ff28
Rearrange flags2 to make room for 3 more oper privileges.
2007-12-24 21:16:19 +01:00
Jilles Tjoelker
2d2c402d0b
Move various flags from flags2 to flags.
2007-12-24 20:58:55 +01:00
Jilles Tjoelker
91e46e62e5
Remove various unused macros.
2007-12-24 20:40:12 +01:00
Jilles Tjoelker
6f068dbd15
Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.
2007-12-24 20:32:41 +01:00
Jilles Tjoelker
5fcb6b5d88
Remove unused flag FLAGS_CHKACCESS.
2007-12-24 20:26:39 +01:00
Jilles Tjoelker
965dfbd38a
Branch merge.
2007-12-24 18:24:49 +01:00
Jilles Tjoelker
420b2c9a10
Remove dot_in_ip6_addr config option.
2007-12-24 18:24:23 +01:00
William Pitcock
de845813f9
update IDEAS for suggestions on how you can help with the I/O refactoring.
2007-12-22 16:38:09 -06:00
William Pitcock
c1e5bc4117
comm_locate_fd(), not comm_lookup_fd().
2007-12-22 16:30:06 -06:00
William Pitcock
5cd74a3b6c
linebuf_flush(): use fde_t's.
2007-12-22 16:28:05 -06:00
William Pitcock
d877759f5b
Make fde raw I/O functions act on the FDE object, not the FD directly.
2007-12-22 16:15:09 -06:00
William Pitcock
5893220fdc
wtf mercurial, tbh.
2007-12-22 16:08:34 -06:00
William Pitcock
7b3c01255b
Automated merge with ssh://hg.atheme.org//hg/charybdis
2007-12-22 16:06:35 -06:00
William Pitcock
868590746d
- add IOReadFunc and IOWriteFunc types.
...
- add fde::read_impl, fde::write_impl.
(defaults to read(2) and write(2) with raw FDs at the moment;
this will be revised to act on the fde later.)
2007-12-22 16:05:51 -06:00
William Pitcock
404d3a3a62
Fix includes.
2007-12-22 14:24:00 -06:00
William Pitcock
64513f3675
Automated merge with ssh://hg.atheme.org//hg/charybdis
2007-12-22 14:05:45 -06:00
William Pitcock
2cac65a378
Add some GNUTLS helper code.
2007-12-22 14:05:03 -06:00
Jilles Tjoelker
95d36ef54b
It is ok to send 402 to local clients for any hunt_server operation.
2007-12-22 00:20:54 +01:00
William Pitcock
38b91e8915
again, fbfile.c hasn't existed in a long time.
2007-12-21 11:14:08 -06:00
William Pitcock
207aba5c3d
fbfile.c hasn't existed in a long time.
2007-12-21 11:13:49 -06:00
William Pitcock
29344cc799
Remove rfc1459, because IETF documentation does not contain any permission notices allowing modification.
2007-12-21 11:09:55 -06:00
William Pitcock
201f4ef72f
We need to do that in another spot. Yuck.
2007-12-20 16:59:52 -06:00