the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libnids
Version: 1.18
Revision: 6
Description: Network Intrusion Detection System E-comp
License: GPL
Maintainer: John Pell
BuildDepends: libpcap1, libnet1.0
BuildDependsOnly: true
Source: http://www.packetfactory.net/Projects/libnids/dist/libnids-%v.tar.gz
Source-MD5: 9ee6dcdfac97bae6fe611aa27d2594a5
PatchFile: %n.patch
PatchFile-MD5: 241cb0012a8c31b9b392f405c90c5112
ConfigureParams: --mandir=%p/share/man
InstallScript: <<
make install install_prefix=%d
<<
DocFiles: COPYING:COPYING.libnids
HomePage: http://www.packetfactory.net/projects/libnids/
DescDetail: <<
Libnids is a library that provides a functionality of one of NIDS
(Network Intrusion Detection System) components, namely E-component. It means
that libnids code watches all local network traffic, cooks received datagrams
a bit (quite a bit ;)), and provides convenient information on them to
analyzing modules of NIDS. Libnids performs:
a) assembly of TCP segments into TCP streams
b) IP defragmentation
c) TCP port scan detection
More technical info can be found in MISC file.
So, if you intend to develop a custom NIDS, you don't have to build
low-level network code. If you decide to use libnids, you have got
E-component ready - you can focus on implementing other parts of NIDS.
<<
DescPackaging: <<
Added patch to disable assembly code on Intel Macs to allow building.
Used by dsniff, so should keep same libnet1.x version as it
Maintained by John Pell
<<
diff -ru libnids-1.18.orig/src/checksum.c libnids-1.18/src/checksum.c
--- libnids-1.18.orig/src/checksum.c 2003-09-20 16:40:44.000000000 -0400
+++ libnids-1.18/src/checksum.c 2006-03-14 21:32:36.000000000 -0500
@@ -3,7 +3,8 @@
#include
#include
#include
-
+#undef __i386__
+#undef __i386
#if ( __i386__ || __i386 )
// all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels