brain
540fee57bf
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
2006-12-10 22:17:51 +00:00
brain
5c0c0ec057
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
2006-12-10 20:29:14 +00:00
brain
85db41b187
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
2006-12-10 20:24:48 +00:00
brain
c72a710f77
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
2006-12-10 20:11:46 +00:00
brain
20d467e5a5
Correctly handle write events
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5920 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 19:49:49 +00:00
brain
c99ac63b9a
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
2006-12-10 19:39:26 +00:00
brain
93b0dec665
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
2006-12-10 18:15:34 +00:00
brain
169ce29b39
Comment tidyups
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5917 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 17:35:00 +00:00
brain
819d09d0d0
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
2006-12-10 15:58:02 +00:00
brain
0471fe2677
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
2006-12-10 15:51:31 +00:00
brain
548640921b
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
2006-12-10 15:23:44 +00:00
brain
c015aa4c0e
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
2006-12-10 14:31:47 +00:00
brain
e22da8467d
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
2006-12-10 14:18:07 +00:00
brain
8d3c6acc8c
More stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5910 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 13:49:00 +00:00
brain
e3425fe8f4
Tweaks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5909 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 13:32:52 +00:00
brain
1fc8a60a9b
Change name
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 12:33:17 +00:00
brain
906103cbfe
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
2006-12-10 12:32:52 +00:00
peavey
3bf260cb99
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
2006-12-10 02:13:59 +00:00
peavey
1eb6c60883
Fix for bug #178
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 01:56:50 +00:00
brain
0c676f5f33
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
2006-12-10 01:52:34 +00:00
brain
57aa37a7b0
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
2006-12-09 23:04:56 +00:00
brain
b66e59990f
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
2006-12-09 22:39:00 +00:00
brain
fe3c313870
Remove AES
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5899 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 22:25:32 +00:00
brain
3af9d9b060
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
2006-12-09 22:06:15 +00:00
brain
6d2bf07374
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
2006-12-09 21:15:56 +00:00
brain
42747aef3e
Whoops, some stuff was sdrawkcab!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 20:12:04 +00:00
brain
e247a0fcd9
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
2006-12-09 20:07:31 +00:00
brain
56634da4a7
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
2006-12-09 20:03:52 +00:00
brain
591c86f365
Enumerate InspSocketHook modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5893 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 19:41:03 +00:00
brain
642cef61ab
Add stuff so that TreeSockets can call any found hook modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5892 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 19:32:47 +00:00
brain
4836a01a64
Move this
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 19:26:27 +00:00
brain
f559b94fa3
Add the stuff required for the InspSocketHook interface
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5890 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 19:25:10 +00:00
brain
86563492c7
Whoops
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 18:59:03 +00:00
brain
4f20c13f6f
Rename ssl_cert.h to ssl.h, it will contain the interface for hooking inspsockets
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 18:52:35 +00:00
brain
768171fef9
Add OnRawSocketConnect, we've not had it till now because we've not needed it :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 18:49:36 +00:00
brain
dfa831752c
Not yet tested -- allow iohooking of inspsockets
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-09 18:36:24 +00:00
brain
f4be97d195
(1) make command reloads be announced to opers
...
(2) change loadmodule and unloadmodule to say WHO did it, like with /reload
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5885 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-07 23:14:23 +00:00
brain
2a80ef7eaf
Whoops
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-07 23:06:49 +00:00
brain
b57568ecc4
Bad w00tie bad, /who isnt checking +s for channel /who!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5883 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-07 23:00:43 +00:00
brain
fd317e2325
Fix for peavy :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5882 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 22:30:52 +00:00
brain
953bb7dffa
More tidyups
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5880 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 22:26:20 +00:00
brain
e4b4242407
Tidy up cloaking algorithms a bit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5879 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 22:20:45 +00:00
brain
af7203afff
Add VF_SERVICEPROVIDER flag to these
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5878 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:54:08 +00:00
brain
69cdf24337
Tidy up with a typedef
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5877 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:31:37 +00:00
brain
7adaae1083
Throw if we cant find any modules that implement our interface
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5876 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:28:29 +00:00
brain
eb1a3b40d2
Comments comments!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5875 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:24:45 +00:00
brain
3daff89138
Document FindInterface, PublishInterface, UnpublishInterface, fix a bug where the interface wasnt removed when it was decremented to 0 implementing modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5874 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:19:19 +00:00
brain
4c09dec197
Make hash algo names case insensitive
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5873 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:09:55 +00:00
brain
b3ba32d08a
More stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5872 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 21:07:36 +00:00
brain
7e54de3ffa
Fix up brokage
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5871 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-05 20:56:28 +00:00