w00t
f19b6d5eb2
Change default connect timeouts to 10. There's really no need to have anything higher than this by default (except for developers, but surely they're capable of changing a default.)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11470 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 15:52:24 +00:00
w00t
f6f8605b15
Purely a documentation fix: PRIO_AFTER doesn't exist any more, it's PRIORITY_AFTER.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11469 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-03 14:00:15 +00:00
brain
6169238343
We dont support these compilers any more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11468 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 23:29:54 +00:00
brain
bdec29f524
I am sure i deleted these before
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11467 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 23:29:08 +00:00
peavey
9b35fab349
Fix our getops implementation on windows. Have optind available, and make sure it always points to the next entry in the argv list as described by POSIX.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:36:45 +00:00
peavey
091e6e8bd9
Make sure usage lines up neatly.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:23:46 +00:00
peavey
843ee9d4a2
Fix a few typos in here so it compiles again.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11464 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:23:45 +00:00
w00t
66c72fa237
Trivial commit to add .gitignore to ..gitignore!
...
(And test multiline commits.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11463 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:15:29 +00:00
w00t
70087b5cef
Change all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessary questions.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11462 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 19:29:24 +00:00
peavey
fdcdf7c1c0
Forget to remove a #endif
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:13:08 +00:00
peavey
1a9b84820c
No forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant and just causes more compile errors. We use our own, period.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:08:49 +00:00
peavey
2f1466ee94
Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine.
...
Fixes the breakage Brain mentions in r11407.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 17:42:31 +00:00
w00t
e09c036788
Push SVN ignores to .gitignore, so I can stop going insane.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11458 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 16:04:10 +00:00
w00t
2da6369ab2
Fix a missed reference
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11457 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc4
2009-08-02 15:05:06 +00:00
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