<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/contrib/ipfilter/tools, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-07-17T19:07:53Z</updated>
<entry>
<title>-4 and -6 only make sense with -i, -o, and -t.</title>
<updated>2020-07-17T19:07:53Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=64a1886d5c466022cc4a4795fec6b869a43304d5'/>
<id>urn:sha1:64a1886d5c466022cc4a4795fec6b869a43304d5</id>
<content type='text'>
PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>The output from usage() need not contain usage for -t when STATETOP</title>
<updated>2020-07-17T19:07:50Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ebdefe6cb43ce7573d86b13cbaad2d3fdbb9c6ff'/>
<id>urn:sha1:ebdefe6cb43ce7573d86b13cbaad2d3fdbb9c6ff</id>
<content type='text'>
is not compiled in.

PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>Make ipfstat -t header generic when IPv4 and IPv6 output are</title>
<updated>2020-07-17T19:07:47Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e082c89385d542a74b7e30a534d83297be1d9426'/>
<id>urn:sha1:e082c89385d542a74b7e30a534d83297be1d9426</id>
<content type='text'>
displayed in the same display.

PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>ipfstat -t defaults to IPv4 output. Make consistent with ipfstat -i</title>
<updated>2020-07-17T19:07:44Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=08c24e2f886854e8eadb9a522a451fcc6a78480a'/>
<id>urn:sha1:08c24e2f886854e8eadb9a522a451fcc6a78480a</id>
<content type='text'>
and ipfstat -o where without an argument IPv4 and IPv6 states are
shown. Use -4 and -6 to limit the display to IPv4 or IPv6 respectively.

PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>Historically ipfstat listings and stats only listed IPv4 or IPv6 output.</title>
<updated>2020-07-17T19:07:40Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=88b86bb0f3eb922e893837d83f1423e43e798517'/>
<id>urn:sha1:88b86bb0f3eb922e893837d83f1423e43e798517</id>
<content type='text'>
ipfstat would list IPv4 outputs by default while -6 would produce IPv6
outputs. This commit combines the ipfstat -i and -o outputs into one
listing of IPv4 and IPv6 rules. The -4 option lists only IPv4 rules
(as the default before) while -6 continues to list only rules that affect
IPv6.

PR:		247952
Reported by:	joeb1@a1poweruser.com
MFC after:	1 week
</content>
</entry>
<entry>
<title>fr_family (the protocol family) must be AF_INET or AF_INET6, as in</title>
<updated>2020-07-17T19:07:37Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5317660176971eac99d07f4af30a83537ecdeea6'/>
<id>urn:sha1:5317660176971eac99d07f4af30a83537ecdeea6</id>
<content type='text'>
the kernel, not an arbitrary 4 or 6.

This only affected printing ipfilter stats and rules from a kernel
dump. (This is currently undocumented.)

PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>Only use the use_inet6 variable when INET6 is a build option.</title>
<updated>2020-07-17T19:07:34Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-07-17T19:07:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ce1c2aafce7f78e4f5a2722affc039ef38aa3ab9'/>
<id>urn:sha1:ce1c2aafce7f78e4f5a2722affc039ef38aa3ab9</id>
<content type='text'>
This is a prerequisite to upcoming argument processing cleanups which
will resolve consistency as was done with ippool previously.

PR:		247952
MFC after:	1 week
</content>
</entry>
<entry>
<title>ipfilter: remove duplicate definition of 'thishost'</title>
<updated>2020-03-29T02:26:58Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-03-29T02:26:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0690ee732ae01493bc6b5c053808f79c22882a91'/>
<id>urn:sha1:0690ee732ae01493bc6b5c053808f79c22882a91</id>
<content type='text'>
thishost is already defined in lib/initparse.c; no need for this one. This
fixes the ipfilter build with -fno-common.

-fno-common will become the default in GCC10/LLVM11.

MFC after:	3 days
</content>
</entry>
<entry>
<title>As with ipf(8), give ippool(8) the ability to load IP pools from multiple</title>
<updated>2020-02-18T11:26:49Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2020-02-18T11:26:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9658b6b3f4f37d543575cebbca9f4ab5d4e77ced'/>
<id>urn:sha1:9658b6b3f4f37d543575cebbca9f4ab5d4e77ced</id>
<content type='text'>
files. This allows for loading, during the same invocation of ippool, of
multiple sources of input using multiple tools to concurrently maintain the
files such as fail2ban, macro preprocessors, and manually.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Implement the dynamic add (-A) and removal (-R) of ippool pools</title>
<updated>2019-09-27T00:29:12Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2019-09-27T00:29:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a97e8d2fe49304de1d9ea3c866dfbf6cce5aaa4b'/>
<id>urn:sha1:a97e8d2fe49304de1d9ea3c866dfbf6cce5aaa4b</id>
<content type='text'>
from the command line. Prior to this the functionality was mostly there
however since the pool type (-t) was not recognized by the -A and -R
command options -- not recognized by getopt(). Additionally the code to
implement the dynamic add and removal of pools didn't work.

When dynamically adding (-A) a pool a type (-t) to specify if the pool
is a tree or hash pool must  be specified. When dynamically removing (-R)
a pool, omitting -t will cause a search-and-destroy which will remove
both types of pools matching the name given (-m).

PR:		218433
MFC after:	1 week
</content>
</entry>
</feed>
