Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl and Net::Pcap

by anderam (Initiate)
on Apr 12, 2010 at 17:27 UTC ( #834324=note: print w/ replies, xml ) Need Help??


in reply to Perl and Net::Pcap

Hi, first thank you for the introduction into tutorial.

But I found one problem. Is there an option in Net::Pcap to work with nanopcap file format? I tried to open a nanopcap file, which can be easily opened with Wireshark, in my perl script using the Net::Pcap::open_offline() function and I'm getting standard error message "p is not of type pcap_tPtr at".

I really need an advice on this one. Thanks in advance.


Comment on Re: Perl and Net::Pcap
Replies are listed 'Best First'.
Re^2: Perl and Net::Pcap
by Anonymous Monk on Aug 13, 2010 at 00:03 UTC
    Hi, this is very excellent article. I am bit struggling Can't locate object method "decode" via package "NetPacket::IP" (perhaps you for got to load "NetPacket::IP"?) at sysnp.pl line 83. with this error. Any Idea why? Many Thanks in Advance
      Did you load NetPacket::IP? Its not a trick question
        Thank you for your reply... I had issues configuring NetPacket-0.04, therefore I had to manually add perl modules into /etc/perl/NetPacket it looks like this kelly@linux-desktop:/etc/perl/NetPacket$ ls -l total 84 -rw-r--r-- 1 root root 7185 2010-08-13 00:11 Ethernet.pm -rw-r--r-- 1 root root 65853 2010-08-13 00:13 IP.pm -rw-r--r-- 1 root root 6687 2010-08-13 00:14 TCP.pm I am on Ubuntu 2.2, please let me know, whether I ma doing this right, Many Thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-07-08 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls