From 8a652e6e9b81fac4f01b3cb20c5c43f7ea799044 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 18 Sep 2007 14:11:57 +0200 Subject: [PATCH] Added forgate (1.0) - A packet capture tool for switched networks --- network/forgate/forgate.cache | 26 +++++++++++++++++++++++++ network/forgate/forgate.desc | 35 ++++++++++++++++++++++++++++++++++ network/forgate/pcap-bpf.patch | 32 +++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 network/forgate/forgate.cache create mode 100644 network/forgate/forgate.desc create mode 100644 network/forgate/pcap-bpf.patch diff --git a/network/forgate/forgate.cache b/network/forgate/forgate.cache new file mode 100644 index 000000000..8bab8d123 --- /dev/null +++ b/network/forgate/forgate.cache @@ -0,0 +1,26 @@ + +[TIMESTAMP] 1190072120 Tue Sep 18 01:35:20 2007 +[BUILDTIME] 100 (9) +[SIZE] 0.06 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/forgate/forgate.desc b/network/forgate/forgate.desc new file mode 100644 index 000000000..624f262a2 --- /dev/null +++ b/network/forgate/forgate.desc @@ -0,0 +1,35 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../forgate/forgate.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 capture tool for switched networks + +[T] Forgate (Forge Gateway) is a tool that allows you to capture traffic +[T] from a third party in a switched environment at the expense of a +[T] slight increase in latency to that third party host. Utilizing ARP +[T] cache poisoning, packet capture, and packet reconstruction techniques, +[T] it works with nearly all TCP, ICMP, and UDP IPv4 traffic flows. + +[U] http://www.intrusense.com/software/forgate/ + +[A] Darren Bounds +[M] Christian Wiese + +[C] extra/tool + +[L] GPL +[S] Stable +[V] 1.0 +[P] X -----5---9 800.000 + +[D] 0 4g8-1.0.tgz http://www.intrusense.com/software/forgate/ diff --git a/network/forgate/pcap-bpf.patch b/network/forgate/pcap-bpf.patch new file mode 100644 index 000000000..ee644f383 --- /dev/null +++ b/network/forgate/pcap-bpf.patch @@ -0,0 +1,32 @@ +--- 4g8-1.0/src/globals.h.orig 2007-09-18 01:17:36.000000000 +0200 ++++ 4g8-1.0/src/globals.h 2007-09-18 01:30:41.000000000 +0200 +@@ -31,7 +31,13 @@ + #include + #include + #include ++ ++#ifdef HAVE_BPF + #include ++#elif HAVE_PCAP ++#include ++#endif ++ + #include + #include + #include +--- 4g8-1.0/src/main.h.orig 2007-09-18 01:31:38.000000000 +0200 ++++ 4g8-1.0/src/main.h 2007-09-18 01:32:30.000000000 +0200 +@@ -26,7 +26,13 @@ + #include + #include + #include ++ ++#ifdef HAVE_BPF + #include ++#elif HAVE_PCAP ++#include ++#endif ++ + #include + #include + #include