Security Basics mailing list archives

compiling src code for mrouted


From: kaushal <kaushal () rocsys com>
Date: Fri, 13 May 2005 16:40:22 +0530

hello all,
Where can I find compiling and tested mrouted code for linux?I have mrouted 3.81 code but it seems to be crafted for BSD.I tweaked the code to some extent,it is working but has problems with ppp netmasks.By default the netmask assigned for a ppp client happens to be /32 in my case and the mrouted is ignoring such interface treating it to be of the same sub net as the eth0 interface (Thats correct).I have few more doubts in this aspect:

1.Is the PPP server supposed to provide a netmask not equal to /32 for its clients?If yes how should I do it in my ppp server?If no should I change the netmask mannually all the time?

2.Another point I notice with my pppd is that it assigns the same ip address at server end for all the ppp* connections but different ips at the other end,all with /32 netmask.Even this is creating a problem for mrouted. and hence it is ignoring those interfaces as per the warning messages.I came across this.

http://66.102.7.104/search?q=cache:4qNPJe5Pyt4J:www.geocrawler.com/archives/3/159/1995/8/550/721009/+%2Bmrouted+on+all+ppp+interfaces++netmask&hl=en&start=9

3.mrouted runs only if it has 2 vifs enabled.But in my case only one eth0 is permanent and all other are ppp interfaces which are dynamic.Hence when the box comes up with only one inerface and no ppps yet established,mrouted cannot run.That is obvious.But it is supposed to run when any ppp comes up.Can I do this configuraion part in mrouted.conf or should I tweak the mrouted source code?

Sorry for the big list.But I am stuck here.Any help would be greatly useful and immensly appreciated.

Thanks in advance.
kaushal.


Current thread: