Page MenuHomeFreeBSD

franco_opnsense.org (Franco Fichtner)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 15 2015, 5:39 PM (591 w, 20 h)

Recent Activity

Fri, Oct 9

franco_opnsense.org added a comment to D60380: hyperv: Fix single page invalidation path.

Testing concluded and with the two changes mentioned it works for multiple people who previously reported seeing continuous segfaults with e.g. Unbound. Original issue described in 291577 is fixed as well.

Fri, Oct 9, 12:33 PM
franco_opnsense.org added a comment to D60380: hyperv: Fix single page invalidation path.

Looks like this fixes the reported issue but causes other instabilities documented here https://forum.opnsense.org/index.php?topic=53114.0

Fri, Oct 9, 6:40 AM

Aug 13 2025

franco_opnsense.org removed a reviewer for D36508: bxe: Add 2.5G SGMII support (SFP GPON ONT): franco_opnsense.org.
Aug 13 2025, 9:18 AM
franco_opnsense.org removed a reviewer for D49359: ifnet: Fix the teardown process of an interface: franco_opnsense.org.
Aug 13 2025, 9:18 AM
franco_opnsense.org removed a reviewer for D39015: tuntap: Add netmap support for both tap(4) and tun(4) interfaces: franco_opnsense.org.
Aug 13 2025, 9:17 AM
franco_opnsense.org abandoned D49212: route: protect against unattached if_afdata.
Aug 13 2025, 9:17 AM
franco_opnsense.org abandoned D47939: math/py-numpy: make FORTRAN configurable, on by default.

taking it back to bugzilla

Aug 13 2025, 9:08 AM

Mar 24 2025

franco_opnsense.org abandoned D49432: security/suricata: update to 7.0.9.
Mar 24 2025, 6:59 PM
franco_opnsense.org abandoned D49433: pf: do a lock dance in pf_unlink_state().

I'm happy to admit I'm wrong, but I'm not going to indicate the user is wrong about the crashes and that this patch actually helps to avoid it. On top of this the $0 comment was tremendously insightful to me. Thanks!

Mar 24 2025, 6:50 AM

Mar 21 2025

franco_opnsense.org planned changes to D49433: pf: do a lock dance in pf_unlink_state().
Mar 21 2025, 7:59 PM
franco_opnsense.org added a comment to D49433: pf: do a lock dance in pf_unlink_state().

I'm wondering if https://cgit.freebsd.org/src/commit/?id=38cc0bfa261 plays a role here. The move of s->timer assignment is reversed here. I'm happy to fix the locking issue in a next patch iteration. The fact remains that in an edge case the PF_STATE_UNLOCK() fails on an already freed state and this sidesteps the issue.

Mar 21 2025, 4:59 PM
franco_opnsense.org added inline comments to D49444: ifnet: Defer detaching address family dependent data.
Mar 21 2025, 4:39 PM
franco_opnsense.org added a comment to D49433: pf: do a lock dance in pf_unlink_state().

Sorry, I'm just confused: is INVARIANTS in GENERIC? I'm dealing with users and real world issues here and this definitely helps with the situation. If you agree the patch works for non-INVARIANTS build than that is a good step to address the code for INVARIANTS, maybe just hiding the locks in that case if we're sure this is air-tight.

Mar 21 2025, 1:24 PM
franco_opnsense.org added a comment to D49433: pf: do a lock dance in pf_unlink_state().

I don't care about INVARIANTS and we don't use it for reasons of not being reliable.

Mar 21 2025, 1:02 PM
franco_opnsense.org added a comment to D49433: pf: do a lock dance in pf_unlink_state().

To my understanding PF_HASHROW_LOCK() does not lock the state itself. The state is currently in use and locked by another thread which it acquired by pf_find_state() which basically does:

Mar 21 2025, 11:27 AM
franco_opnsense.org added a comment to D49359: ifnet: Fix the teardown process of an interface.

For 285129 this still crashes in the same place: https://github.com/opnsense/src/issues/207#issuecomment-2733080313

I tested the patch for days, it appears quite stable as far as now ( surely, for the input path only ).

Can you share the steps to repeat the Github issue 207 ? I do not understand the original reporter's steps.

