FreeBSD/ports f1d5f4dwww/offpunk distinfo Makefile

www/offpunk: Update to 2.2

changeLog:
https://git.sr.ht/~lioploum/offpunk/refs/v2.2

PR:             278805
Approved by:    submitter is maintainer
DeltaFile
+3-3www/offpunk/distinfo
+3-2www/offpunk/Makefile
+6-52 files

FreeBSD/ports a6b501dsysutils/mstflint distinfo Makefile

sysutils/mstflint: Update to 4.28.0

Reported by:    portscout
Sponsored by:   Netflix
DeltaFile
+3-3sysutils/mstflint/distinfo
+1-2sysutils/mstflint/Makefile
+4-52 files

FreeBSD/ports 2036d81www/tomcat-devel pkg-plist distinfo

www/tomcat-devel: update to 11.0.0-M20

Changelog:
https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.0-M20_(markt)

MFH:    2024Q2
(cherry picked from commit 291556cc52ae705f32eb515d8c2e91b5c01498cd)
DeltaFile
+7-1www/tomcat-devel/pkg-plist
+3-3www/tomcat-devel/distinfo
+1-1www/tomcat-devel/Makefile
+11-53 files

FreeBSD/ports 291556cwww/tomcat-devel pkg-plist distinfo

www/tomcat-devel: update to 11.0.0-M20

Changelog:
https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.0-M20_(markt)

MFH:    2024Q2
DeltaFile
+7-1www/tomcat-devel/pkg-plist
+3-3www/tomcat-devel/distinfo
+1-1www/tomcat-devel/Makefile
+11-53 files

FreeBSD/src 7b65987sys/sys sdt.h

sdt: Add macros which expand to probe and provider structure names

No functional change intended.

MFC after:      1 week

(cherry picked from commit 4afce4473db4f51acd034333b8506294b4fb61e6)
DeltaFile
+21-16sys/sys/sdt.h
+21-161 files

FreeBSD/src f4ab464sys/netgraph ng_pipe.c

ng_pipe: Replace deprecated random() with prng32_bounded()

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

MFC after:      2 weeks
Reviewed by:    markj
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181

(cherry picked from commit a3ecf8c7863683e53c77a17f96ab7012352265b9)
DeltaFile
+3-2sys/netgraph/ng_pipe.c
+3-21 files

FreeBSD/src a3ca254sys/netgraph ng_pipe.c

ng_pipe: Remove node when all hooks are disconnected

This is the behavior described in the man page.

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Discussed with: glebius
Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181

(cherry picked from commit bb2ab7a374b9d81f8368acc506c9700af20a22d6)
DeltaFile
+7-0sys/netgraph/ng_pipe.c
+7-01 files

FreeBSD/src a709ac6sys/netgraph ng_pipe.c

ng_pipe: Fix whitespace

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181

(cherry picked from commit 8512311fb5004444f43701eb122b6d77c76d7564)
DeltaFile
+8-8sys/netgraph/ng_pipe.c
+8-81 files

FreeBSD/src f55be6dcontrib/netbsd-tests/fs/tmpfs t_times.sh

tmpfs tests: Remove an xfail annotation

