From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZkbYr2C6Xz335T for ; Fri, 25 Apr 2025 14:58:08 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZkbYm5dPdz32dy for ; Fri, 25 Apr 2025 14:58:04 +0000 (UTC) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZkbYl2hsYz2k3 for ; Fri, 25 Apr 2025 14:58:03 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=jSPUbwYh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mail01.ipfire.org: domain of mikejohnhouse@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=mikejohnhouse@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1745593083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ABxXoVPRNy2eYwWyQnHP/3/GQwGVKjkBew0+GpqdU0I=; b=UvBaQQCO5a63YxdrEE8Z3hWYGDH62ocQuzeMEreaDvSxuACK8mIh5pWauW7mVUIsO8dzkg ENVw4XP1VcDiZxGP1W11T/4sPiyocIVsvBUc2JYDAKCNq0uTWDwMnAKyCDF3zZqmHA28x/ hpehHtxDOSaT53IZop2C1zo9Og5/KSrLAz0TfLbDeIFsEd4qPmgWVSGryzHgWOGBG2ql/R mma12F7NZN0j4wdAi+SohPh2TelbQrfUhOr7MNAaOwMMwmuqfyyFv9mva8FxeXkF9MLdfW XpKgBf7N38lFn59ETzGW7bd+FcMoeaqlJpA0/l5XjOIZPmQFhk0R339U6ux39w== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=jSPUbwYh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mail01.ipfire.org: domain of mikejohnhouse@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=mikejohnhouse@gmail.com ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1745593083; a=rsa-sha256; cv=none; b=CTNm8w3pDmYapfnO0z8wVHPJoIUVDR1esk80gH+HhVVJ39IFCtog7wwmVGVSjKJuQgw/uD 8aXxcXHTAIsUEKfiDxWGwlPCVj1Vp8LrlXVcEORhCnWCrzg5TEWGspADWiA0zAvUMm277L 5M6nCXqFBStIbOSs2UUSxzcpwby3YxOpxHi6TYm/df7ZzwvQuchk7pKgax9cxQimnd4kic o5E1yYChK4/XDOCp/NkDHROCD75r1frz2ewG9PQY/Lw2utoDtUMmkDhlC8MHGMncjYZ9V6 VF3qRl+xC41SBtUzAH1zzhoIuN+nbJQ3mOEoLWmzmMsLgn4XSJUfa/d0rGyvjA== Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5e5bc066283so4100897a12.0 for ; Fri, 25 Apr 2025 07:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745593082; x=1746197882; darn=lists.ipfire.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ABxXoVPRNy2eYwWyQnHP/3/GQwGVKjkBew0+GpqdU0I=; b=jSPUbwYhWeeqO4dmwhG2SoeYmfDtsPlglf29pnFLJYnsI9c4VmBFh1AvlLXwd2aJYm Pwcb2u6LywwZiprtfb1gJL8Qrbp52horEF6p4FvPJhvoAzL47tI1YfpCCsU7oK7c1vS5 MNHr7/phjCTt+3/bUCiOs/SgWmZDRSw9fwP+seXxz900Zut3h2Zo2bYFAr9paW8D7CPR lIGnh2FqB0S3oZc3vt41YUtogYRZKqeJIC61bVVu9xwSoAMPG/isZBVkl8nZn6KLYkKT 4/KAY3LLhLzEuCrOwAgNqZMwI9nZoRjQmvSRvQJrKrS4Zqlvf5CTtPBocgMAwFNKuYAn AKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745593082; x=1746197882; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ABxXoVPRNy2eYwWyQnHP/3/GQwGVKjkBew0+GpqdU0I=; b=rG/5fHZ5TW1YQPynCSp9ZvzVDsdRF8+2bQ7Qg3OAdAzJ8i8COC8rTO764IfeLWuNoS l65OBVqEryj81+RBDVfwBDmUOky56ur6htzfPQsmyRW/+Qtfrm8e3m5ZPILD2Ob2EU9t yINMaaBOGOr94JW715di7bBbwdbXsVQcd25hbnV8gcIcnQdCRWePOWmESo4oDcED83vo c1ZtOMgdW4kj/oh/wBjmnUyyKuapG/Fohxwnt3U5pG/Yq/7Xqelc7j1WyvPj8NImCOjV XPqo0sNOPb/tPDZwjOtlahq8fqv60BxdLHr0klG+E/CKrBinXPk7zVpORcGyIbILJStH 13bQ== X-Gm-Message-State: AOJu0YxVgW2+vOhaDKLUaOdbdJzIn/m7MrFXotZPUOBOGCyWX2NVOePk BeLRclRq9wz9kSFmX7Af6fdFoJryXBizKvkBJMoU6fMZs3Mi9yuIgWqyOXn+i/Jly1Pj5L8VP/f 3KDoQ9GttyZYcP65FXcx5cMbVDtCtgFU5 X-Gm-Gg: ASbGncv1W0xeTZFhDFYbg8Y5VjoOQp6IqUvpW5pxNczVdlWnh5QhXqFBut3kbK9vCL6 BNF8/J1iL3XeBzLYHG24YFgCXiYCjL3Xc8DZ1b3PpGoWfdxYou1owM3Wh79OtligyX0h4xOkNZ8 n8GQtNG7gD9R0mllkhRqWDkA== X-Google-Smtp-Source: AGHT+IHzIsXQlnzzVbHCt8U398LBMwSDu3d6Bd4aykKXTvTuSS98NMaYUYV/C4qJKkUQo4NXcx4lVJM1APncotNDS9M= X-Received: by 2002:a17:907:7f8d:b0:ac2:912d:5a80 with SMTP id a640c23a62f3a-ace7103925bmr244640466b.5.1745593081583; Fri, 25 Apr 2025 07:58:01 -0700 (PDT) Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 References: In-Reply-To: From: fairmont Date: Fri, 25 Apr 2025 08:57:50 -0600 X-Gm-Features: ATxdqUEN2pVLYbXVwhE9r7gJSJu8FWJ9l0az5LYw2pzeKoHV88mHq6KasA7D_oA Message-ID: Subject: Re: ARP ping instead of ICMP ping for gateway latency check ? To: development@lists.ipfire.org Content-Type: multipart/alternative; boundary="0000000000008cdcb106339b8fd0" X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4ZkbYl2hsYz2k3 X-Spamd-Result: default: False [-6.33 / 11.00]; BAYES_HAM(-2.70)[98.68%]; R_DKIM_ALLOW(-1.68)[gmail.com:s=20230601]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM(-0.98)[-0.980]; DKIM_REPUTATION(-0.95)[-0.95131875033769]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; SPF_REPUTATION_HAM(-0.11)[-0.11068928956758]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_REPUTATION_HAM(-0.10)[asn: 15169(-0.20), country: US(-0.01), ip: 2a00:1450:4864:20::(0.12)]; MX_GOOD(-0.01)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1] X-Rspamd-Action: no action --0000000000008cdcb106339b8fd0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Have you tried tracepath since it uses UDP? tracepath -4 -b or tracepath -6 -b or even tracepath -b www.google.com TCP ping would be another method. On Tue, Apr 22, 2025 at 8:35=E2=80=AFAM Michael Tremer wrote: > Hello Robin, > > > On 20 Apr 2025, at 23:52, Robin Roevens > wrote: > > > > Hi All > > > > I recently changed my internet provider and I noticed that both the > > gateway graph on cgi-bin/netother.cgi and my Zabbix gateway ping check > > no longer work. > > Yes, some ISPs don=E2=80=99t respond do ICMP echo requests to the gateway= . I have > no idea why really, but it is not uncommon. > > > It seems that my current provider blocks ICMP pings on the gateway > > address. > > So I was wondering if it wouldn't be better to use arping instead of > > normal ping to check the latency of the gateway? This should always > > works regardless of firewalls of the provider.. I think? > > This is a good idea. An ARP ping should always work, because otherwise > there is no way to discover the layer 2 address of the gateway. But that > obviously only applies to internet connections that actually use ARP. PPP > connections don=E2=80=99t use ARP for example. > > We are also using collectd which is using liboping and that only supports > ICMP. > > > I can quite easily change this Zabbix check. But I'm not sure about the > > graph on netother.cgi; I can look into that if you all think that > > change would be a good idea? Or if anyone could give me some pointers > > on where to start looking? > > I think so. It could be an option for the future. > > If the gateway does not respond to pings, you should automatically fall > back to ping.ipfire.org though. So the graph > should always have some data to show. > > Best, > -Michael > > > > > Regards > > Robin > > > > -- > > Dit bericht is gescanned op virussen en andere gevaarlijke > > inhoud door MailScanner en lijkt schoon te zijn. > > > > > > > --0000000000008cdcb106339b8fd0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have you tried tracepath since it=C2=A0uses UDP?

