summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-02Fix our getops implementation on windows. Have optind available, and make ↵peavey
sure it always points to the next entry in the argv list as described by POSIX. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Make sure usage lines up neatly.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Fix a few typos in here so it compiles again.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Trivial commit to add .gitignore to ..gitignore!w00t
(And test multiline commits.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11463 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Change all non-fatal GNUTLS initialisation notices to debug level, to avoid ↵w00t
unnecessary questions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Forget to remove a #endifpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02No forget using windows' broken inet_pton and inet_ntop, they are not POSIX ↵peavey
compliant and just causes more compile errors. We use our own, period. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION ↵peavey
>= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine. Fixes the breakage Brain mentions in r11407. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Push SVN ignores to .gitignore, so I can stop going insane.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11458 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Fix a missed referencew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Bump version number to rc4w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02Patch to not increment nickchange counter for nick changes that would be ↵w00t
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
2009-08-01Don't apply bans to E:Lined connections. Should fix bug #896.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01Show config warnings/errors regardless of loglevel on startup.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01Various rehash fixes that it seems were introduced by untested code.w00t
- 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
2009-08-01Check that the <connect> block actually specifies a host before checking ↵w00t
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
2009-08-01Reconnect to LDAP server if connection goes away, fixes bug #818.w00t
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
2009-07-31Rehash message fixes from Ankit, thanksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-27Send a failure numeric instead of QuitUser when STARTTLS is used after ↵special
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
2009-07-26don't send out global snotices from every server on NICKUNLOCK, fixes bug ↵dz
#892 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-19Use correct behavior (as per C++) for 'delete NULL' on windows; found by ↵special
Adam and CyberBotX git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11443 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-07Remove bad check for channel op in m_auditorium, fixes bug #886danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-04Remove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11440 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-04Fix possible segfault on giving an unknown cmdline argument. index holds the ↵peavey
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
2009-07-03Use server name for source of remote TIME rather than SIDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix m_callerid message routing for remote users, destination got no notice ↵danieldg
of attempted message git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Ask the user if they want to generate SSL certificates before generating onedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11436 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix symlink creation of openssl if both it and gnutls are selecteddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11435 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix excessive snomask sending on fitler add/removaldanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03Fix double-send of SSL metadata in openssl, possible segfault in gnutlsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Updates to example configuration [by jdhore]danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11432 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Merge m_ssl_data with m_ssinfo to reduce the number of SSL modulesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Send ssl_cert metadata on signondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Remove memory-wasting map in ssl_certdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Migrate SSL metadata and visible information (/whois line) to single moduledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which ↵danieldg
is now ServerInstance->ports git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01Fix error reporting on rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01Make rehash generate a new ServerInstance->Config objectdanieldg
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
2009-07-01Move list of open ports out of Config objectdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Check for oper max chans before user max chans, fixes code weirdness and bug ↵w00t
#876. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Fix +g messages being borked with multiple servers, fixes bug #880w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Add BS/BotServ to default atheme aliases.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11420 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30Roll back mysterious DNS change from 2007 which broke multiple-answerw00t
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
2009-06-27m_sslinfo does not depend on external libraries, it should not be in extradanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-26Make pkg-config failure error clearerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-18Rebuild modeclasses.a when configure -update is rundanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11416 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-16Fix incorrect attempted inline of irc::sockets::sa_sizedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-16Fix sockaddr length argument, BSD will complain if it doesn't exactly match ↵danieldg
the expected size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-15Fix ENCAP forwarding with multiword final parameter, noticed by Namegdufdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7