summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix a missed reference v1.2.0rc4Gravatar w00t2009-08-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump version number to rc4Gravatar w00t2009-08-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch to not increment nickchange counter for nick changes that would be ↵Gravatar w00t2009-08-021-4/+35
| | | | | | blocked elsewhere, fixes bug #874. Patch by dz, but he was too slow to commit it :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11453 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't apply bans to E:Lined connections. Should fix bug #896.Gravatar w00t2009-08-011-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
* Show config warnings/errors regardless of loglevel on startup.Gravatar w00t2009-08-011-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7
* Various rehash fixes that it seems were introduced by untested code.Gravatar w00t2009-08-011-11/+17
| | | | | | | | | - Remove unused ReportConfigError member - Don't report successful load (and spam modules that failed to load) if there is a config error - Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications. Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11450 e03df62e-2008-0410-955e-edbf42e46eb7
* Check that the <connect> block actually specifies a host before checking ↵Gravatar w00t2009-08-011-1/+1
| | | | | | whether the user matches it. Allows for <connect> blocks on other criteria, like ports - fixes bug #797. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11449 e03df62e-2008-0410-955e-edbf42e46eb7
* Reconnect to LDAP server if connection goes away, fixes bug #818.Gravatar w00t2009-08-012-10/+34
| | | | | | | NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits. Sorry, but it seems nobody else can be arsed to do it, so I will. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11448 e03df62e-2008-0410-955e-edbf42e46eb7
* Rehash message fixes from Ankit, thanksGravatar danieldg2009-07-311-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7
* Send a failure numeric instead of QuitUser when STARTTLS is used after ↵Gravatar special2009-07-271-1/+1
| | | | | | registration, because it could be used accidentally by users. Suggested by dKingston git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11445 e03df62e-2008-0410-955e-edbf42e46eb7
* don't send out global snotices from every server on NICKUNLOCK, fixes bug ↵Gravatar dz2009-07-261-3/+2
| | | | | | #892 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove bad check for channel op in m_auditorium, fixes bug #886Gravatar danieldg2009-07-071-11/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix possible segfault on giving an unknown cmdline argument. index holds the ↵Gravatar peavey2009-07-041-1/+1
| | | | | | ref to the longopts array if found else it is NULL. optind however holds the next argv to be processed thus optind-1 is the correct index value to use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11439 e03df62e-2008-0410-955e-edbf42e46eb7
* Use server name for source of remote TIME rather than SIDGravatar danieldg2009-07-031-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_callerid message routing for remote users, destination got no notice ↵Gravatar danieldg2009-07-031-1/+1
| | | | | | of attempted message git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix excessive snomask sending on fitler add/removalGravatar danieldg2009-07-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-send of SSL metadata in openssl, possible segfault in gnutlsGravatar danieldg2009-07-032-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modulesGravatar danieldg2009-07-022-186/+86
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge m_ssl_data with m_ssinfo to reduce the number of SSL modulesGravatar danieldg2009-07-022-111/+76
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7
* Send ssl_cert metadata on signonGravatar danieldg2009-07-024-26/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove memory-wasting map in ssl_certGravatar danieldg2009-07-024-139/+47
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
* Migrate SSL metadata and visible information (/whois line) to single moduleGravatar danieldg2009-07-024-172/+131
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ↵Gravatar danieldg2009-07-022-12/+12
| | | | | | is now ServerInstance->ports git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix error reporting on rehashGravatar danieldg2009-07-011-41/+26
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7
* Make rehash generate a new ServerInstance->Config objectGravatar danieldg2009-07-019-335/+233
| | | | | | | This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7
* Move list of open ports out of Config objectGravatar danieldg2009-07-014-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for oper max chans before user max chans, fixes code weirdness and bug ↵Gravatar w00t2009-06-301-8/+0
| | | | | | #876. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix +g messages being borked with multiple servers, fixes bug #880Gravatar w00t2009-06-301-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7
* Roll back mysterious DNS change from 2007 which broke multiple-answerGravatar w00t2009-06-306-34/+17
| | | | | | | DNS requests (CNAME, A). It looks like this was to be related to bitmask dnsbl support, but it would never have worked anyway (resultnum was always 0..). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7
* m_sslinfo does not depend on external libraries, it should not be in extraGravatar danieldg2009-06-271-0/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix incorrect attempted inline of irc::sockets::sa_sizeGravatar danieldg2009-06-161-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix sockaddr length argument, BSD will complain if it doesn't exactly match ↵Gravatar danieldg2009-06-161-1/+1
| | | | | | the expected size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ENCAP forwarding with multiword final parameter, noticed by NamegdufGravatar danieldg2009-06-151-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport BufferedSocket::DoConnect rewrite to fix valgrind warningGravatar danieldg2009-06-141-61/+8
| | | | | | Syscall param socketcall.connect(serv_addr..sin6_flowinfo) points to uninitialised byte(s) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11411 e03df62e-2008-0410-955e-edbf42e46eb7
* These commands do not need to be VF_COMMONGravatar danieldg2009-06-143-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875Gravatar danieldg2009-06-141-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7
* This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do ↵Gravatar brain2009-06-121-1/+1
| | | | | | not exist in windows visual studio 2008! I will fix this at some later date unless someone beats me to it, as i still have no access to a reasonable PC. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11406 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SSL fingerprint-based server authenticationGravatar danieldg2009-06-0710-11/+85
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't display locally bound SSL ports in SSL= (for hidden services and such)Gravatar w00t2009-06-062-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7
* Use pkg-config to search for gnutls rather than the now-removed libgnutls-configGravatar danieldg2009-06-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_override to send snomasks globallyGravatar danieldg2009-06-021-7/+7
| | | | | | | 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
* Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"Gravatar danieldg2009-06-011-17/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7
* Makefile updates: clean up command linesGravatar danieldg2009-06-013-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7
* This time it's actually compile testedGravatar danieldg2009-06-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7
* OK, it's more useful if this compiles...Gravatar danieldg2009-06-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all ↵Gravatar danieldg2009-06-011-22/+13
| | | | | | iterators following the elements to be erased. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the ServerConfig::DirValid check that breaks symlinksGravatar danieldg2009-05-252-65/+0
| | | | | | | | 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
* Make timestamp output in /CHECK consistentGravatar danieldg2009-05-241-17/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-2469-179/+193
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl: Add default duration and error message on invalid durationGravatar danieldg2009-05-231-1/+5
| | | | | | | | 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