danieldg
15e6efe1ae
Translate UIDs properly in m_sakick
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11373 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13 02:49:05 +00:00
special
3372b1ac0d
Revert some files accidentally committed in r11371. I'm apparently doing a very bad job of multitasking.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13 02:29:32 +00:00
special
78ec14490c
Fix an issue in r11370 spotted by danieldg
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13 02:18:33 +00:00
special
6075913736
Fix m_sakick to properly send local/global snomasks like other modules, instead of repeating a global snomask once per linked server. Found by SnoFox
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11370 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13 01:23:52 +00:00
danieldg
b2159a9e4f
Remove handshake timer on server sockets that die before completing handshake
...
This fixes some very subtle and hard-to-trace bugs that are triggered when a
file descriptor and memory address of an EventHandler* are reused after being
deallocated. Impossible to trigger in valgrind; has been seen in live networks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11369 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07 14:51:10 +00:00
danieldg
999febbac6
Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutls
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07 04:33:43 +00:00
danieldg
373db450cc
Fix ListenSocketBase::GetPort() returning incorrect value on ports not bound to a specific address
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11367 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07 04:24:17 +00:00
special
955b3ef59b
Fix two compile errors found by Shawn
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06 22:59:05 +00:00
danieldg
4c3329a0ce
Set errno in openssl when handshake fails
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06 22:46:56 +00:00
w00t
71f7e47bcd
Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and in fact is a bit harmful in some ways as we've seen..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06 22:27:51 +00:00
danieldg
5a3d1bd460
Set errno properly on GnuTLS sessions that die during the SSL handshake
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06 22:26:11 +00:00
special
afdc66c2ce
m_filter: Do not attempt to filter messages from remote users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11362 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-05 23:43:40 +00:00
danieldg
fa3e1d5d4d
Canonicalize bind addresses when creating listen sockets
...
This fixes /stats p output for SSL ports not working if a non-canonical address
is used in the configuration (IPv6 with :: or mixed hexadecimal case).
This also cleans up some now-useless sockaddr[2] allocations.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11361 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-04 23:24:00 +00:00
w00t
486a4bb77c
Fix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11359 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-04 20:27:54 +00:00
w00t
8feb215c20
Copypastafail.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03 12:16:10 +00:00
w00t
97b48b5e01
Some general tidyup in here (also some possible desync fixes, check IS_LOCAL..), also check that the target channel exists and sender is opped before allowing +b redirects from a remote sender. Fixes bug #851 , reported by SnoFox.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11357 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03 12:15:19 +00:00
w00t
c0d37f4557
(for now), comment out opercount from individual servers in XML stats. This can be addressed in a future release. Bandaid fix for bug #846 , reported by SnoFox.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11356 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03 12:06:33 +00:00
w00t
a1a5c322ce
Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported by Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03 11:56:03 +00:00
w00t
4d1275cc53
Change making callerid significantly less expensive for quitting large amounts of users at once. This is *not* runtime tested yet. Testnet, please update this module.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11354 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 22:44:20 +00:00
w00t
50d763ca74
Minor cleanup: move RemoveFromAllAccepts() to a private class method
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11353 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 21:43:12 +00:00
danieldg
b0884a94ef
Globally route "a" snotices for more modules. Patch from Milliways.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 19:55:02 +00:00
w00t
39d63cdd10
Remove commands makefile also on make distclean.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc3
2009-05-02 19:02:25 +00:00
w00t
d65c7380f1
Fix two stupid mistakes here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:58:02 +00:00
w00t
78450ee024
Patch from eLement notifying the user who sent a NICKLOCK that the target was locked successfully, fixes bug #854 .
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11349 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:24:58 +00:00
w00t
7d8f6fde6e
Remove an old debug log, and fix compile.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:18:01 +00:00
w00t
343ffe8940
Fix: Channel aliases should work a bit more like user aliases. This is a BC change: all existing channel aliases will likely be BROKEN, and will need to be changed. Like user aliases, $1 is now the fantasy command that was invoked, $2 is the first real param of the command. Reported by Namegduf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11347 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:18:00 +00:00
w00t
6cfc9625c0
Replace $chan to "" for a non-channel command.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:17:59 +00:00
danieldg
3ff5e57de4
Send rehash message to global sno, fixes bug #855 . Also only send message when the rehash happens.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 15:01:32 +00:00
danieldg
d94394560c
Fix SILENCE command in m_silence being reported as being in m_slience_ext, noticed by SnoFox
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-01 21:41:04 +00:00
w00t
0e5f5ce8db
Fix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP is not made, don't assume all <bind> tags are for ipv6 IPs on an IPv6 compile (WTF).
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11342 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-30 13:35:25 +00:00
danieldg
292291100c
Fix m_redirect to work properly with SAMODE
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 19:37:20 +00:00
danieldg
5ae91f0903
How about we make this compile?
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 03:49:00 +00:00
danieldg
8bcd42704b
Normalize IPv6 addresses when producing SSL port list, fixes bug #853
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 03:21:22 +00:00
danieldg
3df81381bc
Add IP address conversion utility functions, irc::sockets::aptosa and irc::sockets::satoap
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 03:21:15 +00:00
danieldg
d2a71fd344
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not a string. Fixes bug #849
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 02:43:16 +00:00
danieldg
1064b67329
Fix OnSetAway hook denying remote users' change rather than local users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-27 15:30:03 +00:00
danieldg
80b24fd2d3
Remove sending +q from OnPostJoin, fixes bug #847 . See removed comment for why it existed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-27 04:42:04 +00:00
danieldg
1ec635790f
Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ports configured
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26 20:48:13 +00:00
danieldg
8a32981609
Enable lag-check pings on active servers - if bandwidth waste is an issue, there should be an option to disable lag pings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26 20:48:05 +00:00
danieldg
2f9c8c6436
Remove lag reporting in /map from servers that do not yet have a valid value; <1ms is misleading.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26 20:47:57 +00:00
danieldg
e33e7a055e
Fix OnUserRegister being triggered twice if someone sent a NICK while waiting on an ident timeout
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26 03:43:59 +00:00
danieldg
bff6868836
Fix crash from unregistered users joining a channel, discovered by Namegduf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-24 15:56:31 +00:00
peavey
15b51c2ecc
rollback r11326, we're going to make vc9 the officially supported windows build methods since the few of us doing win dev can't keep up maintaining the others.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23 22:21:35 +00:00
brain
c275233c7c
Heres the beef so far
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23 19:03:40 +00:00
danieldg
eed00fd454
Addendum to previous ping patch: NextPingTime was not being set at endburst, and servers without ENDBURST were no longer being detected.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-22 16:35:27 +00:00
danieldg
c15f083ba3
Fix PingFlag not being set correctly for servers whose burst takes longer than PingFreq
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-22 02:26:03 +00:00
danieldg
195b60fe90
Abort link early when mismatched modules are detected so that the error message is more useful
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-21 15:15:05 +00:00
danieldg
e10bc5d2eb
Actually use irc::modestacker correctly
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20 22:12:40 +00:00
danieldg
828f256a9b
Use loopCall to protect OnUserKick rather than the triggerevents hack
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20 13:29:58 +00:00
danieldg
2d7ac3a99b
Initialize loopCall on construction
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-19 15:59:16 +00:00