4646 Commits

Author SHA1 Message Date
brain
ceafaa5e7a Swap some stuff around, just to complicate bruteforcing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 22:23:43 +00:00
brain
2715adbcf7 Make the output table chosen be unique to the actual ip so that the octet values are non-reversible.
e.g. we cant figure out "if the first digit of my ip is 128, and the first value of my cloak is 09FAC, then all users with an 09FAC in them have a 128 in their ip"


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 22:19:42 +00:00
brain
786f36abc4 Better cloaking for unresolved IP addresses.
Now hashes each octet and joins them with '.' so you easier ban unresolved ip's.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 22:17:39 +00:00
peavey
ea59b0338c typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5724 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 19:03:04 +00:00
brain
ecff7fd730 Advance to beta 6 svn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5723 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 19:02:09 +00:00
brain
ad30317001 1.1 Beta 5 + Lugnut
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5721 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0b5
2006-11-12 18:44:20 +00:00
brain
ad89443bc7 Thanks for the pointer jilles ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5720 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 17:51:29 +00:00
brain
ee3bdd6e5d Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t set this side, explicitly put -n or -t into the mode string.
This is because the other side will ass-u-me +nt set because this is the default.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5719 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 17:47:59 +00:00
brain
610cb2db14 If a new channel is created, after sending the FJOIN for the first user in, send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5718 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 17:44:53 +00:00
brain
570847ae0a Show chanrec::age in MODE #chan, not the deprecated chanrec::created
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5717 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 17:33:21 +00:00
brain
88b4e897ec Added a notice that all people bumping the protocol version should edit a page in the wiki:
* IMPORTANT: If you make changes, document your changes here, without fail:
 * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions
 *
 * Failure to document your protocol changes will result in a painfully
 * painful death by pain. You have been warned.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5716 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 17:20:22 +00:00
brain
87fa674bd3 Protocl-Version bump to 1102
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5715 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:37:51 +00:00
brain
4dbe9e8d4b Oops, using wrong param
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5714 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:35:07 +00:00
brain
49e94a92bc More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICE
(OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5713 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:14:44 +00:00
brain
af3624e16e Whoops, stuff in the wrong place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5712 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:08:00 +00:00
om
ab6fd70110 And change < 64 to <= 64, the length limit is 64 - not 63
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5711 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:03:39 +00:00
brain
74e081f98e Make OPERNOTICE work right
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:03:21 +00:00
om
76cb0571ed Fix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5709 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 16:02:10 +00:00
brain
b0316eb047 Add send_opers event and OPERNOTICE command to send remote server NOTICE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5708 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:59:25 +00:00
brain
0bcea9f631 Yes, we do want to propogate the server mode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5707 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:48:41 +00:00
brain
ccb435a2d3 Notice back to oper on invalid SAMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5706 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:47:14 +00:00
brain
ddbd883141 Needs testing: SAMODE doesnt send the actual SAMODE text any more, instead it sends a server-origin MODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5705 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:44:54 +00:00
brain
c5d1e3bcb7 Allow normal MODE from a server prefix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5704 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:41:43 +00:00
brain
199a7e055c Dont propogate failed mode changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5703 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 15:27:46 +00:00
w00t
8e3234c6eb Add m_restrictbanned to example conf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5702 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 14:17:58 +00:00
w00t
ceab3ad17d Add m_restrictbanned.so, disalows banned users on a channel from messaging the channel, changing nick, or changing the topic, if loaded.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5701 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 14:14:18 +00:00
brain
96ec7898e1 We now have only one string copy for remote topics. We still need two for local though (ick) -- see comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5700 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12 13:28:46 +00:00
brain
44305c4625 Enable removal of debug info for tiny systems
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5699 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 21:26:47 +00:00
peavey
77d81c3d57 fix a compile warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5698 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 20:38:37 +00:00
brain
8dd8b4e268 Eliminate two trivial compile warnings pointed out by a few people
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5697 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 20:35:42 +00:00
brain
5a3fe7e53d A few lines here are loglevel DEFAULT and should be DEBUG.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5696 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 17:37:56 +00:00
brain
fa9eea07bb Dont allow overlapped ports in these files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5695 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:47:32 +00:00
brain
a9b538041a Allow checking of overlapped ports. A bit of sensible thought prevents this from being O(n^2)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:46:00 +00:00
brain
c9029f8db2 Document irc::portparser with comments :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5693 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:28:18 +00:00
brain
b4d69afc18 dont use local vars and lose state
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5692 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:22:17 +00:00
brain
0b3cebdb8c Handle out of range port numbers without stopping parsing the whole set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5691 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:20:35 +00:00
brain
69c3a32784 Add irc::portparser, a class to parse port ranges in the form "6660,6661,6662-6669,7000".
Needs testing, watch next few commits.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 15:17:40 +00:00
brain
0b230aa96b Make these properly detect port ranges.
TODO: Make a port range parser class


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5689 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 14:58:13 +00:00
brain
e335c13fb8 Document port range stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5688 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 14:46:52 +00:00
brain
b6df59028d Support hybrid-style port ranges in spanningtree, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5687 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 14:44:46 +00:00
brain
879e4e2e10 Allow port ranges for client ports (this is still todo in spanningtree)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5686 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 14:33:57 +00:00
peavey
c36a1534cf fix small typo (also doubles as test commit)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5685 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 13:18:23 +00:00
brain
e4694e4675 Oops, add special-case for user killing themselves (their userrec is gone when the function returns)
Also put checks in LoopCall to check that the user didnt vanish half way through the comma seperated list, if they did, abort at that element of the list.
This means if your nick is 'a' and you do "/kill b,c,a,f,g die" only you, b and c will be removed from irc. (this is to be expected, really)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5684 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 12:15:11 +00:00
brain
a1f682a211 Yay, comma seperated /kill, same limits as PRIVMSG etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5683 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 12:05:34 +00:00
brain
13e2425731 Improve quit messages caused by filtering, now prefixed by "Filtered: "
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5682 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 00:57:35 +00:00
brain
9ac48dcd57 Also dont try and filter remote users. This is ick.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5681 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10 21:36:55 +00:00
brain
c087c22704 Filtering should leave ulines alone, and not filter uline notices.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5680 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10 21:36:24 +00:00
brain
2549304905 Add fix for patch #166 (this is a reasonably big one)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10 20:13:59 +00:00
brain
ff7b9e9af0 Implement a change for bug #171. It might not be pretty in the /list output, but the rfc DOES say we must do something like this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5678 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10 19:46:53 +00:00
brain
a9a27adf52 These should now be VF_COMMON, they sync data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10 19:31:49 +00:00