[linux-dvb] problems with dvbnet interfaces in promiscous mode

Sebastian Heidl s.heidl at teles.de
Thu Feb 2 14:14:21 CET 2006


On Thu, 2006-02-02 at 07:31 -0500, Jeremy Hall wrote:
> Can you give an example of what you mean?
> 
> Once I had this problem when I was working with a multicast app that I had 
> written and realized I had incorrectly written the bind call.  Once that 
> was corrected my multicast app worked much better.

Hi Jeremy,

I'll try to explain, what we're doing:

- tune the cards on their respective transponders
- create a network interface for each card using a PID
- set the network interfaces into promiscous mode, as we want to see
  _all_ IP traffic
- start the monitoring application
  --> it binds to an interface using a raw socket and does some
      traffic analysis
  --> I have not seen the source code of our app, yet. If you need more
      details, do not hesitate to ask me.

The problem is that on each od the created network interfaces we see the
traffic of all DVB adaptors combined.

regards.
_sh_

> > On Wed, 2006-02-01 at 10:04 +0100, Sebastian Heidl wrote:
> > > we're trying to establish monitoring for a data application over
> > > satellite. As several transponders have to be monitored we are using
> > > several adapters in one machine. The recognition of the adapters and the
> > > creation of the network interfaces is without problems.
> > > 
> > > >>>>>>>>>> dmesg output (MAC adresses hidden) >>>>>>>>>>
> > > b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
> > > flexcop-pci: will use the HW PID filter.
> > > flexcop-pci: card revision 2
> > > PCI: Found IRQ 12 for device 0000:00:0a.0
> > > PCI: Setting latency timer of device 0000:00:0a.0 to 64
> > > DVB: registering new adapter (FlexCop Digital TV device).
> > > b2c2-flexcop: MAC address = 00:d0:d7:0e:34:3f
> > > b2c2-flexcop: found the stv0299 at i2c address: 0x68
> > > DVB: registering frontend 0 (ST STV0299 DVB-S)...
> > > b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
> > > flexcop-pci: will use the HW PID filter.
> > > flexcop-pci: card revision 1
> > > PCI: Found IRQ 10 for device 0000:00:0b.0
> > > PCI: Setting latency timer of device 0000:00:0b.0 to 64
> > > DVB: registering new adapter (FlexCop Digital TV device).
> > > b2c2-flexcop: MAC address = 00:d0:d7:02:0f:9d
> > > b2c2-flexcop: found the stv0299 at i2c address: 0x68
> > > DVB: registering frontend 1 (ST STV0299 DVB-S)...
> > > b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S' at the 'PCI' bus controlled by a 'FlexCopII' complete
> > > 
> > > 
> > > Only when the interfaces are put into promiscous mode, which is a must
> > > for the monitoring application, the traffic of _all_ adaptors is sent to
> > > the interfaces. That way it's not possible to differentiate the
> > > transponders any more.
> > > 
> > > So is there a way to separate the traffic of the transponders ? Maybe
> > > some module parameters we missed ?
> > > 
> > > We used the v4l-dvb-20060115.tar.gz snapshot compiled against the latest
> > > RHEL4 kernel in our tests.
> > 
> > 
> > _______________________________________________
> > linux-dvb mailing list
> > linux-dvb at linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> > 



More information about the linux-dvb mailing list