aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2025-03-281-4/+1
|
* Avoid the use of ConvToStr in string concatenation.Gravatar Sadie Powell2025-03-011-1/+1
| | | | | This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually.
* Fix some compiler warnings when building on Haiku.Gravatar Sadie Powell2024-12-011-2/+2
|
* Use sa_family_t instead of int.Gravatar Sadie Powell2024-08-271-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2024-08-031-1/+1
|
* Avoid passing malformed socket addresses to sa2cidr.Gravatar Sadie Powell2024-07-291-2/+10
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
|
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-3/+4
|
* Check whether IPPROTO_SCTP works before trying to implicitly multistack.Gravatar Sadie Powell2023-05-041-1/+19
| | | | | Fixes bind warnings on platforms which have IPPROTO_SCTP defined but don't actually have support at runtime.
* Fix binding to IPv6 endpoints on Windows.Gravatar Sadie Powell2023-04-281-1/+1
| | | | | sockaddr_in6 has additional members on Windows that need to be zeroed.
* Use the correct socket error messages on Windows.Gravatar Sadie Powell2023-04-271-3/+3
|
* Bind IP listeners with SCTP and TCP by default.Gravatar Sadie Powell2023-02-171-16/+36
|
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-15/+15
|
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
|
* Allow creating a FailedPort without a bindspec.Gravatar Sadie Powell2023-01-171-16/+39
|
* Store the actual error in FailedPort instead of an error code.Gravatar Sadie Powell2023-01-161-2/+2
|
* Fix some testing changes that snuck in to the previous commit.Gravatar Sadie Powell2023-01-161-1/+0
|
* Add support for SCTP listeners.Gravatar Sadie Powell2023-01-161-7/+21
|
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
|
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
| |
* | Use in_port_t instead of int/unsigned int/long.Gravatar Sadie Powell2022-12-181-4/+7
| |
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-8/+8
| |
* | Add is_local to the sockaddrs union.Gravatar Sadie Powell2022-12-181-0/+19
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-241-1/+11
|\|
| * Avoid using a CIDR range when it only represents a single IP.Gravatar Sadie Powell2022-11-181-1/+11
| |
* | Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-161-8/+8
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-161-1/+2
|\|
| * Fix cidr_range::str() on a UNIX socket returning an uninit value.Gravatar Sadie Powell2022-11-161-1/+2
| | | | | | | | | | This isn't an ideal fix but its the best we can do for now. In v4 we can change the struct internals to do this properly.
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-1/+1
| |
* | Move aptosa/untosa into the sockaddrs union and add from/from_ip.Gravatar Sadie Powell2022-08-111-22/+28
| | | | | | | | | | | | | | The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values.
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-2/+2
| |
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-16/+16
| |
* | Slim down the globally included files.Gravatar Sadie Powell2022-04-301-0/+4
| |
* | Enable support for UNIX socket listeners on Windows.Gravatar Sadie Powell2022-04-301-2/+0
| |
* | Fix a bunch of weird uses of .c_str().Gravatar Sadie Powell2022-01-301-1/+1
| |
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
| |
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
| |
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-9/+9
| |
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
| |
* | Use emplace_back where possible.Gravatar Sadie Powell2021-03-301-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-291-1/+1
|\|
| * Make the UNIX socket listener path relative to the runtime path.Gravatar Sadie Powell2021-01-201-1/+1
| | | | | | | | | | This is not a breaking change because unless the runtime path is explicitly set it defaults to the same as the data path.
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-6/+6
| |