Advanced

Ssysthread small packet sniffer (pkr)

Posted by dave on · Post a comment
Systhread.net; By Jay Fink
Mail this story
Print this story

  Originally called portkeeper the pkr utility does rudimentry packet sniffing and will alarm on certain packet errors. It is known to work on the following systems and distributions:

  Originally called portkeeper the pkr utility does rudimentry packet sniffing and will alarm on certain packet errors. It is known to work on the following systems and distributions:





Note that Debian and Ubuntu require the pcap-dev package to copmpile. Building and using the utility is pretty easy:



make <target>
sudo ./pkr


Where targets are: linux, freebsd or osx. The usage for now is pretty straightforward and is included using the -u or --usage option:



[16:31:46 jrf@vela:~/src/pkr-0.2]$ ./pkr --usage
pkr [options][arguments] [optional filter string]
pkr [-e|--ethernet][-i|--interface dev][-p|--polls npolls]
pkr [-u|--usage][-v|--verbose level]
Options:
   -e|--ethernet       Display basic ethernet info.
   -i|--interface dev  Use the specified interface.
   -p|--polls N        Poll N times (default continous).
   -u|--usage          Print usage information.
   -v|--verbose N      Set verbosity to level N.
Verbosity Levels:
    1  Show source and destination IP:PORT only
    2  Show all available IP information
    3  Show all TCPIP information (Default)
    4  Dump the payload string


Since pkr uses libpcap it can accept filter options similar to tcpdump. Plans for pkr and issues can be found in the TODO file.



  Coding · pkr-0.2.tar.gz

Full Story

  Nav
» Read more about: Story Type: Announcements; Groups: Community, Debian, Fedora, Fedora Legacy, Kernel, Red Hat, Ubuntu

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post