This test passes after commit 08f3d5b60cdf ("copy_file_range: Call
vn_rdwr() at least once").

PR:             274615
MFC after:      1 month

(cherry picked from commit 8eb21b4ff0082a707517f805cf14616f91d9218e)
DeltaFile
+0-2contrib/netbsd-tests/fs/tmpfs/t_times.sh
+0-21 files

FreeBSD/src 50af25esys/netgraph ng_pipe.c

ng_pipe: Do not panic when memory allocations fail

Signed-off-by: Martin Vahlensieck <git at academicsolutions.ch>

Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1181

(cherry picked from commit d44c78074d8738db67a2fa6bf07b630c61eee6ab)
DeltaFile
+30-15sys/netgraph/ng_pipe.c
+30-151 files

FreeBSD/src e3b27ccsys/kern vfs_vnops.c

copy_file_range: Call vn_rdwr() at least once

This ensures that we invoke VOP_READ on the input file even if it's
empty, which in turn helps ensure that filesystems update the atime of
the file.

PR:             274615
Reviewed by:    olce, rmacklem, kib
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D43524

(cherry picked from commit 08f3d5b60cdfff434e391d96cdffc5a90c550b07)
DeltaFile
+12-4sys/kern/vfs_vnops.c
+12-41 files

FreeBSD/src 95cb702sys/arm/include armreg.h

arm: Remove duplicate definitions in armreg.h

No functional change intended.

MFC after:      1 week

(cherry picked from commit 4a5e2ddbd8943baf7add831ab835594ac60f94d1)
DeltaFile
+0-2sys/arm/include/armreg.h
+0-21 files

FreeBSD/src 3f6515csys/dev/iicbus if_ic.c, sys/dev/wg if_wg.c

bpf: Make BPF interop consistent with if_loop

The pseudo_AF_HDRCMPLT check is already being done in if_loop and
just needed to be ported over to if_ic, if_wg, if_disc, if_gif,
if_gre, if_me, if_tuntap and ng_iface.  This is needed in order to
allow these interfaces to work properly with e.g., tcpreplay.

PR:             256587
Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/876

(cherry picked from commit 2cb0fce24d64039090dc9243cdf0715ee80c91b1)
DeltaFile
+2-2sys/dev/iicbus/if_ic.c
+2-1sys/net/if_gre.c
+2-1sys/dev/wg/if_wg.c
+2-1sys/net/if_gif.c
+2-1sys/net/if_me.c
+1-1sys/netgraph/ng_iface.c
+11-72 files not shown
+13-98 files

FreeBSD/src ebc5b3busr.bin/ctags C.c ctags.c

ctags: Use C99 bool instead of defining our own

Use stdbool.h definitions instead of defining non-standard ones.

Signed-off-by: Collin Funk <collin.funk1 at gmail.com>

Reviewed by:    markj
MFC after:      2 weeks
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1107

(cherry picked from commit 87b0195ace1a71a1a07244890be3aaef72e1ffcd)
DeltaFile
+38-38usr.bin/ctags/C.c
+11-11usr.bin/ctags/ctags.c
+6-6usr.bin/ctags/fortran.c
+5-6usr.bin/ctags/ctags.h
+5-5usr.bin/ctags/yacc.c
+4-4usr.bin/ctags/lisp.c
+69-701 files not shown
+70-717 files

FreeBSD/src 2a9aae9sys/netinet tcp_output.c tcp_var.h, usr.bin/netstat inet.c

tcp: add counter to track when SACK loss recovery uses TSO

Add a counter to track how frequently SACK has transmitted
more than one MSS using TSO. Instances when this will be
beneficial is the use of PRR, or when ACK thinning due to
GRO/LRO or ACK discards by the network are present.

Reviewed By:            tuexen, #transport
Sponsored by:           NetApp, Inc.
Differential Revision:  https://reviews.freebsd.org/D45070
DeltaFile
+5-3usr.bin/netstat/inet.c
+3-0sys/netinet/tcp_output.c
+2-1sys/netinet/tcp_var.h
+1-0sys/netinet/in_kdtrace.c
+1-0sys/netinet/in_kdtrace.h
+12-45 files

FreeBSD/src dcdfe44sys/netinet tcp_sack.c tcp_output.c

tcp: add sysctl to allow/disallow TSO during SACK loss recovery

Introduce net.inet.tcp.sack.tso for future use when TSO is ready
to be used during loss recovery.

Reviewed By:            tuexen, #transport
Sponsored by:           NetApp, Inc.
Differential Revision:  https://reviews.freebsd.org/D45068
DeltaFile
+5-0sys/netinet/tcp_sack.c
+1-1sys/netinet/tcp_output.c
+2-0sys/netinet/tcp_var.h
+8-13 files

FreeBSD/src cbf3575sys/netinet tcp_sack.c

tcp: filter small SACK blocks

While the SACK Scoreboard in the base stack limits
the number of holes by default to only 128 per connection
in order to prevent CPU load attacks by splitting SACKs,
filtering out SACK blocks of unusually small size can
further improve the actual processing of SACK loss recovery.

Reviewed By:            tuexen, #transport
Sponsored by:           NetApp, Inc.
Differential Revision:  https://reviews.freebsd.org/D45075
DeltaFile
+4-1sys/netinet/tcp_sack.c
+4-11 files

FreeBSD/src 301ec2csys/netpfil/pf pf.c

pf: always mark states as unlinked before detaching them

Users have reported crashes in pf_test_state_udp() where at least one state key
is NULL.

That suggests that pf_detach_state() ran concurrently with pf_test_state_udp().
pf_test_state_udp() holds the state lock (aka the id lock), but
pf_detach_state() does not.
The intent is that detached states are not returned by STATE_LOOKUP/
pf_find_state(), as the state's timeout is set to PFTM_UNLINKED and thus
pf_find_state() does not find the state.

There are other paths to pf_detach_state() (outside of pf_unlink_state())
though, where we did not set the timeout to PFTM_UNLINKED. Fix those, and assert
that the timeout is set correctly when we enter pf_detach_state().

MFC after:      1 week
See also:       https://redmine.pfsense.org/issues/15413
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D45101
DeltaFile
+3-0sys/netpfil/pf/pf.c
+3-01 files

FreeBSD/src 601438fsys/netinet ip_carp.c

carp: refactor packet tagging for ether_output()

- Separate HMAC preparation (CARP specific) from tagging.
- In unicast mode (CARP specific) don't put tag at all.
- Don't put pointer to software context into the tag.  Putting just vhid,
  an integer value, is a safer design.

Reviewed by:    kp
Differential Revision:  https://reviews.freebsd.org/D45038
DeltaFile
+14-23sys/netinet/ip_carp.c
+14-231 files

FreeBSD/src a254d68sys/netinet ip_carp.c

carp: isolate VRRP from CARP

There is only one functional change here - we don't allow SIOCSVH (or
netlink request) to change sc->sc_version.  I'm convinced that allowing
such a change doesn't brings any practical value, but creates enless
minefields in front of both developers and end users (sysadmins).  If
you want to switch from VRRP to CARP or vice versa, you'd need to recreate
the VHID.

