TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Douane personal firewall for GNU/Linux

131 pointsby dd112over 8 years ago

15 comments

awordnotover 8 years ago
I would be careful, a critical buffer overflow vulnerability was just found in the Douane kernel module: <a href="https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;douane-dkms&#x2F;commit&#x2F;61023b91fbafab8e63d8c271ec25aa0929f2f643" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;douane-dkms&#x2F;commit&#x2F;61023b91fbafab8...</a>
评论 #13454342 未加载
评论 #13453102 未加载
评论 #13452969 未加载
asrpover 8 years ago
Nice project and makes you think why all programs are given all network access by default.<p>This page lists nothing under Packages but the author has actually made AUR packages for Archlinux:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;Douane&#x2F;wiki&#x2F;Archlinux-Packaging" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;Douane&#x2F;wiki&#x2F;Archlinux-Packaging</a><p>Here&#x27;s a directly link to the installation instructions for anyone who&#x27;d want to try it out<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;Douane&#x2F;wiki&#x2F;Compilation" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Douane&#x2F;Douane&#x2F;wiki&#x2F;Compilation</a>
评论 #13452115 未加载
notalaserover 8 years ago
I remember using this sort of applications on Windows (a very long time ago; those were the days of Windows 98, whose famous stability drove me to Linux and BSD). Can some of its users help me shed some light on the use case of such a program on an open source system? I mean:<p>- Signed packages from trusted repos <i>should</i> not need firewalling, at least not if you&#x27;re using a serious distro rather than a hobby project. This isn&#x27;t true in the general case, of course (hence things like OpenBSD&#x27;s auditing of base packages), but this is a personal firewall, it&#x27;s not exactly intended for server-grade equipment...<p>- If you install packages from dubious PPAs all over the Interwebs, a puny kernel module is unlikely to stop the two rootkits that you&#x27;ve probably already installed. Same for a system that has already been compromised.<p>- Untrusted applications (which you&#x27;re running straight on your system, rather than nicely tucked in a VM with no network access because...?) -- as practical experience on Android and Windows shows -- will generally break as soon as they can&#x27;t do their snooping because they&#x27;ll segfault or block waiting for the answer that never came to the package that was never sent anyway.<p>I see a lot of talk in the Linux desktop field about building lines of defense against untrusted programs. I see why this is relevant to users who are routinely running closed-source programs (no, I don&#x27;t personally audit every line of code running on my system, but a public source code repository is sort of a stupid place to hide malicious code when there&#x27;s so much <i>fully closed</i> code being purchased from &quot;app&quot; stores and downloaded from all over the web and whatnot). I find it hard to understand why it would be relevant on an open source desktop.<p>Things like Wayland&#x27;s sandboxing, I get to some degree -- it&#x27;s only a matter of time before JavaScript code in a browser will get access to <i>more</i> stuff from your computer, which will eventually include stuff like keystrokes and mouse events and whatnot, so it&#x27;ll have to be properly sandboxed. But why a personal firewall? What sort of applications do you find yourself wanting to block, and <i>why</i> for heaven&#x27;s sake are you running them on your Linux computer, when it&#x27;s really 2017 and there&#x27;s plenty of choice in terms of applications.
评论 #13451347 未加载
评论 #13451544 未加载
评论 #13451457 未加载
评论 #13451293 未加载
评论 #13452451 未加载
floatbothover 8 years ago
I like the Little Snitch style &quot;allow&#x2F;deny per binary&quot; thing. It&#x27;s really unfortunate that it needs a new kernel module because current default firewalls (pf, iptables, etc.) only operate on IP addresses don&#x27;t know anything about processes.
评论 #13451765 未加载
评论 #13450565 未加载
评论 #13450594 未加载
评论 #13450455 未加载
评论 #13450776 未加载
slackaover 8 years ago
A centrally managed app permissions system would go a long way to improving Linux’s desktop experience. For example in Wayland, there&#x27;s a huge tug-of-war going on between security minded people who don’t want keyloggers and screen capture vs average desktop users that want their old global shortcuts and screen capture&#x2F;remote access apps to work.<p>I think a permission system like Douane’s would solve this divide.
tscs37over 8 years ago
I like this.<p>Linux has been missing a personal firewall with good GUI for a looong time.<p>I&#x27;ll probs give it a try on a VM and see how well it works.
评论 #13452082 未加载
dimitarover 8 years ago
Douane is &quot;Customs&quot; (as on a border between countries) in French. Clever name!
评论 #13451324 未加载
steinexover 8 years ago
&quot;Latest commit by zedtux over 2 years ago&quot;<p>well.<p>but TBH, I&#x27;d <i>love</i> to see some Little Snitch-like thingy on Linux.
评论 #13452099 未加载
chris_wotover 8 years ago
This looks a bit like Murus Firewall for OS X. Cool project! Are there any options for exporting the rules or tweaking them in more complex ways?
wazooxover 8 years ago
I don&#x27;t get why they didn&#x27;t simply make a GUI&#x2F;Wizard for iptables.
cdevsover 8 years ago
The reason I like control like this is the reason I want a plastic shutter&#x2F;window on all phone and laptop cameras I should trust ur software butttttttt I still want the extra piece of mind. Also I don&#x27;t trust software since ...ya know...zero days.
joshumaxover 8 years ago
Looks like a good alternative for GNU&#x2F;Linux to Little Snitch and RadioSilence (both MacOS only), recently displayed on HN.
bastawhizover 8 years ago
Can&#x27;t a process forge its name and icon?
评论 #13450612 未加载
epseover 8 years ago
Ugh, grammar error on the first page. &quot;did not expected&quot;
ercitixover 8 years ago
Nice project, it would be great to see Ubuntu&#x2F;Debian support out of box