Page MenuHomeFreeBSD

GSoC AdminsGroup
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Recent Activity

Jul 26 2023

bz closed D20967: new MAC policy module - mac_ipacl.
Jul 26 2023, 12:12 AM · GSoC Students, GSoC Admins

Jul 17 2023

shivank added a comment to D20967: new MAC policy module - mac_ipacl.

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

Jul 17 2023, 11:30 AM · GSoC Students, GSoC Admins

Jul 16 2023

shivank added a comment to D20967: new MAC policy module - mac_ipacl.
In D20967#934539, @bz wrote:
Jul 16 2023, 9:35 PM · GSoC Students, GSoC Admins
bz added a comment to D20967: new MAC policy module - mac_ipacl.

Can you please point to correct kernel config to be used?

Jul 16 2023, 1:36 PM · GSoC Students, GSoC Admins
shivank updated the diff for D20967: new MAC policy module - mac_ipacl.

updated the variable declaration and scope considering NO-INET, NO-INET6, NO-IP.

Jul 16 2023, 10:58 AM · GSoC Students, GSoC Admins

Jul 15 2023

shivank added a comment to D20967: new MAC policy module - mac_ipacl.
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
Jul 15 2023, 9:12 PM · GSoC Students, GSoC Admins
bz added a comment to D20967: new MAC policy module - mac_ipacl.

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.

Jul 15 2023, 4:40 PM · GSoC Students, GSoC Admins
dch accepted D20967: new MAC policy module - mac_ipacl.

LGTM, but as I don't have a src bit I can't commit this. Anybody else willing to do that?

Jul 15 2023, 10:15 AM · GSoC Students, GSoC Admins

Jul 8 2023

shivank added a comment to D20967: new MAC policy module - mac_ipacl.

Melifaro's point about avoiding parsing in the kernel is a good one. What do you think could be improved here?

Jul 8 2023, 9:20 PM · GSoC Students, GSoC Admins
shivank updated the diff for D20967: new MAC policy module - mac_ipacl.
  • Implemented recommended changes
  • Made style changes
  • modifed the rules_check function to traverse the list in reverse order and stop when first applicable rule (matching IP address) is found. Since, rules defined later determine have higer priority, checking last matching rule is enough.
Jul 8 2023, 8:46 PM · GSoC Students, GSoC Admins

Jul 6 2023

meka_tilda.center added a comment to D20967: new MAC policy module - mac_ipacl.

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>

Jul 6 2023, 5:06 PM · GSoC Students, GSoC Admins
dch requested changes to D20967: new MAC policy module - mac_ipacl.

The @ character is visually quite large and makes it hard to scan and read for a human.

Jul 6 2023, 10:36 AM · GSoC Students, GSoC Admins

Jul 3 2023

pauamma_gundo.com added a comment to D20967: new MAC policy module - mac_ipacl.

Manual page LGTM now, will rereview once the source code is finalized.

Jul 3 2023, 12:21 AM · GSoC Students, GSoC Admins

Jul 2 2023

melifaro added a comment to D20967: new MAC policy module - mac_ipacl.

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!

Jul 2 2023, 11:10 AM · GSoC Students, GSoC Admins
melifaro added inline comments to D20967: new MAC policy module - mac_ipacl.
Jul 2 2023, 11:09 AM · GSoC Students, GSoC Admins

Jul 1 2023

shivank updated the diff for D20967: new MAC policy module - mac_ipacl.
  • rebased the code on top of latest src changes
  • made changes to man page as suggested in comments
Jul 1 2023, 6:10 PM · GSoC Students, GSoC Admins

Jun 19 2023

shivank added a comment to D20967: new MAC policy module - mac_ipacl.

Hi,
thanks for the comments.
I'll test my patch and wil apply the suggested changes in man page.
Thanks

Jun 19 2023, 6:05 AM · GSoC Students, GSoC Admins
editor_callfortesting.org added a comment to D20967: new MAC policy module - mac_ipacl.

Some nits in the manual page, which can probably be fixed in a follow-up commit (with .Dd bumped) if the code still works.

Jun 19 2023, 5:34 AM · GSoC Students, GSoC Admins

Jun 16 2023

pauamma_gundo.com added a comment to D20967: new MAC policy module - mac_ipacl.

Some nits in the manual page, which can probably be fixed in a follow-up commit (with .Dd bumped) if the code still works.

Jun 16 2023, 11:08 PM · GSoC Students, GSoC Admins

Jun 14 2023

editor_callfortesting.org added a comment to D20967: new MAC policy module - mac_ipacl.
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

Jun 14 2023, 10:48 PM · GSoC Students, GSoC Admins

Jan 21 2021

shivank added a comment to D20967: new MAC policy module - mac_ipacl.
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

Jan 21 2021, 11:31 AM · GSoC Students, GSoC Admins
dch added a comment to D20967: new MAC policy module - mac_ipacl.

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

Jan 21 2021, 10:05 AM · GSoC Students, GSoC Admins

Aug 19 2019

