aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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.•••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. Gravatar Sadie Powell2022-11-161-1/+2
* | 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.•••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. Gravatar Sadie Powell2022-08-111-22/+28
* | 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.•••This is not a breaking change because unless the runtime path is explicitly set it defaults to the same as the data path. Gravatar Sadie Powell2021-01-201-1/+1
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-6/+6
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-4/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-191-1/+1
|\|
| * Add HasFd to EventHandler and switch code to use it.Gravatar Sadie Powell2020-02-151-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-4/+10
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+10
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-4/+4
|\|
| * Extract port binding code to a function and improve output.Gravatar Peter Powell2019-12-121-2/+2
| * Make BindPorts return size_t instead of int.Gravatar Peter Powell2019-12-091-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-08-091-4/+0
|\|