Browse Source

Added packit (1.0) - A packet injection and capture tool

early
Christian Wiese 18 years ago
parent
commit
3d755fc965
  1. 26
      network/packit/packit.cache
  2. 36
      network/packit/packit.desc
  3. 34
      network/packit/pcap-bpf.patch

26
network/packit/packit.cache

@ -0,0 +1,26 @@
[TIMESTAMP] 1190113754 Tue Sep 18 13:09:14 2007
[BUILDTIME] 100 (9)
[SIZE] 0.11 MB, 8 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] libnet
[DEP] libpcap
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

36
network/packit/packit.desc

@ -0,0 +1,36 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../packit/packit.desc
[COPY] Copyright (C) 2007 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A packet injection and capture tool
[T] Packit is a network auditing tool. Its value is derived from its ability
[T] to customize, inject, monitor, and manipulate IP traffic. By allowing you
[T] to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet
[T] header options, Packit can be useful in testing firewalls, intrusion
[T] detection systems, port scanning, simulating network traffic, and general
[T] TCP/IP auditing. Packit is also an excellent tool for learning TCP/IP.
[U] http://www.intrusense.com/software/packit/
[A] Darren Bounds <dbounds@intrusense.com>
[M] Christian Wiese <morfoh@opensde.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 1.0
[P] X -----5---9 800.000
[D] 0 packit-1.0.tgz http://www.intrusense.com/software/packit/

34
network/packit/pcap-bpf.patch

@ -0,0 +1,34 @@
diff -ruN packit-1.0-orig/src/globals.h packit-1.0/src/globals.h
--- packit-1.0-orig/src/globals.h 2003-10-03 11:52:08.000000000 +0200
+++ packit-1.0/src/globals.h 2007-09-18 13:04:41.000000000 +0200
@@ -31,7 +31,13 @@
#include <libnet.h>
#include <pcap.h>
#include <sys/types.h>
+
+#ifdef HAVE_BPF
#include <net/bpf.h>
+#elif HAVE_PCAP
+#include <pcap-bpf.h>
+#endif
+
#include <signal.h>
#include <time.h>
#include <stdio.h>
diff -ruN packit-1.0-orig/src/main.h packit-1.0/src/main.h
--- packit-1.0-orig/src/main.h 2003-09-27 16:22:52.000000000 +0200
+++ packit-1.0/src/main.h 2007-09-18 13:05:00.000000000 +0200
@@ -26,7 +26,13 @@
#include <libnet.h>
#include <pcap.h>
#include <sys/types.h>
+
+#ifdef HAVE_BPF
#include <net/bpf.h>
+#elif HAVE_PCAP
+#include <pcap-bpf.h>
+#endif
+
#include <signal.h>
#include <time.h>
#include <stdio.h>
Loading…
Cancel
Save