Page MenuHomeFreeBSD

kp (Kristof Provost)
Troubleshooter

Projects (6)

User Details

User Since
Sep 28 2014, 7:22 PM (554 w, 4 d)

Recent Activity

Wed, May 14

kp accepted D50343: ng_sample: As defined in MISRA-C, use resp == NULL.

We don't follow MISRA-C, but style(9) does also require this, so the change should be made anyway.

Wed, May 14, 4:13 PM

Tue, May 13

kp accepted D50328: bridge(4): default net.link.bridge.member_ifaddrs to false.

It'll want an entry in UPDATING too. I have no strong views about doing this in this commit or a subsequent one.

Tue, May 13, 8:33 PM

Fri, May 9

kp committed rG6b78da357ddc: pf tests: test killing states by key (authored by kp).
pf tests: test killing states by key
Fri, May 9, 10:17 PM
kp committed rGf5f71f729a5f: pfctl: don't require port numbers when killing by key (authored by kp).
pfctl: don't require port numbers when killing by key
Fri, May 9, 10:17 PM
kp committed rGbe0e5f0221dc: pfctl: support killing states by key (authored by kp).
pfctl: support killing states by key
Fri, May 9, 10:17 PM
kp committed rG138e34cffe3e: pfctl: rather than printing the wrong function name, dont print it at all (authored by kp).
pfctl: rather than printing the wrong function name, dont print it at all
Fri, May 9, 10:17 PM
kp committed rGa5e04964e80c: pf.conf.5: "hosts" is optional (authored by kp).
pf.conf.5: "hosts" is optional
Fri, May 9, 10:17 PM
kp committed rGa451bdf25b53: pfctl: clean up TAILQ use in symset()/symget() (authored by kp).
pfctl: clean up TAILQ use in symset()/symget()
Fri, May 9, 10:17 PM
kp committed rG94db776fa234: pf: use __func__ rather than hardcoded function names (authored by kp).
pf: use __func__ rather than hardcoded function names
Fri, May 9, 10:17 PM
kp committed rG130b5e3f536e: pf: be more strict about IPv6 fragments (authored by kp).
pf: be more strict about IPv6 fragments
Fri, May 9, 10:16 PM

Thu, May 8

kp committed rG6ae89b2f152f: aft_python: fix incorrect ndp use (authored by kp).
aft_python: fix incorrect ndp use
Thu, May 8, 1:11 PM
kp committed rG1f8b1a3fac5f: authpf: use libpfctl to add or remove addresses to/from a table (authored by kp).
authpf: use libpfctl to add or remove addresses to/from a table
Thu, May 8, 1:11 PM
kp committed rGb70fadca623f: pf: fix dealing with 0 limits (authored by kp).
pf: fix dealing with 0 limits
Thu, May 8, 1:11 PM
kp committed rG93a955fcc313: pf: fix incorrect list use in pflow_jail_remove() (authored by kp).
pf: fix incorrect list use in pflow_jail_remove()
Thu, May 8, 1:11 PM
kp committed rGb543f426c25e: pf: convert DIOCRCLRADDRS to netlink (authored by kp).
pf: convert DIOCRCLRADDRS to netlink
Thu, May 8, 1:11 PM
kp committed rG681a04dbda0e: pf tests: verify we accept exactly one hop-by-hop header (authored by kp).
pf tests: verify we accept exactly one hop-by-hop header
Thu, May 8, 1:11 PM
kp committed rG3bb82353b528: pf: reject hop-by-hop if it's not the first extension header (authored by kp).
pf: reject hop-by-hop if it's not the first extension header
Thu, May 8, 1:11 PM
kp committed rG033b34069626: pf: use pd->m in pf_route() and pf_route6() (authored by kp).
pf: use pd->m in pf_route() and pf_route6()
Thu, May 8, 1:11 PM
kp committed rGa34efd08d983: libpfct: remove incorrect __unused annotation (authored by kp).
libpfct: remove incorrect __unused annotation
Thu, May 8, 1:11 PM
kp committed rG75568c61bfdd: pf: add missing braces (authored by kp).
pf: add missing braces
Thu, May 8, 1:11 PM

Mon, May 5

kp accepted D50145: tftp-proxy: move to the pf package.
Mon, May 5, 8:00 AM

