Page MenuHomeFreeBSD

kp (Kristof Provost)
Troubleshooter

Projects (6)

User Details

User Since
Sep 28 2014, 7:22 PM (588 w, 5 d)

Recent Activity

Today

kp committed rG71f4eb518cd9: pf: don't reject route-to'd too-large packets (authored by kp).
pf: don't reject route-to'd too-large packets
Sat, Jan 10, 10:23 AM

Thu, Jan 8

kp committed rG0df9054bc116: pf: handle nlattr_add_nested() failure (authored by kp).
pf: handle nlattr_add_nested() failure
Thu, Jan 8, 12:28 PM
kp committed rGbf19253516ec: pf: remove redundant zeroing (authored by kp).
pf: remove redundant zeroing
Thu, Jan 8, 12:28 PM

Tue, Jan 6

kp accepted D54549: pf: tests: Require python3.
Tue, Jan 6, 10:42 AM

Sat, Jan 3

kp added a comment to D54382: MFC sys/netinet6: Implement RFC 7217 (private stable addresses).

Forgot to add references:

[1] 9e792f7ef7298080c058fbc2d36a4e60e596dae9

Sat, Jan 3, 12:04 PM

Fri, Jan 2

kp committed rGfb476c703117: pf: sprinkle const over pf_addr_cmp() (authored by kp).
pf: sprinkle const over pf_addr_cmp()
Fri, Jan 2, 4:19 PM

Tue, Dec 30

kp committed rG4fecc8e3fe94: pfctl: remove duplicate "va" entry (authored by kp).
pfctl: remove duplicate "va" entry
Tue, Dec 30, 11:29 PM
kp committed rG2eec2bcca297: pf tests: avoid cleanup failures on skipped tests (authored by kp).
pf tests: avoid cleanup failures on skipped tests
Tue, Dec 30, 1:17 PM
kp committed rG96c7e70c18a4: pf: convert DIOCRCLRASTATS to netlink (authored by kp).
pf: convert DIOCRCLRASTATS to netlink
Tue, Dec 30, 1:17 PM
kp committed rGc2e7a52374b3: pf: move DIOCRCLRASTATS into libpfctl (authored by kp).
pf: move DIOCRCLRASTATS into libpfctl
Tue, Dec 30, 1:17 PM
kp committed rG190c1f3d9326: pfctl: allow network programs select DSCP_VA for network ToS (authored by kp).
pfctl: allow network programs select DSCP_VA for network ToS
Tue, Dec 30, 1:17 PM

Mon, Dec 29

kp committed rG261642478c8e: pf: handle TTL expired during nat64 (authored by kp).
pf: handle TTL expired during nat64
Mon, Dec 29, 10:14 AM

Fri, Dec 26

kp accepted D54363: kyua: Make "debug -p" skip writing stdout/stderr to tmp files.
Fri, Dec 26, 3:08 PM
kp committed rGeaa424e3bde8: snmp_pf: remove errno usage after pfctl_get_status_h change (authored by rootnode_freebsd_wollwage.com).
snmp_pf: remove errno usage after pfctl_get_status_h change
Fri, Dec 26, 12:45 PM
kp committed rG2e7699355f08: pf: don't reject route-to'd too-large packets (authored by kp).
pf: don't reject route-to'd too-large packets
Fri, Dec 26, 10:49 AM

Mon, Dec 22

kp committed rG4f35a84b3241: atf_python: support setting interface mtu (authored by kp).
atf_python: support setting interface mtu
Mon, Dec 22, 4:29 PM
kp closed D54333: atf_python: support setting interface mtu.
Mon, Dec 22, 4:29 PM

Sun, Dec 21

kp requested review of D54333: atf_python: support setting interface mtu.
Sun, Dec 21, 5:35 PM
kp committed rG622d7fa18d33: pf: fix pcounters array size (authored by kp).
pf: fix pcounters array size
Sun, Dec 21, 5:34 PM
kp committed rG823ebd7c4f89: libpfctl: export a get states variant that takes a pfctl_handle (authored by kp).
libpfctl: export a get states variant that takes a pfctl_handle
Sun, Dec 21, 5:34 PM

