aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.c
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-80/+80
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-181-5/+5
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Rework] Some final fixesVsevolod Stakhov2023-08-161-6/+6
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-563/+545
| | | | No meaningful changes.
* [Fix] Fix copying of sockaddr_un addressesTimo Rothenpieler2022-09-261-6/+8
| | | | | | | | | | They can be very tiny (hence the adjustment of the size assert) and the path can contain intermittent null bytes, so the only choice is to trust the input slen and copy the whole struct. An autobound unix socket uses an abstract address, which starts with a null byte, hence this change is neccesary for such an address getting copied properly.
* [Fix] Bind AF_UNIX DGRAM client connection to annonymous addressTimo Rothenpieler2022-09-261-0/+13
| | | | Fixes #4278
* [Minor] Oops, remove experimentVsevolod Stakhov2022-09-241-7/+0
|
* [Minor] Some neats when working with Unix socketsVsevolod Stakhov2022-09-241-0/+10
|
* [Minor] Allow to specify mempool when copying an IP address structureVsevolod Stakhov2022-03-201-2/+2
|
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-251-4/+30
| | | | Found by: coverity scan
* [Minor] Add hack to reuse rspamd_inet_address_to_string*Vsevolod Stakhov2020-08-231-10/+28
|
* [Minor] Fix format stringVsevolod Stakhov2020-06-231-2/+6
|
* [Minor] REUSEPORT is broken everywhere but LinuxVsevolod Stakhov2020-06-101-1/+1
|
* [Project] Do not listen sockets in the main processVsevolod Stakhov2020-06-091-21/+23
|
* [Minor] Add flags to listen socket creationVsevolod Stakhov2020-06-091-10/+41
|
* [Fix] Fix listen socket parsingVsevolod Stakhov2020-02-251-7/+52
| | | | Issue: #3254
* [Fix] Do not trust stat(2) it liesVsevolod Stakhov2020-02-251-7/+1
| | | | Issue: #3254
* [Rework] Move local IPs checkVsevolod Stakhov2020-02-121-14/+9
|
* [Rework] Further project structure reorganisationVsevolod Stakhov2020-02-111-1/+4
|
* [Minor] Disable ipv6 check via bind to a random portVsevolod Stakhov2020-01-281-16/+21
| | | | Issue: #3221
* [Minor] Save port number in upstream nameVsevolod Stakhov2019-11-131-1/+11
|
* [Minor] Copy ipv6 address in full on acceptVsevolod Stakhov2019-11-051-4/+5
|
* [Minor] Oops, fix parsing of the Unix addressesVsevolod Stakhov2019-09-281-0/+6
|
* [Fix] Distinguish remote and local addrs parsingVsevolod Stakhov2019-09-281-21/+40
|
* [Fix] Do not call implicit strlen to avoid issuesVsevolod Stakhov2019-09-261-5/+5
|
* [Minor] Reduce log severityVsevolod Stakhov2019-07-271-1/+1
|
* [Minor] Rework rspamd_parse_host_port_priority function resultVsevolod Stakhov2019-07-261-29/+29
|
* [Project] Remove libfann, gd and other unsupported stuffVsevolod Stakhov2019-06-221-34/+5
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-1/+1
|
* [Minor] Allow braced and prefixed IPv6 addressesVsevolod Stakhov2019-06-091-0/+6
|
* libutil: Fix parsing of address "IPv6:::1"Martin Mares2019-06-041-10/+8
| | | | | | | Dropping of leading colon must be performed after the "IPv6:" prefix is stripped. Also fixed a couple of wrong comments.
* [Project] Allow to hash and compare inet addresses considering portVsevolod Stakhov2019-03-041-14/+101
|
* [Minor] Another try to fix 'IPv6:' prefixVsevolod Stakhov2019-02-071-10/+8
|
* [Minor] Allow to process IPv6 addresses started with `IPv6:`Vsevolod Stakhov2019-02-071-1/+12
|
* [Minor] Core: Allow inet addresses to be parsed using memory poolVsevolod Stakhov2019-02-051-31/+66
|
* [Minor] Core: Add sockaddr access utilityVsevolod Stakhov2019-01-191-0/+16
|
* [Minor] Convert some enums to static macrosVsevolod Stakhov2018-10-271-1/+1
|
* [Feature] Implement parsing of scoped IPv6 addressesVsevolod Stakhov2018-07-311-1/+6
|
* [Minor] Fix leak in unix sockets parsingVsevolod Stakhov2018-06-151-1/+2
|
* [Minor] Fix more init/deinit leaksVsevolod Stakhov2018-06-141-3/+1
|
* [Fix] Fix parsing of unix socketsVsevolod Stakhov2018-05-121-4/+5
| | | | Issue: #2241
* [Project] Adopt codeVsevolod Stakhov2018-04-231-4/+5
|
* [Minor] Parse IPv6 addresses even if IPv6 is disabledVsevolod Stakhov2018-02-251-5/+2
|
* [Fix] Do not override unix socket group when group comes before ownerVsevolod Stakhov2017-11-061-2/+11
|
* [Minor] Allow commas when parsing unix socket paramsVsevolod Stakhov2017-11-051-1/+1
|
* [Minor] Further portion of g_slice eliminationVsevolod Stakhov2017-10-281-5/+5
|
* [CritFix] Zero fill sockaddr_unVsevolod Stakhov2017-05-251-3/+1
|
* [CritFix] Fix accepting on IPv6 socketsVsevolod Stakhov2017-05-241-0/+5
|
* [Fix] Fix memory leak when accepting from unix socketsVsevolod Stakhov2017-05-241-2/+0
|
* [Fix] Try to deal with v4 mapped to v6 addresses on acceptVsevolod Stakhov2017-05-171-14/+41
|