Page MenuHomeFreeBSD

jlduran (Jose Luis Duran)
User

Projects

User Details

User Since
May 30 2017, 11:42 AM (476 w, 6 d)

Recent Activity

Fri, Jul 17

jlduran added a reviewer for D58197: sysutils/rpi-firmware: Update to 1.20260521: freebsd_darkain.com.
Fri, Jul 17, 2:32 PM
jlduran added reviewers for D58197: sysutils/rpi-firmware: Update to 1.20260521: arm64, eduardo.
Fri, Jul 17, 2:31 PM

Thu, Jul 16

jlduran added a comment to D58284: openssh: blocklist: Add the other fatal exit probe.

I think this effectively leaves us (FreeBSD) open to a username enumeration vulnerability, because we do not have a blocklist probe in grace_alarm_handler().
I have been exploring simpler options to try to make our BLOCKLIST_NOTIFY() signal-safe.

Thu, Jul 16, 4:15 PM
jlduran added a comment to D58284: openssh: blocklist: Add the other fatal exit probe.

Sure enough (https://reviews.freebsd.org/D58083?id=181447#inline-344443).
The patch for NetBSD would be:

diff
--- a/crypto/external/bsd/openssh/dist/sshd-session.c
+++ b/crypto/external/bsd/openssh/dist/sshd-session.c
@@ -1346,7 +1346,9 @@ cleanup_exit(int i)
                pfilter_notify(1);
                _exit(EXIT_AUTH_ATTEMPTED);
        }
-       if (i == 255 && monitor_invalid_user())
+       if (i == 255 && monitor_invalid_user()) {
+               pfilter_notify(1);
                _exit(EXIT_INVALID_USER);
+       }
        _exit(i);
 }
Thu, Jul 16, 4:00 PM
jlduran added reviewers for D58284: openssh: blocklist: Add the other fatal exit probe: emaste, christos_netbsd.org.
Thu, Jul 16, 4:00 PM
jlduran requested review of D58284: openssh: blocklist: Add the other fatal exit probe.
Thu, Jul 16, 3:55 PM

Mon, Jul 13

jlduran committed rGcc3f89c1e053: locale: make install Unicode 17.0.0/CLDR 48.2 (authored by jlduran).
locale: make install Unicode 17.0.0/CLDR 48.2
Mon, Jul 13, 12:35 PM
jlduran committed rGa0b62311f278: locale: Do not strip the suffix from CLDRVERSION (authored by jlduran).
locale: Do not strip the suffix from CLDRVERSION
Mon, Jul 13, 12:35 PM
jlduran committed rGe8cca479b57a: locale: Update Unicode to CLDR 48.2 (authored by jlduran).
locale: Update Unicode to CLDR 48.2
Mon, Jul 13, 12:35 PM
jlduran added a comment to D58150: libnetmap: fix error path in nmport_extmem_from_file.

Do you need me to commit this?

Mon, Jul 13, 12:29 PM
jlduran committed rG141b66452049: libnetmap: fix extra indirection in nmreq_remove_option (authored by g.lettieri_iet.unipi.it).
libnetmap: fix extra indirection in nmreq_remove_option
Mon, Jul 13, 12:27 PM
jlduran committed rG67f1c082b5ec: mkimg: Add ms-basic-data alias for GPT (authored by jlduran).
mkimg: Add ms-basic-data alias for GPT
Mon, Jul 13, 12:27 PM
jlduran closed D58151: libnetmap: fix extra indirection in nmreq_remove_option.
Mon, Jul 13, 12:27 PM
jlduran closed D58150: libnetmap: fix error path in nmport_extmem_from_file.
Mon, Jul 13, 12:27 PM
jlduran committed rGfcaf15e54162: libnetmap: fix error path in nmport_extmem_from_file (authored by jlduran).
libnetmap: fix error path in nmport_extmem_from_file
Mon, Jul 13, 12:27 PM
jlduran closed D58198: mkimg: Add ms-basic-data alias for GPT.
Mon, Jul 13, 12:27 PM

Sun, Jul 12

