Page 1 of 1

[SOLVED] Best way to add multicaste route

PostPosted: Nov 25th, '12, 01:28
by linuxero
Hi;

How are the routes added in Mageia? What is the best way to add a multicast route automatically whenever the computer boots?

I am doing this in the terminal:

Code: Select all
# route add 224.0.0.0/4 eth0


Where should that go in MAgeia's configuration files? Is there another way to do it?

Thank you

Re: Best way to add multicaste route

PostPosted: Nov 25th, '12, 02:47
by doktor5000
You may want to look at /etc/sysconfig/network-scripts/ifup-routes which shows the files from which static routes
will be read per interface when interfaces are activated.

For reference, how do you want to use that route?

Re: Best way to add multicaste route

PostPosted: Nov 25th, '12, 14:13
by oj
You could put the route add in rc.local. (etc/rc.d/rc.local) Are you using avahi? It's for service discovery on the LAN. (zeroconfig) IIRC it can be used with multicast address space.

I assume the OP is using some conferencing or similar collaboration application. The 'other' use would be spying on and hacking windows machines on a LAN. :)

Re: Best way to add multicaste route

PostPosted: Nov 25th, '12, 17:53
by doktor5000
oj wrote:The 'other' use would be spying on and hacking windows machines on a LAN. :)

Well, nmap or metasploit and similar tools can be used for that, why add a permanent route for that?

Re: Best way to add multicaste route

PostPosted: Nov 25th, '12, 20:23
by oj
doktor5000 wrote:
oj wrote:The 'other' use would be spying on and hacking windows machines on a LAN. :)

Well, nmap or metasploit and similar tools can be used for that, why add a permanent route for that?


Because since Vista windows "asks for it" in the multicast space. There are somewhat legitimate reasons for enabling it by default (looking for a media server for example) but I've poked into this extensively and believe Microsoft is up to something else with the setting. It is possible for this thwart a firewall, perhaps in conjunction with windows update.

You can passively acquire info and poke at the machine over multicast and the target won't 'suspect' anything is amiss. Windows is the blabbermouth that started the conversation. :)

Re: Best way to add multicaste route

PostPosted: Nov 26th, '12, 20:50
by linuxero
Thank you.

I actually made a chat program for someone and the clients are supposed to be able to find the server automatically. However without this the clients are unable to detect my server :oops:

Thanks again :D