aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-03-05 19:25:42 +0800
committerroam <roam@FreeBSD.org>2003-03-05 19:25:42 +0800
commitb0f85b9c9628a1dc252cd38a07d0db96eedad840 (patch)
treefa003d1bc9f0b7a4d03cc2ee02d9438be54d0f1f
parent2054a6a49e9d663dca077f672a7314cda1da8882 (diff)
downloadfreebsd-ports-gnome-b0f85b9c9628a1dc252cd38a07d0db96eedad840.tar.gz
freebsd-ports-gnome-b0f85b9c9628a1dc252cd38a07d0db96eedad840.tar.zst
freebsd-ports-gnome-b0f85b9c9628a1dc252cd38a07d0db96eedad840.zip
Update to 1.2, which adds support for Shaft and Windows versions of Trinoo.
-rw-r--r--security/zombiezapper/Makefile6
-rw-r--r--security/zombiezapper/distinfo2
-rw-r--r--security/zombiezapper/files/patch-aa51
3 files changed, 7 insertions, 52 deletions
diff --git a/security/zombiezapper/Makefile b/security/zombiezapper/Makefile
index a6a3032d0c66..5ff5b2ddea3d 100644
--- a/security/zombiezapper/Makefile
+++ b/security/zombiezapper/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= zombiezapper
-PORTVERSION= 1.0
+PORTVERSION= 1.2
CATEGORIES= security
MASTER_SITES= http://razor.bindview.com/tools/files/
-DISTNAME= zombie
-EXTRACT_SUFX= .tar
+DISTNAME= zombie-${PORTVERSION}
+EXTRACT_SUFX= .tgz
MAINTAINER= roam@FreeBSD.org
COMMENT= "Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents"
diff --git a/security/zombiezapper/distinfo b/security/zombiezapper/distinfo
index f22d316d75b4..81d5fce4e1a4 100644
--- a/security/zombiezapper/distinfo
+++ b/security/zombiezapper/distinfo
@@ -1 +1 @@
-MD5 (zombie.tar) = cda205b3ccd0c6d014498a8d204e259d
+MD5 (zombie-1.2.tgz) = 9363ce5dcef7c232049cb3939f7265b3
diff --git a/security/zombiezapper/files/patch-aa b/security/zombiezapper/files/patch-aa
index 2e9da1c15d08..0af2526c6ee0 100644
--- a/security/zombiezapper/files/patch-aa
+++ b/security/zombiezapper/files/patch-aa
@@ -1,6 +1,6 @@
---- zz.c.orig Tue Feb 15 08:51:12 2000
-+++ zz.c Sun Feb 20 01:59:12 2000
-@@ -94,7 +94,7 @@
+--- zz.c.orig Wed Mar 5 13:16:37 2003
++++ zz.c Wed Mar 5 13:16:42 2003
+@@ -104,7 +104,7 @@
union
{
struct in_addr addr;
@@ -9,48 +9,3 @@
} ip;
for (i = 0; i < 256; i++)
-@@ -159,27 +159,27 @@
- case 1:
- data_len = strlen(TRINOO_DATA);
- for (p=0;p<data_len;p++) data[p] = TRINOO_DATA[p];
-- header = LIBNET_UDP_H;
-+ header = UDP_H;
- id = 41072;
- proto = IPPROTO_UDP;
- break;
- case 2:
- data_len = strlen(TFN_DATA);
- for (p=0;p<data_len;p++) data[p] = TFN_DATA[p];
-- header = LIBNET_ICMP_ECHO_H;
-+ header = ICMP_ECHO_H;
- id = 567;
- proto = IPPROTO_ICMP;
- break;
- case 3:
- data_len = 0;
-- header = LIBNET_ICMP_ECHO_H;
-+ header = ICMP_ECHO_H;
- id = 3;
- proto = IPPROTO_ICMP;
- break;
- }
-
- /* compute packet size */
-- packet_size = LIBNET_IP_H + header + data_len;
-+ packet_size = IP_H + header + data_len;
-
- /* get mem for packet */
- libnet_init_packet(packet_size, &packet);
-@@ -207,10 +207,10 @@
- switch (proto)
- {
- case IPPROTO_ICMP:
-- libnet_build_icmp_echo(ICMP_ECHOREPLY,0,id,0,data,data_len,packet + LIBNET_IP_H);
-+ libnet_build_icmp_echo(ICMP_ECHOREPLY,0,id,0,data,data_len,packet + IP_H);
- break;
- case IPPROTO_UDP:
-- libnet_build_udp(sport,27444,data,data_len,packet + LIBNET_IP_H);
-+ libnet_build_udp(sport,27444,data,data_len,packet + IP_H);
- break;
- }
-