Mar 21 2025, 11:06 AM
franco_opnsense.org added a comment to D49433: pf: do a lock dance in pf_unlink_state().
Mar 21 2025, 10:54 AM
franco_opnsense.org added reviewers for D49433: pf: do a lock dance in pf_unlink_state(): kp, vegeta_tuxpowered.net, markj.
Mar 21 2025, 10:24 AM
franco_opnsense.org requested review of D49433: pf: do a lock dance in pf_unlink_state().
Mar 21 2025, 10:24 AM
franco_opnsense.org requested review of D49432: security/suricata: update to 7.0.9.
Mar 21 2025, 9:49 AM

Mar 18 2025

franco_opnsense.org added a comment to D49359: ifnet: Fix the teardown process of an interface.

For 285129 this still crashes in the same place: https://github.com/opnsense/src/issues/207#issuecomment-2733080313

Is that based on stable/14 ?

Mar 18 2025, 2:17 PM
franco_opnsense.org added a comment to D49359: ifnet: Fix the teardown process of an interface.

For 285129 this still crashes in the same place: https://github.com/opnsense/src/issues/207#issuecomment-2733080313

Mar 18 2025, 12:45 PM

Mar 17 2025

franco_opnsense.org abandoned D49317: www/phalcon: update to 5.9.0 and enable PHP 8.4.

Merged manually.

Mar 17 2025, 7:20 AM

Mar 14 2025

franco_opnsense.org added a comment to D49359: ifnet: Fix the teardown process of an interface.

I'll do a CFT on this change with OPNsense users next week. A few can trigger the if_afdata panics with PPPoE.

Mar 14 2025, 5:10 PM
franco_opnsense.org planned changes to D49212: route: protect against unattached if_afdata.
Mar 14 2025, 7:33 AM
franco_opnsense.org updated the diff for D49212: route: protect against unattached if_afdata.

simplified this and marked as POC to keep the discussion as a reference

Mar 14 2025, 7:32 AM
franco_opnsense.org added a comment to D49212: route: protect against unattached if_afdata.

The code cleanup in the diff LGTM - added a couple of comments.

Mar 14 2025, 7:25 AM
franco_opnsense.org requested review of D49353: route: use NH_IS_VALID macro consistently.
Mar 14 2025, 7:23 AM

Mar 11 2025

franco_opnsense.org requested review of D49317: www/phalcon: update to 5.9.0 and enable PHP 8.4.
Mar 11 2025, 12:22 PM

Mar 7 2025

franco_opnsense.org added a comment to D49212: route: protect against unattached if_afdata.

Happy to see this progress. Do you think removing RT_LINK_IS_UP without adding the additional conditional would be a useful cleanup nonetheless? Half the code uses NH_IS_VALID, the other RT_LINK_IS_UP and all of it is within NH scope nowadays.

Mar 7 2025, 6:55 AM

Mar 6 2025

franco_opnsense.org added a comment to D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

Something is filling the table while we read it with the lock held in pfr_get_addrs() is what this situation tells me, which points to a missing lock somewhere else, maybe introduced as far back as https://cgit.freebsd.org/src/commit/?id=890612bbeb69f

Mar 6 2025, 9:32 AM
franco_opnsense.org added a comment to D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

In my local testing KASAN allows me to push 100 mbit max, which is going to be a challenge asking the user to deploy this in production and to trigger the bug which only happens under traffic. I can try, but not optimistic.

Mar 6 2025, 9:20 AM
franco_opnsense.org added a comment to D49212: route: protect against unattached if_afdata.

I'm happy to pass an alternative patch on to the affected users, but I'm unable to reproduce this locally.

Mar 6 2025, 7:08 AM
franco_opnsense.org added a comment to D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

I'm tracking down what looks to be a memory corruption of some sort:

Have you tried testing a GENERIC-KASAN kernel?

Mar 6 2025, 7:05 AM
franco_opnsense.org updated the diff for D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

also remove the other assert

Mar 6 2025, 6:46 AM
franco_opnsense.org updated the diff for D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

removed assert in tree traversal hotpath

Mar 6 2025, 6:42 AM

Mar 4 2025

franco_opnsense.org added a comment to D49214: pf: add two asserts and align runtime debug for pf_get_addrs().

I'm tracking down what looks to be a memory corruption of some sort:

Mar 4 2025, 7:27 AM
franco_opnsense.org added a comment to D49212: route: protect against unattached if_afdata.

Last bits in dmesg, perhaps unrelated:

Mar 4 2025, 6:37 AM

Mar 3 2025

franco_opnsense.org added reviewers for D49214: pf: add two asserts and align runtime debug for pf_get_addrs(): markj, kp, vegeta_tuxpowered.net.
Mar 3 2025, 12:05 PM
franco_opnsense.org requested review of D49214: pf: add two asserts and align runtime debug for pf_get_addrs().
Mar 3 2025, 12:03 PM
franco_opnsense.org added reviewers for D49212: route: protect against unattached if_afdata: markj, zlei, glebius.
Mar 3 2025, 10:22 AM
franco_opnsense.org requested review of D49212: route: protect against unattached if_afdata.
Mar 3 2025, 10:21 AM

Feb 26 2025

franco_opnsense.org added inline comments to D49130: certctl: Add support for generating a certificate bundle (CAfile).
Feb 26 2025, 10:06 AM
franco_opnsense.org added inline comments to D49130: certctl: Add support for generating a certificate bundle (CAfile).
Feb 26 2025, 9:49 AM
franco_opnsense.org added a comment to D49130: certctl: Add support for generating a certificate bundle (CAfile).

Let me throw in the towel here. I've left two review comments.

Feb 26 2025, 9:31 AM
franco_opnsense.org added a comment to D49130: certctl: Add support for generating a certificate bundle (CAfile).

First of all thanks for your work. I'm in the same boat as you wanting to see this progress.

Feb 26 2025, 8:56 AM

Feb 25 2025

franco_opnsense.org added inline comments to D49130: certctl: Add support for generating a certificate bundle (CAfile).
Feb 25 2025, 4:55 PM
franco_opnsense.org added inline comments to D49130: certctl: Add support for generating a certificate bundle (CAfile).
Feb 25 2025, 1:35 PM

Feb 20 2025

franco_opnsense.org added a comment to D49053: carp: Fix checking IPv4 multicast address.

Also confirmed now but the reporters have operational remarks when running with the fix, see https://github.com/opnsense/src/issues/239#issuecomment-2669497329

Feb 20 2025, 8:12 AM

Feb 19 2025

franco_opnsense.org added a comment to D49053: carp: Fix checking IPv4 multicast address.

IN_ is short for inet but no doubt it is a little ambiguity esp. for newbies. That requires network domain knowledge but apparently IN6_ is much better.

Feb 19 2025, 10:08 AM
franco_opnsense.org added a comment to D49053: carp: Fix checking IPv4 multicast address.

Linux KPI has a pragmatic approach:

Feb 19 2025, 9:31 AM
franco_opnsense.org accepted D49053: carp: Fix checking IPv4 multicast address.

Did the same here https://github.com/opnsense/src/commit/8f86d0fdd37 but haven't heard from the user yet whether the provided test kernel works for them.

Feb 19 2025, 7:17 AM

Feb 18 2025

franco_opnsense.org abandoned D47777: pf: NAT rule logs its own NAT action, not PF_PASS.
Feb 18 2025, 2:45 PM

Jan 8 2025

franco_opnsense.org added a comment to D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.

@des did you find the time to make a technical assessment? thanks!

Jan 8 2025, 8:46 AM

Dec 23 2024

franco_opnsense.org added a comment to D48163: ip: Defer checks for an unspecified dstaddr until after pfil hooks.

The Common Criteria aspects are documented here https://docs.vmware.com/en/VMware-SD-WAN/6.0/VMware-SD-WAN-Administration-Guide/GUID-DF592A36-E680-44CE-ABFC-ACE19B55B448.html

Dec 23 2024, 7:14 AM

Dec 20 2024

franco_opnsense.org added inline comments to D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.
Dec 20 2024, 7:08 PM

Dec 18 2024

franco_opnsense.org updated the summary of D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.
Dec 18 2024, 12:50 PM
franco_opnsense.org updated the diff for D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.

change summary

Dec 18 2024, 12:49 PM
franco_opnsense.org added a comment to D47777: pf: NAT rule logs its own NAT action, not PF_PASS.

@kp let me know how to proceed

Dec 18 2024, 12:45 PM

Dec 16 2024

franco_opnsense.org added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

We've tested https://github.com/opnsense/src/commit/7f55b75b successfully with the user in OPNsense.

