Page MenuHomeFreeBSD

kp (Kristof Provost)
Troubleshooter

Projects (6)

User Details

User Since
Sep 28 2014, 7:22 PM (585 w, 2 d)

Recent Activity

Today

kp committed rG394d701c41ec: if_ovpn: use epoch to free peers (authored by kp).
if_ovpn: use epoch to free peers
Wed, Dec 17, 10:06 AM
kp committed rGd19083e833d7: if_ovpn: use epoch to free peers (authored by kp).
if_ovpn: use epoch to free peers
Wed, Dec 17, 10:06 AM

Mon, Dec 15

kp added inline comments to D54105: kyua: Add flaky metadata.
Mon, Dec 15, 9:19 PM
kp committed rGcdbc9b76ff49: pf: fix min-ttl and set-tos for nat64 (authored by kp).
pf: fix min-ttl and set-tos for nat64
Mon, Dec 15, 4:26 PM
kp accepted D54199: pf: Fix the reply command in a couple of places.
Mon, Dec 15, 9:47 AM

Sat, Dec 13

kp committed rG1dee2336ab44: pfctl: report ICMP states consistently for IPv4/IPv6 (authored by kp).
pfctl: report ICMP states consistently for IPv4/IPv6
Sat, Dec 13, 9:51 PM

Thu, Dec 11

kp added a comment to D54175: if_ovpn: fix memory leak in VNET.

I believe that was accidentally broken by 96b29c7f0cffd377a757ad8ccc0cdd8fcb96d0dd, which fixed the issue of jails being unable to go away while they still had ovpn interfaces in them. It fixed that, but also removed the VNET_SYSUNINIT that prevented this leak.

Thu, Dec 11, 3:10 PM
kp accepted D54163: pfsync: Avoid zeroing the state export union.
Thu, Dec 11, 11:09 AM
kp committed rGac4fb06d096d: pf: handle TTL expired during nat64 (authored by kp).
pf: handle TTL expired during nat64
Thu, Dec 11, 10:36 AM
kp closed D54166: pf: handle TTL expired during nat64.
Thu, Dec 11, 10:36 AM
kp committed rG7b4482f3834a: pf: relax sctp v_tag verification (authored by kp).
pf: relax sctp v_tag verification
Thu, Dec 11, 9:27 AM
kp committed rGcc638b24d56a: pf: relax sctp v_tag verification (authored by kp).
pf: relax sctp v_tag verification
Thu, Dec 11, 9:27 AM
kp committed rGf629ee03fa78: libpfctl: improve error handling (authored by kp).
libpfctl: improve error handling
Thu, Dec 11, 9:26 AM
kp committed rGa717a40f8449: pf: relax sctp v_tag verification (authored by kp).
pf: relax sctp v_tag verification
Thu, Dec 11, 9:26 AM

Wed, Dec 10

kp requested review of D54166: pf: handle TTL expired during nat64.
Wed, Dec 10, 8:04 PM
kp added a reviewer for D54163: pfsync: Avoid zeroing the state export union: vegeta_tuxpowered.net.
Wed, Dec 10, 4:21 PM

Tue, Dec 9

kp added a comment to D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.

Ah, thanks. With the original patch reverted this applies and works as expected.
I'm not all that familiar with this code, but it works and I don't see any obvious problems (and it addresses the problem CHERI found, being that we used more than 'new_size' from 'new_base'.)

Tue, Dec 9, 5:00 PM
kp committed rG5e2bbfe387f7: if_ovpn: use epoch to free peers (authored by kp).
if_ovpn: use epoch to free peers
Tue, Dec 9, 2:20 PM
kp committed rGb2d547abb76f: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Tue, Dec 9, 11:19 AM
kp committed rGc09ffa69b6c9: pfctl: restore '-Tload -f pf.conf' functionality (authored by kp).
pfctl: restore '-Tload -f pf.conf' functionality
Tue, Dec 9, 11:19 AM
kp committed rGa06df4218348: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Tue, Dec 9, 11:19 AM
kp committed rG9b2551051fce: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Tue, Dec 9, 11:19 AM
kp added a comment to D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.

What's this based on? It doesn't seem to want to apply to FreeBSD main (f9500e75791cf793904c80ca4a52433afd585a23).

Tue, Dec 9, 10:47 AM

Mon, Dec 8

kp accepted D54094: pf: Fix error handling in pf_handle_get_tstats().
Mon, Dec 8, 12:04 PM

Fri, Dec 5

