Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 1 day ago

How a VPN kill-switch caused sudo to hang

anagogistis.com

external-link
message-square
0
fedilink
4
external-link

How a VPN kill-switch caused sudo to hang

anagogistis.com

RSS BotMB to Lobste.rsEnglish · 1 day ago
message-square
0
fedilink
Recently I ran into a frustrating but interesting issue on my Linux machine (Ubuntu 24.04.2 LTS): whenever my VPN’s kill switch engaged (when the tunnel went down for any reason), using sudo became noticeably slow. Eventually, I figured out what was happening and found several ways to fix it. The root of the problem was surprising, at least for me, and I thought it was worth sharing. Causes Most VPN’s implement a kill-switch as an emergency brake for when the tunnel drops (e.g., WiFi flaps or the VPN process dies). They typically implement an iptables rule1 with the DROP target as the default policy for all outbound traffic (-P OUTPUT DROP), including DNS to your local router and public resolvers.

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 27 users / day
  • 132 users / week
  • 395 users / month
  • 1.29K users / 6 months
  • 2 local subscribers
  • 250 subscribers
  • 7.44K Posts
  • 372 Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org