🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #155

[Bug 295942] SSL_OP_ENABLE_KTLS_TX_ZEROCOPY_SENDFILE data corruption on files > 128KB

#155
From: bugzilla-noreply
Date: Tue, 20 Oct 2026 04:56
62 lines
4190 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295942

--- Comment #15 from Dirk Meyer <dinoex@FreeBSD.org> ---
bhyve VM with vtnet0, issue can be reproduced:

vtnet0: <VirtIO Networking Adapter> on virtio_pci5
vtnet0: Ethernet address: 00:a0:98:**:**:**
vtnet0: netmap queues/slots: TX 1/1024, RX 1/512
vtnet0: link state changed to UP


added to the bootom of lighttpd.conf:

server.network-backend = "writev"
server.feature-flags += ( "server.h2proto" => "disable", "server.h2c" =>
"disable" )
server.modules += ( "mod_openssl" )

$SERVER["socket"] == ":443" {
    ssl.engine = "enable"
    ssl.privkey = "/usr/local/etc/lighttpd/ssl/server.key"
    ssl.pemfile = "/usr/local/etc/lighttpd/ssl/server.crt"
    ssl.openssl.ssl-conf-cmd += ("Options" => "KTLS")
}

6ef4e2869521451b3be4d0f1c082c25145bf2c26cb28a30a62f946bb12407d85 
webalizer-geodb-20260601.ok.tgz
6ef4e2869521451b3be4d0f1c082c25145bf2c26cb28a30a62f946bb12407d85 
webalizer-geodb-20260601.tgz.curl.https
66194d91b763b3a8ad695abc5c5c293f64e524eae423d0c4fce1792b8151b12d 
webalizer-geodb-20260601.tgz.fetch.https
8520862de92217a7832f794ef694b7bb6a82b053b1ae1b568622497d6622e80e 
webalizer-geodb-20260601.tgz.wget.https

# sysctl kern.ipc.tls | grep -v ': 0'
kern.ipc.tls.ifnet.permitted: 1
kern.ipc.tls.sw.gcm: 2
kern.ipc.tls.max_reclaim: 1024
kern.ipc.tls.sw_buffer_cache: 1
kern.ipc.tls.cbc_enable: 1
kern.ipc.tls.rx_enable: 1
kern.ipc.tls.enable: 1
kern.ipc.tls.ifnet_max_rexmit_pct: 2
kern.ipc.tls.maxlen: 16384
kern.ipc.tls.stats.ocf.separate_output: 4146
kern.ipc.tls.stats.ocf.inplace: 143
kern.ipc.tls.stats.ocf.tls13_gcm_encrypts: 4289
kern.ipc.tls.stats.ocf.tls13_gcm_decrypts: 121
kern.ipc.tls.stats.active: 2
kern.ipc.tls.stats.enable_calls: 53
kern.ipc.tls.stats.offload_total: 53
kern.ipc.tls.stats.threads: 4

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-295942-227-DfGZt0PYhy@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-295942-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 295942] SSL_OP_ENABLE_KTLS_TX_ZEROCOPY_SENDFILE data corruption
 on files > 128KB
Date: Tue, 20 Oct 2026 04:56:12 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-295942-227-DfGZt0PYhy@https.bugs.freebsd.org/bugzilla/>
References: <bug-295942-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="60318"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792472172;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=/AYAJajFXTFQH/mCzK2HNUysVpoK0AnKV+Zhwmp82rs=;
	b=kuBvmkfA+NZ3aFECg4LFa6PX+im3LXOqMZ+xintM/6wMJS2qQ9Fk1PPcMpYaXty2OnCkiJ
	LZG/8hiHemUXIP1JuEIqXnOrvKXY6wVnWz4u8F439kLZpaEPab4DMt9/zhxk3GWuYQC2en
	UrolmtYxv1AuQH7RApZ5Hykwo2CR8apGQZTJt3c915W8/3rRgzkDZiHquBTJB5QZJqIbvB
	gUB4914zMekuuWOyXPjeiqXz8FGxfati/8zN20tb/QyLtv8++cHJwuOFpKL6BqYCxIrp/V
	v08rDxEqSwTjZInG5hMPa+Z/Q0mav3qLgBZIkY4o1fQwzr+ed2AkYOal9xA8Gg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-295942-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes