Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 22:48:15 +0300
From:      Victor Gamov <vitspec@gmail.com>
To:        "Herbert J. Skuhra" <herbert@gojira.at>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: ipfw set X table NAME
Message-ID:  <CAPOOyvkUh4T-4uKw9kknvjhqeZ60ttqB%2BJTK6b71G9Gx6fLhFg@mail.gmail.com>
In-Reply-To: <Y/yCsG6nNnb9zCRy@mail.bsd4all.net>
References:  <CAPOOyv=%2BMA-WC10JpOYyPMUbF%2B0cWschNTGtPD3OZ=KDYJfy7w@mail.gmail.com> <Y/yCsG6nNnb9zCRy@mail.bsd4all.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000003773f405f5b3c3de
Content-Type: text/plain; charset="UTF-8"

On Mon, 27 Feb 2023 at 13:15, Herbert J. Skuhra <herbert@gojira.at> wrote:

> On Mon, Feb 27, 2023 at 01:00:48PM +0300, Victor Gamov wrote:
> > Hi All
> >
> > On my FreeBSD 13.1-STABLE #0 stable/13-n253133-b51ee7ac252c I try to
> create
> > table with the same name at different sets:
> > =====
> > $ ipfw set 0 table AAA create type addr
> > $ ipfw set 1 table AAA create type addr
> > ipfw: Table creation failed: File exists
> > =====
> >
> > Is it possible to create table with the same name at different sets or
> > tables are global?
>
> Have you checked ipfw(8)?
> Section "Lookup tables" and "Sets of Rules"?
> Does it work if you set net.inet.ip.fw.tables_sets=1?
>

 Herbert, thank you so much!  With net.inet.ip.fw.tables_sets=1 it works as
expected.

Thank you!


-- 
CU,
Victor Gamov

--0000000000003773f405f5b3c3de
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, 27 Feb 2023 at 13:15, Herbert=
 J. Skuhra &lt;<a href=3D"mailto:herbert@gojira.at">herbert@gojira.at</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon=
, Feb 27, 2023 at 01:00:48PM +0300, Victor Gamov wrote:<br>
&gt; Hi All<br>
&gt; <br>
&gt; On my FreeBSD 13.1-STABLE #0 stable/13-n253133-b51ee7ac252c I try to c=
reate<br>
&gt; table with the same name at different sets:<br>
&gt; =3D=3D=3D=3D=3D<br>
&gt; $ ipfw set 0 table AAA create type addr<br>
&gt; $ ipfw set 1 table AAA create type addr<br>
&gt; ipfw: Table creation failed: File exists<br>
&gt; =3D=3D=3D=3D=3D<br>
&gt; <br>
&gt; Is it possible to create table with the same name at different sets or=
<br>
&gt; tables are global?<br>
<br>
Have you checked ipfw(8)? <br>
Section &quot;Lookup tables&quot; and &quot;Sets of Rules&quot;?<br>
Does it work if you set net.inet.ip.fw.tables_sets=3D1?<br></blockquote><di=
v><br></div><div>=C2=A0Herbert, thank you so much!=C2=A0 With net.inet.ip.f=
w.tables_sets=3D1 it works as expected.</div><div><br></div><div>Thank you!=
<br></div></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"gmai=
l_signature">CU,<br>Victor Gamov</div></div>

--0000000000003773f405f5b3c3de--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPOOyvkUh4T-4uKw9kknvjhqeZ60ttqB%2BJTK6b71G9Gx6fLhFg>