kp accepted D54083: pf: Fix an off-by-one in pf_handle_getcreators().
Fri, Dec 5, 2:52 PM
kp committed rGf6aa57c86b62: snmp_pf: use the libpfctl wrapper to retrieve astats (authored by kp).
snmp_pf: use the libpfctl wrapper to retrieve astats
Fri, Dec 5, 1:10 PM
kp committed rG08f54dfca197: pf: convert DIOCRGETASTATS to netlink (authored by kp).
pf: convert DIOCRGETASTATS to netlink
Fri, Dec 5, 1:10 PM
kp committed rG4aa79010bcea: pfctl: move astats query into libpfctl (authored by kp).
pfctl: move astats query into libpfctl
Fri, Dec 5, 1:10 PM

Thu, Dec 4

kp accepted D54064: pf: make unhandled_af() inline.
Thu, Dec 4, 8:06 AM

Mon, Dec 1

kp committed rG639e65144aa7: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Mon, Dec 1, 9:32 PM
kp committed rG7a283c40188f: pfctl: restore '-Tload -f pf.conf' functionality (authored by kp).
pfctl: restore '-Tload -f pf.conf' functionality
Mon, Dec 1, 9:32 PM
kp committed rGd6f1acf94d3a: pf: use correct sized variables in pf_change_icmp() (authored by kp).
pf: use correct sized variables in pf_change_icmp()
Mon, Dec 1, 9:31 PM

Sun, Nov 30

kp committed rG81385f622037: pf: handle divert packets (authored by kp).
pf: handle divert packets
Sun, Nov 30, 10:32 AM
kp committed rGa009793a5e5f: pf: handle divert packets (authored by kp).
pf: handle divert packets
Sun, Nov 30, 10:32 AM
kp committed rG7d8effcf65fe: pf: handle divert packets (authored by kp).
pf: handle divert packets
Sun, Nov 30, 10:32 AM

Fri, Nov 28

kp committed rG6da01ce6d36f: pf: fix another endpoint-independent crash (authored by kp).
pf: fix another endpoint-independent crash
Fri, Nov 28, 8:37 PM

Thu, Nov 27

kp committed rG39cbfc78b50c: pf tests: pflog:{rdr_action,state_max} disable IPv6 (authored by kp).
pf tests: pflog:{rdr_action,state_max} disable IPv6
Thu, Nov 27, 1:02 PM
kp committed rG685d5860acea: pf tests: explicitly set the source address in killstate:v6 (authored by kp).
pf tests: explicitly set the source address in killstate:v6
Thu, Nov 27, 1:02 PM
kp committed rGa82347584ba7: pf tests: fix killstate:v6 (authored by kp).
pf tests: fix killstate:v6
Thu, Nov 27, 1:02 PM
kp committed rG8cf099b4fcb8: pf tests: fix syncookie:loopback_v6 (authored by kp).
pf tests: fix syncookie:loopback_v6
Thu, Nov 27, 1:02 PM

Wed, Nov 26

kp committed rG23af364630b1: tests: detect built-in modules (authored by kp).
tests: detect built-in modules
Wed, Nov 26, 10:53 AM

Tue, Nov 25

kp committed rGbc3b72ff4895: pf: relax sctp v_tag verification (authored by kp).
pf: relax sctp v_tag verification
Tue, Nov 25, 3:05 PM
kp committed rG238ad591da9e: libpfctl: improve error handling (authored by kp).
libpfctl: improve error handling
Tue, Nov 25, 1:50 PM
kp committed rG58eacc815513: if_ovpn: use IFT_TUNNEL (authored by kp).
if_ovpn: use IFT_TUNNEL
Tue, Nov 25, 9:50 AM
kp committed rG870a7a949bf9: pf: fix udp_mapping cleanup (authored by kp).
pf: fix udp_mapping cleanup
Tue, Nov 25, 9:50 AM
kp committed rG7799b57146cd: if_ovpn: use IFT_TUNNEL (authored by kp).
if_ovpn: use IFT_TUNNEL
Tue, Nov 25, 9:50 AM

Mon, Nov 24

kp accepted D53894: sys/dts/arm/ufs.dts: fix compile error.
Mon, Nov 24, 12:51 PM · ARM

Fri, Nov 21

kp committed rG7dedc3c21436: pf: fix another endpoint-independent crash (authored by kp).
pf: fix another endpoint-independent crash
Fri, Nov 21, 3:40 PM
kp closed D53856: pf: fix another endpoint-independent crash.
Fri, Nov 21, 3:40 PM
kp requested review of D53856: pf: fix another endpoint-independent crash.
Fri, Nov 21, 1:24 PM

Mon, Nov 17

