summaryrefslogtreecommitdiff
path: root/src/sockets.cpp
AgeCommit message (Collapse)Author
2017-04-20Merge commit '8656b65e392e8d26de218bf372da949c3a00d8d4'Adam
2017-01-23Make log system use newer format stringsAdam
Also allow log messages to be translatable
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-10-06#1682: store aftype with masks and include cidrs in GetNUHMaskAdam
2016-07-31Update license headers and copyrights on all source filesAdam
2016-07-03#1682: store aftype with masks and include cidrs in GetNUHMaskAdam
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2014-06-23Merge branch '2.0' into 2.1Adam
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-05-20Speed up akill xline checksAdam
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-02-21Fix Windows buildAdam
2014-02-18Fix setsockopt() with SO_REUSEADDR not working due to wrong argument typeAttila Molnar
2014-02-05Ignore nonblocking errnors on socket operationsAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-09-19Make os_session akill ip ranges and not individual user's ipsAdam
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-06-15Fix cidr::match with odd cidr rangesAdam
2013-05-08Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper ↵Adam
way to test for a valid IP
2013-03-13Refactor mask/entry code, allow full matching (against users real host/ip) ↵Adam
if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
2013-02-25Don't enforce session limit on clients with no IP on Unreal, fix typo in /cs ↵Adam
down syntax, fix os_session messages to reference ip
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-06Use std::tr1::unordered_map for a few of the larger mapsAdam
2012-11-01Fixed quite a bit of dumbness with m_ssl. Had toAdam
modify socketengines to allow polling for write & no read, but is it cleaner now. Made m_httpd able to listen using SSL.
2012-10-24BIND's forward ability did not work as I expectedAdam
because it will not forward non recursive queries. So, added support for SOA, NS, and AXFR requests.
2012-09-07Made session tracking ip based, not host based, and allow using CIDR to ↵Adam
group multiple ips from one subnet to one session
2012-09-02Fix WindowsAdam
2012-02-14Clean up and reorganize our header filesAdam
2012-01-10Removed this "valid" ip check in cidr::cidr, is wrong for IPv6 and ::pton ↵Adam
checks this anyway using inet_pton. Also fixed a comment Robby broke in chanserv.conf
2011-11-08WindowsAdam
2011-10-24Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as ↵Naram Qashat
use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
2011-10-09Give more verbose messages on startupAdam
2011-09-10Cleaned up some of the socket code, cleaned up the pipe engines, added ↵Adam
support for binary sockets, and cleaned up the asynch connect/accept code
2011-08-14Revert "Fixed resolving hosts on connect"Adam
This reverts commit 11619be8b97d7d8c28bc1ebbf6d412dff298b23d.
2011-08-14Fixed resolving hosts on connectDukePyrolator
2011-08-10Fixed windows buildAdam
2011-07-31Fixed error message from being unable to connectAdam
2011-07-31Fixed a few small problems, including m_ssl's connect feature sometimes ↵Adam
failing for no good reason
2011-06-20Cleaned up some of the logger code which fixes not logging debug logs to ↵Adam
files etc when debug is enabled, and some other small things
2011-05-23Rewrote the signal handling to use sigactionAdam
2011-05-21Made Anope able to process normally when disconnected from the uplink and ↵Adam
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-16Expand more on m_alias and changed some std::string usage in sockets.cpp to ↵Adam
use Anope::string
2011-05-16Unmodularized the socket engine because its causing problems and really is ↵Adam
unnecessary
2011-04-29Temporary fix for /os restart with m_async_commands loaded, is fixed ↵Adam
properly in 1.9.5
2011-04-25Don't attempt to connect to the uplink if given invalid hostnamesAdam
2011-01-08Made the Flag class able to convert flags to strings and backAdam
2010-12-23Do not clear want write on a socket if we are unable to completely write its ↵Adam
buffer
2010-12-12Handle not being able to completely flush our write buffer correctlyAdam