Re: logging network disconnections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On 9 Aug 2022, at 05:35, Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> On Mon, 2022-08-08 at 06:49 -0500, Roger Heflin wrote:
>> ping either the router on the ISP, or ping one of the DNS servers.
> 
> I had thought about that, but also wondered if repeatedly pinging such
> things would bring up a firewall rule against me.  Even a slow ping
> rate, but over a long length of time, might be considered abuse.
> 
> Though, one thing I have against ping tests is that they *only* test a
> network's response to pings.
> 
>> If you want to be truly accurate you might ping the ISP router.  That
>> would detect connection to the ISP router works, but connection to
>> the DNS servers further in the network does not.
> 
> I haven't used an ISP's DNS servers for decades, they were always crap.
> I run BIND, so I'm quite certain a DNS failure isn't part of my network
> notwork problem.
> 
> Does anyone know what test Firefox uses to determine if you're offline
> or online?  Beyond NetworkManager on our OS raising a flag, Firefox
> will sometimes decide for itself that you're online or off (and be
> quite wrong about it).
> 
> I know the detection can be turned off, for those who use browsers on
> LANs and don't care about WWW, that detection gets in the way of
> configuring equipment.  But I haven't found anything that explains how
> it does its trick.

OS may poll a server in the internet to warn about lose of internet.
Fedora, I recall, has such a server, as does Microsoft.
You can check that none of the network interfaces are up on a host.
I do not know what Firefox does, I have not seen it claim it’s offline myself.

Personally what I do is check for services I care about being reachable.
I check dns is working for my own cloud servers and then ping them to see
that they respond. I do this on demand when I load a web page on my router,
which is fedora based device.

Barry

> 
> -- 
> 
> uname -rsvp
> Linux 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64
> 
> Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
> I will only get to see the messages that are posted to the mailing list.
> 
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux