Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167110 - libpcap-pfring-0.9.4-r1.ebuild (New Package)
Summary: libpcap-pfring-0.9.4-r1.ebuild (New Package)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 167108 208702
Blocks: 117898
  Show dependency tree
 
Reported: 2007-02-15 20:59 UTC by Jason Wallace
Modified: 2008-11-20 23:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libpcap-pfring-0.9.4-r1.ebuild (libpcap-pfring-0.9.4-r1.ebuild,2.10 KB, text/plain)
2007-02-15 21:00 UTC, Jason Wallace
Details
libpcap-0.9.3-whitespace.diff (libpcap-0.9.3-whitespace.diff,679 bytes, patch)
2007-02-15 21:01 UTC, Jason Wallace
Details | Diff
libpcap-0.8.1-fPIC.patch (libpcap-0.8.1-fPIC.patch,298 bytes, patch)
2007-02-15 21:01 UTC, Jason Wallace
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wallace 2007-02-15 20:59:29 UTC
Please find attached libpcap-pfring-0.9.4-r1.ebuild, libpcap-0.9.3-whitespace.diff, and libpcap-0.8.1-fPIC.patch.

libpcap-pfring is an ebuild for a PF_RING enabled version of libpcap for use with libpfring and a PF_RING enabled kernel. This ebuild is is a modified version of the current libpcap-0.9.4 ebuild. libpcap-0.9.3-whitespace.diff and libpcap-0.8.1-fPIC.patch are the same patches applied in the current libpcap-0.9.4 ebuild and need to be added to the files dir of this package.


Libpcap-pfring-0.9.4-r1 is dependent on libpfring-3.2.1-r1 (Bug 167108). This version of libpcap should provide virtual/libpcap and will need a virtual added for it. Any other version of libpcap should block installation of libpcap-pfring. 

This should go in net-libs/libpcap-pfring and should be hard masked until I'm able to provide updates to the ebuilds of a number of packet capture apps (snort, tcpdump, etc...). I have updates to snort and tcpdump ready and will open bugs for them when both libpfring and libpcap-pfring are added to portage.

Wally
Comment 1 Jason Wallace 2007-02-15 21:00:16 UTC
Created attachment 110334 [details]
libpcap-pfring-0.9.4-r1.ebuild

attached libpcap-pfring-0.9.4-r1.ebuild
Comment 2 Jason Wallace 2007-02-15 21:01:01 UTC
Created attachment 110336 [details, diff]
libpcap-0.9.3-whitespace.diff

attached libpcap-0.9.3-whitespace.diff
Comment 3 Jason Wallace 2007-02-15 21:01:35 UTC
Created attachment 110340 [details, diff]
libpcap-0.8.1-fPIC.patch

attached libpcap-0.8.1-fPIC.patch
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2007-04-11 13:02:16 UTC
same reason as in bug 117898 applies here

Feel free to reopen once upstream has supported tarballs in place, marking
LATER until then

Though appreciate that you still take care of it :) It's just that netmon is short on helping / supporting hands atm
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2008-11-16 17:26:16 UTC
Well and since the code for passing packet through mmap is now included in upstream >libpcap-1.0.0 could somebody give me any hint, why there are updates (libpcap-0.9.8.20081022.tar.gz) on http://public.lanl.gov/cpw/ and do we actually need that still?
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2008-11-16 17:27:37 UTC
And well, if yes, comment please in bug 208702 since I already asked treecleaners to work on libpcap-ringbuffer.
Comment 7 Jason Wallace 2008-11-20 23:02:22 UTC
(In reply to comment #6)
> And well, if yes, comment please in bug 208702 since I already asked
> treecleaners to work on libpcap-ringbuffer.
> 

pfring
phill woods libpcap (libpcap-ringbuffer)
mmap

Are all very different.

I would say that this bug can be closed, because it is unlikely the pfring people will start releasing tarballs or try and get it included in the kernel (pfring requires a kernel module). Those are the major show stoppers for a pfring version of libpcap in portage.

As for libpcap-ringbuffer. This is used in a lot of IDS environments. I have an ebuild I have been using for the latest version of this. I'll submit it when I have some time.