[Olsr-users] Hop Count of data packets

John Hay (spam-protected)
Fri Apr 3 18:34:25 CEST 2009


On Fri, Apr 03, 2009 at 07:25:12PM +0530, Bhat, Ishwara wrote:
> 
> I had not considered this. Thanks for the suggestion.
> 
> This hop count has to be done by a "mesh monitoring" work station (mesh
> nodes are embedded devices and there is a PC which monitors the mesh
> nodes. The PC needs to be able to able to trace the path) 

If you do not need to know what the intermediate nodes are, you can use
ping and parse its ttl field.

> 
> I think that should work.
> 
> Thanks,
> Ishwar
> 
> -----Original Message-----
> From: L. Aaron Kaplan [mailto:(spam-protected)] 
> Sent: Friday, April 03, 2009 6:38 PM
> To: Bhat, Ishwara
> Cc: (spam-protected)
> Subject: Re: [Olsr-users] Hop Count of data packets
> 
> Maybe I misunderstood you now but what you can do is simply traceroute  
> and count the number of hops your data takes.
> What would be wrong with that idea? Did you already consider it?
> 
> best,
> a.
> 
> On Apr 3, 2009, at 1:46 PM, Bhat, Ishwara wrote:
> 
> > Hi,
> >
> > I need to know how many hops a data has traversed over mesh. I know  
> > OLSR control packets have hop count field. But what about data  
> > packets routed on mesh?
> >
> > I thought I could modify any data packet in the forwarding node (so  
> > as to update the hop count). But application level does not have  
> > access to packets destined for some other node.
> >
> > Should this be done only by iptables and netfilter chains ? Or is  
> > there any other way to do this?
> >
> > Thanks,
> > Ishwar
> >

John
-- 
John Hay -- (spam-protected) / (spam-protected)




More information about the Olsr-users mailing list