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)
Change History (3)
follow-up: 2 comment:1 by , 2 years ago
by , 2 years ago
Attachment: | oscam_fix_fallback_to_ipv4.tar.gz added |
---|
patch oscam-net.c to fix fallback to IPv4
comment:2 by , 2 years ago
Replying to samur:
Take a look here :https://board.streamboard.tv/forum/thread/47800-ipv6-some-fixes/?postID=603397&highlight=patch%2Bipv6#post603397
;
I found the bug and made a simpler patch.
Note:
See TracTickets
for help on using tickets.
Take a look here :https://board.streamboard.tv/forum/thread/47800-ipv6-some-fixes/?postID=603397&highlight=patch%2Bipv6#post603397
;