Bram Matthys
f2eb5f48b6
- Zip links: Added link::compression-level so you can set the compression level per link
2003-02-15 21:13:37 +00:00
codemastr
bf116f1f6c
Removed cmode +H, coadmins can use /rehash -flags, added cmode +M
2003-02-15 01:27:48 +00:00
Bram Matthys
f014032901
- Fixed link::port bug reported by AngryWolf: was signed so ports >32767 had problems
2003-02-13 17:12:54 +00:00
Bram Matthys
1901911405
- Removed usermode +I (invisibility)
2003-02-12 21:44:09 +00:00
Bram Matthys
addd54c38f
Revert set::options::owner-gets-dot patch.
2003-02-12 20:44:14 +00:00
Bram Matthys
71a7e91363
- Added set::options::owner-gets-dot which will give chanowners a . prefix.
2003-02-12 02:12:13 +00:00
Bram Matthys
934b898914
Fixed a bug in coadmin: global flags were not added ( #0000716 ).
2003-02-10 00:41:19 +00:00
Bram Matthys
954ccf7265
added set::restrict-usermodes
2003-02-09 20:51:25 +00:00
Bram Matthys
bd8cbf6713
* don't send SHOWCONNECTINFO if the link is (known to be) a server.
...
* same for scan message
* don't say "you have not registered" on NOTICE in unregistered state.
* made a send_prot(aClient, ConfigItem_link) for sending PROTOCTL message,
takes care of sending ZIP in token in case of a ziplink (indeed, I don't
send "ZIP" if it's not marked as a ziplink).
* added automatic fallback tot uncompressed link in case one of the sides
has zip turned off or not compiled in.
* added configcheck for link::options::zip turned on when not compiled
in (just like we do with ssl).
2003-02-06 01:09:17 +00:00
Bram Matthys
c177eb2580
Code (comments) cleanup. Yes very usefull.. ahem ;).
2003-02-05 20:15:28 +00:00
codemastr
06dc8646a4
added ziplinks support to ./Config and updated SSL support in ./Config
2003-02-05 00:44:14 +00:00
codemastr
da33a9e646
Fixed a bug when compiling with SSL ZIP_LINKS
2003-02-04 22:50:56 +00:00
Bram Matthys
6ceb9cb6f7
Code cleanup (in many files heh)... I replaced all:
...
IsHidden(sptr) ? sptr->user->virthost : sptr->user->realhost
stuff to a simple GetHost(sptr) macro (defined in struct.h).
Smaller and less error phrone :). Also fixed the if IsHidden -> if (IsHidden
found by codemastr .
2003-02-04 19:40:38 +00:00
Bram Matthys
7ad5f10d76
- Fixed a resolver bug where cache entries didn't timeout correctly.
...
- Made async resolve-and-connect work
- Added link::options::nodnscache which means Unreal will not cache the host forever for
outgoing server connections, you could for example enable this if you are linking two servers
with an often changing host (like dyndns.org).
2003-02-04 02:09:40 +00:00
codemastr
1efcc56dce
Fixed a throttling bug
2003-02-03 21:38:02 +00:00
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
8d329b611a
enabled FAST_BADWORD_REPLACE by default
2003-02-02 23:13:26 +00:00
codemastr
56da92cab9
Added set::snomask-on-connect
2003-02-02 22:53:59 +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
codemastr
ab5ff5cdea
Started work on set::allow-userhost-change
2003-02-01 19:14:31 +00:00
Bram Matthys
637867bc6d
Added makefiles to compile with zip links @ windows (zlib needed).
2003-01-28 23:13:49 +00:00
Bram Matthys
95c0add864
Fix for error msgs flood at (at least) Linux 2.4.x and FreeBSD caused by
...
socket already disconnected when getpeername() is done.
2003-01-28 22:14:56 +00:00
Bram Matthys
007d0c1d32
Added STRIPBADWORDS_CHAN_ALWAYS (a define, disabled by default) for always
...
censoring badwords from all channels (+G or not).
2003-01-28 20:24:55 +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
codemastr
1db740e154
Fixed an HCN bug with client exiting notices
2003-01-27 19:30:34 +00:00
Bram Matthys
73810a4f82
Cleanups in badwords.c: removed duplicate code, now one big stripbadwords() function which
...
is called by stripbadwords_channel()/stripbadwords_message().
2003-01-24 02:49:41 +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
Bram Matthys
1e51112790
Fixed win32 compile error because of report_error patch (oops, lalala :P).
...
Added P_ECONNABORTED and P_ECONNRESET.
2003-01-20 19:33:18 +00:00
Bram Matthys
f97b537b09
Fix for missing mode 'S' in 005 CHANMODES= message
2003-01-19 20:30:30 +00:00
stskeeps
c5991fc8da
fixed crypt on win32
2003-01-18 09:01:52 +00:00
stskeeps
e5dc32a0d0
- Compile fixes regarding throttling
...
- Fix when you use another make than make
2003-01-17 20:32:49 +00:00
stskeeps
5289be076a
- Preperations for beta14. Will be a recommended upgrade
2003-01-17 17:10:11 +00:00
stskeeps
7601cbcf12
- Adding throttling, read config.h for more info. For the uneducated,
...
throttling is to reconnect way too fast repeatedly. Thanks to [Real] for
the idea
2003-01-15 18:32:25 +00:00
codemastr
fed61efcdb
Misc. fixes
2003-01-11 19:33:42 +00:00
codemastr
b455704e7f
Added a patch by Syzop to increase randomness of the random numbers
2003-01-05 01:26:28 +00:00
codemastr
91b9fa2281
Removed USE_LONGMODE
2003-01-03 17:05:58 +00:00
codemastr
d7c59f9961
Fixed a few bugs
2003-01-02 19:32:58 +00:00
codemastr
67b1118abb
Added set::snomask-on-oper
2002-12-19 21:49:37 +00:00
mcskaf
ab66342581
Fix bug 552
2002-12-17 19:56:36 +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
04be404c6c
- Changed base version name to Unreal3.2, instead of Unreal3.2-Selene
...
- Made McSkaf part of core coder team
2002-12-09 19:54:35 +00:00
mcskaf
c609e0bbb1
IRCCreateThreadEx() was causing exception on Windows.
2002-12-08 20:09:27 +00:00
mcskaf
28fbd0bafe
Added P_EWORKING define. Indicates a socket call is in progress on all OSs.
2002-12-01 18:53:06 +00:00
codemastr
2182c90be5
Release preparations
2002-12-01 18:23:11 +00:00
codemastr
5d31e2ac68
Changed the thread API to fix some win32 crashes
2002-12-01 17:11:34 +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
9dd4b699b8
Cleaned up module code
2002-11-27 17:40:28 +00:00
codemastr
0ba49b9c4e
Made modules rehash under dynamic linking
2002-11-26 19:52:02 +00:00
mcskaf
3d945f5b1d
Fixed sendto_ functions to use slot number as index into sentalong array.
2002-11-22 23:25:20 +00:00