summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-05Add daniel's third-party module repositorydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-03Use pkg-config to search for gnutls rather than the now-removed libgnutls-configdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-02Change m_override to send snomasks globallydanieldg
This uses "G" for both local and global; "g" is already taken by globops. Fixes bug #860. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11399 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Ignore and remove {BSD,GNU}makefiledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11398 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Makefile updates: Fix BSD make conditionalsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11397 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Makefile updates: clean up command linesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01This time it's actually compile testeddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01OK, it's more useful if this compiles...danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all ↵danieldg
iterators following the elements to be erased. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-30Makefile updates: remove MAKEPROG/MAKEORDERdanieldg
Also update the output on "make debug" to look better and avoid interleaving header output on a parallel make. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11391 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-25Remove the ServerConfig::DirValid check that breaks symlinksdanieldg
This was included as a security check to prevent symlink attacks, but this is no longer useful; anyone who can exploit the attack now can just modify the ircd itself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24Make timestamp output in /CHECK consistentdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24OnRehash changes: split to multiple hooks to clarify use and prevent ↵danieldg
explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-23m_dnsbl: Add default duration and error message on invalid durationdanieldg
Before, this caused DNSBL hits to take no action, as the zlines expired before being applied. The default duration of 60 seconds exists only to make the bans work; a longer duration is recommended to reduce log noise. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11387 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14Fix UID collision on reload of m_spanningtree.sodanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14Fix some incorrect STL iterations (using < end() instead of != end())special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14Fix r11381 checking HideWhoisServer incorrectlydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix incomple memset() in irc::sockets::aptosa, add support for converting ↵danieldg
empty addresses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11383 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Make User::ServerInstance public so that FakeUser can access it. There is no ↵danieldg
reason to make this private, really git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11382 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Hide server sources if HideWhoisServer is set, noticed by Braindanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11381 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Show correct server source to users on FTOPIC and FMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreedanieldg
This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Make the previous patches actually workdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Replace loopCall detection in OnUserKick with a check for the m_spanningtree ↵danieldg
fake user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use a FakeUser source for server-sourced commands in spanningtreedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Create subclass of User for FakeClient, to allow for use as command sourcedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix for some modules sending global snotices at each individual server in a ↵aquanight
server path. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11374 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Translate UIDs properly in m_sakickdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11373 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Revert some files accidentally committed in r11371. I'm apparently doing a ↵special
very bad job of multitasking. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix an issue in r11370 spotted by danieldgspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix m_sakick to properly send local/global snomasks like other modules, ↵special
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-07Remove handshake timer on server sockets that die before completing handshakedanieldg
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-07Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutlsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07Fix ListenSocketBase::GetPort() returning incorrect value on ports not bound ↵danieldg
to a specific address git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11367 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Fix two compile errors found by Shawnspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Set errno in openssl when handshake failsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and ↵w00t
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-06Set errno properly on GnuTLS sessions that die during the SSL handshakedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-05m_filter: Do not attempt to filter messages from remote usersspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11362 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-04Canonicalize bind addresses when creating listen socketsdanieldg
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-04Fix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11359 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Copypastafail.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Some general tidyup in here (also some possible desync fixes, check ↵w00t
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(for now), comment out opercount from individual servers in XML stats. This ↵w00t
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-03Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported ↵w00t
by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Change making callerid significantly less expensive for quitting large ↵w00t
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-02Minor cleanup: move RemoveFromAllAccepts() to a private class methodw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11353 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Globally route "a" snotices for more modules. Patch from Milliways.danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Remove commands makefile also on make distclean.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7