Dec 16 2024, 8:28 AM

Dec 13 2024

franco_opnsense.org requested review of D48068: security/suricata: update to 7.0.8.
Dec 13 2024, 7:00 AM

Dec 11 2024

franco_opnsense.org requested review of D48029: benchmarks/stress-ng: fix build against newer ipsec-mb.
Dec 11 2024, 1:52 PM

Dec 6 2024

franco_opnsense.org requested review of D47939: math/py-numpy: make FORTRAN configurable, on by default.
Dec 6 2024, 4:18 PM

Dec 5 2024

franco_opnsense.org added a comment to D47495: pf: fix potential state key leak.

Done, for reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283137

Dec 5 2024, 7:58 AM

Dec 4 2024

franco_opnsense.org abandoned D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().

Potentially fixed by c22c98798 ;)

Dec 4 2024, 8:25 PM
franco_opnsense.org requested review of D47908: security/ca_root_nss: handle bundle links consistently for ETCSYMLINK.
Dec 4 2024, 12:39 PM
franco_opnsense.org added a comment to D47495: pf: fix potential state key leak.

This commit likely causes the following panic reported by multiple users:

Dec 4 2024, 10:14 AM

Dec 3 2024

franco_opnsense.org added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

Offered a test kernel to the user in the meantime. @glebius is probably busy (last I spoke with him) and doesn't mind if you commit?

Dec 3 2024, 2:18 PM
franco_opnsense.org added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

Like this?

Dec 3 2024, 12:33 PM

Dec 2 2024

franco_opnsense.org added a comment to D46301: netlink/route: make route deletion behavior match route(4) socket.

I'm going to come up with a different version of this patch (likely using a new flag rtmsg->rtm_flags to signal RTM_F_FORCE) in a day or two. The current version allows all netlink customers to fully bypass PINNED route protection, which defeats its purpose.

Dec 2 2024, 7:04 PM
franco_opnsense.org planned changes to D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().

For the record I have no stakes in SCTP and I'm not involved in the changes done here. This work with the user reporting it is a courtesy to the FreeBSD pf code and to triage panics which I only think is a good idea for production code.

Dec 2 2024, 1:35 PM
franco_opnsense.org added a comment to D47777: pf: NAT rule logs its own NAT action, not PF_PASS.

What's the status now? From my point of you I've explained the previous behaviour, the change that caused this to exhibit the wrong behaviour and how it was fixed. I'd like to get to a more productive cooperation based on technical urgency. I don't think tests prevented this from happening and I don't think the issue gets any better discussing commit messages.

Dec 2 2024, 1:29 PM

Nov 28 2024

franco_opnsense.org added a comment to D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().

Here it is:

Nov 28 2024, 1:39 PM

Nov 27 2024

franco_opnsense.org retitled D47777: pf: NAT rule logs its own NAT action, not PF_PASS from pf: NAT rule logs it own NAT action, not PF_PASS to pf: NAT rule logs its own NAT action, not PF_PASS.
Nov 27 2024, 10:54 AM
franco_opnsense.org added a comment to D47777: pf: NAT rule logs its own NAT action, not PF_PASS.

Feel free to make a different suggestion. I've long been under the impressions explaining one liners is not the scope of a commit message and the tests should make this rather clear as requested in previous discussions.

Nov 27 2024, 10:46 AM
franco_opnsense.org updated the summary of D47777: pf: NAT rule logs its own NAT action, not PF_PASS.
Nov 27 2024, 10:45 AM
franco_opnsense.org added a comment to D47777: pf: NAT rule logs its own NAT action, not PF_PASS.

I changed the summary.

Nov 27 2024, 10:28 AM
franco_opnsense.org retitled D47777: pf: NAT rule logs its own NAT action, not PF_PASS from pf: fix NAT pflog regression in 948e8413 to pf: NAT rule logs it own NAT action, not PF_PASS.
Nov 27 2024, 10:27 AM
franco_opnsense.org added a comment to D47777: pf: NAT rule logs its own NAT action, not PF_PASS.

D47658 is on hold as I struggle to understand why the code discussed there is not covered by existing tests and how to actually trigger it (it should easily panic after all but the code is never hit).

