Today
Sun, Mar 23
Thank you for working on this! Can we add tests here?
Feb 27 2025
I vastly under appreciated that folks rely upon the ng_eiface not moving with the struct ifnet. Probably because I've been using them in jails for over a decade and only recently noticed myself.
I think I'll just accept my understanding is flawed now to save time and withdraw this. Thank you.
I do not like the plan. The picture drawn shows that a netgraph node in one vnet is connected to a node in a different vnet. This is basically a violation of the idea of vnet. Virtualized stacks should communicate with each other via network protocols, not kernel pointers. The only legal exclusion is epair(4). You may create a new netgraph node for your purpose - a node that is present in two vnets, that would be a second legal exclusion to the virtualization rule.
By design, moving an eiface ifnet from one vnet to another always implied that its netgraph node will remain attached in the parent vnet. This is not an omission or a mistake, but a well established mode of operation on which certain applications heavily depend on, and which this patch proposes to change, for reasons not clearly stated.
Jan 20 2025
yay!
Updated to compile and work with the new ifabi changes.
Jan 17 2025
Thanks for the heads up! Looking into it...
hi! I just tried compiling this on -HEAD (to land it today!) and it failed; it looks like you need to go adapt it to the iflib/ifnet changes (ie, that hid struct ifnet behind if_private.h.)
Jan 12 2025
Jan 10 2025
Integrate suggestions from Zhenlei Huang (zlei@); thank you!
@glebius: Also, Here is my github repo as you requested.
spmzt/freebsd-src/tree/ksocket_ipv6: D48204
Bump .Dd in ng_ksocket.4
update value from January 9, 2012 to January 9, 2025
Jan 9 2025
Also, any meaningful change to a manual page requires bumping the .Dd value at the beginning of the page to today's date.
The manpage changes look great to me!
Jan 8 2025
This change applies the rest of the changes suggested to the manual pages.
I'm so excited to test this driver this weekend! Thank you so much for submitting this! All of the suggestions I made are to bring it into alignment with the rest of the freebsd manual and are specified in the manual page style guide, style.mdoc(5). Sorry I'm so late.
This update to the diff brings:
Here's what I've got so far for the manual. I ordered some parts to test but they're not all here yet.
Ok, i'll wait for the SPDX addition and then if I don't get any other feedback I'll land it
I think it's fine as-is to go in the tree, it's been two years and I'd like to see this in before -15.
Dec 26 2024
Dec 25 2024
Dec 24 2024
Address feedback from lwhsu@; thanks!
Dec 23 2024
i could forsee someone writing something like a network manager plugin that doesn't specifically just want to call and parse shell output.
Where would it be reused?
(also nice work!)
out of curiousity - what do people think about extracting a bunch of code out of umbctl and stuffing it in a library that can be reused?