From 3d755fc9657a6a13572a3bb3d4697e489b8c6a89 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 18 Sep 2007 14:04:41 +0200 Subject: [PATCH] Added packit (1.0) - A packet injection and capture tool --- network/packit/packit.cache | 26 +++++++++++++++++++++++++ network/packit/packit.desc | 36 +++++++++++++++++++++++++++++++++++ network/packit/pcap-bpf.patch | 34 +++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 network/packit/packit.cache create mode 100644 network/packit/packit.desc create mode 100644 network/packit/pcap-bpf.patch diff --git a/network/packit/packit.cache b/network/packit/packit.cache new file mode 100644 index 000000000..020a9b971 --- /dev/null +++ b/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 diff --git a/network/packit/packit.desc b/network/packit/packit.desc new file mode 100644 index 000000000..627c14754 --- /dev/null +++ b/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 +[M] Christian Wiese + +[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/ diff --git a/network/packit/pcap-bpf.patch b/network/packit/pcap-bpf.patch new file mode 100644 index 000000000..d155f0530 --- /dev/null +++ b/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 + #include + #include ++ ++#ifdef HAVE_BPF + #include ++#elif HAVE_PCAP ++#include ++#endif ++ + #include + #include + #include +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 + #include + #include ++ ++#ifdef HAVE_BPF + #include ++#elif HAVE_PCAP ++#include ++#endif ++ + #include + #include + #include