User Details
- User Since
- Jun 4 2019, 2:01 PM (360 w, 7 h)
Thu, Apr 23
Tue, Apr 21
Cross referencing vendor PR https://github.com/openbsm/openbsm/pull/88
Mon, Apr 20
So.. I went down a wild rabbit hole here. len is int here becauase for some
reason we used int for all the fetch_*(3) functions. Upon deeper analysis:
Sun, Apr 19
I will open a PR to fix au_to_sock_inet128() upstream as well. Thanks for catching this
Yes I see the problem.. ADD_U_INT16 calls be16enc(), which assumes the input value is in host byte order and converts it to big-endian. However, sin6_port is already stored in network byte order (big-endian). On a little-endian system (like x86 or ARM), the CPU interprets those bytes as a byte-swapped integer, and then be16enc swaps them again. We just need a memcpy here.
a few years late to the party here but have you tested this?
Mon, Mar 30
Nov 19 2025
Whoops -- my face is sure red over here! good catch
Nov 10 2025
Nov 8 2025
thank you
Jan 11 2021
This looks promising. I would like to test it out, but I think it looks good.
Dec 13 2020
Oct 31 2020
Thanks @gbe I have merged this PR upstream btw
Oct 25 2020
This looks ok at first glance, bu we need to make sure there is no conflicts with upstream. I can do this
@gbe can you submit a PR upstream to the openbsm project as well?
Oct 24 2020
+1
Otherwise +1 from me
Oct 15 2020
SOCK_RAW is still used by other subsystems, e.g. configuring firewalls rules among other things. This is the main reason raw sockets were restricted within jails in the first place. I am not seeing how this patch protects other subsystems.
Jul 28 2020
Working on this right now BTW, just waiting for CI to finish
Jul 22 2020
I will take care of this commit. I thought this was done already
Jul 1 2020
I am ok with this diff.
Jun 23 2020
May 21 2020
May 16 2020
May 15 2020
May 9 2020
Apr 20 2020
Apr 16 2020
Mar 30 2020
Mar 3 2020
Mar 2 2020
Mar 1 2020
Looks good to me
Looks perfectly reasonable to me.
Feb 29 2020
Feb 28 2020
Break out the switch case statements for the new syscalls
Feb 24 2020
Feb 20 2020
Feb 19 2020
Sep 3 2019
Jun 7 2019
- Fix comment
