At 01:14 PM 5/22/02 -0500, Omar D. Samuels wrote:
[...]
>There's just one question I have for MacGyver...
>
> > >  > > May 22 02:53:54 NRP-413 kernel: Redirect from D08A145C/eth0 to
>D08A1401
> > >  > > ignored.Path = D08A1469 -> 42DA4753, tos 00
> > >
> > > Unpacked, this says that the kernel is reporting that it received and
> > > refused an instruction to redirect from 208.138.20.92 (0xD08A145, which
>is
> > > the external gateway address in the routing table) to 208.138.20.01
> > > (0xD08A1401, another host on the external network). It is connected with
>a
> > > packet going from the router's external address 208.138.20.105
>(0xD08A1469)
> > > to the non-local address 66.218.71.83 (0x42DA4753).
>
>How does one go about unpacking that cryptic message from what looks like
>Hex to get IP addresses?

It is hex (that's why I prepended the 0x), and if you know enough to 
recognize it, the rest is easy to explain.

>Separated into bytes, the address 42DA4753 becomes 42 DA 47 53


Now change each byte from hex to decimal, and you get
                         42 DA 47 53
                         66.218.71.83

BTW, other log reports (such as Martian logging) make the conversion 
trickier by reversing the order of the bytes. There's a FAQ response 
somewhere about doing that more involved conversion.



--
-----------------------------------------------"Never tell me the 
odds!"--------------
Ray Olszewski                                        -- Han Solo
Palo Alto, California, USA                              [EMAIL PROTECTED]
-------------------------------------------------------------------------------------------


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to