[Twisted-Python] sniffing multicast traffic

Ben Barker ben at bbarker.co.uk
Wed Mar 10 09:43:57 EST 2010


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