Page MenuHomeFreeBSD

bms (Bruce Simpson)
User

Projects

User Details

User Since
Jul 27 2015, 12:55 PM (557 w, 2 d)

Recent Activity

Today

bms updated subscribers of D56205: netstat: Add -F support for -g.
Wed, Apr 1, 2:47 AM
bms added a comment to D56205: netstat: Add -F support for -g.

markj has been working to make MROUTING multi-FIB.

Wed, Apr 1, 2:46 AM

Yesterday

bms added a comment to D55631: axge: fix spurious link down from MII, frozen TX.
In D55631#1284650, @bms wrote:

I was able to obtain an axge(4) compatible USB3 adapter for ~6GBP from Amazon.

Is the chipset ax88279? If so, could you send me the link to the product so
I can buy one? Thanks.

Tue, Mar 31, 1:56 PM · USB, network

Mon, Mar 30

bms added a comment to D56168: compat/linux: map TCP_USER_TIMEOUT sockopt into TCP_MAXUNACKTIME.

OT: I have an item to look at TCP_QUICKACK like Nagle suggested as per my DevSummit workplan

Mon, Mar 30, 9:41 PM
bms added a comment to D56115: stand/efi: retrieving and printing the boot count.

So we've seen functions grow new errors over time, or some implementations return other errors for reasons that were consistent with the standard, but maybe not one of the ones listed.

Yeah that makes a lot of sense, best to be future proof.

Mon, Mar 30, 1:33 PM
bms added a comment to D55449: nd6: Add support for route information (RFC 4191).

+1 for doing this, but I have not reviewed code (yet).

Mon, Mar 30, 1:14 PM
bms updated subscribers of D55631: axge: fix spurious link down from MII, frozen TX.

I was able to obtain an axge(4) compatible USB3 adapter for ~6GBP from Amazon.

Mon, Mar 30, 1:13 PM · USB, network

Sun, Mar 29

bms added a comment to D53472: Add loader support for xhci debug.

TL;DR Not functional under KVM passthrough of either ThinkPad P14s xHCI node.

Sun, Mar 29, 7:05 PM

Sat, Mar 28

bms added a comment to D56115: stand/efi: retrieving and printing the boot count.

I concur with @imp 's point.

Sat, Mar 28, 10:48 AM

Fri, Mar 27

bms added a comment to D56115: stand/efi: retrieving and printing the boot count.

Could use @imp eyes on this later but looks pretty straightforward.

Fri, Mar 27, 11:57 PM
bms added a comment to D56115: stand/efi: retrieving and printing the boot count.

Comments inline. +10 points for joining us on Phabricator.

Fri, Mar 27, 11:01 PM

Tue, Mar 24

bms added a comment to D38362: pcb: Move an assignment into in_pcbdisconnect().

Er, chaps, there is RFC 9622 to digest, the end of the BSD sockets API as we know it perhaps.

Tue, Mar 24, 9:51 PM

Mon, Mar 23

bms added a comment to D56052: in6_mcast: Acquire ref to ifp and exit epoch earlier in sysctl.

No objection to using netlink instead of sysctl for retrieving group state in principle.

Mon, Mar 23, 7:36 PM

Sat, Mar 21

bms added a comment to D53472: Add loader support for xhci debug.
In D53472#1281146, @bms wrote:

Any hints about how to expedite a loader build with this in the tree? It would require building a USB image?

Sat, Mar 21, 4:11 PM
bms added a comment to D53472: Add loader support for xhci debug.
In D53472#1281160, @imp wrote:
In D53472#1281146, @bms wrote:

I can point the EFI MonotonicCounter GSoC volunteer here for hints, I did not see how to pass things from loader to kernel in a more structured way being one of the older BIOS generation folk.

file_addmetadata(kfp, MODINFOMD_FW_HANDLE, sizeof(ST), &ST);

Is how it's done. You define a new MODINFOMD_xxxx and you pass it from the loader... The kernel reads with

Sat, Mar 21, 4:07 PM
bms added a comment to D53472: Add loader support for xhci debug.

OK, my SIIG cable arrived, and I have yet to test with it. I'll plug in via a hub for safety at first, and to test with udbc(4) as the client end (I used to use udbp(4) for this way back when), I'll need to pass through a USB device in KVM to my FreeBSD VMs, which at libvirt level requires an XML edit and restart.