jlduran added a reviewer for D58198: mkimg: Add ms-basic-data alias for GPT: senguptaangshuman17_gmail.com.
Sun, Jul 12, 7:46 PM
jlduran added a reviewer for D58197: sysutils/rpi-firmware: Update to 1.20260521: senguptaangshuman17_gmail.com.
Sun, Jul 12, 7:46 PM
jlduran added reviewers for D58198: mkimg: Add ms-basic-data alias for GPT: emaste, imp.
Sun, Jul 12, 7:46 PM
jlduran updated the test plan for D58197: sysutils/rpi-firmware: Update to 1.20260521.
Sun, Jul 12, 7:45 PM
jlduran requested review of D58198: mkimg: Add ms-basic-data alias for GPT.
Sun, Jul 12, 7:44 PM
jlduran requested review of D58197: sysutils/rpi-firmware: Update to 1.20260521.
Sun, Jul 12, 7:44 PM

Fri, Jul 10

jlduran added a reviewer for D58151: libnetmap: fix extra indirection in nmreq_remove_option: network.
Fri, Jul 10, 10:51 AM
jlduran added a reviewer for D58150: libnetmap: fix error path in nmport_extmem_from_file: network.
Fri, Jul 10, 10:51 AM
jlduran requested review of D58151: libnetmap: fix extra indirection in nmreq_remove_option.
Fri, Jul 10, 10:50 AM
jlduran requested review of D58150: libnetmap: fix error path in nmport_extmem_from_file.
Fri, Jul 10, 10:50 AM

Thu, Jul 9

jlduran accepted D58128: openssh: diff of 10.4p1 update against main.

LGTM.
I always get a few extra namespace defines, as I'm testing on arm64.

Thu, Jul 9, 5:04 PM
jlduran accepted D58083: OpenSSH 10.4p1 FreeBSD diff against upstream.

This looks good to me.
I tried re-creating it yesterday, and arrived at the same result (assuming SSH_VERSION_FREEBSD will be bumped upon commit).
Let me know your diff after freebsd-configure.sh and freebsd-namespace.sh, as there were a few changes there as well.

Thu, Jul 9, 3:33 PM
jlduran added inline comments to D58083: OpenSSH 10.4p1 FreeBSD diff against upstream.
Thu, Jul 9, 3:10 PM
freebsd.68fba_nospam.spacesurfer.com awarded D53865: examples/jails: Allow any character in interface names a Like token.
Thu, Jul 9, 7:24 AM

Tue, Jul 7

jlduran added inline comments to D58083: OpenSSH 10.4p1 FreeBSD diff against upstream.
Tue, Jul 7, 4:16 PM
jlduran added inline comments to D58083: OpenSSH 10.4p1 FreeBSD diff against upstream.
Tue, Jul 7, 3:41 PM

Wed, Jul 1

jlduran accepted D57995: newvers.sh: Avoid spurious -dirty in git revision.

This is fine by me.
So, if git-rev-parse(1) fails, we just silently ignore it? Maybe erroring in the else branch is too aggressive.

Wed, Jul 1, 9:44 PM

Sun, Jun 28

jlduran abandoned D57627: locale: make install Unicode 17.0.0/CLDR 48.2.

Closed in cfd5bdcb4ee56c658ebc7cf7ea941261d1cd7f73

Sun, Jun 28, 11:13 PM
jlduran committed rGcfd5bdcb4ee5: locale: make install Unicode 17.0.0/CLDR 48.2 (authored by jlduran).
locale: make install Unicode 17.0.0/CLDR 48.2
Sun, Jun 28, 11:08 PM
jlduran committed rG9edbff33aa29: locale: Update Unicode to CLDR 48.2 (authored by jlduran).
locale: Update Unicode to CLDR 48.2
Sun, Jun 28, 11:08 PM
jlduran committed rG77ca1ce66283: locale: Do not strip the suffix from CLDRVERSION (authored by jlduran).
locale: Do not strip the suffix from CLDRVERSION
Sun, Jun 28, 11:08 PM
jlduran closed D57626: locale: Update Unicode to CLDR 48.2.
Sun, Jun 28, 11:08 PM
jlduran closed D57625: locale: Do not strip the suffix from CLDRVERSION.
Sun, Jun 28, 11:08 PM

Thu, Jun 25

jlduran added a comment to D57846: makefs: Fix build on FreeBSD to handle birthtimes and other things.

Note to self: Rebase D54585 after this has landed.

Thu, Jun 25, 5:47 PM
jlduran accepted D57840: local-unbound-setup: Support IPv6-only systems.
Thu, Jun 25, 5:06 PM
jlduran accepted D57840: local-unbound-setup: Support IPv6-only systems.
Thu, Jun 25, 9:38 AM
jlduran added a comment to D57840: local-unbound-setup: Support IPv6-only systems.

