Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2018 19:36:03 +0200
From:      "Dries Michiels" <driesm.michiels@gmail.com>
To:        <freebsd-ipfw@freebsd.org>
Subject:   Matching rules on ip4/ip6 with udp/tcp
Message-ID:  <001001d3fdbc$d804d270$880e7750$@gmail.com>

next in thread | raw e-mail | index | archive | help
Dear Mailing List,

 

Is there are way to match packets specifying both network generation ip4 or
ip6 together with the protocol such as tcp or udp?

 

Currently the following rules are possible (examples):

ipfw add 1 allow udp from any to me 22 in recv em0

ipfw add 1 allow ip4 from any to me 22 in recv em0

 

The following rule is not possible (example):

ipfw add 1 allow ip4 udp from any to me 22 in recv em0

 

Is there a workaround for this or some reason why this hasn't been
implemented? 

Or do I simply not have the rule syntax right.

 

Regards,

Dries




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001d3fdbc$d804d270$880e7750$>