WeSearch

The Habit That Was The Bug

·10 min read · 0 reactions · 0 comments · 8 views
#security#docker#linux
The Habit That Was The Bug
⚡ TL;DR · AI summary

The article discusses a recurring issue faced by the author with a self-hosted application firewall on a Docker host. The problem arises when Docker restarts its proxy process, leading to silent connection failures due to the firewall's default deny policy. A workaround is implemented to refresh the firewall rules, restoring functionality without needing to restart the container.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3833964) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Chris Posted on May 30 • Originally published at mpdc.dev The Habit That Was The Bug #security #selfhosted #docker #linux The first time it happened, I lost 45 minutes diagnosing it. By the tenth or so, I was muscle-memory typing the fix before the symptoms finished registering. That's the moment I should have flagged. I didn't. I just kept typing. THE BITE Ghost went down for 45 minutes. The CMS running mpdc.dev. Site unreachable. docker inspect showed the container healthy.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)