]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoAdd and properly test the ability for an InspTimer to DelTimer itself from within...
brain [Fri, 9 Feb 2007 18:13:13 +0000 (18:13 +0000)]
Add and properly test the ability for an InspTimer to DelTimer itself from within its own Tick method.
This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager.
Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p
This FIXES m_ident and possibly some other stuff.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd change this to gnutls in the debug message.
brain [Thu, 8 Feb 2007 20:40:47 +0000 (20:40 +0000)]
And change this to gnutls in the debug message.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCatch the ModuleException thrown when AddIOHook fails, so that we can make a port...
brain [Thu, 8 Feb 2007 20:40:31 +0000 (20:40 +0000)]
Catch the ModuleException thrown when AddIOHook fails, so that we can make a port hook failure nonfatal.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4...
brain [Thu, 8 Feb 2007 20:31:35 +0000 (20:31 +0000)]
Check for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4 PTR lookup rather than ipv6

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6550 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago"is now your hidden host" -> "is now your displayed host". Wording fits better when...
brain [Thu, 8 Feb 2007 19:01:35 +0000 (19:01 +0000)]
"is now your hidden host" -> "is now your displayed host". Wording fits better when uncloaking

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6549 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTry without deletes that it done anyway on close of InspSocket's socket.
peavey [Thu, 8 Feb 2007 02:49:23 +0000 (02:49 +0000)]
Try without deletes that it done anyway on close of InspSocket's socket.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoConsider your crackpipes confiscated, there was some right dailywtf-worthy stuff...
brain [Wed, 7 Feb 2007 22:18:06 +0000 (22:18 +0000)]
Consider your crackpipes confiscated, there was some right dailywtf-worthy stuff in here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove some debug
brain [Wed, 7 Feb 2007 21:58:22 +0000 (21:58 +0000)]
Remove some debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6546 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoA quick unit test shows this is broken -- fix quick
brain [Wed, 7 Feb 2007 21:14:14 +0000 (21:14 +0000)]
A quick unit test shows this is broken -- fix quick

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agosatmd tell me if this works, if ive got the wrong octet i need to change a bit of...
brain [Wed, 7 Feb 2007 21:06:39 +0000 (21:06 +0000)]
satmd tell me if this works, if ive got the wrong octet i need to change a bit of logic ops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix warning, remove unused var
brain [Wed, 7 Feb 2007 20:03:42 +0000 (20:03 +0000)]
Fix warning, remove unused var

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemember: C++ only works if you type the right method names and not ones that dont...
brain [Wed, 7 Feb 2007 20:02:51 +0000 (20:02 +0000)]
Remember: C++ only works if you type the right method names and not ones that dont exist.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIdent fixes,
brain [Wed, 7 Feb 2007 19:56:35 +0000 (19:56 +0000)]
Ident fixes,
removal of some old craq we dont use.
cgiirc optimizations and tidyups

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix ipv6 ass-u-me's
brain [Wed, 7 Feb 2007 19:46:05 +0000 (19:46 +0000)]
Fix ipv6 ass-u-me's

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd InvalidateCache() calls and fix a ton of ass-u-me :/
brain [Wed, 7 Feb 2007 19:41:42 +0000 (19:41 +0000)]
Add InvalidateCache() calls and fix a ton of ass-u-me :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6539 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this work when we have both ipv6 and ipv4 connections at once
brain [Wed, 7 Feb 2007 19:39:42 +0000 (19:39 +0000)]
Make this work when we have both ipv6 and ipv4 connections at once

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6538 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTo be more specific, specify rpath() macro here
brain [Wed, 7 Feb 2007 19:12:53 +0000 (19:12 +0000)]
To be more specific, specify rpath() macro here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument bind value
brain [Wed, 7 Feb 2007 17:53:49 +0000 (17:53 +0000)]
Document bind value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6536 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSupport port binding here
brain [Wed, 7 Feb 2007 17:50:41 +0000 (17:50 +0000)]
Support port binding here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6535 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded support for explicitly binding an outbound connection to an ip. Will be used...
brain [Wed, 7 Feb 2007 17:42:20 +0000 (17:42 +0000)]
Added support for explicitly binding an outbound connection to an ip. Will be used by spanningtree.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6534 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIf a user connects over 4in6 (YUCK) give them an ipv4 cloak
brain [Wed, 7 Feb 2007 17:19:12 +0000 (17:19 +0000)]
If a user connects over 4in6 (YUCK) give them an ipv4 cloak

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6533 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #205 reported by nenolod (modules that erroneously check remote users...
brain [Wed, 7 Feb 2007 17:03:15 +0000 (17:03 +0000)]
Fix for bug #205 reported by nenolod (modules that erroneously check remote users to apply privmsg/notice restrictions)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra safety checks while exchanging certs, just in case
brain [Tue, 6 Feb 2007 21:17:15 +0000 (21:17 +0000)]
Extra safety checks while exchanging certs, just in case

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove debug output that was only useful to me
brain [Tue, 6 Feb 2007 20:22:06 +0000 (20:22 +0000)]
Remove debug output that was only useful to me

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6530 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove ::ffff: 4in6 craq from documentation. Show that its still usable, but not...
brain [Tue, 6 Feb 2007 19:29:59 +0000 (19:29 +0000)]
Remove ::ffff: 4in6 craq from documentation. Show that its still usable, but not neccessary.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6529 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange the wording of configure, to indicate that building as ipv6 is no longer an...
brain [Tue, 6 Feb 2007 19:21:20 +0000 (19:21 +0000)]
Change the wording of configure, to indicate that building as ipv6 is no longer an absolute "IPV6 ONLY" option

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6528 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong cloak...
brain [Tue, 6 Feb 2007 19:17:45 +0000 (19:17 +0000)]
Fix using wrong var to determine if host is ipv6 or ipv4, resulting in wrong cloak algorithm being picked for ipv6 users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6527 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoLets try this fix
brain [Tue, 6 Feb 2007 19:11:46 +0000 (19:11 +0000)]
Lets try this fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6526 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix the bugs that show up when we try and build it on ipv6
brain [Tue, 6 Feb 2007 19:02:30 +0000 (19:02 +0000)]
And fix the bugs that show up when we try and build it on ipv6

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6525 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix to work with mixed protocol environment
brain [Tue, 6 Feb 2007 19:00:22 +0000 (19:00 +0000)]
Fix to work with mixed protocol environment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6524 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix typo.
brain [Tue, 6 Feb 2007 18:50:44 +0000 (18:50 +0000)]
And fix typo.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6523 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake use of new AAAA->A resolving
brain [Tue, 6 Feb 2007 18:49:47 +0000 (18:49 +0000)]
Make use of new AAAA->A resolving

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6522 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoStuff to allow resolving of AAAA record, and on failure try A record
brain [Tue, 6 Feb 2007 18:49:30 +0000 (18:49 +0000)]
Stuff to allow resolving of AAAA record, and on failure try A record

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6521 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix resolving of security ips to allow for ipv4 resolution when built for ipv6
brain [Tue, 6 Feb 2007 18:32:32 +0000 (18:32 +0000)]
Fix resolving of security ips to allow for ipv4 resolution when built for ipv6

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6520 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen brain adds code into a constructor to fix a destructor crash, make sure brain...
brain [Tue, 6 Feb 2007 18:04:14 +0000 (18:04 +0000)]
When brain adds code into a constructor to fix a destructor crash, make sure brain adds code to all three constructors, not just one.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6519 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix to stop failed sockets crashing in destructor
brain [Tue, 6 Feb 2007 17:57:27 +0000 (17:57 +0000)]
Fix to stop failed sockets crashing in destructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6518 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoipv6 fixes
brain [Tue, 6 Feb 2007 17:50:32 +0000 (17:50 +0000)]
ipv6 fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6517 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixes to make this module build with the slightly changed inspsocket (insp_sockaddr...
brain [Tue, 6 Feb 2007 17:46:23 +0000 (17:46 +0000)]
Fixes to make this module build with the slightly changed inspsocket (insp_sockaddr addy is gone)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6516 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixes to allow inspsocket connects to be protocol transparent
brain [Tue, 6 Feb 2007 17:36:06 +0000 (17:36 +0000)]
Fixes to allow inspsocket connects to be protocol transparent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6515 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIn InspSocket destructor remove any pending timers since the object is now gone....
peavey [Tue, 6 Feb 2007 03:12:51 +0000 (03:12 +0000)]
In InspSocket destructor remove any pending timers since the object is now gone. This also fixes bug #202 : m_ident crash.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6514 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove var around
brain [Tue, 6 Feb 2007 01:26:56 +0000 (01:26 +0000)]
Move var around

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6513 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDNS lookups now work for users.
brain [Tue, 6 Feb 2007 01:26:16 +0000 (01:26 +0000)]
DNS lookups now work for users.
Todo: Upon receiving 'no resource records found' on doing AAAA or PTR6, immediately re-insert a request looking for A or PTR.
someone remind me about this when i have time.
Also todo: inspsocket connects.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6512 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for bug #203 : nicknames not invalidated stil.
peavey [Tue, 6 Feb 2007 00:17:30 +0000 (00:17 +0000)]
Fix for bug #203 : nicknames not invalidated stil.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6511 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix the ipv6 end
brain [Tue, 6 Feb 2007 00:07:19 +0000 (00:07 +0000)]
Fix the ipv6 end

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6510 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange some stuff here to bind INADDR_ANY
brain [Tue, 6 Feb 2007 00:05:40 +0000 (00:05 +0000)]
Change some stuff here to bind INADDR_ANY

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6509 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNo gaurantees on this atm
brain [Mon, 5 Feb 2007 23:59:58 +0000 (23:59 +0000)]
No gaurantees on this atm

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6508 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis wont compile atm
brain [Mon, 5 Feb 2007 23:51:03 +0000 (23:51 +0000)]
This wont compile atm

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6507 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoStuff to make dns work protocol-independent
brain [Mon, 5 Feb 2007 23:43:44 +0000 (23:43 +0000)]
Stuff to make dns work protocol-independent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6506 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix typo
brain [Mon, 5 Feb 2007 23:26:43 +0000 (23:26 +0000)]
Fix typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6505 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for allowing dns lookups to work in mixed protocol mode
brain [Mon, 5 Feb 2007 23:25:50 +0000 (23:25 +0000)]
Fix for allowing dns lookups to work in mixed protocol mode

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6504 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow working in svn:
brain [Mon, 5 Feb 2007 23:13:40 +0000 (23:13 +0000)]
Now working in svn:
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

17 years agoNot safe for use yet
brain [Mon, 5 Feb 2007 22:29:02 +0000 (22:29 +0000)]
Not safe for use yet

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSmart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, NOT FINISH...
brain [Mon, 5 Feb 2007 21:55:14 +0000 (21:55 +0000)]
Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, NOT FINISHED YET

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6501 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt a smart...
brain [Mon, 5 Feb 2007 21:05:35 +0000 (21:05 +0000)]
Pass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt a smart idea (and doesnt work)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6500 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix ipv4 bindings for ipv4 only servers
brain [Mon, 5 Feb 2007 21:00:42 +0000 (21:00 +0000)]
Fix ipv4 bindings for ipv4 only servers

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6499 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHeavy state of debug. If you are a developer, please avoid making use of this bit...
brain [Mon, 5 Feb 2007 20:48:35 +0000 (20:48 +0000)]
Heavy state of debug. If you are a developer, please avoid making use of this bit of code.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6498 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove quitting of clients to a central Cull List, and do quitting outside userrec...
peavey [Mon, 5 Feb 2007 20:08:51 +0000 (20:08 +0000)]
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

17 years agoMake checkconf handle end of line comments.
peavey [Mon, 5 Feb 2007 18:26:59 +0000 (18:26 +0000)]
Make checkconf handle end of line comments.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6496 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoconfigure was linking a nonexistant header with ssl that has been in include/ for...
special [Mon, 5 Feb 2007 17:47:32 +0000 (17:47 +0000)]
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

17 years agoFix crash in ReportConfigError when done via SIGHUP.
peavey [Mon, 5 Feb 2007 13:39:43 +0000 (13:39 +0000)]
Fix crash in ReportConfigError when done via SIGHUP.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6494 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd another victim.
brain [Sun, 4 Feb 2007 23:13:03 +0000 (23:13 +0000)]
And another victim.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6493 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agopeaveys checkconf finds its first victim, an extra quote in helpop-full.
brain [Sun, 4 Feb 2007 23:12:22 +0000 (23:12 +0000)]
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

17 years agoAdd a general xml syntax checker for config files. It parses includes and warns of...
peavey [Sun, 4 Feb 2007 22:52:06 +0000 (22:52 +0000)]
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

17 years agoWe already have the numeric durations, why the fuck was I trying to get them again
w00t [Sun, 4 Feb 2007 14:36:06 +0000 (14:36 +0000)]
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

17 years agoSet a few defaults for <connect> tag.
peavey [Sun, 4 Feb 2007 14:14:56 +0000 (14:14 +0000)]
Set a few defaults for <connect> tag.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6489 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCall events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans...
w00t [Sun, 4 Feb 2007 14:11:06 +0000 (14:11 +0000)]
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

17 years agoBetter error reporting of failures to read certs in gnutls by calling gnutls_strerror...
brain [Sat, 3 Feb 2007 23:44:35 +0000 (23:44 +0000)]
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

17 years agoBetter logging for openssl, using SSL_print_error_cb() which calls a callback for...
brain [Sat, 3 Feb 2007 23:39:13 +0000 (23:39 +0000)]
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

17 years agoMake this work on ancient gcc's
brain [Sat, 3 Feb 2007 20:11:51 +0000 (20:11 +0000)]
Make this work on ancient gcc's

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOn ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl...
brain [Sat, 3 Feb 2007 18:38:31 +0000 (18:38 +0000)]
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

17 years agoUpdate the date here, remove the 'updated by' list, use SVN for that + there's a...
w00t [Sat, 3 Feb 2007 15:28:48 +0000 (15:28 +0000)]
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

17 years agoFingerprint really shouldn't be in the example oper block by default; most people...
special [Sat, 3 Feb 2007 14:43:05 +0000 (14:43 +0000)]
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

17 years agoFix this not working.
peavey [Sat, 3 Feb 2007 01:19:14 +0000 (01:19 +0000)]
Fix this not working.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6481 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMention that +z means SSL only in the 489, thanks dmb
w00t [Fri, 2 Feb 2007 21:28:56 +0000 (21:28 +0000)]
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

17 years agoDon't set a user's oper host unless they are using a correct opertype - we don't...
w00t [Fri, 2 Feb 2007 15:43:55 +0000 (15:43 +0000)]
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

17 years agoFixed a bug in m_connflood that caused the bootwait value to have no effect
special [Fri, 2 Feb 2007 06:22:29 +0000 (06:22 +0000)]
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

17 years agoMinor OS X patch, per BuildSmart for 10.3.x users
w00t [Fri, 2 Feb 2007 00:22:46 +0000 (00:22 +0000)]
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

17 years agoGrr, searchirc uses .org now
brain [Thu, 1 Feb 2007 20:39:42 +0000 (20:39 +0000)]
Grr, searchirc uses .org now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6476 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd <securelist:exception> to allow certain masks to get around securelist.
brain [Thu, 1 Feb 2007 20:26:12 +0000 (20:26 +0000)]
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

17 years agoChange the way versions are displayed by connect and /version so that its more friend...
brain [Thu, 1 Feb 2007 20:12:20 +0000 (20:12 +0000)]
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

17 years agoNew patch from BuildSmart for OS X support, not broken like the last one
w00t [Thu, 1 Feb 2007 12:14:54 +0000 (12:14 +0000)]
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

17 years ago1.1.0+Diamond!
brain [Wed, 31 Jan 2007 20:24:46 +0000 (20:24 +0000)]
1.1.0+Diamond!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6471 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove -O2, it seems to break tons of stuff with no clue how it did it
brain [Wed, 31 Jan 2007 17:35:13 +0000 (17:35 +0000)]
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

17 years agoipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.
brain [Wed, 31 Jan 2007 01:41:33 +0000 (01:41 +0000)]
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

17 years agoWhy the fuck do no systems have INADDR6_ANY?!
brain [Wed, 31 Jan 2007 00:36:56 +0000 (00:36 +0000)]
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

17 years agoTweaks to backwards memcpy's that dont actually do anything, causing ipv6 address...
brain [Tue, 30 Jan 2007 23:56:20 +0000 (23:56 +0000)]
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

17 years agoGood job we test, because often we find bugs ;p
brain [Tue, 30 Jan 2007 23:33:13 +0000 (23:33 +0000)]
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

17 years agoSupport both forms of ISON as clients seem to send one and the RFC mandates another:
brain [Tue, 30 Jan 2007 23:26:56 +0000 (23:26 +0000)]
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

17 years agoFix w00ts compile error :p (if you do an if without braces, vars declared within...
brain [Tue, 30 Jan 2007 21:09:47 +0000 (21:09 +0000)]
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

17 years agoDocumentation change to indicate errno is valid on return from the constructor -...
brain [Tue, 30 Jan 2007 20:35:49 +0000 (20:35 +0000)]
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

17 years agoWhoops, fix inspsocket so that its ok to use errno after a failure of the Write/Read...
brain [Tue, 30 Jan 2007 20:32:59 +0000 (20:32 +0000)]
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

17 years agoAdd strerror(errno) to port bind failure on TreeSocket
brain [Tue, 30 Jan 2007 20:23:15 +0000 (20:23 +0000)]
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

17 years agoIf no topic specified, give index help, thanks Robby
w00t [Tue, 30 Jan 2007 19:50:35 +0000 (19:50 +0000)]
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

17 years agoMerge spellig-mistaks patch from dmb
brain [Tue, 30 Jan 2007 19:04:23 +0000 (19:04 +0000)]
Merge spellig-mistaks patch from dmb

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6459 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix the text in this numeric
brain [Tue, 30 Jan 2007 17:09:39 +0000 (17:09 +0000)]
Fix the text in this numeric

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6458 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAlso remove the references to the commands I removed (which don't exist anymore)
special [Tue, 30 Jan 2007 04:28:58 +0000 (04:28 +0000)]
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

17 years agoFixed a typo in the helpop-full example file that broke most of its contents (thanks...
special [Tue, 30 Jan 2007 04:27:58 +0000 (04:27 +0000)]
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

17 years agoOpertype in /check is now properly spacified
special [Mon, 29 Jan 2007 03:46:19 +0000 (03:46 +0000)]
Opertype in /check is now properly spacified

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6455 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhoops, switch around order of makefile rules so its not always assumed to be 'make...
brain [Sun, 28 Jan 2007 18:28:37 +0000 (18:28 +0000)]
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

17 years agoAdd message about how building with debug makes huuuuuuuuuuuuuuge slower executables :p
brain [Sun, 28 Jan 2007 18:27:22 +0000 (18:27 +0000)]
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