Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Dvb net vpn question.



Vincenzo Di Massa wrote:
> 
> Now I recieve a lot of packets. But I still can't use them...
> Using tcpdump I can see there is traffic on dvb0_0, but it is not
> generated from my requests! I can see many packets caming from lot of
> sources and directed to various destinations.
> 
> I suppose things work like this:
> 1) Packets enter kernel
> 2) They are mac-filtered
> 3) They are ip-filtered

dvb_net sets a section filter with a filter mask derived from the MAC
(for multicast additional section filters are set).
Then the MPE layer is stripped and the ethernet frames contained in
the MPE sections are stuffed into the Linux network stack.

> [root@fisso2-vi test]# ifconfig
> dvb0_0    Link encap:Ethernet  HWaddr 00:D0:D7:05:78:FD
>           inet addr:172.30.2.82  Bcast:172.30.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING NOARP ALLMULTI MULTICAST  MTU:4096 Metric:1
>           RX packets:2436763 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:1986677387 (1894.6 Mb)  TX bytes:0 (0.0 b)
>           Base address:0x5ab

Where did you get the MAC addr and IP addr from? Are they correct?
You could use tcpdump to filter out packets with your IP and
check what MAC they have, or vice versa.

Have you set rp_filter to 0? (see linux/Documentation/networking/ip-sysctl.txt)

Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index