#
369245 |
|
09-Feb-2021 |
git2svn |
MFC 4cd1807c7d2a67b633dd0c0bfde15091543a2514:
Retire the K&R/STD C __P prototype declarations.
In the old days when K&R C and STD C were each in use a workaround (read hack) was required to allow the same code to work on each without modification. All C compilers support STD C. We can finally put the __P prototype to rest.
(cherry picked from commit 4cd1807c7d2a67b633dd0c0bfde15091543a2514)
Git Hash: 0c7a33852aa5cd28a9d9b19b8f8034d60a9cb50f Git Author: cy@FreeBSD.org
|
#
358321 |
|
25-Feb-2020 |
cy |
MFC r358064:
As with ipf(8), give ippool(8) the ability to load IP pools from multiple 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.
|
#
353094 |
|
04-Oct-2019 |
cy |
MFC r352786:
Implement the dynamic add (-A) and removal (-R) of ippool pools 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
|
#
353093 |
|
04-Oct-2019 |
cy |
MFC r352785:
The no resolve (OPT_NORESOLVE) does nothing. Additionally, it (-R) conflicts with the command option of the same name (also -R). Remove the superfluous and confusing non-global non-command -R option.
PR: 218433
|
#
353092 |
|
04-Oct-2019 |
cy |
MFC r322075:
loadpoolfile() implements a -R (NORESOLVE) option which is not listed in usage(). This commit trues up usage() with loadpoolfile().
|
#
353091 |
|
04-Oct-2019 |
cy |
MFC r320664:
Document supported poollist() (ippool -l) options in usage() and in ippool.8 man page.
|
#
353089 |
|
04-Oct-2019 |
cy |
MFC r320428:
In poolnodecommand() (ippool -a and ippool -r) -m (pool name) is not optional.
|
#
353088 |
|
04-Oct-2019 |
cy |
MFC r320221:
poolflush() has no positional arguments.
|
#
353087 |
|
04-Oct-2019 |
cy |
MFC r320187:
Fix -S handling within poolcommand(). Specifying a seed (-S) is only valid when adding a pool (ippool -A), not when removing a pool (ippool -R). It is a command line syntax error if specifying a seed (-S) is specified when emoving a pool (-R).
|
#
353086 |
|
04-Oct-2019 |
cy |
MFC r320143:
Flag poolnodecommand() (ippool -a and ippool -r) command line syntax errors.
|
#
353085 |
|
04-Oct-2019 |
cy |
MFC r320120:
poolcommand() (ippool -A and ippool -R) seed takes an argument.
|
#
353084 |
|
04-Oct-2019 |
cy |
MFC r320095:
Flag poolcommand() (ippool -A and ippool -R) command line syntax errors.
|
#
353083 |
|
04-Oct-2019 |
cy |
MFC r319930:
Chase r319848: remove -v option from getopt() call.
|
#
353082 |
|
04-Oct-2019 |
cy |
MFC r319929:
-n (do nothing) is not a commmand option.
|
#
353081 |
|
04-Oct-2019 |
cy |
MFC r319848:
-v (verbose) is not a command option. (See ippool.1 for a definition of command options).
|
#
353080 |
|
04-Oct-2019 |
cy |
MFC r319822:
Flag loadpoolfile() (ippool -f) command line syntax errors.
|
#
353079 |
|
04-Oct-2019 |
cy |
MFC r319821:
Identify poolstats() (ippool -s) command line syntax errors.
|
#
353078 |
|
04-Oct-2019 |
cy |
MFC r319820:
Identify command line syntax errors in poolflush() (ippool -F).
|
#
353077 |
|
04-Oct-2019 |
cy |
MFC r319810:
Remove redundant assignment of infile from optarg in loadpoolfile() which was previously assigned from optarg in the argument list from main().
|
#
353076 |
|
04-Oct-2019 |
cy |
MFC r319795:
Disable the -O (output fields) option in poollist() (ippool -l) for now. The option does not presently work. However, similar functions in ipfstat (for state) and ipnat (for nat) do work and provide outputs that can be easily parsed by shell scripts or subsequently loaded into CSV files. The intention here is to return to this option to make it work. I suspect the problem is in printpoolfields.c.
|
#
353075 |
|
04-Oct-2019 |
cy |
MFC r319794:
Flag poollist() (ippool -l) command line syntax errors.
|
#
353074 |
|
04-Oct-2019 |
cy |
MFC r319273:
Remove NORESOLVE (-R) option from poollist() (ippool -l). It is not used in poollist().
|
#
344833 |
|
06-Mar-2019 |
cy |
MFC r343701 & r343732:
ipfilter #ifdef cleanup.
Remove #ifdefs for ancient and irrelevant operating systems from ipfilter.
When ipfilter was written the UNIX and UNIX-like systems in use were diverse and plentiful. IRIX, Tru64 (OSF/1) don't exist any more. OpenBSD removed ipfilter shortly after the first time the ipfilter license terms changed in the early 2000's. ipfilter on AIX, HP/UX, and Linux never really caught on. Removal of code for operating systems that ipfilter will never run on again will simplify the code making it easier to fix bugs, complete partially implemented features, and extend ipfilter.
Unsupported previous version FreeBSD code and some older NetBSD code has also been removed.
What remains is supported FreeBSD, NetBSD, and illumos. FreeBSD and NetBSD have collaborated exchanging patches, while illumos has expressed willingness to have their ipfilter updated to 5.1.2, provided their zone-specific updates to their ipfilter are merged (which are of interest to FreeBSD to allow control of ipfilters in jails from the global zone).
Reviewed by: glebius@ Differential Revision: https://reviews.freebsd.org/D19006
|
#
318206 |
|
12-May-2017 |
cy |
MFC 317830:
Ifdef out a redundant if statement when INET6 is disabled.
|
#
318205 |
|
12-May-2017 |
cy |
Revert r318203: Neglected to put "MFC 318203:" in the log.
Pointy hat to: cy
|
#
318203 |
|
12-May-2017 |
cy |
Ifdef out a redundant if statement when INET6 is disabled.
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
288683 |
|
05-Oct-2015 |
ngie |
Revert r288682
I meant to do this on ^/user/ngie/more-tests
Pointyhat to: ngie (use svn info next time...)
|
#
281143 |
|
06-Apr-2015 |
glebius |
Stop including if_var.h from userland.
Sponsored by: Nginx, Inc.
|
#
255332 |
|
06-Sep-2013 |
cy |
Update ipfilter 4.1.28 --> 5.1.2.
Approved by: glebius (mentor) BSD Licensed by: Darren Reed <darrenr@reed.wattle.id.au> (author)
|
#
170268 |
|
04-Jun-2007 |
darrenr |
Merge IPFilter 4.1.23 back to HEAD See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
|
#
145630 |
|
28-Apr-2005 |
darrenr |
Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup build problems with rescue.
|
#
145519 |
|
25-Apr-2005 |
darrenr |
* Someone imported a lot of files with the wrong CVS tag, so lots of files need that fixed in them.... * Keep unnecessary files out of the non-vendor part of this CVS repository.
|
#
145511 |
|
25-Apr-2005 |
darrenr |
This commit was generated by cvs2svn to compensate for changes in r145510, which included commits to RCS files with non-trunk default branches.
|
#
145510 |
|
25-Apr-2005 |
darrenr |
import ipfilter 4.1.8 into the vendor branch
|