From owner-freebsd-stable Sun Sep 20 13:59:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05645 for freebsd-stable-outgoing; Sun, 20 Sep 1998 13:59:18 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA05638 for ; Sun, 20 Sep 1998 13:59:11 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA00675; Sun, 20 Sep 1998 21:09:34 +0200 From: Luigi Rizzo Message-Id: <199809201909.VAA00675@labinfo.iet.unipi.it> Subject: Re: Yet more natd problems To: asaddi@philosophysw.com (Allan Saddi) Date: Sun, 20 Sep 1998 21:09:34 +0200 (MET DST) Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: from "Allan Saddi" at Sep 20, 98 12:31:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This seems to be a popular topic on -stable lately. ;) yes, but hopefully all your feedback will be useful... it's puzzling that the your divert rule is not matched by packets which do appear on ed1... this makes me think that i am not properly resetting one of the static vars which control divert... perhaps it would be worthwhile instrumenting (e.g. putting a printf) in the section of ip_fw.c near line 707 that says /* Ignore divert/tee rule if socket port is "ignport" */ ... - if (f->fw_divert_port == ignport) + if (f->fw_divert_port == ignport) { + printf("xxx ignored port %d\n", ignport); continue ; + } else { + printf("xxx valid divert rule\n"); i'd say you shouldn't get the "ignored" msg twice in a row... thanks luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message