summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-05This wont compile atmbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6507 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Stuff to make dns work protocol-independentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6506 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6505 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Fix for allowing dns lookups to work in mixed protocol modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6504 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Now working in svn:brain
Client connections and port bindings on both ipv4 and ipv6 Server port bindings on both ipv4 and ipv6 Now broken due to this: cloaking (cloaks ipv4 users in an odd way when built as ipv6 enabled) DNS (query fd doesnt init properly) ...probably other stuff. Stay tuned. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6503 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Not safe for use yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, ↵brain
NOT FINISHED YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6501 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Pass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt ↵brain
a smart idea (and doesnt work) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6500 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Fix ipv4 bindings for ipv4 only serversbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6499 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Heavy state of debug. If you are a developer, please avoid making use of ↵brain
this bit of code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6498 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Move quitting of clients to a central Cull List, and do quitting outside ↵peavey
userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05Fix crash in ReportConfigError when done via SIGHUP.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6494 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04We already have the numeric durations, why the fuck was I trying to get them ↵w00t
again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04Set a few defaults for <connect> tag.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6489 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes ↵w00t
bans not propegating. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Better error reporting of failures to read certs in gnutls by calling ↵brain
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-03Better logging for openssl, using SSL_print_error_cb() which calls a ↵brain
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-03Make this work on ancient gcc'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a ↵brain
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-03Fix this not working.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6481 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02Mention that +z means SSL only in the 489, thanks dmbw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6480 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-02Don't set a user's oper host unless they are using a correct opertype - we ↵w00t
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-02Fixed a bug in m_connflood that caused the bootwait value to have no effectspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6478 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01Add <securelist:exception> to allow certain masks to get around securelist.brain
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-01Change the way versions are displayed by connect and /version so that its ↵brain
more friendly to searchirc's spider ;) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6474 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01New patch from BuildSmart for OS X support, not broken like the last onew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-311.1.0+Diamond!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6471 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-31ipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6469 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-31Why the fuck do no systems have INADDR6_ANY?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6468 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 ↵brain
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-30Good job we test, because often we find bugs ;pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6466 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Support both forms of ISON as clients seem to send one and the RFC mandates ↵brain
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-30Fix w00ts compile error :p (if you do an if without braces, vars declared ↵brain
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-30Whoops, fix inspsocket so that its ok to use errno after a failure of the ↵brain
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-30Add strerror(errno) to port bind failure on TreeSocketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30If no topic specified, give index help, thanks Robbyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-30Fix the text in this numericbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6458 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-29Opertype in /check is now properly spacifiedspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix this so that it works with outbound connects again.brain
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-28Remove debug, add a few commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6450 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-28Fix broken openssl outbound connects.brain
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-28Added errno to the epoll failure message for more detailspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6448 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Spellig mistak.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6447 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27OnExtendedMode was removed in 1.0, the function names here were incorrect.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Potential desync on "nick collision at same time as fjoin" fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6445 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27fix so that OnWhois is triggered for remote whois, and remove smelly bold ↵brain
chars from m_botmode's numeric output. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6444 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27Correctly allow all supporting versions of PostgreSQL to use secure string ↵peavey
escaping. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-25For the filter GLINE action, ban *@IP, so that they cant change their ident ↵brain
and it'll still get unresolved hosts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-25Cut out some code duplication by using the existing exception framework in ↵brain
here, and throw an exception if the user tries to change the servername at runtime (this is currently the only value we dont allow changing at runtime, maybe there are more to be found which are obviously unsafe to change) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6439 e03df62e-2008-0410-955e-edbf42e46eb7