At 2002-03-10 12:22 -0800, Ray Olszewski wrote:
>Haven't we done a FAQ answer for this one? I guess not, since it keeps
>coming up. So let me try a first draft of one here, to respond to Jeff.
>
>Q. What do the numbers reported in log entries of martian packets mean?

Ray,
Yes, we have a FAQ (docid 1445) for this. It could probably use a rewrite.

Why do I get these martian source messages
http://sourceforge.net/docman/display_doc.php?docid=1445&group_id=13751


>A. They are the source and destination IP addresses of the packet, just
>written in a hard-to-read form. They are hexadecimal (base-16) numbers,
>written with the 4 bytes in the opposite order from what you are used to.
>Here is the secret decoder ring for them.
>
>         Reported address:       eb02a8c0
>         Broken up into bytes:   eb 02 a8 c0
>         Translated to decimal:  235 002 168 192
>         Reverse byte order:     192.168.2.235
>
>If you are unfamiliar with hex numbers, they use the characters a-f to
>stand for 10-15 respectively. To translate a hex-format byte XY to
>decimal, use this formula:
>
>         decimal value  = x * 16 + y
>
>         where           x =     0 iff X == 0
>                                 1 iff X == 1
>                                 2 iff X == 2
>                                 3 iff X == 3
>                                 4 iff X == 4
>                                 5 iff X == 5
>                                 6 iff X == 6
>                                 7 iff X == 7
>                                 8 iff X == 8
>                                10 iff X == 9
>                                11 iff X == a
>                                12 iff X == b
>                                13 iff X == c
>                                14 iff X == d
>                                15 iff X == e
>
>and y and Y have the same relationship as x and X.

--
Mike Noyes <[EMAIL PROTECTED]>
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to