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
danieldg
021c8e984b
Add daniel's third-party module repository
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-05 00:28:17 +00:00
danieldg
746f63b2fe
Use pkg-config to search for gnutls rather than the now-removed libgnutls-config
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-03 04:05:58 +00:00
danieldg
20002aa049
Change m_override to send snomasks globally
...
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-02 02:43:36 +00:00
danieldg
23b2fe9510
Ignore and remove {BSD,GNU}makefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11398 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 17:08:53 +00:00
danieldg
828011aeaf
Makefile updates: Fix BSD make conditionals
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11397 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 14:25:23 +00:00
danieldg
ad13d2293a
Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 01:26:23 +00:00
danieldg
3954761f11
Makefile updates: clean up command lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 01:26:15 +00:00
danieldg
07483d2fec
This time it's actually compile tested
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 00:47:56 +00:00
danieldg
355ffd23e2
OK, it's more useful if this compiles...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 00:27:50 +00:00
danieldg
eba6c0fb91
Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all iterators following the elements to be erased.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-01 00:25:32 +00:00
danieldg
bc56f3dc97
Makefile updates: remove MAKEPROG/MAKEORDER
...
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-30 15:31:53 +00:00
danieldg
fed2216d99
Remove the ServerConfig::DirValid check that breaks symlinks
...
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-25 22:50:49 +00:00
danieldg
52e139da19
Make timestamp output in /CHECK consistent
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24 16:05:47 +00:00
danieldg
0da6b3a13d
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of rehashes on a /REHASH *
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24 02:53:45 +00:00
danieldg
5f309503fa
m_dnsbl: Add default duration and error message on invalid duration
...
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-23 13:40:52 +00:00
danieldg
fcb5163466
Fix UID collision on reload of m_spanningtree.so
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14 23:27:47 +00:00
special
bc9352391f
Fix some incorrect STL iterations (using < end() instead of != end())
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14 01:12:20 +00:00
danieldg
214c62fd77
Fix r11381 checking HideWhoisServer incorrectly
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-14 00:03:00 +00:00
danieldg
01bc8468e3
Fix incomple memset() in irc::sockets::aptosa, add support for converting empty addresses
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11383 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13 23:43:27 +00:00