Sat, May 3

kp committed rG4f642f569b47: pfctl: match broadcast address behaviour to the kernel (authored by kp).
pfctl: match broadcast address behaviour to the kernel
Sat, May 3, 8:15 AM
kp committed rG37b6e0d8e7c4: pf tests: verify that we send an ack challenge (authored by kp).
pf tests: verify that we send an ack challenge
Sat, May 3, 8:15 AM
kp committed rG9485d2228660: pf: send a challenge ACK for SYN's matching existing states (authored by kp).
pf: send a challenge ACK for SYN's matching existing states
Sat, May 3, 8:15 AM

Fri, May 2

kp committed R11:d8dac89a7e95: net/libpfctl: add 14.3 version (authored by kp).
net/libpfctl: add 14.3 version
Fri, May 2, 11:48 AM

Thu, May 1

kp committed rG4e3a6fe0134e: Make sure the memory region definitions are zeroed before use. (authored by loos).
Make sure the memory region definitions are zeroed before use.
Thu, May 1, 8:25 AM
kp committed rGd2c2d6d6b09e: igmp: apply net.inet.igmp.default_version to existing interfaces (authored by Olivier BLANC <etihwo@outlook.com>).
igmp: apply net.inet.igmp.default_version to existing interfaces
Thu, May 1, 8:24 AM
kp committed rG720fabb36f15: netinet tests: ensure we send IGMPv2 messages if net.inet.igmp.default_version=2 (authored by kp).
netinet tests: ensure we send IGMPv2 messages if net.inet.igmp.default_version=2
Thu, May 1, 8:24 AM
kp closed D50083: Make sure the memory region definitions are zeroed before use..
Thu, May 1, 8:24 AM
kp closed D50072: netinet tests: ensure we send IGMPv2 messages if net.inet.igmp.default_version=2.
Thu, May 1, 8:24 AM
kp closed D50071: igmp: apply net.inet.igmp.default_version to existing interfaces.
Thu, May 1, 8:24 AM

Wed, Apr 30

kp added a comment to D50083: Make sure the memory region definitions are zeroed before use..

(Work by Luiz Souza <luiz@netgate.com>)

Wed, Apr 30, 1:50 PM
kp requested review of D50083: Make sure the memory region definitions are zeroed before use..
Wed, Apr 30, 1:49 PM

Tue, Apr 29

kp requested review of D50072: netinet tests: ensure we send IGMPv2 messages if net.inet.igmp.default_version=2.
Tue, Apr 29, 2:29 PM
kp requested review of D50071: igmp: apply net.inet.igmp.default_version to existing interfaces.
Tue, Apr 29, 2:29 PM
kp abandoned D49221: pf: Add modern NAT syntax.

Committed as https://cgit.freebsd.org/src/commit/?id=e0fe26691fc98a16cdda9d4f4beea9c5698ac64a

Tue, Apr 29, 10:02 AM
kp commandeered D49221: pf: Add modern NAT syntax.

Commandeer to close.

Tue, Apr 29, 10:01 AM

Mon, Apr 28

kp accepted D49221: pf: Add modern NAT syntax.

LGTM. Ship it!
Approved. Commit it before I import more patches and force you to rebase again ;)

Mon, Apr 28, 2:13 PM

Thu, Apr 24

kp added a comment to D49995: bridge: allow IP addresses on members to be disabled.
In D49995#1140226, @kp wrote:

I'm very happy to see this work, not so much for the performance improvement (although we're not going to say no to that!), but because users keep getting caught out when they assign addresses to bridge member interfaces. That breaks multicast, for example, which is bad for IPv4 and catastrophic for IPv6. This has been documented for a long time, but users keep doing it anyway. Making it impossible will save a lot of frustration.

Where is this currently documented? In if_bridge(4) the only somewhat-related part I see is:

https://docs.freebsd.org/en/books/handbook/advanced-networking/
"If the bridge host needs an IP address, set it on the bridge interface, not on the member interfaces."

Thu, Apr 24, 3:06 PM
kp accepted D49995: bridge: allow IP addresses on members to be disabled.

