w00t
9c25b81aee
Bump version number to rc4
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11454 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 14:08:49 +00:00
w00t
fa676cfc88
Patch to not increment nickchange counter for nick changes that would be 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-02 14:02:25 +00:00
w00t
0eabe028e2
Don't apply bans to E:Lined connections. Should fix bug #896 .
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 22:16:58 +00:00
w00t
090e7b6161
Show config warnings/errors regardless of loglevel on startup.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-01 22:02:57 +00:00
w00t
c71db5cbde
Various rehash fixes that it seems were introduced by untested code.
...
- 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-01 21:58:17 +00:00
w00t
ee465c20b6
Check that the <connect> block actually specifies a host before checking 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-01 21:22:50 +00:00
w00t
60a6872021
Reconnect to LDAP server if connection goes away, fixes bug #818 .
...
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-08-01 21:05:06 +00:00
danieldg
922cec5bc3
Rehash message fixes from Ankit, thanks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11447 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-31 21:59:31 +00:00
special
e9f2476e65
Send a failure numeric instead of QuitUser when STARTTLS is used after 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-27 02:08:17 +00:00
dz
3111c6053e
don't send out global snotices from every server on NICKUNLOCK, fixes bug #892 reported by Taros
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11444 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-26 11:26:34 +00:00
special
2523818db5
Use correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and CyberBotX
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11443 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-19 07:27:30 +00:00
danieldg
6eeecaada5
Remove bad check for channel op in m_auditorium, fixes bug #886
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11441 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-07 04:06:09 +00:00
peavey
db3b51a5b4
Remove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11440 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-04 23:32:01 +00:00
peavey
22862b8f1a
Fix possible segfault on giving an unknown cmdline argument. index holds the 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-04 21:31:40 +00:00
danieldg
1c9d5f4123
Use server name for source of remote TIME rather than SID
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11438 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 22:09:36 +00:00
danieldg
5b7cf37e60
Fix m_callerid message routing for remote users, destination got no notice of attempted message
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11437 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 21:00:42 +00:00
danieldg
b9e9af8868
Ask the user if they want to generate SSL certificates before generating one
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11436 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 19:28:07 +00:00
danieldg
1f1997eb62
Fix symlink creation of openssl if both it and gnutls are selected
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11435 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 17:55:01 +00:00
danieldg
8be88f3e73
Fix excessive snomask sending on fitler add/removal
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11434 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 14:07:24 +00:00
danieldg
af0bd57ff5
Fix double-send of SSL metadata in openssl, possible segfault in gnutls
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11433 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-03 12:49:01 +00:00
danieldg
5025e36bea
Updates to example configuration [by jdhore]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11432 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 19:58:43 +00:00
danieldg
ff1b6dc966
Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11431 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 18:17:47 +00:00
danieldg
245e29085b
Merge m_ssl_data with m_ssinfo to reduce the number of SSL modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11430 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 18:17:40 +00:00
danieldg
7885a7e6ca
Send ssl_cert metadata on signon
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11429 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 18:17:33 +00:00
danieldg
2db8cb45f8
Remove memory-wasting map in ssl_cert
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11428 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 18:17:26 +00:00
danieldg
e1eb3b72f6
Migrate SSL metadata and visible information (/whois line) to single module
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11427 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 18:17:19 +00:00
danieldg
aab2a9bbcd
Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which is now ServerInstance->ports
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11426 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-02 16:56:53 +00:00
danieldg
b9e42dee05
Fix error reporting on rehash
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11425 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01 22:55:54 +00:00
danieldg
c384697c88
Make rehash generate a new ServerInstance->Config object
...
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-01 22:55:46 +00:00
danieldg
50eebfeac8
Move list of open ports out of Config object
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-01 22:55:39 +00:00
w00t
c9fed3cb0d
Check for oper max chans before user max chans, fixes code weirdness and bug #876 .
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30 22:53:12 +00:00
w00t
149c3431f5
Fix +g messages being borked with multiple servers, fixes bug #880
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30 17:16:33 +00:00
w00t
53443c32a6
Add BS/BotServ to default atheme aliases.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11420 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-30 17:05:55 +00:00
w00t
7c2334ddd6
Roll back mysterious DNS change from 2007 which broke multiple-answer
...
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-30 13:59:27 +00:00
danieldg
5af5707b6d
m_sslinfo does not depend on external libraries, it should not be in extra
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-27 21:03:46 +00:00
danieldg
5374c16961
Make pkg-config failure error clearer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-26 12:10:16 +00:00
danieldg
59d380cad4
Rebuild modeclasses.a when configure -update is run
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11416 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-18 00:33:03 +00:00
danieldg
5fc80b5ad4
Fix incorrect attempted inline of irc::sockets::sa_size
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-16 04:21:28 +00:00
danieldg
14db93e7cf
Fix sockaddr length argument, BSD will complain if it doesn't exactly match the expected size
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-16 04:02:21 +00:00
danieldg
2f12c298e8
Fix ENCAP forwarding with multiword final parameter, noticed by Namegduf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-15 23:57:31 +00:00
danieldg
4e5fe6922e
Improve valdebug-unattended: increase timeout to 90 seconds, and generate/use suppresions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11412 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-14 21:12:16 +00:00
danieldg
720dcd6f0e
Backport BufferedSocket::DoConnect rewrite to fix valgrind warning
...
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
2009-06-14 20:21:06 +00:00
danieldg
e5cb25bd13
These commands do not need to be VF_COMMON
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-14 05:12:44 +00:00
danieldg
abe0f102d7
Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-14 05:07:02 +00:00
brain
2bb40c5b23
more fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines it, we need some kind of ifdef or something around this to not define our own if we have the 6.0 SDK. Again i will check this if i have chance, otherwise... :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-12 16:34:23 +00:00
brain
48045988a4
This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do 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
2009-06-12 16:27:11 +00:00
danieldg
6b13769673
Makefile updates: clean up some installation assumptions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11405 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-07 02:58:07 +00:00
danieldg
885d37630e
Allow SSL fingerprint-based server authentication
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-07 02:57:54 +00:00
w00t
193acaa853
Don't display locally bound SSL ports in SSL= (for hidden services and such)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-06 20:56:41 +00:00
danieldg
79283c8393
Makefile updates: Add "make help" and "make M=m_modname" to build an individual module
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11402 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-06 00:29:19 +00:00