[SOLVED] Best way to add multicaste route

[SOLVED] Best way to add multicaste route

Postby linuxero » Nov 25th, '12, 01:28

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
Last edited by linuxero on Nov 26th, '12, 20:50, edited 1 time in total.
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Best way to add multicaste route

Postby doktor5000 » Nov 25th, '12, 02:47

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Best way to add multicaste route

Postby oj » Nov 25th, '12, 14:13

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. :)
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Best way to add multicaste route

Postby doktor5000 » Nov 25th, '12, 17:53

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Best way to add multicaste route

Postby oj » Nov 25th, '12, 20:23

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. :)
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Best way to add multicaste route

Postby linuxero » Nov 26th, '12, 20:50

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
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest