Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 21:16:20 -0400
From:      parv <parv@pair.com>
To:        Ivailo Tanusheff <I.Tanusheff@procreditbank.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipf - "log" problem when port is specified (after mar. 16 2002 source)
Message-ID:  <20020509011620.GA56242@moo.holy.cow>
In-Reply-To: <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg>
References:  <20020507204844.GA43365@moo.holy.cow> <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <006c01c1f68e$7cca34a0$cbf810ac@sof.procreditbank.bg>,
wrote Ivailo Tanusheff thusly...
>
> parv wrote:
> >
> > after upgrading to freebsd -stable (may 2 2002) & ipf source
> > dating apr. 27 2002, w/ following ipf rule...
> >
> > log body in on tun0 from any to any port < 1025  group 200
> >
> > ...i get error message..
> >
> > 111: cannot use port and neither tcp or udp

> Maybe you must try specifying the protocol for this rule. As you
> need port range for the rule, try tcp, udp or tcp/udp.

thanks, that did solve the problem w/ the following syntax...

log body in on tun0 proto tcp/udp from any to any port < 1025  group 200


-- 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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