]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoRemove commented out FlushWriteBuf()
brain [Thu, 14 Dec 2006 21:30:21 +0000 (21:30 +0000)]
Remove commented out FlushWriteBuf()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5992 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove misc debug
brain [Thu, 14 Dec 2006 20:43:39 +0000 (20:43 +0000)]
Remove misc debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5991 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix silly bug of the day.
brain [Thu, 14 Dec 2006 20:35:21 +0000 (20:35 +0000)]
Fix silly bug of the day.
User was only getting a userrec::chans entry added if they had any privelages on the channel. If they werent opped, voiced, or halfopped on join, no entry in the hash. Silly brain now added a:
user->chans[Ptr] = 0;
:p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5990 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer required here...
brain [Thu, 14 Dec 2006 19:51:56 +0000 (19:51 +0000)]
Remove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer required here, it used to try and flush the buffer before we actually monitored write events, long ago, without seeing if it could write first, and wasted cpu. It should be removed now and doesnt seem to affect anything.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5989 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCPU Usage percent in stats z! yay!
brain [Thu, 14 Dec 2006 19:30:42 +0000 (19:30 +0000)]
CPU Usage percent in stats z! yay!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange how users are quit if they get a write error during the things they do.
brain [Thu, 14 Dec 2006 17:58:13 +0000 (17:58 +0000)]
Change how users are quit if they get a write error during the things they do.
Instead of QuitUser inside FlushWriteBuffer() (potentially *UNSAFE*), go back to using SetWriteError(),
but to ensure we dont get a cascade of bad write events from the socket engine, QuitUser the user before
returning in userrec::HandleEvent, after we can gaurantee ALL other reading or writing is done.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5987 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRefactor userrec::chans.
brain [Thu, 14 Dec 2006 17:46:47 +0000 (17:46 +0000)]
Refactor userrec::chans.
Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc
New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op])
This increases speed a ton, and removes some wtf-age.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRefactoring:
brain [Thu, 14 Dec 2006 16:57:52 +0000 (16:57 +0000)]
Refactoring:
1) Chain together a resize and an append, to improve the buffer read efficiency
2) eliminate a const char* pointer by doing it purely with string, saving a data copy
3) use iterators rather than ints and vector::size() for spooling motd and rules files to users
4) change a usage of !length() to empty() to make it more readable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5985 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix m_watch to properly use OnCleanup, and to delete pointer on quit
brain [Wed, 13 Dec 2006 22:48:55 +0000 (22:48 +0000)]
Fix m_watch to properly use OnCleanup, and to delete pointer on quit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5984 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix configure stuff AGAIN.
brain [Wed, 13 Dec 2006 21:29:34 +0000 (21:29 +0000)]
Fix configure stuff AGAIN.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5983 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOn now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line...
brain [Wed, 13 Dec 2006 20:35:54 +0000 (20:35 +0000)]
On now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line into src/modes/Makefile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5982 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComments
brain [Wed, 13 Dec 2006 20:24:19 +0000 (20:24 +0000)]
Comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5981 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTurn watchlist back to map. watchlist is small, watchentries is large, only watchentr...
brain [Wed, 13 Dec 2006 20:08:45 +0000 (20:08 +0000)]
Turn watchlist back to map. watchlist is small, watchentries is large, only watchentries needs to be hash_map
(watchentries is the primary index of whos watching each nick, watchlist is the small nicklist attached to each user)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5980 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange m_watch to use hash_map rather than map, because of the large number of entrie...
brain [Wed, 13 Dec 2006 20:07:08 +0000 (20:07 +0000)]
Change m_watch to use hash_map rather than map, because of the large number of entries we deal with it will usually be faster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImprove the way 005 ISUPPORT is sent to users when they connect, cache it in a much...
brain [Wed, 13 Dec 2006 20:00:33 +0000 (20:00 +0000)]
Improve the way 005 ISUPPORT is sent to users when they connect, cache it in a much more sane format which is much simpler to spool to them

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProperly fix 'changed nickname from one thats on your notify to one thats not' condition.
brain [Wed, 13 Dec 2006 19:38:12 +0000 (19:38 +0000)]
Properly fix 'changed nickname from one thats on your notify to one thats not' condition.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5977 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, one too many params
brain [Wed, 13 Dec 2006 19:29:56 +0000 (19:29 +0000)]
Whoops, one too many params

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5976 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix /nick signoff message
brain [Wed, 13 Dec 2006 19:27:58 +0000 (19:27 +0000)]
Fix /nick signoff message

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5975 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore to fix.
brain [Wed, 13 Dec 2006 19:25:44 +0000 (19:25 +0000)]
More to fix.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5974 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this behave more like other WATCH implementations
brain [Wed, 13 Dec 2006 19:22:09 +0000 (19:22 +0000)]
Make this behave more like other WATCH implementations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5973 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix quite a few whoopsies
brain [Wed, 13 Dec 2006 19:17:35 +0000 (19:17 +0000)]
Fix quite a few whoopsies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5972 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUntested! New m_watch that should be hundreds of times faster (im not joking either)
brain [Wed, 13 Dec 2006 18:54:38 +0000 (18:54 +0000)]
Untested! New m_watch that should be hundreds of times faster (im not joking either)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5971 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAvoid pointless vsnprintf() when our loglevel doesnt meet requirements
brain [Tue, 12 Dec 2006 23:31:13 +0000 (23:31 +0000)]
Avoid pointless vsnprintf() when our loglevel doesnt meet requirements

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5970 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove unused debug
brain [Tue, 12 Dec 2006 23:27:55 +0000 (23:27 +0000)]
Remove unused debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5969 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImprove how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best we...
brain [Tue, 12 Dec 2006 23:21:51 +0000 (23:21 +0000)]
Improve how we handle ELINEs on connect, turn O(2n) into O(n) (thats the best we can do with g/k/z/q checks for now :( )

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5968 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNew clone counting mechanism (this isnt tested yet)
brain [Tue, 12 Dec 2006 22:51:38 +0000 (22:51 +0000)]
New clone counting mechanism (this isnt tested yet)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake FounderProtectBase::remove_own_privs a reference, so we can change it on the...
brain [Tue, 12 Dec 2006 20:57:04 +0000 (20:57 +0000)]
Make FounderProtectBase::remove_own_privs a reference, so we can change it on the fly without needing to re-construct the objects

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5966 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomeone forgot to do founder too :p
brain [Tue, 12 Dec 2006 20:54:49 +0000 (20:54 +0000)]
Someone forgot to do founder too :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5965 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake the world not end when special commits (this will probably break)
brain [Tue, 12 Dec 2006 20:35:56 +0000 (20:35 +0000)]
Make the world not end when special commits (this will probably break)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5964 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed a pretty nasty bug that allowed users to +a themselves if deprotectself was...
special [Tue, 12 Dec 2006 20:31:27 +0000 (20:31 +0000)]
Fixed a pretty nasty bug that allowed users to +a themselves if deprotectself was enabled (thanks webs)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5963 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoReverted om's commit so we can keep laughing at him for never doing anything
special [Tue, 12 Dec 2006 17:36:40 +0000 (17:36 +0000)]
Reverted om's commit so we can keep laughing at him for never doing anything

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5962 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoI yell 'LIES' in the face of anyone who says I don't commit
om [Tue, 12 Dec 2006 17:35:18 +0000 (17:35 +0000)]
I yell 'LIES' in the face of anyone who says I don't commit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5961 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnMaster thinks im not committing enough, so heres a pointless commit for him.
brain [Tue, 12 Dec 2006 17:33:48 +0000 (17:33 +0000)]
AnMaster thinks im not committing enough, so heres a pointless commit for him.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5960 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore comments
brain [Tue, 12 Dec 2006 00:22:09 +0000 (00:22 +0000)]
More comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5959 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix trivial broken stat counter
brain [Tue, 12 Dec 2006 00:17:36 +0000 (00:17 +0000)]
Fix trivial broken stat counter

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, forgot to unpublish the interface!
brain [Tue, 12 Dec 2006 00:03:53 +0000 (00:03 +0000)]
Whoops, forgot to unpublish the interface!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5957 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoirc::string assign(std::string&)
brain [Mon, 11 Dec 2006 23:56:22 +0000 (23:56 +0000)]
irc::string assign(std::string&)
std::string assign(irc::string&)
soooo:
irc::string foo = assign(my_std_string);
:p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJust comments
brain [Mon, 11 Dec 2006 23:42:20 +0000 (23:42 +0000)]
Just comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up a loop a bit so it isnt for(;;) with a break
brain [Mon, 11 Dec 2006 23:31:25 +0000 (23:31 +0000)]
Tidy up a loop a bit so it isnt for(;;) with a break

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix the typos in it.
brain [Mon, 11 Dec 2006 23:15:49 +0000 (23:15 +0000)]
And fix the typos in it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAttempt another speedup
brain [Mon, 11 Dec 2006 23:15:18 +0000 (23:15 +0000)]
Attempt another speedup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix kinda stupid whoopsie
brain [Mon, 11 Dec 2006 23:09:55 +0000 (23:09 +0000)]
Fix kinda stupid whoopsie

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFaster, stronger, ...err no, not the million dollar man.
brain [Mon, 11 Dec 2006 23:04:33 +0000 (23:04 +0000)]
Faster, stronger, ...err no, not the million dollar man.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange how assembling of multiple lines works, avoid data copies
brain [Mon, 11 Dec 2006 23:02:51 +0000 (23:02 +0000)]
Change how assembling of multiple lines works, avoid data copies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5949 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed a typo in select
special [Mon, 11 Dec 2006 22:47:25 +0000 (22:47 +0000)]
Fixed a typo in select

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5948 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix EOF conditions on inspsockets which are having their write() handled by modules
brain [Mon, 11 Dec 2006 22:20:03 +0000 (22:20 +0000)]
Fix EOF conditions on inspsockets which are having their write() handled by modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5947 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBetter handling of write() failure, but this might still not be exactly right.
brain [Mon, 11 Dec 2006 22:18:21 +0000 (22:18 +0000)]
Better handling of write() failure, but this might still not be exactly right.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5946 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis is better now.
brain [Mon, 11 Dec 2006 22:11:06 +0000 (22:11 +0000)]
This is better now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5945 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInitial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to work...
w00t [Mon, 11 Dec 2006 21:42:27 +0000 (21:42 +0000)]
Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to work with 1.1 (and hopefully work a bit faster. Removed tag option, as it doesn't broadcast to multiple servers, leaks memory, and is largely useless.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5944 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomeone forgot to add the copyright headers here :p
brain [Mon, 11 Dec 2006 21:40:25 +0000 (21:40 +0000)]
Someone forgot to add the copyright headers here :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd give it error checking... whoops.
brain [Mon, 11 Dec 2006 21:35:34 +0000 (21:35 +0000)]
And give it error checking... whoops.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5942 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPinch simple output buffering from m_ssl_openssl
brain [Mon, 11 Dec 2006 21:33:11 +0000 (21:33 +0000)]
Pinch simple output buffering from m_ssl_openssl

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5941 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup comments and debug
brain [Mon, 11 Dec 2006 21:24:15 +0000 (21:24 +0000)]
Tidyup comments and debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5940 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFinally got read buffering working properly
brain [Mon, 11 Dec 2006 20:55:59 +0000 (20:55 +0000)]
Finally got read buffering working properly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago*annoyance*
brain [Mon, 11 Dec 2006 20:18:26 +0000 (20:18 +0000)]
*annoyance*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5938 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDamnit damnit damnit!
brain [Mon, 11 Dec 2006 20:16:24 +0000 (20:16 +0000)]
Damnit damnit damnit!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5937 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis should do it.
brain [Mon, 11 Dec 2006 20:05:50 +0000 (20:05 +0000)]
This should do it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5936 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRethink
brain [Mon, 11 Dec 2006 20:00:58 +0000 (20:00 +0000)]
Rethink

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5935 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGrr.
brain [Mon, 11 Dec 2006 19:50:41 +0000 (19:50 +0000)]
Grr.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5934 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore tweaks
brain [Mon, 11 Dec 2006 19:44:57 +0000 (19:44 +0000)]
More tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5933 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIncrease CHUNK
brain [Mon, 11 Dec 2006 19:42:47 +0000 (19:42 +0000)]
Increase CHUNK

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5932 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agomore stuff :p
brain [Mon, 11 Dec 2006 19:35:04 +0000 (19:35 +0000)]
more stuff :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5931 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTest
brain [Mon, 11 Dec 2006 19:29:40 +0000 (19:29 +0000)]
Test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5930 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore crap
brain [Mon, 11 Dec 2006 19:24:20 +0000 (19:24 +0000)]
More crap

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5929 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of debug, dont use
brain [Mon, 11 Dec 2006 19:14:16 +0000 (19:14 +0000)]
Tons of debug, dont use

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5928 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDebug stuff, and some minor fixes
brain [Mon, 11 Dec 2006 19:06:27 +0000 (19:06 +0000)]
Debug stuff, and some minor fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUntested, new clever pointer voodoo class for binary-safe ziplinks output buffers
brain [Mon, 11 Dec 2006 18:23:15 +0000 (18:23 +0000)]
Untested, new clever pointer voodoo class for binary-safe ziplinks output buffers
PLUS: Fix for random epoll dispatchevents crashes.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5926 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix case insensitive compare (operator ==) between irc::string and std::string and...
peavey [Mon, 11 Dec 2006 01:12:14 +0000 (01:12 +0000)]
Fix case insensitive compare (operator ==) between irc::string and std::string and vice versa

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5925 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd::GetInt...
brain [Sun, 10 Dec 2006 22:17:51 +0000 (22:17 +0000)]
Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd::GetInterfaceUseCount().
These can be used for one module to lock other modules in memory that it depends on, this way they can
enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so
is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first,
THEN ssl_gnutls, to satisfy the dependencies and unload orders)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange this to prepend its lines to stats z which already shows misc stats
brain [Sun, 10 Dec 2006 20:29:14 +0000 (20:29 +0000)]
Change this to prepend its lines to stats z which already shows misc stats

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5923 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd very funky stats C (compression statistics) for people using m_ziplinks
brain [Sun, 10 Dec 2006 20:24:48 +0000 (20:24 +0000)]
Add very funky stats C (compression statistics) for people using m_ziplinks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5922 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRecord compression ratio stats for a /stats char (this isnt finished yet)
brain [Sun, 10 Dec 2006 20:11:46 +0000 (20:11 +0000)]
Record compression ratio stats for a /stats char (this isnt finished yet)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5921 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly handle write events
brain [Sun, 10 Dec 2006 19:49:49 +0000 (19:49 +0000)]
Correctly handle write events

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5920 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix bug found on barafranca, where quitting the user causes a cascade of error state...
brain [Sun, 10 Dec 2006 19:39:26 +0000 (19:39 +0000)]
Fix bug found on barafranca, where quitting the user causes a cascade of error state notifications without actually quitting the user until much later, wasting cpu time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5919 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHost cloaks for resolved hosts are wayyyy too long, cut the hash down to the first...
brain [Sun, 10 Dec 2006 18:15:34 +0000 (18:15 +0000)]
Host cloaks for resolved hosts are wayyyy too long, cut the hash down to the first 8 chars

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5918 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComment tidyups
brain [Sun, 10 Dec 2006 17:35:00 +0000 (17:35 +0000)]
Comment tidyups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5917 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix m_conn_waitpong not to use base64 uneccessarily.
brain [Sun, 10 Dec 2006 15:58:02 +0000 (15:58 +0000)]
Fix m_conn_waitpong not to use base64 uneccessarily.
Fix a typo introduced into openssl by a search and replace

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5916 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemoval of AES, this is no longer required. (This also eliminates code that isnt...
brain [Sun, 10 Dec 2006 15:51:31 +0000 (15:51 +0000)]
Removal of AES, this is no longer required. (This also eliminates code that isnt ours, and was some public domain crap)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5915 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate comment's ascii diagram to be more like those in an RFC
brain [Sun, 10 Dec 2006 15:23:44 +0000 (15:23 +0000)]
Update comment's ascii diagram to be more like those in an RFC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5914 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd m_ziplink.so to example conf
brain [Sun, 10 Dec 2006 14:41:09 +0000 (14:41 +0000)]
Add m_ziplink.so to example conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5913 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRename ssl.h -> transport.h, as its now used for ziplinks
brain [Sun, 10 Dec 2006 14:31:47 +0000 (14:31 +0000)]
Rename ssl.h -> transport.h, as its now used for ziplinks
Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd buffering of last frame, if we dont read the whole frame
brain [Sun, 10 Dec 2006 14:18:07 +0000 (14:18 +0000)]
Add buffering of last frame, if we dont read the whole frame

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5911 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore stuff
brain [Sun, 10 Dec 2006 13:49:00 +0000 (13:49 +0000)]
More stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5910 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweaks
brain [Sun, 10 Dec 2006 13:32:52 +0000 (13:32 +0000)]
Tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5909 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange name
brain [Sun, 10 Dec 2006 12:33:17 +0000 (12:33 +0000)]
Change name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5908 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis compiles, but isnt tested yet. DO NOT USE.
brain [Sun, 10 Dec 2006 12:32:52 +0000 (12:32 +0000)]
This compiles,  but isnt tested yet. DO NOT USE.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5907 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd prefix to /PRIVMSG, similar to bug #178 for /NOTICE
peavey [Sun, 10 Dec 2006 02:13:59 +0000 (02:13 +0000)]
Add prefix to /PRIVMSG, similar to bug #178 for /NOTICE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5906 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #178
peavey [Sun, 10 Dec 2006 01:56:50 +0000 (01:56 +0000)]
Fix for bug #178

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5905 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for end of handshake detection, HANDSHAKEN is a silly name for a const :/
brain [Sun, 10 Dec 2006 01:52:34 +0000 (01:52 +0000)]
Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5904 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd a comment to the example config reminding users that gnutls and openssl are inter...
brain [Sat, 9 Dec 2006 23:11:41 +0000 (23:11 +0000)]
add a comment to the example config reminding users that gnutls and openssl are interchangable and compatible, and you  dont have to use the same one at both ends of the link for it to work.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5903 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't allow the user to define a non-existent transport in the <link> tag
brain [Sat, 9 Dec 2006 23:04:56 +0000 (23:04 +0000)]
Don't allow the user to define a non-existent transport in the <link> tag

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5902 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate docs to reflect new stuff (OOO SHINEY SPANGLEY SPARKLEY NEW STUFF)
brain [Sat, 9 Dec 2006 22:52:28 +0000 (22:52 +0000)]
Update docs to reflect new stuff (OOO SHINEY SPANGLEY SPARKLEY NEW STUFF)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5901 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCorrectly report the transport names when server links occur
brain [Sat, 9 Dec 2006 22:39:00 +0000 (22:39 +0000)]
Correctly report the transport names when server links occur

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5900 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove AES
brain [Sat, 9 Dec 2006 22:25:32 +0000 (22:25 +0000)]
Remove AES

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake it all work properly. Have it wait for handshake to complete before sending...
brain [Sat, 9 Dec 2006 22:06:15 +0000 (22:06 +0000)]
Make it all work properly. Have it wait for handshake to complete before sending anything down the line

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5898 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIt works! WOO AND YAY! (this isnt finished yet, only an idiot would use this on a...
brain [Sat, 9 Dec 2006 21:15:56 +0000 (21:15 +0000)]
It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this on a production net atm)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, some stuff was sdrawkcab!
brain [Sat, 9 Dec 2006 20:12:04 +0000 (20:12 +0000)]
Whoops, some stuff was sdrawkcab!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove around the initialization stuff so it gets called in the right order
brain [Sat, 9 Dec 2006 20:07:31 +0000 (20:07 +0000)]
Move around the initialization stuff so it gets called in the right order

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5895 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd stuff for <bind:transport> and <link:transport> that should be the transport...
brain [Sat, 9 Dec 2006 20:03:52 +0000 (20:03 +0000)]
Add stuff for <bind:transport> and <link:transport> that should be the transport name, e.g. 'openssl' or 'gnutls'. I didn't name it <bind:ssl> because it might be used for other stuff than just ssl eventually.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5894 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoEnumerate InspSocketHook modules
brain [Sat, 9 Dec 2006 19:41:03 +0000 (19:41 +0000)]
Enumerate InspSocketHook modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7