Sat, Mar 21, 2:04 PM

Thu, Mar 19

bms added a comment to D53516: Update ip_ecn to RFC 6040.

We are probably fine here.

Thu, Mar 19, 9:00 AM

Mon, Mar 16

bms added a comment to D55884: routing: remove ROUTE_MPATH compile option.

+1 vote for just doing this, all the RIBs built on top of modern FreeBSD FIB need to change with it anyway.

Mon, Mar 16, 7:38 PM

Wed, Mar 11

bms added a comment to D55804: carp: retire ioctl(2) API.

OT: carp(4) could do with being refactored to use HMAC from opencrypto rather than rolling its own.

Wed, Mar 11, 10:38 AM

Tue, Mar 10

bms added a comment to D55777: ng_eiface: protect private data from ioctl access.

if_epair looks suspicious. I will verify ifmedia protection on other interfaces right now.

Tue, Mar 10, 7:45 PM
Herald added a reviewer for D36909: Import the WireGuard driver from zx2c4.com.: pouria.
Tue, Mar 10, 9:26 AM

Mon, Mar 9

bms added a comment to D55229: nd6: Add support for Optimistic DAD (RFC 4429).

LGTM. I am not overly familiar with DAD though but it got touched during the MLDv2 import due to its wide use of solicited-node multicast addresses.

Mon, Mar 9, 5:41 PM
bms added a comment to D55141: ndp: implement delayed anycast and proxy NA.

LGTM

Mon, Mar 9, 5:28 PM
bms added inline comments to D55141: ndp: implement delayed anycast and proxy NA.
Mon, Mar 9, 4:59 PM

Thu, Mar 5

bms added inline comments to D55663: netinet6: Add ip6_hdr_pseudo{} to ip6.h; diff reduce and apply..
Thu, Mar 5, 2:21 AM

Wed, Mar 4

bms added a comment to D55663: netinet6: Add ip6_hdr_pseudo{} to ip6.h; diff reduce and apply..

https://sourcegraph.com/r/github.com/NetBSD/src@fa6492c255d21e5cf54f55623aa7146c0652e1dd/-/blob/sys/netinet/ip6.h?L121:8-121:22
https://sourcegraph.com/r/github.com/openbsd/src@773346f9ab1e2d6d0bef5b5f2019c0df58d4ed68/-/blob/sys/netinet/ip6.h?L116:8-116:22
https://github.com/freebsd/freebsd-legacy/commit/3e306683756b8ad0f110d8c3318a914ccd9d9006

Wed, Mar 4, 11:13 PM
bms requested review of D55663: netinet6: Add ip6_hdr_pseudo{} to ip6.h; diff reduce and apply..
Wed, Mar 4, 11:11 PM

Mar 1 2026

bms added inline comments to D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Mar 1 2026, 4:10 PM
bms updated subscribers of D55602: Pouria's geneve report for Status/2026Q.

Any plans to add stateless offload support as has been done by @np for vxlan(4) ?

Mar 1 2026, 12:50 PM
bms updated the summary of D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Mar 1 2026, 9:52 AM
bms updated subscribers of D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..

@ae: Do I have you confused with @ache ? It appears I do.

Mar 1 2026, 9:52 AM

Feb 28 2026

bms updated the summary of D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Feb 28 2026, 11:54 PM
bms requested review of D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Feb 28 2026, 11:52 PM

Feb 27 2026

Herald added a reviewer for D29563: Remove kgmon(8): andrew.
Feb 27 2026, 4:18 PM
bms added a comment to D55545: libpcap: Update to 1.10.6.
In D55545#1271210, @bms wrote:

There is very little left to roll custom wrappers for in PCS at the moment in its pcap_ex.c file; most of it can now be merged to the pcap.pyx Cython file natively...

Feb 27 2026, 1:18 PM
bms updated subscribers of D55545: libpcap: Update to 1.10.6.
In D55545#1270945, @bms wrote:

If you're dealing with tcpdump as well, vendorizing ILNP support would be very useful to @rgrimes and myself, if you can spare the cycles.

Feb 27 2026, 9:17 AM
bms added a comment to D55545: libpcap: Update to 1.10.6.

I don't feel myself expert enough to neither endorse or veto the update. In general I am of course in favor of being up to date with this library.

