From owner-freebsd-ports-bugs@freebsd.org Thu Mar 18 16:34:18 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4FBDA57C2DD for ; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1Xff1cCZz3wSB for ; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3535D57C602; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34FA857C601 for ; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1Xff0x9Jz3wPg for ; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13ACC24EC9 for ; Thu, 18 Mar 2021 16:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12IGYImM025628 for ; Thu, 18 Mar 2021 16:34:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12IGYIfQ025627 for ports-bugs@FreeBSD.org; Thu, 18 Mar 2021 16:34:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254384] net/vnstat: occasionally does not log traffic & regularly gets the MaxBandwidth wrong Date: Thu, 18 Mar 2021 16:34:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: walter.von.entferndt@posteo.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2021 16:34:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254384 Bug ID: 254384 Summary: net/vnstat: occasionally does not log traffic & regularly gets the MaxBandwidth wrong Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: walter.von.entferndt@posteo.net Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org For a long time, net/vnstat did work fine. But since some days (weeks?), it started to fail to log all traffic occasionally, and it gets the bandwidth = of my ppp(8)-tun(4) interface wrong everytime. When I notice that it fails to= log the traffic, I have to restart it manually, until it starts to log the traf= fic. I guess this behaviour started with the last update. I'm using packages o= n a stock FreeBSD 12.2-RELEASE-p4, amd64 laptop with internet from WWAN (mobile phone radio network) with a built-in Ericsson HSDPA+ modem. Please note the bandwidth applied to the tun0 interface (excerpt from /var/log/messages.log): Mar 18 16:25:06 t450s vnstatd[98496]: Monitoring (5): wlan0 (300 Mbit) ue0 (2500 Mbit) tun0 (115200 Mbit) ipfw0 (2500 Mbit) em0 (1000 Mbit) but in vnstat's config I set (/usr/local/etc/vnstat.conf): BandwidthDetection 1 MaxBandwidth 2500 MaxBWem0 1000 MaxBWwlan0 300 MaxBWtun0 50 Note that 115200 baud is the default speed of the virtual serial line to the modem; that has never hindered the modem to supply bandwidth of up to 18 Mb= it/s (usually ~1-12 Mbit/s, my ISP's max. is 20 Mbit/s). --=20 You are receiving this mail because: You are the assignee for the bug.=