Opened 2 years ago

Last modified 2 years ago

#4857 new defect

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

Reported by: azurit3 Owned by:
Priority: major Component: General
Severity: medium Keywords: ipv4 ipv6 fallback
Cc: azurit3 Sensitive: no

Description

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

Attachments (1)

oscam_fix_fallback_to_ipv4.tar.gz (656 bytes ) - added by azurit3 2 years ago.
patch oscam-net.c to fix fallback to IPv4

Download all attachments as: .zip

Change History (3)

by azurit3, 2 years ago

patch oscam-net.c to fix fallback to IPv4

in reply to:  1 comment:2 by azurit3, 2 years ago

Note: See TracTickets for help on using tickets.