aboutsummaryrefslogtreecommitdiff
path: root/security/zombiezapper
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-03-05 11:25:42 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-03-05 11:25:42 +0000
commit98480ab989e93017a130019011eb0c7c47e4ded8 (patch)
tree7795a277d62dd624190ea630a351d5dbed08f02d /security/zombiezapper
parent79395673c3ace8876b63f3f51134dbd8ab202e6c (diff)
downloadports-98480ab989e93017a130019011eb0c7c47e4ded8.tar.gz
ports-98480ab989e93017a130019011eb0c7c47e4ded8.zip
Notes
Diffstat (limited to 'security/zombiezapper')
-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;
- }
-