I'm very happy to see this work, not so much for the performance improvement (although we're not going to say no to that!), but because users keep getting caught out when they assign addresses to bridge member interfaces. That breaks multicast, for example, which is bad for IPv4 and catastrophic for IPv6. This has been documented for a long time, but users keep doing it anyway. Making it impossible will save a lot of frustration.

Thu, Apr 24, 11:26 AM

Wed, Apr 23

kp added a comment to D49221: pf: Add modern NAT syntax.

Oh, and I'd prefix the title with 'pf:' rather than 'pfctl:', because it includes kernel changes as well as pfctl changes.

Wed, Apr 23, 1:10 PM
kp added a comment to D49221: pf: Add modern NAT syntax.

I think we're about ready to have users try to break this.
Please fix the man page typo and date, and then it's approved to commit.

Wed, Apr 23, 1:07 PM
kp committed rGfa6330030b93: pf: move pf_change_icmp_af() call for TCP/UDP in ICMP (authored by kp).
pf: move pf_change_icmp_af() call for TCP/UDP in ICMP
Wed, Apr 23, 11:59 AM
kp committed rG0ec87a46e68c: pf.conf.5: improve af-to example (authored by kp).
pf.conf.5: improve af-to example
Wed, Apr 23, 11:59 AM
kp committed rGfe0807ad3368: pf.conf.5: make it clearer that log options require () (authored by kp).
pf.conf.5: make it clearer that log options require ()
Wed, Apr 23, 11:59 AM
kp committed rG17ed12dc476d: pf: push 'field changed' guards into 'change field' functions (authored by kp).
pf: push 'field changed' guards into 'change field' functions
Wed, Apr 23, 11:59 AM
kp committed rG332219c93baf: pf: deduplicate code (authored by kp).
pf: deduplicate code
Wed, Apr 23, 11:58 AM

Mon, Apr 21

kp committed rG461b79d8ee58: pfctl: also remove incorrect counter print for rule anchors (authored by kp).
pfctl: also remove incorrect counter print for rule anchors
Mon, Apr 21, 9:16 PM
kp committed rGa60eeb4331e5: pfctl: fix crash on "pfctl -a '*' -vvsr" (authored by kp).
pfctl: fix crash on "pfctl -a '*' -vvsr"
Mon, Apr 21, 9:16 PM
kp committed rGb89bc49a6348: pf: explicitly NULL state key pointers (authored by kp).
pf: explicitly NULL state key pointers
Mon, Apr 21, 9:16 PM
kp committed rG8b9d1dc82ac4: pf: don't use state keys after pf_state_insert() (authored by kp).
pf: don't use state keys after pf_state_insert()
Mon, Apr 21, 9:16 PM
kp committed rG482f4dc272cc: pf: improve pf_state_key_attach() error handling (authored by kp).
pf: improve pf_state_key_attach() error handling
Mon, Apr 21, 9:16 PM
kp committed rG5b182c68c0f5: pfctl: also remove incorrect counter print for rule anchors (authored by kp).
pfctl: also remove incorrect counter print for rule anchors
Mon, Apr 21, 9:16 PM
kp committed rG35a83d58bdbe: pfctl: fix crash on "pfctl -a '*' -vvsr" (authored by kp).
pfctl: fix crash on "pfctl -a '*' -vvsr"
Mon, Apr 21, 9:16 PM
kp committed rG7161339bb5e9: pf: don't use state keys after pf_state_insert() (authored by kp).
pf: don't use state keys after pf_state_insert()
Mon, Apr 21, 9:16 PM
kp committed rGd6381193a3e8: pf: improve pf_state_key_attach() error handling (authored by kp).
pf: improve pf_state_key_attach() error handling
Mon, Apr 21, 9:16 PM
kp committed rG4df4b69530c3: pf: explicitly NULL state key pointers (authored by kp).
pf: explicitly NULL state key pointers
Mon, Apr 21, 9:16 PM
kp committed rG612ae9c9d06c: pf: add extra unhandled_af() assertions (authored by kp).
pf: add extra unhandled_af() assertions
Mon, Apr 21, 12:50 PM
kp committed rG4bbd5db0086a: pf: use struct pf_pdesc for pf_change_ap() (authored by kp).
pf: use struct pf_pdesc for pf_change_ap()
Mon, Apr 21, 12:50 PM
kp committed rG04ed606def89: pf: pull icmp-nested headers into struct pf_pdesc (authored by kp).
pf: pull icmp-nested headers into struct pf_pdesc
Mon, Apr 21, 12:49 PM
kp committed rG88986a4d7183: pf: fix ICMP pcksum pointers (authored by kp).
pf: fix ICMP pcksum pointers
Mon, Apr 21, 12:49 PM
kp accepted D49936: link_addr: only accept '.' and ':' as separators.
In D49936#1138714, @ivy wrote:
In D49936#1138707, @kp wrote:

