summaryrefslogtreecommitdiff
path: root/security/zombiezapper/files
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/files
parentUpdate to 0.8.2. (diff)
Update to 1.2, which adds support for Shaft and Windows versions of Trinoo.
Notes
Notes: svn path=/head/; revision=76918
Diffstat (limited to 'security/zombiezapper/files')
-rw-r--r--security/zombiezapper/files/patch-aa51
1 files changed, 3 insertions, 48 deletions
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;
- }
-