My changes related to new BPF ioctls and obsoleting USB-ifnet were fully upstreamed and followup fixes upstream were brought back to our tree. There should be no difference to upstream left.

Feb 27 2026, 9:16 AM
bms added a comment to D55558: fix global demotion counter to VRRP advertisements.

Just my 2c: I think we should be discouraging users from implementing CARP at all. The political history of CARP is contentious because of the patent rights Cisco had around VRRP which caused the OpenBSD developers to implement CARP in the first place. Tony Li was willing to work from within Cisco to ensure the patent was freely licensed to the OpenBSD guys, but they were not willing to work with him, so we got two protocols which collide when used on the same LAN segment. These days the patents surrounding VRRP have either expired or been once again freely granted, to the best of my knowledge, and as @olivier is probably well aware. There are also technical reasons for choosing one over the other (mostly to do with broadcast vs multicast), and CARP wound up being a garden rake on the floor when I was merging IGMPv3 and MLDv2 back in the late 00s. So it is no wonder projects like HAProxy have chosen to go the VRRP route.

Feb 27 2026, 9:04 AM

Feb 26 2026

bms updated subscribers of D55545: libpcap: Update to 1.10.6.

If you're dealing with tcpdump as well, vendorizing ILNP support would be very useful to @rgrimes and myself, if you can spare the cycles.

Feb 26 2026, 10:17 PM
bms added a comment to D55545: libpcap: Update to 1.10.6.

What a coincidence, I am resurrecting a major consumer of libpcap.

Feb 26 2026, 10:16 PM
bms added a comment to D53484: Remove RIP and RIPng.

TL;DR I concur with removal.

Feb 26 2026, 12:19 PM

Feb 25 2026

bms added a comment to D48646: Virtualise if_vxlan.

I am fond of Ivan Pepelnjak's use of the term "lemming run". I am tracking VXLAN as it was called out in my PhD Ch7 as a means of extending the architecture I proposed there to distributed sites.

Feb 25 2026, 1:04 PM
bms added a comment to D53484: Remove RIP and RIPng.

Full disclosure: I was the maintainer of vendorized import of routed in FreeBSD for many years, and loosely touched the xorp_rip/xorp_ripng routing processes during tenure at ICSI and XORP, Inc.

Feb 25 2026, 11:28 AM

Feb 24 2026

bms added a comment to D31675: if_bridge: add ALTQ support.

This looks like a reasonable jumping-off point for implementing IGMP/MLD snooping in if_bridge(4) as a JKH exercise.

Feb 24 2026, 12:07 PM
bms added a comment to D55454: sctp: fix so_proto when peeling off a socket .
In D55454#1268412, @rrs wrote:

I dislike the term "hallucinated" since no, this is not a hallucination it is the AI LLM failing to read/interpret and build correct code. It's why AI is currently inferior. If I were
to write a bunch of code assuming that something existed because I did not bother to look at what I was writing to you would call that poor developer skills as
well as poor coding skills. With AI we say it "hallucinated", which is a crock, it just showed us its a poor developer with poor coding skills :-o

Feb 24 2026, 12:27 AM
bms added a comment to D55454: sctp: fix so_proto when peeling off a socket .

How would you handle the assoc_id for one-to-many style sockets? Also provide that in sockstat? How did it handle the fact that most IPPROTO_SCTP-level socket options have a struct as the option value?

Feb 24 2026, 12:22 AM

Feb 23 2026

bms added a comment to D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC.

OT: I just scheduled an Amazon.co.uk return of an RK3399 based system, because the seller didn't provide the required accessories (case, PSU, MicroSD boot media, and HDMI-C cabling). What I actually wanted/needed was a BeagleBone Black, as IEEE 1588 is what I'm turning up...

Feb 23 2026, 10:57 AM · arm64
bms added a comment to D55454: sctp: fix so_proto when peeling off a socket .

Any plans to add gencnt to SCTP sockets?

Feb 23 2026, 9:21 AM

Feb 22 2026

bms updated subscribers of D55410: tcp: improve validation of received TCP over UDP packets.

I agree on @pouria's comment.

A __predict_false makes sense in the IPv6 case as well.

Feb 22 2026, 12:51 PM
Herald added a reviewer for D16732: arm64/rockchip: add RK3399 support: andrew.
Feb 22 2026, 3:25 AM · arm64
Herald added a reviewer for D19335: Add USB 3.0 support for Rockchip RK3328/RK3399 SoC: andrew.
Feb 22 2026, 3:25 AM · arm64

