Page MenuHomeFreeBSD

rgrimes
User

Projects

User Details

User Since
Dec 19 2016, 4:11 AM (417 w, 6 d)

Recent Activity

Oct 21 2024

rgrimes accepted D47209: loader/loader.mk: add docs for LOADER_*_SUPPORT variables.

Thank you for Documenting these.

Oct 21 2024, 6:15 PM
rgrimes accepted D47203: loader: Change this BIOS tradeoff: Add back zip and use text only.

Yes please!

Oct 21 2024, 6:13 PM

Jul 4 2024

rgrimes added a comment to D39374: ng_eiface(4): Increase default TX queue size to 4096 items..

Arbitrarily large (and I consider 4096 in this case Arbitrary) are dangerous and lead to a condition known as buffer bloat. I suspect that the actual problem here is simply being sweep under the carpet by using a bloated interface queue. Some place we are overrunning something, and that place needs to more clearly identified.

Jul 4 2024, 6:58 PM

May 7 2024

rgrimes added inline comments to D45102: Disable ICMP (v4) redirects by default.
May 7 2024, 3:03 PM

Feb 16 2024

rgrimes accepted D43940: Update for bhyve.8 man page.
Feb 16 2024, 10:57 PM · manpages, docs
rgrimes accepted D43899: Improvements for Handbook: section virtualization.
Feb 16 2024, 10:44 PM · docs, bhyve
rgrimes accepted D43899: Improvements for Handbook: section virtualization.

Its getting much better, probably with pushing a commit soon.

Feb 16 2024, 6:00 PM · docs, bhyve

Feb 15 2024

rgrimes requested changes to D43899: Improvements for Handbook: section virtualization.

Just some nits.

Feb 15 2024, 7:07 PM · docs, bhyve

Feb 8 2024

rgrimes added a comment to D43768: tcp: calc ssthresh on RTO according to RFC5681.

Ifyou open a review and tag a person into that review you should wait at least 24 hours before you commit the code, giving that person time to respond.

Feb 8 2024, 10:18 PM

Jan 24 2024

rgrimes added a comment to D43575: fdisk: disconnect from the build.

Please put a a gonein(15) into the fdisk binary with a way for "users" to inform the project of there use before we just remove this silently.

Jan 24 2024, 6:52 PM
rgrimes added a comment to D43563: bsdlabel: add legacy notice.

First point, a manpage addition is pointless unless you have the binary emit a warning when invoked. Second how does one execute bsdlabel -e -A with gpart?

Jan 24 2024, 6:39 PM
rgrimes accepted D43580: mount: document atime option.

Given this I also assume one cat specify "atime" in /etc/fstab?

Jan 24 2024, 6:23 PM

Jan 4 2024

rgrimes accepted D43296: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images.

I see this as the better of the two solutions in front of us.

Jan 4 2024, 5:23 PM

Jan 3 2024

rgrimes accepted D43290: Remove fiempty lines at the beginning of files.

Sadly this should of been caught and corrected during the removal of $FreeBSD$. It should be possible to mechanically validate the raw diff with something:
net:root {1024}# egrep -v '^@@ |^\+\+\+|^---' D43290.diff | egrep '^-|^\+' | sort -u

net:root {1025}#
Ie, the diff does infact ONLY remove blank lines and adds nothing

Jan 3 2024, 6:48 PM · Contributor Reviews (src)

Dec 18 2023

rgrimes accepted D43011: tmpfs: increase memory reserve to a percent of available memory + swap.
Dec 18 2023, 6:33 PM

Dec 14 2023

rgrimes added a comment to D43011: tmpfs: increase memory reserve to a percent of available memory + swap.

This certainly makes things better, but I wonder how it gets along with the other memory pigs, ZFS and bhyve?

bhyve should act like other user-level memory hogs, although I guess there is some kernel memory too. I can try it though. I have a small ZFS partition on my test machine, I'll try that if I can. I expect that to be similar, in that it reduces free memory (which is what is actually checked for available space), but I'll see if I can get ZFS to chew up some memory on that system. If ZFS allocates much memory before tmpfs_init is called, that will reduce the reserve.

