| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Merge branch 'insp3' into master. | 2020-05-05 | 1 | -1/+1 | ||
| |\| | ||||||
| | * | Update copyright headers. | 2020-04-24 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Merge branch 'insp3' into master. | 2020-02-19 | 1 | -1/+1 | ||
| |\| | ||||||
| | * | Add HasFd to EventHandler and switch code to use it. | 2020-02-15 | 1 | -1/+1 | ||
| | | | ||||||
| * | | Merge branch 'insp3' into master. | 2020-01-17 | 1 | -4/+10 | ||
| |\| | ||||||
| | * | Update copyright headers. | 2020-01-11 | 1 | -4/+10 | ||
| | | | ||||||
| * | | Merge branch 'insp3' into master. | 2020-01-01 | 1 | -4/+4 | ||
| |\| | ||||||
| | * | Extract port binding code to a function and improve output. | 2019-12-12 | 1 | -2/+2 | ||
| | | | ||||||
| | * | Make BindPorts return size_t instead of int. | 2019-12-09 | 1 | -2/+2 | ||
| | | | ||||||
| * | | Merge branch 'insp3' into master. | 2019-08-09 | 1 | -4/+0 | ||
| |\| | ||||||
| | * | Move UNIX socket removal to ListenSocket ctor. | 2019-08-01 | 1 | -4/+0 | ||
| | | | | | | | | | | | | | Doing the removal in BindPorts() would remove the socket during a rehash and not recreate it. Now it's only removed if it's about to be created. | |||||
| * | | Merge branch 'insp3' into master. | 2019-07-16 | 1 | -5/+23 | ||
| |\| | ||||||
| | * | Various improvements to UNIX socket support. | 2019-05-30 | 1 | -5/+12 | ||
| | | | | | | | | | | | | | - Allow replacing dead UNIX sockets on startup. - Allow setting the permissions of the UNIX socket. - Expand the UNIX socket path relative to the data directory. | |||||
| | * | Add irc::sockets::isunix for checking if a file is a UNIX socket. | 2019-05-29 | 1 | -0/+11 | ||
| | | | ||||||
| * | | Merge branch 'insp3' into master. | 2019-02-15 | 1 | -5/+20 | ||
| |\| | ||||||
| | * | Fix erroneously limiting to the size of sa instead of sun_path. | 2019-02-07 | 1 | -1/+1 | ||
| | | | ||||||
| | * | Add irc::sockets::untosa() for creating AF_UNIX sockaddrs. | 2019-02-07 | 1 | -6/+13 | ||
| | | | | | | | | | | | Also fix an overly long albeit harmless memcpy when creating UNIX socket listeners. Thanks to @psychon for reporting this. | |||||
| | * | Don't allow invalid characters in UNIX listener paths. | 2019-02-06 | 1 | -0/+8 | ||
| | | | ||||||
| * | | LogManager: remove fakederef. | 2019-02-07 | 1 | -15/+15 | ||
| |/ | ||||||
| * | Remove trailing whitespace from various source files. | 2019-01-24 | 1 | -1/+1 | ||
| | | ||||||
| * | Fix conversion issues by replacing ConvToInt with ConvToNum<T>. | 2018-12-12 | 1 | -1/+1 | ||
| | | | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. | |||||
| * | Fix some bugs in cidr_mask::str(). | 2018-08-14 | 1 | -1/+2 | ||
| | | | | | | - Fix a missing break statement causing unintentional fallthrough. - Cast the length to an int to avoid interpreting as a character. | |||||
| * | Fix building on Windows. | 2018-07-24 | 1 | -1/+3 | ||
| | | ||||||
| * | Initial support for listening on UNIX socket endpoints. | 2018-07-18 | 1 | -103/+203 | ||
| | | ||||||
| * | Add the family() member to the sockaddrs union. | 2018-07-18 | 1 | -13/+18 | ||
| | | ||||||
| * | Fix a ton of -Wsign-conversion warnings. | 2017-11-17 | 1 | -4/+4 | ||
| | | ||||||
| * | Change FailedPortList to store a sockaddrs/int instead of string. | 2017-09-12 | 1 | -1/+1 | ||
| | | ||||||
| * | Store the server endpoint as a sockaddrs in ListenSocket. | 2017-09-12 | 1 | -4/+3 | ||
| | | ||||||
| * | Get rid of irc::sockets::satoap(). | 2017-09-12 | 1 | -7/+0 | ||
| | | | | | | This function is being misused in all but one scenario. It isn't really worth keeping IMO. | |||||
| * | Purge code for Windows XP and MSVC pre-2015. | 2017-08-06 | 1 | -4/+4 | ||
| | | ||||||
| * | Remove InspIRCd::BindSocket() | 2014-08-04 | 1 | -52/+0 | ||
| | | ||||||
| * | Kill needless #includes in source files | 2014-06-14 | 1 | -2/+1 | ||
| | | ||||||
| * | Merge insp20 | 2014-04-07 | 1 | -2/+0 | ||
| |\ | ||||||
| | * | Fix various problems detected by Clang 3.4. | 2014-02-11 | 1 | -2/+0 | ||
| | | | | | | | | | | | | | | | - cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf. | |||||
| * | | Change SocketEngine functions that do not require an instance to be static | 2014-02-08 | 1 | -3/+3 | ||
| | | | ||||||
| * | | Remove whitespace and minor style changes | 2014-01-23 | 1 | -1/+0 | ||
| | | | ||||||
| * | | Split IOHook into IOHook and IOHookProvider | 2014-01-22 | 1 | -0/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established. | |||||
| * | | Merge insp20 | 2014-01-21 | 1 | -4/+10 | ||
| |\| | ||||||
| | * | Fix OOB error in sa2cidr() | 2014-01-17 | 1 | -4/+10 | ||
| | | | ||||||
| * | | Rewrite irc::sockets::sockaddrs::str() completely. | 2013-06-06 | 1 | -13/+11 | ||
| | | | | | | | | | | | - Replace use of MAXBUF with INET_ADDRSTRLEN/INET6_ADDRSTRLEN. - Replace use of sprintf with InspIRCd::Format. | |||||
| * | | Fix spacing in calls to LogManager::Log. | 2013-05-19 | 1 | -6/+6 | ||
| | | | ||||||
| * | | Add LOG_ prefix to the log level enum values. | 2013-04-12 | 1 | -6/+6 | ||
| |/ | ||||||
| * | Fix more undefined behavior caused by referencing the returned buffer by ↵ | 2012-09-30 | 1 | -1/+1 | ||
| | | | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 | |||||
| * | Fix bug #291 - fix rehashing bind tags not changing them between ↵ | 2012-09-12 | 1 | -0/+1 | ||
| | | | | | servers/clients and ssl/nonssl | |||||
| * | Replace copyright headers with headers granting specific authors copyright | 2012-04-19 | 1 | -8/+18 | ||
| | | ||||||
| * | Fix mis-implemented irc::sockets::cidr_mask::operator< | 2011-04-18 | 1 | -2/+5 | ||
| | | ||||||
| * | Define comparator for irc::sockets::sockaddrs | 2010-04-26 | 1 | -0/+11 | ||
| | | | | | | This only compares IP/port, which ignores IPv6 flow information and scope ID, which aren't important in testing for equality. | |||||
| * | Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵ | 2010-02-23 | 1 | -33/+18 | ||
| | | | | | | | specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7 | |||||
| * | Fix cidr_mask::str not correctly displaying mask length | 2010-02-03 | 1 | -1/+1 | ||
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12363 e03df62e-2008-0410-955e-edbf42e46eb7 | |||||
| * | Remove unneeded save of errno | 2010-01-21 | 1 | -3/+5 | ||
| | | | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12309 e03df62e-2008-0410-955e-edbf42e46eb7 | |||||
