peavey
9a52a66716
Move quitting of clients to a central Cull List, and do quitting outside userrec and in main loop.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05 20:08:51 +00:00
peavey
f631009527
Make checkconf handle end of line comments.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6496 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05 18:26:59 +00:00
special
07778c4625
configure was linking a nonexistant header with ssl that has been in include/ for awhile now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6495 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05 17:47:32 +00:00
peavey
5e656c7a62
Fix crash in ReportConfigError when done via SIGHUP.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6494 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05 13:39:43 +00:00
brain
8ba905a34a
And another victim.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6493 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 23:13:03 +00:00
brain
1c565d356f
peaveys checkconf finds its first victim, an extra quote in helpop-full.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6492 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 23:12:22 +00:00
peavey
1f7f6c58d4
Add a general xml syntax checker for config files. It parses includes and warns of general syntax mistakes. ./inspircd checkconf to run.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6491 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 22:52:06 +00:00
w00t
7803101f9c
We already have the numeric durations, why the fuck was I trying to get them again
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 14:36:06 +00:00
peavey
d9d2ea1ef7
Set a few defaults for <connect> tag.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6489 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 14:14:56 +00:00
w00t
38ee4b2f89
Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans not propegating.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 14:11:06 +00:00
brain
0373c41ebd
Better error reporting of failures to read certs in gnutls by calling gnutls_strerror(). Man this api is so much nicer than the ugly one in ssl :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6487 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 23:44:35 +00:00
brain
69ee462839
Better logging for openssl, using SSL_print_error_cb() which calls a callback for error output (the default of outputting to stdout sucks)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6486 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 23:39:13 +00:00
brain
36244c4ddf
Make this work on ancient gcc's
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 20:11:51 +00:00
brain
66da4ef77e
On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl lookup of their ip (the bit after the 0::ffff:)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6484 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 18:38:31 +00:00
w00t
ccbf18ec4b
Update the date here, remove the 'updated by' list, use SVN for that + there's a lot of people now :P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6483 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 15:28:48 +00:00
special
5be9bd35b8
Fingerprint really shouldn't be in the example oper block by default; most people don't use it, and quite a few seem to leave it in
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6482 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 14:43:05 +00:00
peavey
7e03ab8b2a
Fix this not working.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6481 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03 01:19:14 +00:00
w00t
5b786e57d0
Mention that +z means SSL only in the 489, thanks dmb
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6480 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02 21:28:56 +00:00
w00t
48d7ad4a34
Don't set a user's oper host unless they are using a correct opertype - we don't oper them, so don't set the host either
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6479 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02 15:43:55 +00:00
special
484a509960
Fixed a bug in m_connflood that caused the bootwait value to have no effect
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6478 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02 06:22:29 +00:00
w00t
60ed3083f4
Minor OS X patch, per BuildSmart for 10.3.x users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6477 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02 00:22:46 +00:00
brain
00ea73ef7b
Grr, searchirc uses .org now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6476 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 20:39:42 +00:00
brain
fa923bb554
Add <securelist:exception> to allow certain masks to get around securelist.
...
By default add two lines to the config which allow searchirc and netsplit.de.
(bwahaha)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6475 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 20:26:12 +00:00
brain
685861f2bd
Change the way versions are displayed by connect and /version so that its more friendly to searchirc's spider ;)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6474 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 20:12:20 +00:00
w00t
3102dedbb8
New patch from BuildSmart for OS X support, not broken like the last one
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 12:14:54 +00:00
brain
5e1aa02b66
1.1.0+Diamond!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6471 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0
2007-01-31 20:24:46 +00:00
brain
1680c90b21
Remove -O2, it seems to break tons of stuff with no clue how it did it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6470 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-31 17:35:13 +00:00
brain
9e0546b1c5
ipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6469 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-31 01:41:33 +00:00
brain
660248d9eb
Why the fuck do no systems have INADDR6_ANY?!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6468 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-31 00:36:56 +00:00
brain
21b5d0d5bd
Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 address bindings to potentially be bound to random ips.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6467 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 23:56:20 +00:00
brain
610a2edba0
Good job we test, because often we find bugs ;p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6466 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 23:33:13 +00:00
brain
79e87eeebc
Support both forms of ISON as clients seem to send one and the RFC mandates another:
...
ISON nick1 nick2 nick3,
or
ISON :nick1 nick2 nick3.
Interestingly this means we now even support: ISON nick1 nick2 :nick3 nick4
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6465 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 23:26:56 +00:00
brain
e734675c72
Fix w00ts compile error :p (if you do an if without braces, vars declared within that if are in fact local :p)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6464 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 21:09:47 +00:00
brain
a77e32fa32
Documentation change to indicate errno is valid on return from the constructor -- dont bother to svn up for this if youre testing right now
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6463 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 20:35:49 +00:00
brain
706303e177
Whoops, fix inspsocket so that its ok to use errno after a failure of the Write/Read methods or constructor!
...
the close() in its Close method always changed errno to "Endpoint is not connected" on error, so now we make a copy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6462 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 20:32:59 +00:00
brain
b5c983ca55
Add strerror(errno) to port bind failure on TreeSocket
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 20:23:15 +00:00
w00t
fad4a47bc6
If no topic specified, give index help, thanks Robby
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 19:50:35 +00:00
brain
7f811f8d54
Merge spellig-mistaks patch from dmb
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6459 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 19:04:23 +00:00
brain
361454d367
Fix the text in this numeric
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6458 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 17:09:39 +00:00
special
677eda6ffa
Also remove the references to the commands I removed (which don't exist anymore)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6457 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 04:28:58 +00:00
special
db824e4d16
Fixed a typo in the helpop-full example file that broke most of its contents (thanks Robby)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30 04:27:58 +00:00
special
c7a08a2f0c
Opertype in /check is now properly spacified
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-29 03:46:19 +00:00
brain
8d9bbe7ca8
Whoops, switch around order of makefile rules so its not always assumed to be 'make debug'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 18:28:37 +00:00
brain
74d098bfb1
Add message about how building with debug makes huuuuuuuuuuuuuuge slower executables :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6453 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 18:27:22 +00:00
brain
5b657c3cf0
Added 'make debug' which does 'make all' with -g rather than -O2 -g1.
...
To correct your config for this new feature, ./configure -modupdate.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6452 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 17:37:09 +00:00
brain
8703e1b36a
Fix this so that it works with outbound connects again.
...
Also fix it to cope with EAGAIN properly in handshake negotiation without returning 1 from Write() (when nothing was actually written at the upper layer of the transport!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 16:42:30 +00:00
brain
b9de69b2df
Remove debug, add a few comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 16:17:55 +00:00
brain
9da5c6610f
Fix broken openssl outbound connects.
...
A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure,
we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6449 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 16:12:33 +00:00
special
642218aed7
Added errno to the epoll failure message for more detail
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28 06:05:30 +00:00
brain
7753c8bb95
Spellig mistak.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27 22:51:34 +00:00