Date: Thu, 26 Jun 1997 20:54:26 -0400 (EDT) From: Brian Mitchell <brian@firehouse.net> To: Bernie Doehner <bad@uhf.wireless.net> Cc: Alejandro Galindo Chairez <agalindo@asimov.io.com.mx>, questions@FreeBSD.ORG Subject: Re: ipfw: setsockopt failed Message-ID: <Pine.BSI.3.95.970626205218.22914A-100000@shell.firehouse.net> In-Reply-To: <Pine.BSF.3.95.970626200931.701B-100000@uhf.wdc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[isp and hackers removed from distribution] On Thu, 26 Jun 1997, Bernie Doehner wrote: > > > > ipfw add divert 32000 ip from any to any via ed1 for example > > > > the system send me the message > > > > 00000 divert 32000 ip from any to any via ed1 > > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > via is a legal keyword? > > Bernie > > Yes. From the manpage: If ``via'' name is specified, only packets received via or on their way out of an interface matching name will match this rule. If ``via'' ipno is specified, only packets received via or on their way out of an interface having the address ipno will match this rule. Brian Mitchell brian@firehouse.net "BSD code sucks. Of course, everything else sucks far more." - Theo de Raadt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970626205218.22914A-100000>