Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-24 | Update copyright headers. | InspIRCd Robot | |
2020-02-15 | Add HasFd to EventHandler and switch code to use it. | Sadie Powell | |
2020-01-11 | Update copyright headers. | InspIRCd Robot | |
2019-12-12 | Extract port binding code to a function and improve output. | Peter Powell | |
2019-12-09 | Make BindPorts return size_t instead of int. | Peter Powell | |
2019-08-01 | Move UNIX socket removal to ListenSocket ctor. | Matt Schatz | |
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. | |||
2019-05-30 | Various improvements to UNIX socket support. | Peter Powell | |
- 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. | |||
2019-05-29 | Add irc::sockets::isunix for checking if a file is a UNIX socket. | Peter Powell | |
2019-02-07 | Fix erroneously limiting to the size of sa instead of sun_path. | Peter Powell | |
2019-02-07 | Add irc::sockets::untosa() for creating AF_UNIX sockaddrs. | Peter Powell | |
Also fix an overly long albeit harmless memcpy when creating UNIX socket listeners. Thanks to @psychon for reporting this. | |||
2019-02-06 | Don't allow invalid characters in UNIX listener paths. | linuxdaemon | |
2019-01-24 | Remove trailing whitespace from various source files. | Peter Powell | |
2018-12-12 | Fix conversion issues by replacing ConvToInt with ConvToNum<T>. | Peter Powell | |
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. | |||
2018-08-14 | Fix some bugs in cidr_mask::str(). | Peter Powell | |
- Fix a missing break statement causing unintentional fallthrough. - Cast the length to an int to avoid interpreting as a character. | |||
2018-07-24 | Fix building on Windows. | Peter Powell | |
2018-07-18 | Initial support for listening on UNIX socket endpoints. | Peter Powell | |
2018-07-18 | Add the family() member to the sockaddrs union. | Peter Powell | |
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-09-12 | Change FailedPortList to store a sockaddrs/int instead of string. | Peter Powell | |
2017-09-12 | Store the server endpoint as a sockaddrs in ListenSocket. | Peter Powell | |
2017-09-12 | Get rid of irc::sockets::satoap(). | Peter Powell | |
This function is being misused in all but one scenario. It isn't really worth keeping IMO. | |||
2017-08-06 | Purge code for Windows XP and MSVC pre-2015. | Peter Powell | |
2014-08-04 | Remove InspIRCd::BindSocket() | Attila Molnar | |
2014-06-14 | Kill needless #includes in source files | Attila Molnar | |
2014-04-07 | Merge insp20 | Attila Molnar | |
2014-02-11 | Fix various problems detected by Clang 3.4. | Peter Powell | |
- 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. | |||
2014-02-08 | Change SocketEngine functions that do not require an instance to be static | Attila Molnar | |
2014-01-23 | Remove whitespace and minor style changes | Attila Molnar | |
2014-01-22 | Split IOHook into IOHook and IOHookProvider | Attila Molnar | |
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. | |||
2014-01-21 | Merge insp20 | Attila Molnar | |
2014-01-17 | Fix OOB error in sa2cidr() | Daniel Vassdal | |
2013-06-06 | Rewrite irc::sockets::sockaddrs::str() completely. | Peter Powell | |
- Replace use of MAXBUF with INET_ADDRSTRLEN/INET6_ADDRSTRLEN. - Replace use of sprintf with InspIRCd::Format. | |||
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-04-12 | Add LOG_ prefix to the log level enum values. | Peter Powell | |
2012-09-30 | Fix more undefined behavior caused by referencing the returned buffer by ↵ | attilamolnar | |
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 | |||
2012-09-12 | Fix bug #291 - fix rehashing bind tags not changing them between ↵ | Adam | |
servers/clients and ssl/nonssl | |||
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |
2011-04-18 | Fix mis-implemented irc::sockets::cidr_mask::operator< | Daniel De Graaf | |
2010-04-26 | Define comparator for irc::sockets::sockaddrs | Daniel De Graaf | |
This only compares IP/port, which ignores IPv6 flow information and scope ID, which aren't important in testing for equality. | |||
2010-02-23 | Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵ | danieldg | |
specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-02-03 | Fix cidr_mask::str not correctly displaying mask length | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12363 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-21 | Remove unneeded save of errno | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12309 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-19 | ERROR is not a valid log level, so all these messages were getting dropped | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2010-01-11 | ...because every now and again, i have to do a massive commit. | brain | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-11-13 | Get rid of socklen_t parameter to Bind, we are using C++ here and can do it ↵ | danieldg | |
other ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12129 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-24 | Get rid of OpenTCPSocket | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11969 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-24 | Create irc::sockets::cidr_mask | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-22 | Make irc::sockets::* parameters consistent, add irc::sockets::mask | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-21 | Kill ListenSocketBase, use OnAcceptConnection for all new connections | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7 | |||
2009-10-21 | Use ConfigTagList as a faster access method for access to configuration | danieldg | |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7 |