Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Net::Pcap garbage Output

by GrandFather (Saint)
on May 26, 2008 at 02:13 UTC ( [id://688465]=note: print w/replies, xml ) Need Help??


in reply to Net::Pcap garbage Output

4294967040 expressed as a hex number is FFFFFF00.

3232236032 expressed as a hex number is C0A80200 which is 192.168.2.0 expressed in IP format (are you sure that last octet is 3?).

I suspect your MAC addresses are simply 48 bit binary values, which may cause a little trouble if you are using a 32 bit Perl without native 64 bit integers, but only a little trouble.

Maybe if you had cared enough about the problem to format your node I'd have been enthusiastic enough about it to help further.


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: Net::Pcap garbage Output
by WalkingZero (Sexton) on May 26, 2008 at 02:26 UTC
    Yes I am sure the last octet is a 3 as 192.168.2.0 is not a valid ip address. I explored this possibility, but it doesn't make all the pieces fit however. The IP information is obviously incorrect, and when reading out of the packets the number given is often only 4 digits. I am quite confused. Also, I am curious as to what is wrong with the formatting of my node?

      At the time I replied there was no markup at all so your node was rendered as an unformatted block of text. We strongly recommend that you preview your node and fix anything that doesn't look right before commit.

      We also like significant updates to your node content to be flagged with Updated: markers as appropriate. Changing the node (to which this is a reply) from containing only the first sentence to a node containing five sentences would generally be considered to be a significant update.


      Perl is environmentally friendly - it saves trees

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://688465]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-19 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found