Bram Matthys
138fcd19e7
Added (optional) class::recvq so you can dynamically/per class set the recvq (flood control).
...
CLIENT_FLOOD in config.h is still used as a default value if recvq is not specified.
2003-02-03 01:51:26 +00:00
Bram Matthys
84596e0fc5
Redesigned "Dead socket" error msg thing. Added a error_str to client struct,
...
which is set if dead_link is called. You will now see "Write error",
"Max SendQ exceeded" etc error messages in the quit reason instead of just
the "Dead socket" message. Changed "notice" parameter of dead_link, now just
the reason and not a format string, maybe rename that var.
2003-02-02 00:48:02 +00:00
Bram Matthys
482df3dce3
Added ZIP_LINKS: using flag FLAGS_ZIP (0x1000000, was FLAGS_UNOCCUP2),
...
instead of using a 2nd flag here for the special case of "the first zip msg"
like in hybrid/etc I use cptr->zip->first to flag that. Except for the many
#ifdef ZIP_LINKS blocks added I also had to do some stuff outside it, like
crc32->our_crc32 because zlib defines it, made a READBUF define (8192),
added a msg var to parsing/send functions.. blah.. etc ;P.
I've also put the patch online at www.vulnscan.org/tmp/zip_links.diff so you
can easily look what I've changed.
TODO: ask in ./Config if ziplinks should be enabled and let ./configure check
for zlib + add the library to IRCDLIBS in Makefile if enabled.
TODO: some little code cleanups
2003-01-28 02:50:19 +00:00
Bram Matthys
e8d8a27cbc
Added a much faster (>100x) badwords replace routine which will be used for easy replaces like
...
"blah", "*blah", "blah*" and "*blah*"... otherwise regexp is used. Disabled by default until
it's really finished and fully tested.
2003-01-24 02:18:33 +00:00
stskeeps
e5dc32a0d0
- Compile fixes regarding throttling
...
- Fix when you use another make than make
2003-01-17 20:32:49 +00:00
codemastr
91b9fa2281
Removed USE_LONGMODE
2003-01-03 17:05:58 +00:00
codemastr
140eed6b4c
Fixed a win32 bug with showing included files on the config menu
2002-12-15 01:35:07 +00:00
codemastr
696533a163
Rewrote some +G code
2002-12-13 22:06:17 +00:00
stskeeps
a5547b65f4
- Made config actually add listeners when rehashing (...) also you can now
...
change listener flags using /rehash
2002-11-28 17:34:19 +00:00
codemastr
d1e0d459c5
Added can_override oper flag
2002-11-17 17:31:30 +00:00
codemastr
45590c3b5d
Made alias {} work in conf3 and recoded the way aliases work somewhat
2002-11-08 21:26:44 +00:00
stskeeps
4bc07b8789
+- Added set::ssl::options, with three options:
...
+ fail-if-no-clientcert - If SSL client connects and doesn't provide a client certificate, abort connection immediately
+ verify-certificate - Check the certificate's validity using X509 methods, check if we trust CA's, etc.
+ It however does slip self signed certificates through UNLESS
+ no-self-signed - Don't allow self-signed certificates through (requires verify-certificate)
+- Made conf parser mention if we make a link->options with CONNECT_SSL if we don't support SSL (and remove the CONNECT_SSL flag)
+- Made conf parser mention if we make a SSL listener and we don't support SSL
+- Added set::ssl::trusted-ca-file, if enabled, it will point the SSL stuff to use that file as trusted CA's (for verify-certificate)
+- Made conf _not_ bitch that it doesn't know set::ssl
+- Removed some leftover client certificate stuff
2002-09-28 11:02:05 +00:00
codemastr
ff14d5d0bf
Compile warning cleanups
2002-09-01 18:33:47 +00:00
codemastr
1f2e1a8bcf
Added vhost::swhois
2002-08-25 16:10:09 +00:00
stskeeps
275d304475
- Added set::ssl::certificate and set::ssl::key to point to where we got the certificat
...
PEM and the private key PEM
2002-08-21 17:10:46 +00:00
stskeeps
566e03e5b2
- Fixed problem with DEBUG ERROR when SSL handshaking (reported by some people)
2002-08-14 20:47:07 +00:00
stskeeps
31d2224b2c
- Made +x send out a SETHOST to VHP servers, requested by PreZ@DarkerNet
2002-08-04 08:41:55 +00:00
stskeeps
ff4bc60486
Fixed SSL linking, again..
2002-08-03 11:09:20 +00:00
stskeeps
51539ee85b
- Fixed some compile errors found by Zerwas and fixed some implementation problems of
...
the not able to set +z when there's non +z users (ULines not counted) in channel
2002-08-02 09:22:58 +00:00
stskeeps
c0af661c77
More SSL horror and fixed a missing , in m_who
2002-07-24 17:59:26 +00:00
codemastr
5b32996538
Some config changes and documentation updates
2002-07-24 17:00:37 +00:00
stskeeps
5af8478d67
moo
2002-07-24 10:22:22 +00:00
stskeeps
8aabac59e9
Credits changes
2002-07-23 16:12:16 +00:00
codemastr
a510d024d6
Added allow::options
2002-05-31 21:53:33 +00:00
codemastr
ac1c9232bf
Fixed some /stats Z problems
2002-05-29 19:53:34 +00:00
stskeeps
d90d0f52f6
- Fixed a number of bugs in the upper patch.
2002-05-10 17:29:49 +00:00
stskeeps
1ccd58d2a2
- Rewrote check_pings and the whole way banning people are handled. Do loop.do_banch
...
to provoke a bans check. This possibly fixes #00001702 , #0000137 and other
funny bugs.
2002-05-10 15:50:54 +00:00
stskeeps
491d6f70c2
First part of skyper's security audit patch
2002-04-15 20:17:36 +00:00
codemastr
65a2668ede
Added log {} syslog support
2002-03-18 23:26:12 +00:00
stskeeps
73b7a8be1e
- Fix with status needed for remote clients too. Found by
...
Craig/FrostyCoolSlug <Craig@e-tidalwave.org >
2002-03-16 18:09:15 +00:00
codemastr
0c540e883f
Converted commands to use module objects
2002-03-15 23:35:55 +00:00
griever
335e30513c
Fixed -Wall warnings for TSTime
2002-03-11 04:26:27 +00:00
codemastr
a46ebe1f38
Added various patches by Syzop
2002-03-02 17:18:11 +00:00
codemastr
b549340657
Added except tkl
2002-01-26 20:38:12 +00:00
stskeeps
a3a04d9797
- Added link::cipher for #define USE_SSL, use this to select
...
ciphers, read example.conf for more. Closes #000016 . Suggested by narf
2002-01-25 22:22:11 +00:00
codemastr
0b873a2b6b
Recoded hooks to use module objects
2002-01-20 15:42:48 +00:00
stskeeps
863e32a3d9
Problem with sendto_ops and null aclient->user fix
2002-01-19 18:12:22 +00:00
griever
f65e857d4e
sendto_ops is SNO_SNOTICE now
2002-01-15 04:27:14 +00:00
griever
8b6f528b54
*prays*
2002-01-08 02:17:05 +00:00
codemastr
393217392f
Removed some // comments
2002-01-04 00:30:05 +00:00
griever
8b753d84eb
Moved some stuff to the local section of aClient
...
stuff is still commented out (don't whine about //comments
as the lines are gonna be removed anyway)
in case this makes it core
2002-01-02 04:21:21 +00:00
stskeeps
4934786273
+- Reversed freeze bug fix, _NP means NON PORTABLE
...
+- Fixed a freeze problem with conf_deny_link
2001-12-27 13:01:00 +00:00
stskeeps
c753c7adc1
+- Fixes for ->user structures
2001-12-24 22:43:14 +00:00
griever
6e67d9dea0
added set::modes-on-oper (modes all opers get when they op up)
...
made Aa oflags include O
modified docs to reflect such
2001-12-17 00:43:51 +00:00
griever
5d2092858d
Made +N give you +OaA as well, since everyone used it that way
...
Grr, it seems like such a hack to me but ok :(
2001-12-17 00:13:37 +00:00
codemastr
4291191149
Help system recode
2001-12-16 00:35:57 +00:00
codemastr
b15292c980
Removed umode +T and oflags fue
2001-12-11 20:37:30 +00:00
stskeeps
07adb99680
+- Added module v3 code. Needs testing, and NO MODULES DOES NOT COMPILE
2001-12-09 10:44:11 +00:00
codemastr
573328e4e1
Added snomask +q for Q:line notices
2001-12-04 20:13:03 +00:00
codemastr
19c649fb90
snomask changes
2001-12-03 22:42:53 +00:00