Sat, Dec 20

kp accepted D54321: pf: Fix state handling when ICMP packets are diverted.
Sat, Dec 20, 3:17 PM

Fri, Dec 19

kp accepted D54292: pf: Avoid taking the pf rules write lock in a couple of ioctls.

DIOCGETRULENV takes the write lock as well but I believe this is only
required when clearing rule counters. (It might not be required even
then, on platforms where counter increment is done atomically.) Acquire
the read lock if that is not the case.

Fri, Dec 19, 1:18 PM

Thu, Dec 18

kp committed rGa862e4b5a27c: snmp_pf: fix refresh (authored by kp).
snmp_pf: fix refresh
Thu, Dec 18, 1:45 PM
kp committed rGad7f49f98b1a: libpfctl: fix tstats address count (authored by kp).
libpfctl: fix tstats address count
Thu, Dec 18, 1:45 PM

Wed, Dec 17

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

Dec 11 2025

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.

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

Dec 10 2025

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

Dec 9 2025

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'.)

Dec 9 2025, 5:00 PM
kp committed rG5e2bbfe387f7: if_ovpn: use epoch to free peers (authored by kp).
if_ovpn: use epoch to free peers
Dec 9 2025, 2:20 PM
kp committed rGb2d547abb76f: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Dec 9 2025, 11:19 AM
kp committed rGc09ffa69b6c9: pfctl: restore '-Tload -f pf.conf' functionality (authored by kp).
pfctl: restore '-Tload -f pf.conf' functionality
Dec 9 2025, 11:19 AM
kp committed rGa06df4218348: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Dec 9 2025, 11:19 AM
kp committed rG9b2551051fce: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Dec 9 2025, 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).

Dec 9 2025, 10:47 AM

Dec 8 2025

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

Dec 5 2025

kp accepted D54083: pf: Fix an off-by-one in pf_handle_getcreators().
Dec 5 2025, 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
Dec 5 2025, 1:10 PM
kp committed rG08f54dfca197: pf: convert DIOCRGETASTATS to netlink (authored by kp).
pf: convert DIOCRGETASTATS to netlink
Dec 5 2025, 1:10 PM
kp committed rG4aa79010bcea: pfctl: move astats query into libpfctl (authored by kp).
pfctl: move astats query into libpfctl
Dec 5 2025, 1:10 PM

Dec 4 2025

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

Dec 1 2025

kp committed rG639e65144aa7: pfsync: fix incorrect unlock during destroy (authored by kp).
pfsync: fix incorrect unlock during destroy
Dec 1 2025, 9:32 PM
kp committed rG7a283c40188f: pfctl: restore '-Tload -f pf.conf' functionality (authored by kp).
pfctl: restore '-Tload -f pf.conf' functionality
Dec 1 2025, 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()
Dec 1 2025, 9:31 PM

Nov 30 2025

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

Nov 28 2025

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

Nov 27 2025

kp committed rG39cbfc78b50c: pf tests: pflog:{rdr_action,state_max} disable IPv6 (authored by kp).
pf tests: pflog:{rdr_action,state_max} disable IPv6
Nov 27 2025, 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
Nov 27 2025, 1:02 PM
kp committed rGa82347584ba7: pf tests: fix killstate:v6 (authored by kp).
pf tests: fix killstate:v6
Nov 27 2025, 1:02 PM
kp committed rG8cf099b4fcb8: pf tests: fix syncookie:loopback_v6 (authored by kp).
pf tests: fix syncookie:loopback_v6
Nov 27 2025, 1:02 PM

Nov 26 2025

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

Nov 25 2025

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

Nov 24 2025

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

Nov 21 2025

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

Nov 17 2025

kp committed rGff9f76a206c8: if_ovpn: use IFT_TUNNEL (authored by kp).
if_ovpn: use IFT_TUNNEL
Nov 17 2025, 10:07 PM
kp closed D53737: pf: fix udp_mapping cleanup.
Nov 17 2025, 3:48 PM
kp committed rGc12013f5bb38: pf: fix udp_mapping cleanup (authored by kp).
pf: fix udp_mapping cleanup
Nov 17 2025, 3:48 PM
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