Nov 27 2024, 10:17 AM
franco_opnsense.org added a reviewer for D47777: pf: NAT rule logs its own NAT action, not PF_PASS: kp.
Nov 27 2024, 9:29 AM
franco_opnsense.org requested review of D47777: pf: NAT rule logs its own NAT action, not PF_PASS.
Nov 27 2024, 9:28 AM

Nov 18 2024

franco_opnsense.org added a comment to D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().
In D47658#1086724, @kp wrote:

The entire backtrace would have been nice.

Nov 18 2024, 6:33 PM
franco_opnsense.org added a comment to D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT.

Sounds good to me, thanks :)

Nov 18 2024, 6:13 PM
franco_opnsense.org added a comment to D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT.

Meh, sorry for the misinformation. All of this is very difficult to trace.

Nov 18 2024, 4:09 PM
franco_opnsense.org added a comment to D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT.

(kyua depends on e.g. libexec/atf-sh for script execution via shebang in /usr/src/tests/sys/netpfil/pf/*.sh)

Nov 18 2024, 4:00 PM
franco_opnsense.org added a comment to D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT.

I have WITHOUT_TESTS=yes and WITH_TESTS_SUPPORT=yes which adds kyua and libatf, but not atf tools in libexec. On a build without WITHOUT_TESTS=yes the atf tools are placed in the base system as a side effect.

Nov 18 2024, 3:54 PM
franco_opnsense.org added a reviewer for D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT: markj.
Nov 18 2024, 2:20 PM
franco_opnsense.org requested review of D47660: libexec: atf is needed by kyua, which is wired by MK_TESTS_SUPPORT.
Nov 18 2024, 2:20 PM
franco_opnsense.org added a comment to D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().

Sure. For context:

Nov 18 2024, 10:40 AM
franco_opnsense.org added a reviewer for D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match(): kp.
Nov 18 2024, 10:07 AM
franco_opnsense.org requested review of D47658: pf: prevent SCTP-based NULL dereference in pfi_kkif_match().
Nov 18 2024, 10:06 AM
franco_opnsense.org abandoned D47543: pf: close nc file descriptors in killstates test.

I'm trying to understand the entry barrier here. If kyua fixes everything that's alright and thanks for the pointers. From release engineering scope there are a number of kyua integration challenges irrelevant to your argumentation (which I can understand), but you both seem to see the situation too easy from an established development workflow ("just do it right"). Using a custom src.conf already makes kyua defunct, but it is what it is. Going to raise appropriate patches elsewhere then. Thanks!

Nov 18 2024, 9:58 AM

Nov 15 2024

franco_opnsense.org added a comment to D47543: pf: close nc file descriptors in killstates test.

So regardless of why I already stated this is a technical issue that is by no means "pointless", what do you suggest to improve this particular test to make it more robust? Uncontrolled creation of processes that inherit file descriptors isn't exactly clean design but I can see why you do not want to apply this mere bandaid with that larger issue at hand. I'm happy to do the work since a lot of people were asking for test cases and here I am offering work on test cases to get started. :)

Nov 15 2024, 12:35 PM

Nov 14 2024

franco_opnsense.org added a comment to D47543: pf: close nc file descriptors in killstates test.

Thanks, just to be clear you imply the change is wrong even though the test still works?

Nov 14 2024, 4:32 PM
franco_opnsense.org added a comment to D47543: pf: close nc file descriptors in killstates test.

Consider running tests from the src tree using atf-sh (I'm using devel/atf but the base one also works with the full path I think):

Nov 14 2024, 7:30 AM

Nov 13 2024

franco_opnsense.org added reviewers for D47543: pf: close nc file descriptors in killstates test: kp, vegeta_tuxpowered.net.
Nov 13 2024, 7:32 PM
franco_opnsense.org requested review of D47543: pf: close nc file descriptors in killstates test.
Nov 13 2024, 7:30 PM
franco_opnsense.org added reviewers for D47535: pf: remove stale no_df tests from fragemtation_*.sh: kp, vegeta_tuxpowered.net.
Nov 13 2024, 8:50 AM
franco_opnsense.org requested review of D47535: pf: remove stale no_df tests from fragemtation_*.sh.
Nov 13 2024, 8:48 AM

Nov 8 2024

franco_opnsense.org updated the diff for D47433: libfetch: allow use of SSL_CRL_VERIFY.
  • libfetch: shuffle SSL_CRL_VERIFY options
Nov 8 2024, 1:24 PM