Joined: 14 Nov 2019
Location: Russia, Ekaterinburg
|Posted: Thu Nov 14, 2019 12:37 pm Post subject: miniupnp and IPv6
|I found an error when starting the service
|miniupnpd: PCPSendUnsolicitedAnnounce() IPv6 sendto(): Bad file descriptor |
The error occurs when:
1. When compiling miniupnp, I set the variable "ENABLE_IPV6", which indicates that the system supports IPv6.
2. miniupnp, at startup it does not check for IPv6 in the system and tries to start working through it.
3. When the service sends an announcement to the address ff02 :: 1, an error occurs.
When running miniupnpd, you need to check ipv6 on the system and, depending on availability, configure PCPSendUnsolicitedAnnounce() in a certain way.