| Summary: | Knot-resolver does not respond, if client port is lower than 1024 | ||
|---|---|---|---|
| Product: | IPFire | Reporter: | Stefan Schantl <stefan.schantl> |
| Component: | --- | Assignee: | Assigned to nobody - feel free to grab it and work on it <nobody> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | - Unknown - | ||
| Priority: | - Unknown - | CC: | adolf.belka, michael.tremer |
| Version: | 2 | ||
| Hardware: | unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 13972 | ||
https://git.ipfire.org/?p=thirdparty/knot-resolver.git;a=blob;f=daemon/io.c;hb=032d28dd57e7e99fd1f657074a8606771fd0e7c2#l83 https://git.ipfire.org/?p=thirdparty/knot-resolver.git;a=blob;f=daemon/network.c;hb=032d28dd57e7e99fd1f657074a8606771fd0e7c2#l83 https://git.ipfire.org/?p=thirdparty%2Fknot-resolver.git&a=search&h=032d28dd57e7e99fd1f657074a8606771fd0e7c2&st=grep&s=min_udp_source_port Arch Linux has all system users below 1000 The first non-system user created when installing on Arch Linux is 1000 and then in sequence for any additional non-system users created. Core Update 203 has been released:
> https://www.ipfire.org/blog/ipfire-2-29-core-update-203-released
|
kresd does not respond to any requests if the clients uses a port below 1024. This is set as as feature in kresd and causes prolems with resolving names on some devices (mostly IoT). After some research and testing the value can be adjusted by using: require('ffi').C.the_network.min_udp_source_port = 0