From owner-freebsd-questions Fri Dec 25 23:51:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11451 for freebsd-questions-outgoing; Fri, 25 Dec 1998 23:51:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11445 for ; Fri, 25 Dec 1998 23:51:46 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.10 #2) id 0ztimd-00059N-00; Sat, 26 Dec 1998 01:44:47 +0000 Date: Sat, 26 Dec 1998 01:44:46 +0000 From: Ben Smithurst To: Brian Gallucci Cc: FreeBSD Subject: Re: IPFW Deny Message-ID: <19981226014446.A19770@scientia.demon.co.uk> References: <000401be3052$0b1f3a40$2900a8c0@brians-desktop.briang.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <000401be3052$0b1f3a40$2900a8c0@brians-desktop.briang.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Gallucci wrote: > What does this mean ? Their is no IP in the Deny message.. What? There are two of them. > ipfw: 8900 Deny TCP 24.1.213.0:1414 24.1.12x.xxx:12345 in via fxp0 > ^^^^ I suspect those "x" characters are added by you. If they're not, I have no idea what's going on, but I think they were. from sys/netinet/ip_fw.c: case IPPROTO_TCP: printf("TCP "); print_ip(ip->ip_src); if ((ip->ip_off & IP_OFFMASK) == 0) printf(":%d ", ntohs(tcp->th_sport)); else printf(" "); print_ip(ip->ip_dst); if ((ip->ip_off & IP_OFFMASK) == 0) printf(":%d", ntohs(tcp->th_dport)); break; The first IP is the source, the second is the destination. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message