[Twisted-Python] sniffing multicast traffic
Ben Barker
ben at bbarker.co.uk
Wed Mar 10 08:07:48 MST 2010
To all those whose email I have (and still am) filling:
Yers - it was a network problem on my part. The two NIC's were causing
the problems. The example code is now working fine. Thanks all:-)
On Wed, Mar 10, 2010 at 2:43 PM, Ben Barker <ben at bbarker.co.uk> wrote:
> Ah - I have now sorted the interface problem.
>
> I run the code I listed earlier, but it sites at the command line
> saying "listening" without every dumping anything to screen.
>
> /sbin/ip maddr now shows:
>
> eth1
> link 01:00:5e:00:00:04
> link 33:33:ff:7a:7e:4e
> link 01:00:5e:00:00:fb
> link 01:00:5e:00:00:01
> link 33:33:00:00:00:01
> inet 224.0.0.4
> inet 224.0.0.251
> inet 224.0.0.1
> inet6 ff02::1:ff7a:7e4e
> inet6 ff02::1
>
>
> And this is the same intterface on which I would expect to see the
> multicast udp packets.
>
>
>
>
> On Wed, Mar 10, 2010 at 1:28 PM, Itamar Turner-Trauring
> <itamar at itamarst.org> wrote:
>> On Wed, 2010-03-10 at 10:35 +0000, Ben Barker wrote:
>>
>>> I have been looking at the examples here:
>>>
>>> http://code.activestate.com/recipes/425975-simple-udp-multicast-client-server-using-twisted/
>>>
>>> But I seem to have trouble getting them to receive anything at all.
>>
>> Did you do the joinGroup()? One of the examples omits it, which means it
>> won't receive multicast.
>>
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
>
More information about the Twisted-Python
mailing list