I wonder if that's worth changing too.

so... i'm not opposed to changing that. actually, i think that makes a lot of sense. however, i think this change to link_addr() also makes sense regardless of that.

Mon, Apr 21, 9:19 AM
kp added a comment to D49936: link_addr: only accept '.' and ':' as separators.

in this case ifconfig(8) defaults to the 'link' address family instead of the 'inet' address family.

Mon, Apr 21, 8:54 AM

Fri, Apr 18

kp accepted D49352: pf: Avoid logging state creation failures unless requested.
Fri, Apr 18, 12:37 PM

Wed, Apr 16

kp committed rG435e9214478c: pf: remove _unaligned from pf_patch_(16|32)_unaligned() (authored by kp).
pf: remove _unaligned from pf_patch_(16|32)_unaligned()
Wed, Apr 16, 6:03 PM
kp committed rG911d74bcbd7a: pf: simplify pf_patch* arguments (authored by kp).
pf: simplify pf_patch* arguments
Wed, Apr 16, 6:03 PM
kp committed rGf09ee340d2b7: pf: remove unused macros (authored by kp).
pf: remove unused macros
Wed, Apr 16, 6:03 PM
kp committed rG3f39713e4e34: pf: log reused states in addition to failed state insertions (authored by kp).
pf: log reused states in addition to failed state insertions
Wed, Apr 16, 6:03 PM
kp committed rGe2177bca94f2: pf: allow pf_get_sport() to work on in rules (authored by kp).
pf: allow pf_get_sport() to work on in rules
Wed, Apr 16, 6:03 PM
kp committed rG5b13b79a5c3a: pf tests: test includes inside anchors (authored by kp).
pf tests: test includes inside anchors
Wed, Apr 16, 6:03 PM
kp committed rG16c25f9861db: pfctl: allow include in inline anchors (authored by kp).
pfctl: allow include in inline anchors
Wed, Apr 16, 6:03 PM
kp committed rGa6a98453d8c9: pf: Don't convert arc4random() to host byte order (authored by kp).
pf: Don't convert arc4random() to host byte order
Wed, Apr 16, 6:03 PM
kp committed rG162dfe766b2a: pfctl: Remove NULL-checks before free(). ok tb@ (authored by kp).
pfctl: Remove NULL-checks before free(). ok tb@
Wed, Apr 16, 6:03 PM
kp committed rGcfdc4f6d0647: pf: g/c unneeded af (address family) params to pf_change_ap (authored by kp).
pf: g/c unneeded af (address family) params to pf_change_ap
Wed, Apr 16, 6:03 PM
kp committed rG0da181786849: pfctl: fix recursive printing of NAT rules (authored by kp).
pfctl: fix recursive printing of NAT rules
Wed, Apr 16, 1:49 PM
kp committed rG9edd1e62ca11: pfctl: fix recursive printing of NAT rules (authored by kp).
pfctl: fix recursive printing of NAT rules
Wed, Apr 16, 1:49 PM

Apr 15 2025