Feb 19 2026

bms added a comment to D55382: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al..

There seems to be significant demand from the user base for this "feature", probably because the OpenJDK is the main consumer of it, and it is doing something in-kernel that the OpenJDK socket shims handled themselves historically anyway.

Feb 19 2026, 9:07 PM
bms added a comment to D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Please check that this compiles properly with possible combinations INET, INET6, INET & INET6. It looks to be as if your using INET to protect INET6 only code.

Um, probably wrong on that, as these files well not be pulled in unless compiling INET6

Feb 19 2026, 8:54 PM
bms added a comment to D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr()..

Something smells off to me about in_ifprimaryaddr(), like not pre-emptively setting ifa to NULL. Sorry, distracted with all this git and git arc nonsense.

Feb 19 2026, 8:49 PM
bms updated the summary of D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Feb 19 2026, 7:36 PM
bms updated the diff for D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Correctly claim authorship.

Feb 19 2026, 7:34 PM
bms added a reviewer for D55382: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al.: network.
Feb 19 2026, 7:31 PM
bms requested review of D55382: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al..
Feb 19 2026, 7:29 PM
bms added a comment to D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..

Implementing source-address selection for IPv4 should be delegated to GenAI or JKH.

Feb 19 2026, 7:15 PM
bms updated the diff for D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..

Rebase

Feb 19 2026, 7:10 PM
bms updated the diff for D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Rebase

Feb 19 2026, 7:10 PM
bms retitled D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr(). from netinet: Promote IFP_TO_IA() from macro to function in_primaryaddr(). to netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr()..
Feb 19 2026, 5:35 PM
bms retitled D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA(). from netinet: Use in_primaryaddr() in place of IFP_TO_IA(). to netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..
Feb 19 2026, 5:35 PM
bms added a comment to D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..

I chose in_ifprimaryaddr() because it's less typing and consistent
with in_ifhasaddr(), and moved its body after that function.

Feb 19 2026, 5:32 PM
bms updated the diff for D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr()..

Rebase

Feb 19 2026, 5:27 PM
bms updated the diff for D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..

Rebase

Feb 19 2026, 5:26 PM

Feb 18 2026

bms added a comment to D34139: tcpsso, a tool to set socket options for TCP endpoints via the command line.
In D34139#1266200, @bms wrote:

TCP_NODELAY is missing from the man page (15.0p3).

The man page lists only some examples. tcpsso recognizes much more socket option names...

Feb 18 2026, 9:30 PM
bms added a comment to D34139: tcpsso, a tool to set socket options for TCP endpoints via the command line.

TCP_NODELAY is missing from the man page (15.0p3).

Feb 18 2026, 5:43 PM
bms updated the summary of D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Feb 18 2026, 1:05 PM
bms added a reviewer for D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr().: network.
Feb 18 2026, 10:57 AM
bms added a reviewer for D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA().: network.
Feb 18 2026, 10:57 AM
bms requested review of D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..
Feb 18 2026, 10:39 AM
bms requested review of D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr()..
Feb 18 2026, 10:39 AM

Feb 16 2026

bms added a comment to D49681: Implement IPv6 RFC 7217.

Another area of potential overlap with RFC 6740+ ILNP identifier space management.

Feb 16 2026, 6:01 PM
bms updated subscribers of D54382: MFC sys/netinet6: Implement RFC 7217 (private stable addresses).

Heads up warning: these code paths are very likely to be touched by an ILNPv6 merge (RFC 6740 and up). @rgrimes and I need to have a chat first.

Feb 16 2026, 5:38 PM
bms added a comment to D54603: ip_mroute: Convert to using a regular mutex.

Directly modifying the code to use atomic operations might help, so long as different CPUs aren't frequently contending to update the same counter. The per-VIF counters would probably be better-served by being converted to counter(9).

Feb 16 2026, 5:35 PM
bms added a comment to D54603: ip_mroute: Convert to using a regular mutex.

Wouldn't atomics be more appropriate for higher PPS yield?

Feb 16 2026, 5:10 PM

Feb 14 2026