Dec 14 2023, 5:00 PM

Dec 13 2023

rgrimes accepted D43011: tmpfs: increase memory reserve to a percent of available memory + swap.
Dec 13 2023, 11:41 PM
rgrimes added a comment to D43011: tmpfs: increase memory reserve to a percent of available memory + swap.

This certainly makes things better, but I wonder how it gets along with the other memory pigs, ZFS and bhyve?

Dec 13 2023, 11:41 PM
rgrimes accepted D42765: libexec/rc/rc.initdiskless: make tar's path flexible.

This solves it too.

Dec 13 2023, 8:50 PM

Dec 8 2023

rgrimes added a comment to D42765: libexec/rc/rc.initdiskless: make tar's path flexible.

Warner, does the protection added by my enhancements to this change meet your criteria of keeping it such that /usr does not become a requirement, thus reducing your concerns on that manner.

Dec 8 2023, 3:52 PM
rgrimes added a reviewer for D42765: libexec/rc/rc.initdiskless: make tar's path flexible: imp.
Dec 8 2023, 3:50 PM

Dec 2 2023

rgrimes requested changes to D42765: libexec/rc/rc.initdiskless: make tar's path flexible.

See the PR where I go into details on why the OP had the failure. This "works as inteneded" without this change. Note to say that I wouldnt accept a carefully coded if [ -x block that would do the right things in most instances, including adding an error handling if neither tar exists.

Dec 2 2023, 9:59 PM

Nov 5 2023

rgrimes accepted D42467: if_tuntap: trigger the bpf hook on transmitting for the tap interface.

This looks appropriate to me.

Nov 5 2023, 1:00 PM

May 13 2023

rgrimes accepted D40086: bsdinstall on zfs: create dataset for /home rather than /usr/home.

You could add the hier(7) man page update to this review since this change is what effects that man page too.

May 13 2023, 10:53 PM
rgrimes accepted D40085: pw: do not move /home/$user to /usr/home.

Thank you Mike

May 13 2023, 10:52 PM

Sep 14 2022

rgrimes accepted D36550: i386: Make boot loader smaller by reducing size of bootinfo.
Sep 14 2022, 5:27 PM

Jul 28 2022

rgrimes accepted D35960: style: Allow C++ comments.

With the constraints that are here I am in favor of allowing these.

Jul 28 2022, 3:03 PM

Jul 17 2022

rgrimes accepted D35835: ofed/infiniband: fix ifdefs for new INET changes, fixing LINT-NOIP.

Adding some more eyes to this, IIRC this is ofed code and actually maintained and imported from some place else. Though I agree with Glebius that this is the right way to fix it, it may need or be desired to do this upstream. Hselesky is the infiniband expert.

Jul 17 2022, 5:15 PM
rgrimes added reviewers for D35835: ofed/infiniband: fix ifdefs for new INET changes, fixing LINT-NOIP: hselasky, network, transport.
Jul 17 2022, 5:13 PM

Jul 12 2022

rgrimes accepted D35741: IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8.
Jul 12 2022, 5:25 PM

Jul 11 2022

rgrimes added a comment to D35741: IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8.

Q: that’s the current thoughts on making the behavior default one?

Jul 11 2022, 4:31 PM
rgrimes accepted D35741: IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8.
Jul 11 2022, 3:44 PM
rgrimes accepted D35765: inet.4: Document new experimental sysctls.

Agree that this should be committed at the same time as the functional code changes.

Jul 11 2022, 3:33 PM

Jul 10 2022

rgrimes accepted D35741: IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8.

I like the numberical ip_allow_netX version as well. I also agree that changing rc.firewall at this time is premature.

Jul 10 2022, 4:35 PM

Jul 7 2022

rgrimes accepted D35741: IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8.

Adding a reference to https://reviews.freebsd.org/D19316 for some historical discussion.

Jul 7 2022, 3:39 PM

Jul 5 2022

rgrimes accepted D35703: netstat -i: do not truncate interface names.
Jul 5 2022, 7:57 PM

Dec 6 2021

rgrimes accepted D33274: IPv4: fix redirect sending conditions.

Pi, thank you for spotting this, and bz thanks for the quick fix. This explains some issues I had when I tried to migrate to 13 on a router, but had no time to investigate what was going wrong.

Dec 6 2021, 5:57 PM

Sep 24 2021

rgrimes requested changes to D32078: Make {t,}csh sessions more xterm friendly.

I strongly disagree with adding "site and user specific" tweaks to the dot.cshrc files. Further I note that a huge down side of systems that do this xterm tittle setting create very miss leading situations when the terminal disconnects for any reason (ie your xterm is now local, not remote). Some systems do infact try to clean that up in the logout scripts, but that doesnt work if your disconnected for any other reason. There is already a very clear default prompt setting that shows you the hostname of the system you are logged into.

Sep 24 2021, 4:12 PM

Sep 18 2021

rgrimes added a comment to D28200: Set MAC to broadcast when pinging 255.255.255.255 as noted in RFC919.
In D28200#722356, @kp wrote:

So, I've been looking at committing this, and I'm still convinced that the previous behaviour is indeed incorrect, but I'm no longer sure this is the correct fix.
We should probably call in_broadcast() to run this check, rather than duplicate the logic here.

Sep 18 2021, 5:00 PM

Sep 12 2021

rgrimes accepted D31861: Change lowest address on subnet (host 0) not to broadcast by default..
Sep 12 2021, 4:03 PM

Sep 6 2021

rgrimes added a comment to D31861: Change lowest address on subnet (host 0) not to broadcast by default..

Add some reviewers, and pull in most of the subscribers fro D19316

Sep 6 2021, 9:01 PM
rgrimes added reviewers for D31861: Change lowest address on subnet (host 0) not to broadcast by default.: melifaro, cem, rscheff.
Sep 6 2021, 9:00 PM
rgrimes accepted D31861: Change lowest address on subnet (host 0) not to broadcast by default..

Looks ok to me, just a comment on keeping code speed the same in almost all cases.

Sep 6 2021, 4:16 PM

Jul 27 2021

rgrimes added inline comments to D31315: lagg.4: note laggtype arg and reorder wireless example.
Jul 27 2021, 7:45 PM

Jul 9 2021

rgrimes accepted D31114: awk: revert to upstream behavior for ranges for gawk compatibility.
Jul 9 2021, 1:20 PM

Jul 8 2021

rgrimes added inline comments to D31077: if_epair: rework.
Jul 8 2021, 5:57 PM

Jun 19 2021

rgrimes accepted D30740: net.inet.tcp.tolerate_missing_ts=1.
Jun 19 2021, 12:38 PM

Jun 11 2021

rgrimes accepted D30740: net.inet.tcp.tolerate_missing_ts=1.
Jun 11 2021, 11:20 PM

May 21 2021

rgrimes accepted D30374: Restore RFC reference.

Though I am not a big fan of these, as the src tree would need a massive quantity of these added to make much of a dent at all in documenting what part of what rfc is being implemented, I wont stand in the way of one more near useless comment.

May 21 2021, 11:52 AM

May 13 2021

rgrimes added inline comments to D30239: Add ALLOW_OSVERSION_MISMATCH flag to bsd.ports.mk.
May 13 2021, 5:36 AM
rgrimes accepted D30239: Add ALLOW_OSVERSION_MISMATCH flag to bsd.ports.mk.
May 13 2021, 5:26 AM

May 3 2021

rgrimes added a comment to D30043: tcp: Whitespace cleanup in brr and rack.

The adding of blank lines between all the forward declarations seems wrong to me.

May 3 2021, 6:17 PM

May 2 2021

rgrimes accepted D30050: Adds uuid validation to bhyve(8) arg parsing.
May 2 2021, 12:31 PM
rgrimes added inline comments to D30050: Adds uuid validation to bhyve(8) arg parsing.
May 2 2021, 12:11 PM

May 1 2021

rgrimes requested changes to D30050: Adds uuid validation to bhyve(8) arg parsing.
May 1 2021, 11:22 PM
rgrimes added a comment to D30050: Adds uuid validation to bhyve(8) arg parsing.

The uuid is being correctly validated in smbiostbl.c:smbios_type1_initializer() so there's no need to do it again. An fprintf to stderr there indicatiing it is invalid is fine, and the assert on a return from smbios_build() can be changed into an exit(1).

May 1 2021, 1:51 PM

Apr 29 2021

rgrimes added inline comments to D30037: bhyve: Set SO_REUSEADDR on the gdb stub socket.
Apr 29 2021, 7:48 PM
rgrimes added inline comments to D30037: bhyve: Set SO_REUSEADDR on the gdb stub socket.
Apr 29 2021, 4:33 PM

Apr 27 2021

rgrimes accepted D29968: Do not forward datagrams original from 169.254.0.0/16 link-local addresses.

I am accepting this without the IPSTAT_INC(ips_forward) issue being fixed, as it looks to me as if that is an existing and separate problem in the code. Probably a walk through should be done to see that ips_forward and ips_cantforward are all done correctly.

Apr 27 2021, 11:31 AM · network

Apr 26 2021

rgrimes added a comment to D29968: Do not forward datagrams original from 169.254.0.0/16 link-local addresses.

I would still like to see the "169.254.0.0/16" changed to IN_LINKLOCAL, purpose of macro is to locate this value one place and one place only, scattering this string in the code undoes that.

Apr 26 2021, 7:08 PM · network
rgrimes added inline comments to D29968: Do not forward datagrams original from 169.254.0.0/16 link-local addresses.
Apr 26 2021, 2:26 PM · network

Apr 23 2021

rgrimes accepted D29850: param.h: Document __FreeBSD_version better.
Apr 23 2021, 12:15 PM

Apr 20 2021

rgrimes accepted D29850: param.h: Document __FreeBSD_version better.
Apr 20 2021, 4:49 PM
rgrimes accepted D29869: newvers.sh: better regexp for the FreeBSD_version line.

Thanks for chasing these down

Apr 20 2021, 4:46 PM
rgrimes accepted D29850: param.h: Document __FreeBSD_version better.

This is already a good improvement and acceptable as is with Greg's corrections.

Apr 20 2021, 6:31 AM
rgrimes added inline comments to D29850: param.h: Document __FreeBSD_version better.
Apr 20 2021, 6:26 AM

Apr 10 2021

rgrimes added reviewers for D29698: bhyve: do not intercept PCI BAR probe addresses: jhb, grehan.
Apr 10 2021, 9:46 PM

Apr 9 2021

rgrimes accepted D29657: bhyve: add SMBIOS Baseboard Information.
Apr 9 2021, 4:47 AM

Apr 7 2021

rgrimes accepted D29607: byhve: add option to specify IP address for gdb.

Though this is not exactly a normal service, to me listening on any by default is the correct thing to do here. One thing I would like to note, this code appears to only listens on one of IPv4 or IPv6, which is probably a short coming.

Apr 7 2021, 12:07 PM

Apr 6 2021

rgrimes added a comment to D26447: add deprecation notice to ftpd.

Hum, not a core system functionality? May I remind you that ftp://ftp.freebsd.org exists? Though it probably does not run the base system ftpd, it DOES run that functionality. Also so much for the project being a democracy, seems that core@ and security@ now simply dictate to developers@ how things are to be done... nothing personal Gordon, but that is exactly how this is coming across.

Apr 6 2021, 11:41 PM
rgrimes requested changes to D26447: add deprecation notice to ftpd.

Rather than spend cycles on deprecating USED features, please spend cycles on getting pkg base done so that those that feel they have no need for things like ftp/ftpd/telnet/telnetd/foo/bar/etc can choose to not have these and those of us who live and die by such tools can choose to have them.

Apr 6 2021, 1:15 PM

Mar 5 2021

rgrimes accepted D29069: pfctl: Add missing 'va' code point name.

I am ok with doing this, though it still leaves all the other issues open.

Mar 5 2021, 1:49 PM
rgrimes requested changes to D29069: pfctl: Add missing 'va' code point name.

Given the issues I would rather NOT add dscp support at all, until these issues can be addressed from down/upstream? The current situation, both in pfsense and freebsd is poor at best and may actually be one of the sources of issues we are seeing in our ECN data collection work. We know for a fact people are being told to use these ancient and obsolete TOS values by looking for them in blog posts and how-to's. Using the pry bar that is "reduce diffs between" as a reason to add a bad situation is an ever worse situation!

Mar 5 2021, 11:29 AM
rgrimes added a comment to D29069: pfctl: Add missing 'va' code point name.

I'd be happy to extend the man page to make that clearer. Do you have any suggested phrasing?

Mar 5 2021, 9:49 AM
rgrimes added a reviewer for D29069: pfctl: Add missing 'va' code point name: transport.
Mar 5 2021, 9:37 AM
rgrimes added a comment to D29069: pfctl: Add missing 'va' code point name.

I have a concern here, some of which goes beyond just this change, about aliasing DSCP to TOS. We (a small congestion control research group) have found that due to ambigious manual pages, headers and other factors, some present in PF it appears are causing mismarked traffic on the internet. DSCP is shifted left by the 2 ECN bits, the manual pages and any other documentation MUST be made explicity clear about this fact as to if your supplying the values as specified in the RFC"s on DSCP (unshifted) or are you applying TOS bits that may or may not have the ECN bits masked out.

Mar 5 2021, 8:58 AM
rgrimes accepted D29068: Put /boot/efi back in mtree.

This is a move in the right directions, at least this is state created by the installer.

Mar 5 2021, 8:24 AM

Mar 4 2021

rgrimes accepted D29056: net: Introduce IPV6_DSCP(), IPV6_ECN() and IPV6_TRAFFIC_CLASS() macros.
Mar 4 2021, 3:36 PM
rgrimes added a comment to D28814: hier.7: move ESP mountpoint to /efi (from /boot/efi).

Maybe a seperate pass over this code to try and clean up the fact that we have used the string "/efi" many places such that it should probably become some type of #define or derived from the system make file values so that any changes to this value can be done in one place and one place only and all things using it are fixed.

Mar 4 2021, 2:29 PM

Mar 3 2021

rgrimes accepted D28814: hier.7: move ESP mountpoint to /efi (from /boot/efi).

I personally prefer /efi, as I consider /boot to belong to FreeBSD and contain the FreeBSD specific boot code. EFI is a platform specific set of boot code and belongs to the system board, and though it may contain freeBSD specific code it may also contain OTHER code, especially in a multiboot environment.

Mar 3 2021, 12:45 PM

Feb 14 2021

rgrimes added a comment to D28645: Remove classful masks from interface addition code..

Infact it is probalby safer to assume a /24 than a /32.

No, please. It would assume, that the user is using the system in a home lan only.

/24 is not an assumption of home lab, it is the longest of the 3 prefixes that would of been picked before, and infact is probably most often the correct mask to be used.

Feb 14 2021, 2:35 AM

Feb 13 2021

rgrimes added a comment to D28645: Remove classful masks from interface addition code..

I would like to see a survey of what some other OS's due in this situation. I have participated in discussions elsewhere on this issue and just blindly making these host only, IMHO, is probably going to silently cause a lot of failures on finger memory. Infact it is probalby safer to assume a /24 than a /32. BUTT I think the preferable solution here may be to return an error if the netmask is not specified, thus doing nothing rather than guessing and doing something wrong.

Feb 13 2021, 12:29 PM

Feb 11 2021

rgrimes added a comment to D28568: Adding PRR sysctls to tcp(4) man page.

No statement about do_prr being on by default?

Feb 11 2021, 2:19 PM
rgrimes added inline comments to D28571: Add network related comments into the release notes.
Feb 11 2021, 2:13 PM

Feb 9 2021

rgrimes added a comment to D28545: netgraph/ng_bridge: Merge internal host entry structures..
  • Get rid of "hent" instead of "host".

This types of change just cause lots of noise in this review that makes it harder to see the real change.

That's why this change is a secondary modification.
Please choose the relevant part in the revision tab "History"

Feb 9 2021, 8:02 PM
rgrimes added a comment to D28545: netgraph/ng_bridge: Merge internal host entry structures..
  • Get rid of "hent" instead of "host".
Feb 9 2021, 2:54 PM

Feb 2 2021

rgrimes resigned from D28410: libvmm: clean up vmmapi.h.
Feb 2 2021, 12:55 AM

Feb 1 2021

rgrimes added a comment to D28410: libvmm: clean up vmmapi.h.
In D28410#636597, @rew wrote:

ping rgrimes@, does that sound reasonable to you?

Feb 1 2021, 8:00 PM

Jan 29 2021

rgrimes requested changes to D28410: libvmm: clean up vmmapi.h.
Jan 29 2021, 3:25 PM

Jan 25 2021

rgrimes accepted D28338: newvers: tweak uname to be more useful.

Yes please

Jan 25 2021, 9:11 PM

Jan 21 2021

rgrimes added a comment to D28265: kern: net: remove TCP_LINGERTIME.

How is the default 2 minute "linger" timer being implemented now if this is dead code? iirc this value use to be used when a socket was closed on the server side to control how long one waited in close_wait for the client to finish up the connection (server initiated close.)

Jan 21 2021, 2:11 PM

Jan 17 2021

rgrimes accepted D28209: Remove dependency of rc.d/tmp on grep.

This fixes at least one dependance on /usr, I see another later, mktemp which is /usr/bin/mktemp. I would of marked it above, but a full file context was not uploaded to this review.

Jan 17 2021, 2:09 PM

Dec 4 2020

rgrimes added a reviewer for D27463: Extend the VMM stats interface to support a dynamic count of statistics.: pmooney_pfmooney.com.
Dec 4 2020, 3:43 PM

Nov 24 2020

rgrimes added inline comments to D27348: Fix bhyve type19 SMBIOS handling to avoid losing 4GB.
Nov 24 2020, 3:19 PM

Oct 26 2020

rgrimes removed a reviewer for D26942: Replace literal uses of /usr/local with a macro defined in paths.h: rgrimes.
Oct 26 2020, 9:00 PM

Oct 25 2020

rgrimes added a comment to D26942: Replace literal uses of /usr/local with a macro defined in paths.h.

Though this is good intent, it is not a good approach. I'll assert again at one time we had erradicated all /usr/local from the base system, these above have crept in over time and again should be erradicated. There should never ever be a /usr/local #define in paths.h, having to recompile code to change this, again, is the wrong approach. This should _possibly_/_probably_ be moved to a kernel variable that can be changed at boot time.

Oct 25 2020, 9:00 PM

Oct 1 2020

rgrimes updated the summary of D10070: vmm.ko: retire compile time VM_MAXCPU, replace with per VM topology maxcpus.
Oct 1 2020, 4:29 PM

Sep 25 2020

rgrimes added inline comments to D26409: Add IP(V6)_VLAN_PCP to adjust 802.1 priority per-flow..
Sep 25 2020, 5:28 PM

Aug 25 2020

rgrimes added inline comments to D26074: NetFPGA SUME Reference NIC (RIFFA DMA) device driver.
Aug 25 2020, 7:54 PM

Aug 22 2020

rgrimes added inline comments to D26074: NetFPGA SUME Reference NIC (RIFFA DMA) device driver.
Aug 22 2020, 4:02 PM