tracepath -4 -b <outside ipV4 address>
or
tracepath -6 -b <outside ipV6 address>
or even
tracepath -b www.google.com

TCP ping would be another method.


On Tue, Apr 22, 2025 at 8:35=E2=80=AFAM Michael Tremer &l= t;michael.tremer@ipfire.org> wrote:
Hel= lo Robin,

> On 20 Apr 2025, at 23:52, Robin Roevens <
robin.roevens@disroot.org> wrot= e:
>
> Hi All
>
> I recently changed my internet provider and I noticed that both the > gateway graph on cgi-bin/netother.cgi and my Zabbix gateway ping check=
> no longer work.

Yes, some ISPs don=E2=80=99t respond do ICMP echo requests to the gateway. = I have no idea why really, but it is not uncommon.

> It seems that my current provider blocks ICMP pings on the gateway
> address.
> So I was wondering if it wouldn't be better to use arping instead = of
> normal ping to check the latency of the gateway? This should always > works regardless of firewalls of the provider.. I think?

This is a good idea. An ARP ping should always work, because otherwise ther= e is no way to discover the layer 2 address of the gateway. But that obviou= sly only applies to internet connections that actually use ARP. PPP connect= ions don=E2=80=99t use ARP for example.

We are also using collectd which is using liboping and that only supports I= CMP.

> I can quite easily change this Zabbix check. But I'm not sure abou= t the
> graph on netother.cgi; I can look into that if you all think that
> change would be a good idea? Or if anyone could give me some pointers<= br> > on where to start looking?

I think so. It could be an option for the future.

If the gateway does not respond to pings, you should automatically fall bac= k to ping.ipfire.org <http://ping.ipfire.org/> though. So the grap= h should always have some data to show.

Best,
-Michael

>
> Regards
> Robin
>
> --
> Dit bericht is gescanned op virussen en andere gevaarlijke
> inhoud door MailScanner en lijkt schoon te zijn.
>
>


--0000000000008cdcb106339b8fd0--