Date: 20 Apr 2005 17:29:31 -0000 From: David Thiel <lx@redundancy.redundancy.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80161: Maintainer Update: dns/dnshijacker patch Message-ID: <20050420172931.19505.qmail@redundancy.redundancy.org> Resent-Message-ID: <200504201730.j3KHURCB010759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80161 >Category: ports >Synopsis: Maintainer Update: dns/dnshijacker patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 20 17:30:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: David Thiel >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD redundancy.redundancy.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 9 21:41:16 PST 2005 root@redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386 >Description: Spoofed packets were being sent with incorrect checksums. The included patch fixes. >How-To-Repeat: >Fix: diff -ruN dnshijacker.old/files/dnshijacker.c.patch dnshijacker/files/dnshijacker.c.patch --- dnshijacker.old/files/dnshijacker.c.patch Wed Dec 31 16:00:00 1969 +++ dnshijacker/files/dnshijacker.c.patch Fri Apr 15 18:35:25 2005 @@ -0,0 +1,11 @@ +--- dnshijacker.c.orig Thu Mar 31 15:00:10 2005 ++++ dnshijacker.c Thu Mar 31 15:01:43 2005 +@@ -733,7 +733,7 @@ void spoof_dns (int socket) { + * source and destination are swapped here because we are spoofing a reply + */ + +- libnet_build_ip(LIBNET_UDP_H + LIBNET_DNS_H, ++ libnet_build_ip(packet_size - LIBNET_IP_H, + 0, /* ip tos */ + 0, /* ip id */ + 0, /* fragmentation bits */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050420172931.19505.qmail>