linux - listing multicast sockets -
i trying list opened multicast sockets on linux system? netstat -g lists groups joined though. there other utility can use sake?
thanks lot help.
in addition netstat -g
can use see sockets bound multicast address:
netstat -anu|sort -nk4
this list of udp sockets (whether multicast or not). addresses in range 224.0.0.0 239.255.255.255. these sockets bound multicast addresses, regardless whether joined multicast group or not. these only receive traffic multicast group.
but:
in practice udp sockets used receive multicast traffic bound address 0.0.0.0. these can receive udp packets unicast , multicast addresses, , server additional filtering based on source-ip-address.
so in list above may want @ udp sockets bound 0.0.0.0, example 0.0.0.0:5353 mdns (avahi, zeroconf) server.
Comments
Post a Comment