bms committed rG79eff4ad64fc: netinet6: Return EAFNOSUPPORT for non-IPv6 addresses in mcast sockopts. (authored by bms).
netinet6: Return EAFNOSUPPORT for non-IPv6 addresses in mcast sockopts.
Feb 14 2026, 4:04 PM
bms closed D55233: netinet6: Return EAFNOSUPPORT for non-IPv6 addresses in mcast sockopts..
Feb 14 2026, 4:04 PM

Feb 13 2026

bms committed R9:df27c83675be: Update FreeBSD public key to use my new personal Yubikey 5 NFC. (authored by bms).
Update FreeBSD public key to use my new personal Yubikey 5 NFC.
Feb 13 2026, 11:59 PM
bms added a comment to D55266: multicast(4): Fix disabling multicast forwarding.

Been spring-cleaning my cluster home directory, as I only regained access for the first time in nearly 10 years this morning UK time. This commit probably has some relevant history lessons.

Feb 13 2026, 6:36 PM
bms added a comment to D13356: New ufdformat(1) utility.
In D13356#1263785, @cy wrote:

Send an email to my FreeBSD.org email address.

Feb 13 2026, 11:29 AM
bms added a comment to D55267: ndp: Simplify and breakdown nd6_ra_input().

I'm working on refactoring union nd_opts.
The current data structure doesn't scale well with new options.
Considering the type number of ILNPv6 Locator Update Message, we would end up with a BIG data structure. For example:

...

@bms, I would appreciate any input/review you have on these changes.

Feb 13 2026, 10:05 AM
bms added a comment to D55267: ndp: Simplify and breakdown nd6_ra_input().

I should also point out that in my final experiment chapter of my PhD thesis, I outlined a scheme for distributed site border router (dSBR) operation in FreeBSD, which implements a hot-standby scheme for ILNP on-path SBRs, using a dedicated ilnpsync interface driver very loosely modeled on pfsync.

Feb 13 2026, 2:33 AM
bms added a comment to D55267: ndp: Simplify and breakdown nd6_ra_input().

In my original code drop for ILNP -- which I am currently retrieving from St Andrews remotely due to catastrophic loss of my original copies of my own artefacts -- the ILCC at a site border router (SBR) learns of available network locators by listening to its own IPv6 RAs.

Feb 13 2026, 2:27 AM
bms added inline comments to D55236: ip_mroute: Make the routing socket private.
Feb 13 2026, 2:12 AM

Feb 12 2026

bms updated subscribers of D41705: release: Integrate mfsBSD image build targets into the release tool set.
Feb 12 2026, 5:21 PM
bms added a comment to D41705: release: Integrate mfsBSD image build targets into the release tool set.
In D41705#1263606, @bms wrote:

The closest thing I can find is wy-z/docker-cobbler for 3.3 on GitHub; this lags behind 4 minor-minors, the current release is 3.3.7, but I will give it a try.

Feb 12 2026, 5:13 PM
Herald added a reviewer for D34192: release: Don't install ubldr.bin: andrew.
Feb 12 2026, 1:19 PM

Feb 11 2026

bms updated subscribers of D41705: release: Integrate mfsBSD image build targets into the release tool set.
In D41705#1262135, @bms wrote:

...I guess I am looking for a Docker image to easily stage Cobbler on my home lab LAN now.

Feb 11 2026, 11:15 PM

Feb 10 2026

bms added a comment to D13356: New ufdformat(1) utility.
In D13356#1262904, @cy wrote:

Imported into my GIT repo. I will review the code and make any changes needed to get it working again.

Feb 10 2026, 9:09 PM
bms added inline comments to D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Feb 10 2026, 8:56 PM
bms updated the summary of D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Feb 10 2026, 8:54 PM
bms updated the summary of D55233: netinet6: Return EAFNOSUPPORT for non-IPv6 addresses in mcast sockopts..
Feb 10 2026, 8:53 PM
bms requested review of D55233: netinet6: Return EAFNOSUPPORT for non-IPv6 addresses in mcast sockopts..
Feb 10 2026, 8:50 PM

Feb 9 2026

bms added a member for Loader: bms.
Feb 9 2026, 10:11 PM
bms added a member for transport: bms.
Feb 9 2026, 10:11 PM
bms added a member for network: bms.
Feb 9 2026, 10:11 PM
bms added a watcher for Loader: bms.
Feb 9 2026, 10:03 PM
bms added a watcher for transport: bms.
Feb 9 2026, 10:03 PM