Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Attila Molnar
3883716883
Turn BinarySocket::Write() into a no-op when called with l == 0
2014-02-18 03:28:02 +01:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
b880240d72
Make os_session akill ip ranges and not individual user's ips
2013-09-19 13:35:52 -04:00
Adam
2428264315
Add Redis database support
2013-05-17 23:04:18 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
1ff7a7c1f1
Refactor mask/entry code, allow full matching (against users real host/ip) if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
2013-03-13 14:40:49 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
ddaa001daf
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
2013-01-21 22:31:16 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
c1077faa28
Optimize much of the database code and serialize code.
2012-12-13 06:12:56 -05:00
Adam
337f361526
Fix warnings from classes with virtual functions not having virtual destructors
2012-11-29 17:03:53 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
53b2bdfe5e
Use std::tr1::unordered_map for a few of the larger maps
2012-11-06 11:02:12 -05:00
Adam
90930619bc
Fixed quite a bit of dumbness with m_ssl. Had to
...
modify socketengines to allow polling for write &
no read, but is it cleaner now. Made m_httpd able
to listen using SSL.
2012-11-01 14:47:23 -04:00
Adam
1057fa8421
BIND's forward ability did not work as I expected
...
because it will not forward non recursive queries.
So, added support for SOA, NS, and AXFR requests.
2012-10-24 19:32:26 -04:00
Adam
9d6626f70c
Made session tracking ip based, not host based, and allow using CIDR to group multiple ips from one subnet to one session
2012-09-07 12:04:25 -04:00
Adam
1af64a9bbb
Fix Windows
2012-09-02 08:30:54 -04:00
Adam
e3d5140dcc
Added a web panel module + a default template
2012-09-01 18:54:51 -04:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
41e8d27602
Fixed FreeBSD build
2012-02-16 16:02:17 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
2eb708e5ad
Cleaned up some of the socket code, cleaned up the pipe engines, added support for binary sockets, and cleaned up the asynch connect/accept code
2011-09-10 01:55:09 -04:00
Adam
1cb11bba5d
Fixed a few small problems, including m_ssl's connect feature sometimes failing for no good reason
2011-07-31 03:22:23 -04:00
Adam
8bf8832b70
Rewrote the signal handling to use sigaction
2011-05-23 04:41:51 -04:00
Adam
115f94bfc2
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-21 04:57:27 -04:00
Adam
b999c6ca53
Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string
2011-05-16 04:10:15 -04:00
Adam
43995b4c6d
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-01-08 00:25:30 -05:00
Adam
512d23d60f
Made the Flag class able to convert flags to strings and back
2011-01-08 00:25:11 -05:00
lethality
0eb9152749
fix some more copyright and typos (not mine) spotted by chaz :P
2011-01-07 23:01:19 +00:00
lethality
9efebe5461
update copyrights for 2011
2011-01-05 18:34:38 +00:00
Adam
35e328bcb6
Fixed Windows build
2010-12-24 01:23:22 -05:00
Adam
246f44b988
Added cs_mode, rewrote the old list mode code, and added CIDR support
2010-12-12 19:35:27 -05:00
Adam
8fbe36635c
Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute
...
remote RPC calls to Anope in realtime and receive responses
2010-12-12 19:30:14 -05:00
Adam
cbd0f52eff
Made Base not virtual, prevents us from having to dynamic cast in the mode stacker on release builds
2010-11-04 00:36:53 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
e3afb119b9
Fixed pipe and win32 socketengine builds
2010-10-01 21:45:46 -04:00
Adam
d44f7971b1
Rewrote some of the socket code to allow m_ssl to be a service.
...
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
2010-10-01 21:01:49 -04:00
Adam
227909e2cf
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-17 19:20:07 -04:00
Adam
f00e76d30a
Added Anope::CurTime to keep us from calling time() everywhere
2010-09-10 20:31:31 -04:00
Adam
46813ccb8c
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
...
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
2010-09-09 23:43:11 -04:00
Adam
a950ed8cab
Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now.
2010-08-15 01:45:38 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
2328c3e7ec
Always use non-blocking sockets
2010-07-24 13:45:54 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Naram Qashat
381c9c8870
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
2010-06-20 18:42:58 -04:00