kp committed rGff9f76a206c8: if_ovpn: use IFT_TUNNEL (authored by kp).
if_ovpn: use IFT_TUNNEL
Mon, Nov 17, 10:07 PM
kp closed D53737: pf: fix udp_mapping cleanup.
Mon, Nov 17, 3:48 PM
kp committed rGc12013f5bb38: pf: fix udp_mapping cleanup (authored by kp).
pf: fix udp_mapping cleanup
Mon, Nov 17, 3:48 PM

Nov 17 2025

kp added a comment to D53697: netlink: Fix overallocation of netlink message buffers.
In D53697#1226388, @jhb wrote:

@igoro would you be able to test this on your workload (armv7) to ensure it still does the correct thing?

VM-based armv7 tests on my side passed. I believe it's enough as pfctl was unusable before the fix (after switching to Netlink).
It's up to @kp whether it needs additional run on actual armv7-based appliance.

Nov 17 2025, 7:24 AM

Nov 15 2025

kp committed rG66f2f1c83247: pf: handle divert packets (authored by kp).
pf: handle divert packets
Nov 15 2025, 9:39 PM

Nov 13 2025

kp requested review of D53737: pf: fix udp_mapping cleanup.
Nov 13 2025, 3:24 PM
kp accepted D53709: WIP: dtrace_mib.4: Document the DTrace MIB provider.

The content looks good to me.

Nov 13 2025, 10:46 AM

Nov 12 2025

kp committed rGac562a719ba0: libpfctl: fix error handling (authored by kp).
libpfctl: fix error handling
Nov 12 2025, 11:30 PM

Nov 10 2025

kp committed rG1c7c2027f2d1: pf.conf.5: add nat-to/rdr-to to BNF (authored by kp).
pf.conf.5: add nat-to/rdr-to to BNF
Nov 10 2025, 8:38 AM

Nov 8 2025

kp committed rGd1076b2e1805: UPDATING: mention pf's nat64 support (authored by kp).
UPDATING: mention pf's nat64 support
Nov 8 2025, 8:58 AM

Nov 7 2025

kp committed rGa83a049d1c63: if_vxlan: fix byteorder of source port (authored by p.mousavizadeh_protonmail.com).
if_vxlan: fix byteorder of source port
Nov 7 2025, 7:01 PM
kp committed rG9c90145e8c3b: if_vxlan: fix byteorder of source port (authored by p.mousavizadeh_protonmail.com).
if_vxlan: fix byteorder of source port
Nov 7 2025, 7:01 PM
kp committed rGa432ffb091eb: if_vxlan: fix byteorder of source port (authored by p.mousavizadeh_protonmail.com).
if_vxlan: fix byteorder of source port
Nov 7 2025, 7:01 PM

Nov 5 2025

kp committed rGf939619a2f98: UPDATING: mention pf's nat64 support (authored by kp).
UPDATING: mention pf's nat64 support
Nov 5 2025, 2:01 PM
kp committed rGf27e44e2e3b5: pf: convert DIOCRGETADDRS to netlink (authored by kp).
pf: convert DIOCRGETADDRS to netlink
Nov 5 2025, 2:01 PM
kp committed rG9bb1c46b4c38: libpfctl: fix error handling (authored by kp).
libpfctl: fix error handling
Nov 5 2025, 2:01 PM

Nov 3 2025

kp committed rGcd7f3e4d9e83: pf.conf.5: add nat-to/rdr-to to BNF (authored by kp).
pf.conf.5: add nat-to/rdr-to to BNF
Nov 3 2025, 4:06 PM
kp accepted D53515: pf: Add RELNOTES information about new features.
Nov 3 2025, 3:40 PM
kp committed rGd481c3db42dc: pf: improve DIOCRCLRTABLES validation (authored by kp).
pf: improve DIOCRCLRTABLES validation
Nov 3 2025, 8:39 AM
kp committed rG70154de06926: pf: improve add state validation (authored by kp).
pf: improve add state validation
Nov 3 2025, 8:39 AM
kp committed rG4891e6f1c0ee: pf: improve add state validation (authored by kp).
pf: improve add state validation
Nov 3 2025, 8:39 AM
kp committed rG909528f8a130: pf: improve DIOCRCLRTABLES validation (authored by kp).
pf: improve DIOCRCLRTABLES validation
Nov 3 2025, 8:39 AM
kp committed rG8f92db3cf540: pf: improve DIOCRCLRTABLES validation (authored by kp).
pf: improve DIOCRCLRTABLES validation
Nov 3 2025, 8:39 AM
kp committed rGba198fe8a03b: pf: improve add state validation (authored by kp).
pf: improve add state validation
Nov 3 2025, 8:39 AM

Oct 31 2025

