diff options
Diffstat (limited to 'net-mgmt/p0f/files')
-rw-r--r-- | net-mgmt/p0f/files/patch-FreeBSD | 16 | ||||
-rw-r--r-- | net-mgmt/p0f/files/patch-mtu.h | 14 | ||||
-rw-r--r-- | net-mgmt/p0f/files/patch-p0f.c | 22 | ||||
-rw-r--r-- | net-mgmt/p0f/files/patch-test_p0fq.c | 12 |
4 files changed, 9 insertions, 55 deletions
diff --git a/net-mgmt/p0f/files/patch-FreeBSD b/net-mgmt/p0f/files/patch-FreeBSD index 0de9b2359258..9a722f3afebd 100644 --- a/net-mgmt/p0f/files/patch-FreeBSD +++ b/net-mgmt/p0f/files/patch-FreeBSD @@ -1,16 +1,10 @@ -$FreeBSD$ - ---- mk/FreeBSD.orig Sat Aug 30 15:41:17 2003 -+++ mk/FreeBSD Mon Sep 8 03:58:17 2003 -@@ -7,10 +7,9 @@ - # (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx> - # - --CC = gcc -+CC? = gcc +--- mk/FreeBSD.orig Sun Feb 12 01:48:12 2006 ++++ mk/FreeBSD Sun Feb 12 01:48:24 2006 +@@ -10,7 +10,6 @@ + CC = gcc LIBS = -lpcap -I/usr/include/pcap -I/usr/local/include/pcap STRIP = strip -CFLAGS = -O3 -Wall -fomit-frame-pointer -funroll-loops FILE = p0f + TOOLS = test/sendack test/sendack2 test/sendsyn - all: $(FILE) strip diff --git a/net-mgmt/p0f/files/patch-mtu.h b/net-mgmt/p0f/files/patch-mtu.h deleted file mode 100644 index 116c1ae95371..000000000000 --- a/net-mgmt/p0f/files/patch-mtu.h +++ /dev/null @@ -1,14 +0,0 @@ -$FreeBSD$ -Add loopback support for FreeBSD. -author: Radim Kolar - ---- mtu.h.orig Fri Oct 10 20:56:39 2003 -+++ mtu.h Tue Feb 17 21:10:49 2004 -@@ -58,6 +58,7 @@ - { 4352, "FDDI" }, - { 4500, "token ring (2)" }, - { 9180, "FORE ATM" }, -+ { 16384, "loopback" }, - { 16436, "sometimes loopback" }, - { 18000, "token ring x4" }, - }; diff --git a/net-mgmt/p0f/files/patch-p0f.c b/net-mgmt/p0f/files/patch-p0f.c index 449f830730e7..902098e03f2c 100644 --- a/net-mgmt/p0f/files/patch-p0f.c +++ b/net-mgmt/p0f/files/patch-p0f.c @@ -1,20 +1,6 @@ -$FreeBSD$ -Add loopback support for FreeBSD. -author: Radim Kolar - ---- p0f.c.orig Tue Feb 17 21:11:51 2004 -+++ p0f.c Tue Feb 17 21:10:48 2004 -@@ -161,7 +161,8 @@ - - switch(type) { - -- case DLT_NULL: -+ case DLT_NULL: header_len=4; break; -+ - case DLT_SLIP: - case DLT_RAW: break; - -@@ -1199,11 +1200,15 @@ +--- p0f.c.orig Sun Jul 11 02:17:57 2004 ++++ p0f.c Sun Feb 12 01:44:36 2006 +@@ -1238,11 +1238,15 @@ /* Whoops, IP header ends past end_ptr */ if ((_u8*)(iph + 1) > end_ptr) return; @@ -32,7 +18,7 @@ author: Radim Kolar /* If the declared length is shorter than the snapshot (etherleak or such), truncate this bad boy. */ -@@ -1590,7 +1595,7 @@ +@@ -1632,7 +1636,7 @@ if (!use_iface) use_iface=pcap_lookupdev(errbuf); #endif /* ^WIN32 */ diff --git a/net-mgmt/p0f/files/patch-test_p0fq.c b/net-mgmt/p0f/files/patch-test_p0fq.c deleted file mode 100644 index eb1d0372afb1..000000000000 --- a/net-mgmt/p0f/files/patch-test_p0fq.c +++ /dev/null @@ -1,12 +0,0 @@ -$FreeBSD$ - ---- test/p0fq.c.orig Fri Oct 10 14:51:08 2003 -+++ test/p0fq.c Wed Dec 17 20:10:31 2003 -@@ -14,6 +14,7 @@ - - */ - -+#include <sys/types.h> - #include <sys/socket.h> - #include <stdio.h> - #include <stdlib.h> |