kp committed rGc59492025073: sys/net: add DOT1Q_VID_{MIN,MAX} (authored by ivy).
sys/net: add DOT1Q_VID_{MIN,MAX}
Apr 15 2025, 9:44 PM
kp closed D49837: sys/net: add DOT1Q_VID_{MIN,MAX}.
Apr 15 2025, 9:44 PM
kp committed rG96f830456fd4: sys/net: add a new ether_vlanid_t type (authored by ivy).
sys/net: add a new ether_vlanid_t type
Apr 15 2025, 9:44 PM
kp closed D49836: sys/net: add a new ether_vlanid_t type.
Apr 15 2025, 9:43 PM
kp committed rG0fc3c29fb3dd: pfctl: also remove incorrect counter print for rule anchors (authored by kp).
pfctl: also remove incorrect counter print for rule anchors
Apr 15 2025, 12:47 PM
kp committed rG29273f6a2582: pf: add SDT on REASON_SET() (authored by kp).
pf: add SDT on REASON_SET()
Apr 15 2025, 12:47 PM
kp committed rG4e5657ab346c: pf: pass struct pf_pdesc to pf_change_ap() (authored by kp).
pf: pass struct pf_pdesc to pf_change_ap()
Apr 15 2025, 12:47 PM
kp committed rG9c68e37d96b9: pf: share reason between pf_test() and pf_test_rule() (authored by kp).
pf: share reason between pf_test() and pf_test_rule()
Apr 15 2025, 12:47 PM
kp committed rG1463d5ff1316: if_ovpn: fix use-after-free of mbuf (authored by kp).
if_ovpn: fix use-after-free of mbuf
Apr 15 2025, 12:27 PM
kp committed rG168d873ae41f: pfctl: fix crash on "pfctl -a '*' -vvsr" (authored by kp).
pfctl: fix crash on "pfctl -a '*' -vvsr"
Apr 15 2025, 7:43 AM

Apr 12 2025

kp added inline comments to D28530: Widen ifnet_detach_sxlock coverage.
Apr 12 2025, 12:43 PM

Apr 10 2025

kp committed rGf36292f010fc: bridge: define VLANTAGOF correctly (authored by ivy).
bridge: define VLANTAGOF correctly
Apr 10 2025, 6:54 PM
kp committed rGf6aedb956ef1: net/if_bridgevar.h: add include guard (authored by ivy).
net/if_bridgevar.h: add include guard
Apr 10 2025, 6:54 PM
kp committed rG646b453110aa: pf: fix pf_ioctl_add_addr() validation (authored by kp).
pf: fix pf_ioctl_add_addr() validation
Apr 10 2025, 1:37 PM

Apr 9 2025

kp committed rGea6432cfa3c4: pf: rename pf_unlink_state() to pf_remove_state() (authored by kp).
pf: rename pf_unlink_state() to pf_remove_state()
Apr 9 2025, 7:31 PM
kp committed rG02a12814c14f: pf.conf.5: remove incorrect performance comparison (authored by kp).
pf.conf.5: remove incorrect performance comparison
Apr 9 2025, 7:31 PM
kp committed rG75fd973198f4: pf.conf.5: improve indentation in list block. (authored by kp).
pf.conf.5: improve indentation in list block.
Apr 9 2025, 7:31 PM
kp committed rG0a376f7e7e03: pfctl: route-to, dup-to, reply-to should not override the block action (authored by kp).
pfctl: route-to, dup-to, reply-to should not override the block action
Apr 9 2025, 7:31 PM
kp committed rGa4bd4e4b5632: pf tests: verify that we generate an ICMP6 packet too big error on route-to (authored by kp).
pf tests: verify that we generate an ICMP6 packet too big error on route-to
Apr 9 2025, 7:31 PM
kp committed rGd1f4b9ffabbc: pf: emit ICMPv6 packet too big for route-to (authored by kp).
pf: emit ICMPv6 packet too big for route-to
Apr 9 2025, 7:31 PM
kp committed rGf132e8b4c7d9: net tests: enable if_lagg_test:lacp_linkstate_destroy_stress (authored by K Rin <rin@sandb0x.tw>).
net tests: enable if_lagg_test:lacp_linkstate_destroy_stress
Apr 9 2025, 1:51 PM
kp committed rG747483038e6f: netinet6 tests: fix typo in the test (authored by K Rin <rin@sandb0x.tw>).
netinet6 tests: fix typo in the test
Apr 9 2025, 11:31 AM
kp committed rG8e7d333f9207: pf: added /* FALLTHROUGH */ comments, typecasts (u_int32_t)-1, ... (authored by kp).
pf: added /* FALLTHROUGH */ comments, typecasts (u_int32_t)-1, ...
Apr 9 2025, 9:52 AM
kp committed rG9d38d2203b32: pf: unused arguments at pf_normalize_tcp_init() (authored by kp).
pf: unused arguments at pf_normalize_tcp_init()
Apr 9 2025, 9:52 AM