Disabling automatic internet requests

Hi, im trying to turn off all automatic system internet requests in fedora, at the moment i stucked on this request which i provided in screenshot, any idea which service starts that connection, and how to turn it of? I would be thankfull if anyone give me guide how to turn of all automatic network requests that fedora make.

Also I would like to ask does open source means that application/system/program does not have connection to some outside server and that it runs on its own, if so, then fedora definitly is not opensource anymore.

It is the equivalent of captive portal detection in Android and provided by NetworkManager-config-connectivity-fedora package. You can remove it with:

sudo dnf remove NetworkManager-config-connectivity-fedora

There is also dnf-makecache.timer which periodically refreshes dnf cache and it is enabled by default. You can disable it with:

sudo systemctl disable --now dnf-makecache.timer

These are the ones I am aware of. Other applications, like Firefox and GNOME Software, may also make network connections. You can disable checking for updates from GNOME software, I don’t know precise steps since I don’t use it but it is somewhere in the settings. You can search internet for how to make Firefox more privacy respecting, it is a separate topic on its own and there are many good guides about it on the internet.

As for making connections to outside servers, I don’t mind as long as they connect to Fedora Project’s infrastructure, have practical reasons to do so, are documented and give me an option to disable them. I personally trust Fedora by using it in the first place; but if you don’t, that’s OK and there are many other choices you can choose from. I will add if I find another thing to remove/disable. Cheers…

7 Likes

thanks for the answer.
I already turned off gnome software updates, just run as non root:
gsettings set org.gnome.software download-updates false
and except that had to disable auto updates with disabling packagekit.service and packagekit-offline-update.service.
now system runs 100% opensource :wink:

2 Likes

“Open Source” means that the software follows the Open Source Definition, no more and no less. In Fedora, that specifically means that the software which is part of the Fedora OS all follows one of our approved licenses as seen here: License Approval :: Fedora Docs.

These licenses generally speak about what you as a user and recipient can do with the software. They don’t normally bind what the software does, and indeed we do not have and have never had specific rules around that. Our only limits are described here: Forbidden items - Fedora Project Wiki

  • If it is proprietary, it cannot be included in Fedora. (Binary firmware is the only exception to this)
  • If it is legally encumbered, it cannot be included in Fedora.
  • If it violates United States laws (specifically, Federal or applicable state laws), it cannot be included in Fedora.

Now, that said, open source and free software generally does not have the same incentives to track and tie you in to a remote (and probably proprietary) Internet infrastructure. And, many people in the open source world tend to be more concerned with privacy than the average person. But these are simply related concerns, nothing to do with whether something is open source per se.

The connection that does relate to open source is that you can look at the code and see exactly what the connections are, and if necessary, modify that code to not do things you don’t want it to.

4 Likes

What you are saying is different from what @ersen suggested: packagekit ≠ dnf. Moreoever, with the command you issued you stop PackageKit from auto-downloading updates, but not from refreshing metadata (to know if updates are available).

Btw, there is many more services that establish a TCP connection to the outside world (time, weather, clock, accounts, calendar, email, …).

Does that include your firmware and BIOS?

2 Likes

as I know time and clock are the same, you can easy turn it of with disabling chronyd.
and rest of list im not defenetly using on workstation, i got windows for it.

LOL :roll_eyes:

Worried about open source calling home then uses windows instead. That is really using the brain.
M$ is in constant contact with mother and never tells you what it is doing or when, with constant monitoring and reporting in many unknown ways. AND you have no control of what it is doing behind the scenes.
:rofl:

2 Likes

agree with you, I just wanted to say that running weather and rest of services on workstation is equal to using windows,

Just to add that after running all of mentioned commands after some time dnf started again with calling home.

dnf will always call home periodically as it needs to keep the repo metadata refreshed. If it did not it could require several seconds and possiby several MB of data download to refresh the metadata before updates or installs could be done. To see how much delay could be seen each time simply run “dnf clean all” followed by “dnf install ” and see how long the delay is as it downloads new metadata. Refreshing the data in the background is a major time saver for the user.

While I might agree with you if the system were sending data about how I use the system, I certainly do not have a problem with background communications that make routine tasks simpler and faster.

There is much more problem with browsers and those web servers doing user data collecting and selling than there is with any other app used on linux that I can think of.

1 Like

Open Firefox can also hammer its web site for detecting internet connection.