Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 12:26:38 -0300
From:      Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
To:        freebsd-ipfw@freebsd.org
Subject:   Lookup tables with dst-port as argument
Message-ID:  <2BBD30C7-044F-4846-9845-C7605306CB5B@freebsdbrasil.com.br>

next in thread | raw e-mail | index | archive | help
Hello FreeBSD community,

I need to dynamically allocate filtering ports on a tuplet, table would =
do the job, can I lookup the port argument from a table? Something like:

ipfw add count all from =E2=80=9Ctable(blist)=E2=80=9D to any dst-port =
tablearg in=20

In the above example table blist was created as =E2=80=9Cipfw table =
blist create type number=E2=80=9D.

It certainly won=E2=80=99t work as above written since tablearg is not =
supported for dst-port.=20

Is there any other approach possible to reach this desired behavior?=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BBD30C7-044F-4846-9845-C7605306CB5B>