🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Bug 301354] icmp frames lost for fping but visible in tcpdump when using vtnet

#869
From: bugzilla-noreply
Date: Tue, 01 Dec 2026 11:56
64 lines
3756 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301354

            Bug ID: 301354
           Summary: icmp frames lost for fping but visible in tcpdump when
                    using vtnet
           Product: Base System
           Version: 14.5-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: joost@jodocus.org

Created attachment 278031
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=278031&action=edit
Code to reply to all pings routed through tun0

When pinging a large (>16) number of hosts using fping, it incorrectly reports
packet loss when the local nic is a vtnet one.

A tcpdump on the local machine will contain the replies fping is claiming to be
missing.

If the local nic is replaced with a vmx one, the reported loss vanishes.

My environment:
 14.5-RELEASE-p4 with no additional software except as described below.
 Proxmox 9.2 hypervisor.
 All guests/vms running on the same host.

To reproduce:
* create two virtual machines on a single subnet
  "source" with a vtnet network interface and fping installed.
  "target" with a nic (type does not matter)

On target:
- enable ip forwarding
- create a tun0 interface and route a /24 to this interface
- start the attached (ai-generated) program to generate echo-replies for all
echo-requests routed through tun0.

On source:
- route the /24 to the target machine
- start tcpdump 
- run fping -C3 -i0 -g a.b.c.d/24

fping will report loss, while the capture will contain all 762 (3x254) requests
and all 762 replies.

-- 
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-301354-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301354] icmp frames lost for fping but visible in tcpdump when
 using vtnet
Date: Tue, 01 Dec 2026 11:56:27 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301354-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="93930"; 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=1796126188;
	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;
	bh=yhRJ6GWujeUDmSY20psQ2XUnPpv2Jxr4m5+31o5FORI=;
	b=hb0ujskPcC8pMXFZRpvbDj8APeqfAdwZDTcSmF2qBtF6bOOHngHU14SsOXaSETqEsKh27a
	is/MOBBi5nhyt9PFjaQFfteCBrfNyNXCvDa/dl9iqY0b2iYBwjT9/7x4o4IbqAJQKBmTQQ
	GZ2hnKQle80R+KruxZjdLMWknE85zbVDQWLf7omjBSPndxOzVfGJSqAK8RS4Xi2qarhwXn
	QdtVm+WC11wPfgUfL9Vb6KqqJ6UHlQq+708VWrablP39vpjI9TzN46RLeMyBo6c+bfw7FM
	mVoTco5viK5w74E2tph/r5etADK94q5TX5N+Z+Pd1aw7WuDMnAmNw7QaQxASIQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes