Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 21:09:34 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        asaddi@philosophysw.com (Allan Saddi)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Yet more natd problems
Message-ID:  <199809201909.VAA00675@labinfo.iet.unipi.it>
In-Reply-To: <Pine.BSF.4.02A.9809201231150.15926-100000@shell2.ba.best.com> from "Allan Saddi" at Sep 20, 98 12:31:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201909.VAA00675>