Opened 5 years ago

Last modified 5 years ago

#4491 new defect

http://www.streamboard.tv/oscam/ticket/3206

Reported by: Jochar Owned by:
Priority: minor Component: General
Severity: medium Keywords:
Cc: Sensitive: no

Description

Revision

11233

Issue Description

ip address (serverip) specified in oscam.conf. And oscam is listening on this ip AND on others...
CCcam is only listening on the "serverip", but http-server is bind to all ips.
The problem is, that the outgoing cccam connections should go out with the "serverip" as source ip.
I have two interfaces: eth0 -> 192.168.1.2 and eth0:0 192.168.1.4
oscam should listen only on 192.168.1.4 as specified in the oscam.conf and outgoing connections should go out with the 192.168.1.4 ip address, but they are made with the 192.168.1.2 ip address as source.

When the issue occurs

everytime

How the issue is reproducable

you need two oscam instances and two network interfaces.
e.g. eth0 and eth0:0 with different ip addresses.
bind oscam to the ip address of eth0:0 and create a reader on this instance to the ip address of eth0. In the oscam instance with the ip address of eth0 you see a client with the ip address of eth0 instead of eth0:0.

Clone of http://www.streamboard.tv/oscam/ticket/3206

but its broken in the latest build also

Thanks

Change History (3)

comment:1 by Jochar, 5 years ago

Component: ! Please select...General
Priority: Please fill inminor
Severity: Please fill inmedium

comment:2 by Admin, 5 years ago

So did these old versions from #3206 work as expected and the newers now? Or is it something different that you mean now compared to the old ticket?

in reply to:  2 comment:3 by Jochar, 5 years ago

Replying to Admin:

So did these old versions from #3206 work as expected and the newers now? Or is it something different that you mean now compared to the old ticket?

Thanks for the reply

I have a box with 2 External IP addresses, no matter what i put in any serverip variable in the config file even under cccam section it always uses the first one

in this case its
eth0 1.2.3.4
eth0:0 1.2.3.5

webif works as desired and so do other listen ports but any outgoing connections use first interface even when serverip is the second one

Thanks

Note: See TracTickets for help on using tickets.