Nice! Thank you!
I think we can simplify and improve the while read ... block, but that is not related to this change.

Thu, Jun 25, 4:20 AM

Wed, Jun 24

jlduran added inline comments to D57526: cd9660: Add support for birth times.
Wed, Jun 24, 5:07 AM

Mon, Jun 22

jlduran added a comment to D57527: makefs cd9660: Populate creation time stamps in RockRidge extensions.
In D57527#1324036, @jhb wrote:
In D57527#1323967, @jhb wrote:

I tested this by building a little ISO and verifying the timestamps (including birthtime) of the files in the ISO matched the existing files used to build the ISO. I even had it wrong initially (I had forgotten to update the relative offsets to TF.timestamp. Arguably if would be more future-proof to follow the model of the kernel parsing code which sets a pointer to TF.timestamp and increments the pointer after encoding each timestamp, but I can't see us ever adding the three remaining timestamps).

Thank you, I'll rekindle a series of makefs updates and test changes (D54585, et al.) to include cd9660 as well. We kind of need these for accurate time-stamping of NanoBSD images.

Do you want me to merge this first or wait for your other patch to land?

Mon, Jun 22, 7:34 PM
jlduran added a comment to D57527: makefs cd9660: Populate creation time stamps in RockRidge extensions.
In D57527#1323967, @jhb wrote:

I tested this by building a little ISO and verifying the timestamps (including birthtime) of the files in the ISO matched the existing files used to build the ISO. I even had it wrong initially (I had forgotten to update the relative offsets to TF.timestamp. Arguably if would be more future-proof to follow the model of the kernel parsing code which sets a pointer to TF.timestamp and increments the pointer after encoding each timestamp, but I can't see us ever adding the three remaining timestamps).

Mon, Jun 22, 6:04 PM

Jun 17 2026

jlduran updated the summary of D57627: locale: make install Unicode 17.0.0/CLDR 48.2.
Jun 17 2026, 9:51 PM
jlduran added reviewers for D57626: locale: Update Unicode to CLDR 48.2: bapt, emaste, hrs.
Jun 17 2026, 9:34 PM
jlduran added reviewers for D57625: locale: Do not strip the suffix from CLDRVERSION: bapt, emaste, hrs.
Jun 17 2026, 9:33 PM
jlduran requested review of D57627: locale: make install Unicode 17.0.0/CLDR 48.2.
Jun 17 2026, 9:32 PM
jlduran requested review of D57626: locale: Update Unicode to CLDR 48.2.
Jun 17 2026, 9:31 PM
jlduran requested review of D57625: locale: Do not strip the suffix from CLDRVERSION.
Jun 17 2026, 9:31 PM

Jun 14 2026

jlduran updated subscribers of D54144: locale: monetdef: Add a callback to intsepbyspace.

LGTM. Is this review waiting on something? (Perhaps just finding appropriate reviewers?)

Jun 14 2026, 6:35 PM

Jun 12 2026

jlduran retitled D57481: bsdinstall: Fix scripted examples from bsdinstall: Improve the fix of scripted DISTRIBUTIONS to bsdinstall: Fix scripted examples.
Jun 12 2026, 2:41 AM
jlduran added inline comments to D57470: rc.d/routing: Silence loopback routes.
Jun 12 2026, 2:06 AM

Jun 11 2026

jlduran accepted D57470: rc.d/routing: Silence loopback routes.
Jun 11 2026, 3:33 PM
jlduran accepted D57470: rc.d/routing: Silence loopback routes.

I have the exact same feeling as @glebius: Ideally we'd check whether the route already exists before invoking route(8), but that's considerably more involved than filtering the expected EEXIST case.
While I'm comfortable blaming the lines and reading the commit messages, a brief comment like:

# Loopback routes may already be added by the kernel; ignore EEXIST.

As @markj suggested would be ideal (though not compulsory).
The commit message initially threw me off. I thought the change was only silencing the message for FIB 0, but as you've probably inferred from my setup (net.add_addr_allfibs=1), it also suppresses it for the other routing tables.
Thank you for all your work!

Jun 11 2026, 3:14 PM

Jun 9 2026

jlduran added a comment to D57470: rc.d/routing: Silence loopback routes.

Maybe filter the very specific message only?

2>&1 >/dev/null | sed -e '/route: message indicates error: File exists/d'
Jun 9 2026, 7:51 PM

Jun 8 2026

jlduran added a comment to D57470: rc.d/routing: Silence loopback routes.

As someone who gets:

...
route: message indicates error: File exists
route: message indicates error: File exists
route: message indicates error: File exists
route: message indicates error: File exists
route: message indicates error: File exists
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host 127.0.0.1: gateway lo0 fib 1: route already in table
add host 127.0.0.1: gateway lo0 fib 2: route already in table
add host 127.0.0.1: gateway lo0 fib 3: route already in table
add host 127.0.0.1: gateway lo0 fib 4: route already in table
...

on every boot, I greatly welcome this patch. So, the reason why we don't remove it above (see inline comment) is because the route won't be shown as static?:

127.0.0.1          link#3             UH              lo0
Jun 8 2026, 2:48 PM

Jun 7 2026

jlduran updated the diff for D57481: bsdinstall: Fix scripted examples.

Update COMPONENTS examples:

Jun 7 2026, 8:20 AM

Jun 6 2026

jlduran accepted D57483: geom_part: add support for SGI disk labels.

I echo the words of @imp; I don't even have a real way to test it.
Having said that, this is really cool from a retro-computing perspective.
We need a "It's a U**X system, I know this!" GIF.

Jun 6 2026, 7:04 PM
jlduran updated the summary of D57481: bsdinstall: Fix scripted examples.
Jun 6 2026, 6:32 AM
jlduran updated the diff for D57481: bsdinstall: Fix scripted examples.

Update the manual page example mostly with @asomers' suggestion (a simpler version).
Note that the tmux package was chosen because it is known to be present on the DVD.

Jun 6 2026, 6:30 AM

Jun 5 2026

jlduran added a comment to D57481: bsdinstall: Fix scripted examples.

Ahh, our comments crossed in the ether. But now that I see what you did, I request leaving "pkg install" in. IMHO it's a very important feature of the installerscript that it can install packages.

OK, In that case I must diagnose to see what is failing.

Jun 5 2026, 11:20 PM
jlduran added a comment to D57481: bsdinstall: Fix scripted examples.

Ahh, our comments crossed in the ether. But now that I see what you did, I request leaving "pkg install" in. IMHO it's a very important feature of the installerscript that it can install packages.

Jun 5 2026, 10:40 PM
jlduran added a comment to D57481: bsdinstall: Fix scripted examples.

What's this about "removing the pkg install step"? I don't see anything removed.

Jun 5 2026, 10:39 PM
jlduran updated the summary of D57481: bsdinstall: Fix scripted examples.
Jun 5 2026, 10:37 PM
jlduran updated the diff for D57481: bsdinstall: Fix scripted examples.
  • Remove pkg install
Jun 5 2026, 10:36 PM
jlduran added a comment to D57481: bsdinstall: Fix scripted examples.

OK, I will commit and MFC ASAP.
I also opted for removing the pkg install step, as it may fail on -CURRENT (see attached snapshot).

Screenshot 2026-06-05 at 7.32.01 PM.png (1×1 px, 545 KB)

Jun 5 2026, 10:36 PM
jlduran added reviewers for D57481: bsdinstall: Fix scripted examples: asomers, cperciva, releng.
Jun 5 2026, 9:33 PM
jlduran requested review of D57481: bsdinstall: Fix scripted examples.
Jun 5 2026, 9:31 PM

Jun 1 2026

jlduran committed rG0e3c9cbee4ac: bsdinstall: script: Fix scripted DISTRIBUTIONS (authored by jlduran).
bsdinstall: script: Fix scripted DISTRIBUTIONS
Jun 1 2026, 12:41 AM

May 29 2026

jlduran committed rG283959bbe086: bsdinstall: script: Fix scripted DISTRIBUTIONS (authored by jlduran).
bsdinstall: script: Fix scripted DISTRIBUTIONS
May 29 2026, 2:11 AM
jlduran closed D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS.
May 29 2026, 2:10 AM
jlduran added a comment to D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS.

I tried to make it before 15.1-RC2, but I couldn't. Probably a good candidate for errata.

May 29 2026, 1:40 AM
jlduran added reviewers for D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS: cperciva, ivy.
May 29 2026, 1:39 AM
jlduran added a reviewer for D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS: asomers.
May 29 2026, 1:38 AM
jlduran requested review of D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS.
May 29 2026, 1:37 AM
jlduran added a comment to D57318: bsdinstall.8: note that installerscript variables must be exported.

Also, note that PARTITIONS is not used in any other script, so there is no need to export (there has never been the need to export it either).

May 29 2026, 1:32 AM
jlduran added a comment to D57318: bsdinstall.8: note that installerscript variables must be exported.

Hmm, I was about to submit a change that:

May 29 2026, 1:30 AM
jlduran updated the diff for D57311: nanobsd: Restore boot0cfg functionality.

The files /boot/boot0 and /boot/boot0sio have 0444 permissions. chmod before when building unprivileged.

May 29 2026, 1:16 AM
jlduran updated the diff for D57310: boot0cfg: Also allow a file as a trailing argument.
  • Add more checks
May 29 2026, 1:10 AM
jlduran added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

Sorry for not testing this thoroughly, I just realized that in order for DISTRIBUTIONS to work, the variable must be exported (see inline). Otherwise the user should "manually" export it. If this is going to be the case, then the manual page should be updated to include export DISTRIBUTIONS in the example.

May 29 2026, 12:55 AM

May 28 2026

jlduran added a comment to D57311: nanobsd: Restore boot0cfg functionality.
In D57311#1313282, @imp wrote:

boot0cfg ${NANO_BOOT0CFG} ${NANO_WORLDDIR}/${NANO_BOOTLOADER} doesn't look right. The only bare arg to boot0cfg is the disk, right?

May 28 2026, 9:15 PM
jlduran updated the test plan for D57311: nanobsd: Restore boot0cfg functionality.
May 28 2026, 7:17 PM
jlduran added a comment to D57310: boot0cfg: Also allow a file as a trailing argument.

I did this modification, mostly to allow using it in conjunction with mkimg (see the next review in the series). I cannot immediately see any downsides of also enabling a file for modification, I also didn't know whom to ask for a review, as boot0cfg's usage is slowly fading away.

May 28 2026, 6:50 PM
jlduran added reviewers for D57310: boot0cfg: Also allow a file as a trailing argument: imp, jhb.
May 28 2026, 6:46 PM
jlduran updated the test plan for D57311: nanobsd: Restore boot0cfg functionality.
May 28 2026, 6:45 PM
jlduran requested review of D57311: nanobsd: Restore boot0cfg functionality.
May 28 2026, 6:40 PM
jlduran requested review of D57310: boot0cfg: Also allow a file as a trailing argument.
May 28 2026, 6:40 PM

May 27 2026

jlduran abandoned D57218: nanobsd: Unify makefs(8) ffs options.
May 27 2026, 4:02 AM
jlduran committed rGf1de8e3511d0: nanobsd: Register the boot.config file in the metalog (authored by jlduran).
nanobsd: Register the boot.config file in the metalog
May 27 2026, 12:38 AM
jlduran committed rGc579927ac591: nanobsd: Use makefs -R flag to honor rounded sizes (authored by jlduran).
nanobsd: Use makefs -R flag to honor rounded sizes
May 27 2026, 12:37 AM
jlduran committed rG54359982309e: nanobsd: Adjust the order of the flags in makefs (authored by jlduran).
nanobsd: Adjust the order of the flags in makefs
May 27 2026, 12:37 AM
jlduran committed rG87150a2ed140: nanobsd: Refactor secondary code partition logic (authored by jlduran).
nanobsd: Refactor secondary code partition logic
May 27 2026, 12:37 AM
jlduran committed rGca2d4026c3f2: nanobsd: Fix code image size formatting (authored by jlduran).
nanobsd: Fix code image size formatting
May 27 2026, 12:37 AM
jlduran committed rG318a85d4b201: nanobsd: Explicitly set image size and secsz in mkimg (authored by jlduran).
nanobsd: Explicitly set image size and secsz in mkimg
May 27 2026, 12:37 AM
jlduran committed rGf1de49f50871: nanobsd: Offset code partition to a track boundary (authored by jlduran).
nanobsd: Offset code partition to a track boundary
May 27 2026, 12:37 AM
jlduran committed rGdadbbccd8049: nanobsd: Account for metadata overhead in code slice (authored by jlduran).
nanobsd: Account for metadata overhead in code slice
May 27 2026, 12:37 AM
jlduran committed rGbeddf2c59173: nanobsd: Use rounded sizes for cfg and data slices (authored by jlduran).
nanobsd: Use rounded sizes for cfg and data slices
May 27 2026, 12:37 AM