ld: error: undefined symbol: arp_ifinit
this issue is fixed in latest code in a commit last week https://github.com/freebsd/freebsd-src/commit/5684c8783b64e33f0dab058126b36776adcc8e82
ld: error: undefined symbol: arp_ifinit
this issue is fixed in latest code in a commit last week https://github.com/freebsd/freebsd-src/commit/5684c8783b64e33f0dab058126b36776adcc8e82
In D20967#934539, @bz wrote:
Can you please point to correct kernel config to be used?
updated the variable declaration and scope considering NO-INET, NO-INET6, NO-IP.
In D20967#934400, @bz wrote:Someone should do (at least) an amd64 universe build for this to make sure the NO-INET NO-INET6 NO-IP (do we still have that) builds are surviving.
- ident GENERIC + include LINT-NOINET + include LINT-NOINET6 + include LINT-NOIP + ident MYKERNEL
Someone should do (at least) an amd64 universe build for this to make sure the NO-INET NO-INET6 NO-IP (do we still have that) builds are surviving.
LGTM, but as I don't have a src bit I can't commit this. Anybody else willing to do that?
Melifaro's point about avoiding parsing in the kernel is a good one. What do you think could be improved here?
If you're going to change format, why not use tree, as it feels natural for sysctl. One existing example would be dev.pcm.<number> so following that, we could have security.mac.ipacl.<jid>.<rule> and .family and .address (or maybe .range) as leafs. It is not set in stone that it has to be like that, but given it's sysctl, it feels more natural to me, so please give it a thought. Also, as it is about jail, it would also feel more natural to have this tunables under security.jail.<jid>
The @ character is visually quite large and makes it hard to scan and read for a human.
Manual page LGTM now, will rereview once the source code is finalized.
Overall is a really nice addition and I'd love to have it in base. I have one concern on the rule import/export implementation - happy to discuss this further & left a couple of non-critical comments on the code.
Thank you for working on this!
Hi,
thanks for the comments.
I'll test my patch and wil apply the suggested changes in man page.
Thanks
In D20967#923964, @pauamma_gundo.com wrote:Some nits in the manual page, which can probably be fixed in a follow-up commit (with .Dd bumped) if the code still works.
Some nits in the manual page, which can probably be fixed in a follow-up commit (with .Dd bumped) if the code still works.
In D20967#632260, @dch wrote:This appears to have been accepted but not merged - it would be great to have it get into 13.0 if there's still time
In D20967#632260, @dch wrote:This appears to have been accepted but not merged - it would be great to have it get into 13.0 if there's still time
This appears to have been accepted but not merged - it would be great to have it get into 13.0 if there's still time
There's a couple of public IP(v6) addresses in the test scripts. We'd prefer not to have accidents with people. Can you please change them?
fix errors shown by mandoc -Tlint for mac_ipacl.4
fix the license and copyrights
Hi, @0mp thanks for the suggestion :).
You may also want to run mandoc -Tlint apart from igor. :)
Grat work on the cleanup; I think apart from the license there is very few minor nits left which are acceptable.
In D20967#456233, @shivank wrote:I have a few doubts:
- I'm not clear about the license, should the TrustedBSD be included? if yes, then how? Also, I have copied the sysctl_rules from mac_portacl, Is it infringing any copyright as of now? I've read BSD license is very open, can I mention the mac_portacl?
I have a few doubts:
fix style issues
fix copyright issue
Hey, thank you for all the updates. There are a few more. Please let me know when you think you are done with all of them and I'll have a full look again.
add #ifdef INET and #ifdef in INET6
fix indentation and style issues
add mac_ipacl entry in kernel conf and modules Makefile
Add copyright and license.
Add a man page for mac_ipacl
indentation and style changes,
moved subnet check code from rules_check to parser,
I think sys/security/mac_ipacl/design_notes.txt and sys/security/mac_ipacl/notes.txt can be removed. Should be turned into a man page really!?
correct the diff file