Dan McDonald via illumos-developer
2014-10-06 18:33:43 UTC
Back in the old days, this would merit an ARC case. It took me a couple of reading-the-man-page diffs and the review mail to understand it completely.
ANYWAY, on to the code...
usr/src/cmd/ipf/lib/common/load_hash.c
usr/src/cmd/ipf/lib/common/load_hashnode.c
usr/src/cmd/ipf/lib/common/load_pool.c
usr/src/cmd/ipf/lib/common/load_poolnode.c
usr/src/cmd/ipf/tools/Makefile.tools
usr/src/cmd/ipf/tools/ipfs.c
usr/src/cmd/ipf/tools/ipfstat.c
* Looks good, no comments needed.
usr/src/cmd/ipf/tools/ipf.c
usr/src/man/man1m/ipf.1m
usr/src/man/man1m/ipfs.1m
usr/src/man/man1m/ipfstat.1m
usr/src/man/man1m/ipmon.1m
usr/src/man/man1m/ipnat.1m
usr/src/man/man1m/ippool.1m
usr/src/cmd/ipf/tools/ipmon.c
usr/src/cmd/ipf/tools/ipnat.c
usr/src/cmd/ipf/tools/ippool.c
* I'm very disappointed that this one is different from the others. This may sound silly, but did you consider making all of the other commands behave like this one (zonename at the end, use or disuse of -G to determine with ngz ruleset)? I'm worried about UI consistency across the ipfilter commands, but perhaps I shouldn't be?
* This inconsistency is more problematic because other commands reference the "Zones" section in ipf(1M), which is the exception.
The following files will come in another mail, as I want to focus on their implementations, not their overall architecture.
usr/src/cmd/ipf/tools/ipfzone.c
usr/src/cmd/ipf/tools/ipfzone.h
usr/src/uts/common/inet/ipf/fil.c
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
usr/src/uts/common/inet/ipf/ip_log.c
usr/src/uts/common/inet/ipf/ip_state.c
usr/src/uts/common/inet/ipf/netinet/ip_fil.h
usr/src/uts/common/inet/ipf/netinet/ipf_stack.h
usr/src/uts/common/inet/ipf/solaris.c
usr/src/uts/intel/ipf/ipf.global-objs.debug64
usr/src/uts/sparc/ipf/ipf.global-objs.debug64
Dan
-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175072-86d49504
Modify Your Subscription: https://www.listbox.com/member/?member_id=21175072&id_secret=21175072-abdf7b7e
Powered by Listbox: http://www.listbox.com
ANYWAY, on to the code...
usr/src/cmd/ipf/lib/common/load_hash.c
usr/src/cmd/ipf/lib/common/load_hashnode.c
usr/src/cmd/ipf/lib/common/load_pool.c
usr/src/cmd/ipf/lib/common/load_poolnode.c
usr/src/cmd/ipf/tools/Makefile.tools
usr/src/cmd/ipf/tools/ipfs.c
usr/src/cmd/ipf/tools/ipfstat.c
* Looks good, no comments needed.
usr/src/cmd/ipf/tools/ipf.c
usr/src/man/man1m/ipf.1m
usr/src/man/man1m/ipfs.1m
usr/src/man/man1m/ipfstat.1m
usr/src/man/man1m/ipmon.1m
usr/src/man/man1m/ipnat.1m
usr/src/man/man1m/ippool.1m
usr/src/cmd/ipf/tools/ipmon.c
usr/src/cmd/ipf/tools/ipnat.c
usr/src/cmd/ipf/tools/ippool.c
* I'm very disappointed that this one is different from the others. This may sound silly, but did you consider making all of the other commands behave like this one (zonename at the end, use or disuse of -G to determine with ngz ruleset)? I'm worried about UI consistency across the ipfilter commands, but perhaps I shouldn't be?
* This inconsistency is more problematic because other commands reference the "Zones" section in ipf(1M), which is the exception.
The following files will come in another mail, as I want to focus on their implementations, not their overall architecture.
usr/src/cmd/ipf/tools/ipfzone.c
usr/src/cmd/ipf/tools/ipfzone.h
usr/src/uts/common/inet/ipf/fil.c
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
usr/src/uts/common/inet/ipf/ip_log.c
usr/src/uts/common/inet/ipf/ip_state.c
usr/src/uts/common/inet/ipf/netinet/ip_fil.h
usr/src/uts/common/inet/ipf/netinet/ipf_stack.h
usr/src/uts/common/inet/ipf/solaris.c
usr/src/uts/intel/ipf/ipf.global-objs.debug64
usr/src/uts/sparc/ipf/ipf.global-objs.debug64
Dan
-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175072-86d49504
Modify Your Subscription: https://www.listbox.com/member/?member_id=21175072&id_secret=21175072-abdf7b7e
Powered by Listbox: http://www.listbox.com