Oh, one tiny funtional change: carp_ioctl_set() won't modify any fields
if it returns EINVAL.  Previously you could provide valid advbase with
invalid advskew - that used to modify advbase and return EINVAL.

All other changes is a sweep around not ever using CARP fields when
we are in VRRP mode and vice versa.  Also adding assertions on sc_version
where necessary.

Do not send VRRP vars in CARP mode via NetLink and vice versa.  However
in compat ioctl SIOCGVH for VRRP mode the CARP fields would be zeroes.

    [6 lines not shown]
DeltaFile
+199-159sys/netinet/ip_carp.c
+199-1591 files

FreeBSD/src cda57d9sys/netinet ip_carp.c

carp: assert that we are calling correct input function. We are.

Reviewed by:    kp
Differential Revision:  https://reviews.freebsd.org/D45037
DeltaFile
+4-3sys/netinet/ip_carp.c
+4-31 files

FreeBSD/src 5ee92cbsys/netinet ip_carp.c

carp: don't chain call vrrp_send_ad via carp_send_ad

Provide inline send_ad_locked() that switches between protocol
specific sending function.

Rename carp_send_ad() to carp_callout() to avoid getting lost in
all these multiple foo_send_ad.

No functional change intended.

Reviewed by:    kp
Differential Revision:  https://reviews.freebsd.org/D45036
DeltaFile
+22-14sys/netinet/ip_carp.c
+22-141 files

FreeBSD/src 0d446a4sbin/ifconfig ifconfig.8, share/man/man4 carp.4

carp: document the new VRRPv3 support

Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D44776
DeltaFile
+15-1sbin/ifconfig/ifconfig.8
+12-1share/man/man4/carp.4
+27-22 files

FreeBSD/src 5311e73tests/sys/netinet carp.sh carp.py

netinet tests: basic VRRP tests

Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D44775
DeltaFile
+97-1tests/sys/netinet/carp.sh
+14-0tests/sys/netinet/carp.py
+111-12 files

FreeBSD/src 3711515lib/libifconfig libifconfig_carp.c libifconfig.h, sbin/ifconfig carp.c

carp: support VRRPv3

Allow carp(4) to use the VRRPv3 protocol (RFC 5798). We can distinguish carp and
VRRP based on the protocol version number (carp is 2, VRRPv3 is 3), and support
both from the carp(4) code.

Reviewed by:    glebius
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D44774
DeltaFile
+568-86sys/netinet/ip_carp.c
+57-11sbin/ifconfig/carp.c
+51-4sys/netinet/ip_carp.h
+6-0lib/libifconfig/libifconfig_carp.c
+3-0lib/libifconfig/libifconfig.h
+3-0sys/netinet/ip_carp_nl.h
+688-1016 files

FreeBSD/ports fdb884cnet/syncthing distinfo Makefile

net/syncthing: Update to 1.27.7

re: https://github.com/syncthing/syncthing/releases/tag/v1.27.7
DeltaFile
+3-3net/syncthing/distinfo
+1-2net/syncthing/Makefile
+4-52 files

FreeBSD/ports fadfb19devel/jujutsu distinfo Makefile.crates

devel/jujutsu: upgrade to version 0.17.1

Compared to version 0.16.0, this version contains a number of fixes
and improvements.

See the release notes at

    https://github.com/martinvonz/jj/releases/tag/v0.17.0

for details.

Version 0.17.1 speeds up "jj status" by no longer scanning through
the entire history to look for ancestors with conflicts.
DeltaFile
+73-75devel/jujutsu/distinfo
+35-36devel/jujutsu/Makefile.crates
+1-1devel/jujutsu/Makefile
+109-1123 files

FreeBSD/ports b429df8databases/py-pg8000 distinfo Makefile

databases/py-pg8000: Update to 1.31.2
DeltaFile
+3-3databases/py-pg8000/distinfo
+1-2databases/py-pg8000/Makefile
+4-52 files

FreeBSD/ports 9aad6e6devel/p5-Data-Dumper-Interp distinfo Makefile

devel/p5-Data-Dumper-Interp: Update to 7.007
DeltaFile
+3-3devel/p5-Data-Dumper-Interp/distinfo
+1-1devel/p5-Data-Dumper-Interp/Makefile
+4-42 files

FreeBSD/ports 70c9018science/pynn distinfo Makefile

science/pynn: Update to 0.12.3
DeltaFile
+3-3science/pynn/distinfo
+3-1science/pynn/Makefile
+6-42 files