Bram Matthys
8b45169f82
Get rid of $Id$ in /MODULE (version) output. Just report as "4.0"
2015-10-11 18:18:31 +02:00
Bram Matthys
3ffa547d2e
Remove more acptr->local->ip stuff, and fix some code from minutes ago.
2015-07-28 14:19:18 +02:00
Bram Matthys
a6a5e93524
We already check for 'too many unknown connections from your IP' in add_connection().
2015-07-28 14:15:30 +02:00
Bram Matthys
80147b2914
Make throttling code work on aClient * structs. Other code may change later (makes it easier).
2015-07-28 14:05:41 +02:00
Bram Matthys
2a53499610
Get rid of useless DLLFUNC prefixes (at places where they were not needed)
2015-07-25 20:23:37 +02:00
Bram Matthys
fd375ee284
Use CMD_FUNC() everywhere
2015-07-25 20:22:44 +02:00
Bram Matthys
13fffa4e1a
split all the local client stuff to acptr->local. makes it a lot easier to catch bugs.
...
If the IRCd crashes then it's likely not by this change but rather an existing issue that was previously gone unnoticed.
2015-07-19 12:48:18 +02:00
Bram Matthys
e8dfb284a1
Replace parv[0] with sptr->name. Don't use parv[0] anymore.
...
I went through all 500+ of them by hand as to avoid introducing bugs... we'll see ;)
2015-07-10 12:17:05 +02:00
Bram Matthys
fe14e21175
Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format
2015-07-08 18:02:19 +02:00
Bram Matthys
501daede0c
move cgiirc block to webirc module and rename the block to webirc { }
2015-06-12 20:16:26 +02:00
Bram Matthys
101d2dd6a3
Big 3.4.x commit containing bug fixes and enhancements. Modularizing
...
user & channel modes. Fixing Windows build. Etc..
2014-05-11 20:56:02 +02:00
William Pitcock
afdf5d780a
- Replace ircsprintf() with bounds-checking ircsnprintf(), patch from FalconKirtaran. ( #4208 )
2013-05-21 06:26:52 +00:00
William Pitcock
b413848524
- TOK_FOO removal pass 2
2013-05-19 21:40:45 +00:00
William Pitcock
ca86485927
- Remove token parameter from CommandAdd().
2013-05-19 21:27:26 +00:00
William Pitcock
424d7afba7
- Remove all references to add_Command(). ( #3177 )
2012-12-26 19:57:35 -06:00
William Pitcock
ec09c447e5
- Remove defines FAST_BADWORDS_REPLACE, THROTTLING, EXTCMODE. ( #2937 )
...
The code does not compile without them anyway.
2012-11-25 17:45:45 +00:00
William Pitcock
5448462f5d
- Typo fix.
2012-11-24 23:21:52 +00:00
William Pitcock
2b3a724524
- Use unknown_list instead of iterating local[] in PASS and CLOSE commands.
2012-11-24 23:04:58 +00:00
William Pitcock
ab5e766d9c
- Replace calls to strncpyzt() macro with more secure strlcpy().
...
This was done using Coccinelle, the semantic patch was:
@@
expression src, dst, len;
@@
- strncpyzt(src, dst, len);
+ strlcpy(src, dst, len);
2012-11-21 03:22:29 +00:00
William Pitcock
adcb462788
- If set::options::dont-resolve is enabled, then use only the IP information
...
from a WEBIRC message, reported by Ismat (#4103 ).
2012-04-09 10:54:17 +02:00
binki
f1ec26a07c
- Partially fixed bug where IPv4 addresses were randomly mishandled by the cgiirc code, resulting in the sockhost/hostmask being set to something like ::ffff:127.0.0.1, which confused the s2s protocol. Reported by tabrisnet ( #0003907 ). Also, reject incorrectly formed hostnames from WEBIRC command.
2010-05-28 04:30:22 +00:00
Bram Matthys
9e3ae2b758
- CGI:IRC + IPv6: Fixed cgiirc block hostname never matching ipv4 gateway
...
properly (..again..), this was previously reported by pv2b.
- CGI:IRC + IPv6: Fixed issue where all cgiirc ipv4 clients were rejected with
the message 'Invalid IP address', reported by stskeeps (#0003311 ), nate
(#0003533 ) and others.
2007-09-19 08:46:45 +00:00
Bram Matthys
54c2296dae
- CGI:IRC: gzlines, zlines, throttling, and unknown connect floods are now all checked for
...
clients connecting trough a CGI:IRC gateway that is in cgiirc { }. This might also fix a bug
where (g)zlines were not applied to CGI:IRC clients, reported by devil (#0002850 ).
2006-03-14 19:47:08 +00:00
Bram Matthys
6623b10a16
socket.h?
2006-02-16 16:30:22 +00:00
Bram Matthys
13f99d6bc1
inet.h!
2006-02-16 16:24:50 +00:00
Bram Matthys
07ccc74036
- Redid whole CGI:IRC support. Configuration is now moved to cgiirc { } blocks.
...
We now support the webirc ('webirc_password' in CGI:IRC) method, which is kinda superior
to the older method ('realhost_as_password').
See the Unreal documentation (section '4.36 - Cgiirc Block') for details on how to configure.
- Changed quoting color in unreal32docs.. looks better now IMO (only English docs updated).
2006-02-16 15:32:16 +00:00
Bram Matthys
22921c1b1f
- Fixed win32 compile problem due to CGI:IRC support (?)
2006-02-15 11:26:47 +00:00
Bram Matthys
99b6f2ea38
- Added CGI:IRC host spoofing support. This means you can mark specific CGI:IRC gateways as
...
"trusted" and the IRCd will show the users' _real_ host/ip everywhere on IRC, instead of the
_CGI:IRC-gateway_ host/ip.
To do so you must set 'realhost_as_password' to 1 in your cgiirc.conf. And add the
CGI:IRC gateway(s) you fully trust to set::cgiirc::hosts.
2006-02-14 16:58:43 +00:00
Bram Matthys
a573b29a0f
- Fixed a bug in individual m_*.so loading, 39 new modules were affected.
2004-02-23 23:14:05 +00:00
Bram Matthys
f775b3cf91
sjoin, pass, userhost, ison, silence modulized...
2004-02-17 00:20:24 +00:00