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
brain
60b105a2a9
OnExtendedMode was removed in 1.0, the function names here were incorrect.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6446 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27 22:50:56 +00:00
brain
1f90d786db
Potential desync on "nick collision at same time as fjoin" fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6445 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27 18:13:46 +00:00
brain
279e9acfac
fix so that OnWhois is triggered for remote whois, and remove smelly bold 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-27 16:19:06 +00:00
peavey
49ce55f7a3
Correctly allow all supporting versions of PostgreSQL to use secure string escaping.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27 15:59:52 +00:00
peavey
3ae4c96f54
The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-27 14:25:51 +00:00
brain
ccd20043dd
Fix for bug #187
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6441 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-26 17:17:24 +00:00
brain
43a207eeb0
For the filter GLINE action, ban *@IP, so that they cant change their ident 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-25 17:15:45 +00:00
brain
e17a512c8d
Cut out some code duplication by using the existing exception framework in 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
2007-01-25 01:26:21 +00:00
brain
8a33c7f4a7
The /id command for nicks in atheme should have the parameters $2- not $2, because they accept /id nick pass
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6437 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 17:51:42 +00:00
om
6cd27f532d
Add m_banredirect to example config
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 17:50:00 +00:00
w00t
72a5a0e1e0
No statserv, but we have gameserv
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 17:49:54 +00:00
brain
69aae46ac4
Example aliases files.
...
Someone like w00t who has more knowledge of atheme should update atheme.conf.example, as theyre currently just a copy of the ones for ircservices right now. Theres a cookie in it for the first person
to make the atheme ones correct :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6434 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 17:45:56 +00:00
peavey
369ee31c56
Fix endless loop on dns hit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 01:31:19 +00:00
brain
f25fb80f3b
Fucking grr.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24 00:15:36 +00:00
brain
f586405ce8
Revert some stuff back to the old way
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6431 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 23:58:13 +00:00
brain
d7feb42926
Note: ne is not eq.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6430 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 23:38:46 +00:00
brain
b53ef46a75
Make our makefile bsd compatible again :/
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6429 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 23:35:33 +00:00
brain
2710741e10
Integrate OSX patches from BuildSmart, plus a few tweaks and fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6428 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 23:31:29 +00:00
brain
c1ee7b2ced
Back-out OSX patches till theyre completed, our stable tree is tied up with temporarily broken code :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6427 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 21:25:00 +00:00
brain
0a2c464826
First part of OSX patches for 1.1 from BuildSmart
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6426 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-23 18:03:56 +00:00
w00t
a5ebad7252
Trivial fix, extra >s noted by owine
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6425 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-22 10:33:39 +00:00
brain
25608bd1ad
Add check for openssl >= 0.9.7, and fix for if the library cant be found at all
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:29:48 +00:00
brain
06accbbaba
Whoops put this back to 3.3
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:25:48 +00:00
brain
ae895cb010
Fix broken function vcheck() that checks one dot-delimited version string against another
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:25:33 +00:00
brain
aad77f47af
Add extra macro pkgconfversion("packagename", "version");
...
dies if the version you specify isnt installed.
Also added to m_sqlite3: pkgconfversion("sqlite3", "3.3")
Note: this will die at configuration time, not compilation time.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:06:10 +00:00
brain
61578deea0
Keep gcc from whining when there is NOT an error (see the comments added)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6420 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 13:33:24 +00:00
brain
f9e38155c6
Fix library detection flags (bad define put into the ldflags)
...
Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6419 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 12:30:21 +00:00
brain
be1536b350
Note that we dont allow upgrades to version 3 of GPL, just to re-iterate.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6418 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 01:24:28 +00:00
brain
304cdf56ae
Fix bad duplication of filters containing spaces across the network.
...
(filters containing spaces arent strictly allowed because they cant be defined via the /filter command, however we do define them in the config on chatspike so its worth supporting them.
This will now translate space to \7 in the metadata, and translate it back at the receiving end.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6417 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 23:48:24 +00:00
special
a16d415ee4
Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. actually works.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6416 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 23:34:42 +00:00
brain
53a28836a2
Fix the commandline stuff up to actually work!
...
Also, fix 'locate' detection of files when pkg-config cant find them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6415 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:49:54 +00:00
brain
1403bd4c85
If we're not in interactive mode, then we dont prompt interactively for the value.
...
We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that.
If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6414 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:33:55 +00:00
brain
aca1b631d7
Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgconfig detection macros (the modules can use this if they like)
...
Extra tweak/fix: Allow for configure cache values containing the = symbol
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6413 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:18:50 +00:00
brain
614618a21f
And fix it so it works
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:05:11 +00:00
brain
0106c221c0
Better detection
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:03:42 +00:00
brain
f8706cb333
Add caching of all detected values :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:44:48 +00:00
brain
dff9228f24
Proritise cached value above a search
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6409 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:42:57 +00:00
brain
5784c43969
Fixes to make ./configure prompt for libs if all else fails (discussed earlier with w00t).
...
The values prompted for are cached, so if you specify them then ./configure -update wont prompt again for them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6408 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:41:29 +00:00
brain
bcdacaac9b
Fixing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:12:47 +00:00
brain
66cea632d4
Apply fixes for buffering of headers, and a test module both by psychon
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 20:56:59 +00:00
brain
4cfe81341f
1.1.0+SVN!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6405 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 17:12:38 +00:00
brain
a820efac13
Beta9+Finale!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6403 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0b9
2007-01-20 16:31:27 +00:00
om
33dd49fac4
Møøses > Yøuses
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6402 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 16:13:07 +00:00
brain
08dc6b94f7
Better way even than suggested.
...
We need one counter, nonlistmodes_found, and start with it at 0. In the while loop, if we find any modes that arent of list mode type we inc the counter,
and if the counter is zero after the end of the loop, we can just return (we processed everything already and nothing is left)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6401 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 16:07:02 +00:00
brain
e895332dff
Now wont even try to read an empty file
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 15:57:11 +00:00