Skip to content

cccam server set with ipv4 IP will fail to fallback to IPv4

= Revision OSCam r11693

= Issue Description

  • oscam compiled with ipv6support
  • pc with kernel ipv6 disabled
  • set cccam server with a ipv4 IP
  • (tested monitor, scam, gbox, newcamd all have this issue. I could only set serverip with an ipv4 successfully at [global] and [webif])

Result = Will fail to fallback to IPv4

LOG:

(main) signal handling initialized
 (net) cccam: Cannot create socket (errno=97: Address family not supported by protocol)
 (net) cccam: Trying fallback to IPv4
 (net) cccam: setsockopt(IPV6_V6ONLY) failed (errno=92: Protocol not available)
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 119 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 118 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 117 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 116 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 115 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 114 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 113 seconds
 (net) cccam: Bind request failed (Address family not supported by protocol), waiting another 112 seconds