kp committed rG08ed87a4a276: pf: convert DIOCRSETADDRS to netlink (authored by kp).
pf: convert DIOCRSETADDRS to netlink
Oct 31 2025, 3:29 PM
kp committed rG56d5ec30e8e1: pf tests: pfctl -T replace test (authored by kp).
pf tests: pfctl -T replace test
Oct 31 2025, 3:29 PM

Oct 30 2025

kp committed rGfaacc0d96881: pf: improve add state validation (authored by kp).
pf: improve add state validation
Oct 30 2025, 10:08 AM
kp committed rG1da3c0ca5b1d: pf: improve DIOCRCLRTABLES validation (authored by kp).
pf: improve DIOCRCLRTABLES validation
Oct 30 2025, 10:08 AM

Oct 29 2025

kp committed rGf17856896d32: pfctl: only set limit restore handler if limits are changed (authored by kp).
pfctl: only set limit restore handler if limits are changed
Oct 29 2025, 8:52 PM
kp accepted D53231: pf: Check if source nodes use a valid redirection address.

Do you have a specific OpenBSD patch you obtained this from?

Oct 29 2025, 10:58 AM
kp accepted D53216: pf: Make nat-to and rdr-to work properly both on in and out rules.
Oct 29 2025, 10:17 AM
kp committed rGdb0d002a217b: pf tests: tftp-proxy test case (authored by kp).
pf tests: tftp-proxy test case
Oct 29 2025, 9:24 AM

Oct 28 2025

kp accepted D53358: libpfctl: Fix displaying deeply nested anchors.
Oct 28 2025, 9:55 AM

Oct 27 2025

kp accepted D53360: pfctl: Do not warn if there is no Ethernet anchor.

Part of the issue here is that we've got layer 3 and ethernet anchors and it's possible for an anchor to exist in one but not the other. So a pfctl -sA -a foo can be valid for one but not the other. I don't immediately see a better way of handling that than to just not raise errors either.

Oct 27 2025, 9:36 PM
kp added inline comments to D53358: libpfctl: Fix displaying deeply nested anchors.
Oct 27 2025, 4:27 PM
kp accepted D53342: altq: Clear stats structures in get_class_stats().
Oct 27 2025, 2:41 PM

Oct 26 2025

kp added a comment to D53360: pfctl: Do not warn if there is no Ethernet anchor.

Thanks. I’ll try to review this (and your other patch) in the next days.

Oct 26 2025, 1:17 PM

Oct 22 2025

kp committed rG536b07512c4b: pf: fix 'no rdr' (authored by kp).
pf: fix 'no rdr'
Oct 22 2025, 7:08 PM

Oct 21 2025

kp closed D53022: if_vxlan: fix byteorder of source port.
Oct 21 2025, 8:02 PM
kp committed rG1cc316727eba: if_vxlan: fix byteorder of source port (authored by p.mousavizadeh_protonmail.com).
if_vxlan: fix byteorder of source port
Oct 21 2025, 8:01 PM
kp accepted D53215: tests/sys/netpfil/pf/sctp: make use of required.kmods.
Oct 21 2025, 7:42 PM

Oct 19 2025

kp committed rGcb36bfee25b7: pf: fix 'no rdr' (authored by kp).
pf: fix 'no rdr'
Oct 19 2025, 9:08 PM
kp closed D53191: pf: fix 'no rdr'.
Oct 19 2025, 9:08 PM

Oct 18 2025

kp requested review of D53191: pf: fix 'no rdr'.
Oct 18 2025, 8:25 PM

Oct 15 2025

kp added a comment to D53070: pf: remove unused variable allrulelist.
In D53070#1213136, @mjg wrote:
In D53070#1212847, @kp wrote:

I do still want to murder this code, but we'll wait until armv7 finally dies, or dies enough.

one can consider reverting this to a state prior to introduction of per-cpu counters. that is, just have a var updated directly. this loses updates, but maybe it's good enough for armv7?

Oct 15 2025, 7:57 PM

Oct 14 2025

kp accepted D45919: mv88e151x: fix potential attach and autonegotiation issues.
Oct 14 2025, 10:12 PM
kp added inline comments to D45919: mv88e151x: fix potential attach and autonegotiation issues.
Oct 14 2025, 5:40 PM
kp abandoned D53070: pf: remove unused variable allrulelist.

Thanks for catching that. I'm not sure how I missed it, but I'm glad I remembered you wrote it and would be a good person to copy on a review.

Oct 14 2025, 5:29 PM

Oct 13 2025

kp requested review of D53070: pf: remove unused variable allrulelist.
Oct 13 2025, 2:12 PM

Oct 11 2025

kp committed rG1735d66a9c5b: pf tests: verify checksum offload handling (authored by kp).
pf tests: verify checksum offload handling
Oct 11 2025, 12:04 PM