Elizabeth Jennifer Myers
89bfeb8fb1
Remove #define KEY from ip_cloaking modules.
...
I meant to do this 3 years ago when I rewrote the cloaking modules. I
never got around to it. Now I am. :p
Also add some basic comment headers whilst I'm here.
2011-07-25 23:38:56 -04:00
Jilles Tjoelker
d9439a0eee
ip_cloaking: clarify logic
...
This also slightly changes mangled IPs but the
mangling is on the same level.
2008-09-20 00:30:35 +02:00
Jilles Tjoelker
5067fe0e81
ip_cloaking: remove some unnecessary braces
2008-09-19 23:44:56 +02:00
Jilles Tjoelker
9d99a3096c
ip_cloaking: fix digits in hostnames
2008-09-19 23:42:28 +02:00
Jilles Tjoelker
e1c1f08d24
ip_cloaking: fix HOSTLEN buffer lengths,
...
could have truncated one char it shouldn't
2008-09-19 23:41:22 +02:00
Jilles Tjoelker
3213b626a4
More ip_cloaking improvements from Spaz.
...
The mangling function now creates more variation,
and more of numeric IPs is mangled.
2008-09-19 23:35:43 +02:00
William Pitcock
14f12985df
Automated merge with http://hg.atheme.org/charybdis
2008-09-17 03:25:19 -05:00
Jacob Myers
4acae09f3d
Improved cloaking. It now uses an FNV hash, which makes IP's much more
...
difficult to predict.
2008-09-17 04:15:51 -04:00
Jilles Tjoelker
c2f73e5dbc
Use rb_snprintf() in various places.
2008-09-06 01:00:20 +02:00
Valery Yatsko
b42eac7502
quick draft fix of ip_cloaking to make module work with ipv6 ips, cleanup later
2008-07-28 10:06:01 +04:00
William Pitcock
780a999fe7
extensions: no more TS5.
2008-06-08 01:31:15 -05:00
Valery Yatsko
f427c8b00d
strlcpy -> rb_strlcpy
2008-04-20 08:40:40 +04:00
William Pitcock
954012d39b
extensions compile without libcharybdis now.
2008-04-01 19:35:13 -05:00
nenolod
b076458c6f
[svn] - forgot to do something
2007-07-06 00:56:14 -07:00
nenolod
514235a762
[svn] - fix a possible problem with ipv6
2007-07-06 00:54:54 -07:00
nenolod
762cc38cf9
[svn] - new ip cloaking module
2007-07-06 00:48:28 -07:00
nenolod
212380e3f4
[svn] - the new plan:
...
+ branches/release-2.1 -> 2.2 base
+ 3.0 -> branches/cxxconversion
+ backport some immediate 3.0 functionality for 2.2
+ other stuff
2007-01-24 22:40:21 -08:00