D20967: new MAC policy module - mac_ipacl is now accepted and ready to land.
Aug 19 2019, 1:22 PM · GSoC Students, GSoC Admins

Aug 9 2019

shivank updated the diff for D20967: new MAC policy module - mac_ipacl.
Aug 9 2019, 6:54 PM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.
  • correct the IP addresses which were not in the documentation range
Aug 9 2019, 5:42 PM · GSoC Students, GSoC Admins
bz added a comment to D20967: new MAC policy module - mac_ipacl.

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?

Aug 9 2019, 8:53 AM · GSoC Students, GSoC Admins

Aug 6 2019

shivank added a comment to D20967: new MAC policy module - mac_ipacl.
  • add ipacl entry in tests Makefile
  • fix minor issues in mac_ipacl.4
Aug 6 2019, 4:26 PM · GSoC Students, GSoC Admins

Aug 3 2019

shivank updated the diff for D20967: new MAC policy module - mac_ipacl.
Aug 3 2019, 9:43 AM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.
  • make tests more structured with atf
  • update man page mac_ipacl.4
Aug 3 2019, 9:29 AM · GSoC Students, GSoC Admins

Jul 31 2019

shivank added a comment to D20967: new MAC policy module - mac_ipacl.

fix errors shown by mandoc -Tlint for mac_ipacl.4
fix the license and copyrights

Jul 31 2019, 7:17 PM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.

Hi, @0mp thanks for the suggestion :).

Jul 31 2019, 6:54 PM · GSoC Students, GSoC Admins
0mp added a comment to D20967: new MAC policy module - mac_ipacl.

You may also want to run mandoc -Tlint apart from igor. :)

Jul 31 2019, 3:42 PM · GSoC Students, GSoC Admins

Jul 30 2019

bz added inline comments to D20967: new MAC policy module - mac_ipacl.
Jul 30 2019, 10:59 PM · GSoC Students, GSoC Admins

Jul 28 2019

shivank added a comment to D20967: new MAC policy module - mac_ipacl.
  • move man page to its right place
Jul 28 2019, 7:01 PM · GSoC Students, GSoC Admins

Jul 25 2019

shivank added inline comments to D20967: new MAC policy module - mac_ipacl.
Jul 25 2019, 1:56 PM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.
  • Correct the license file for mac_ipacl.c and mac_ipacl.4
  • fix Kyua for test shell scripts
  • fix errors in mac_ipacl.4 man page
Jul 25 2019, 1:52 PM · GSoC Students, GSoC Admins

Jul 24 2019

bz added a comment to D20967: new MAC policy module - mac_ipacl.

Grat work on the cleanup; I think apart from the license there is very few minor nits left which are acceptable.

Jul 24 2019, 1:34 PM · GSoC Students, GSoC Admins

Jul 22 2019

bz added a comment to D20967: new MAC policy module - mac_ipacl.

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?
Jul 22 2019, 2:11 PM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.

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?
  • should #ifdef INET/INET6 be put in mac_policy.h and mac_framework.h?
  • after adding INET/INET6 in mac_ipacl, kyua stopped working for test scripts. It gives errors as "ip4_test:main -> broken: Received signal 6 [0.033s] ip6_test:main -> broken: Received signal 6 [0.032s]" As scripts they are testing fine.
Jul 22 2019, 1:14 PM · GSoC Students, GSoC Admins
Herald added a reviewer for D20967: new MAC policy module - mac_ipacl: manpages.

fix style issues
fix copyright issue

Jul 22 2019, 12:54 PM · GSoC Students, GSoC Admins
D20967: new MAC policy module - mac_ipacl now requires changes to proceed.

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.

Jul 22 2019, 10:36 AM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.

add #ifdef INET and #ifdef in INET6
fix indentation and style issues
add mac_ipacl entry in kernel conf and modules Makefile

Jul 22 2019, 7:41 AM · GSoC Students, GSoC Admins

Jul 19 2019

shivank added a comment to D20967: new MAC policy module - mac_ipacl.

Add copyright and license.
Add a man page for mac_ipacl

Jul 19 2019, 6:49 PM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.

indentation and style changes,
moved subnet check code from rules_check to parser,

Jul 19 2019, 7:52 AM · GSoC Students, GSoC Admins
shivank added inline comments to D20967: new MAC policy module - mac_ipacl.
Jul 19 2019, 7:23 AM · GSoC Students, GSoC Admins

Jul 17 2019

bz added a comment to D20967: new MAC policy module - mac_ipacl.

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!?

Jul 17 2019, 10:42 AM · GSoC Students, GSoC Admins

Jul 16 2019

shivank updated the diff for D20967: new MAC policy module - mac_ipacl.
Jul 16 2019, 10:09 AM · GSoC Students, GSoC Admins
shivank added a comment to D20967: new MAC policy module - mac_ipacl.

correct the diff file

Jul 16 2019, 9:57 AM · GSoC Students, GSoC Admins
shivank created D20967: new MAC policy module - mac_ipacl.
Jul 16 2019, 9:49 AM · GSoC Students, GSoC Admins