[GH-ISSUE #1126] --netfilter example not in effect #773

Closed
opened 2026-05-05 06:37:54 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @testbird on GitHub (Mar 5, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1126

IIUC this should fail:

firejail --net=eth0 --netfilter=/etc/firejail/nolocal.net wget http://mylocal.server/index.html

But it succeeds and I found index.html was downloaded.

Originally created by @testbird on GitHub (Mar 5, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1126 IIUC this should fail: ``` firejail --net=eth0 --netfilter=/etc/firejail/nolocal.net wget http://mylocal.server/index.html ``` But it succeeds and I found index.html was downloaded.
gitea-mirror 2026-05-05 06:37:54 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Mar 7, 2017):

What's the ip of your local server? I have in the filter something like this:

-A OUTPUT -d 192.168.0.0/16 -j DROP
-A OUTPUT -d 10.0.0.0/8 -j DROP
-A OUTPUT -d 172.16.0.0/12 -j DROP
<!-- gh-comment-id:284741631 --> @netblue30 commented on GitHub (Mar 7, 2017): What's the ip of your local server? I have in the filter something like this: ````` -A OUTPUT -d 192.168.0.0/16 -j DROP -A OUTPUT -d 10.0.0.0/8 -j DROP -A OUTPUT -d 172.16.0.0/12 -j DROP `````
Author
Owner

@testbird commented on GitHub (Mar 8, 2017):

Today I can not reproduce this anymore. Maybe it has only happended when there were stall firejail processes still running (#1128) ?

<!-- gh-comment-id:285023888 --> @testbird commented on GitHub (Mar 8, 2017): Today I can not reproduce this anymore. Maybe it has only happended when there were stall firejail processes still running (#1128) ?
Author
Owner

@netblue30 commented on GitHub (Mar 8, 2017):

No problem.

<!-- gh-comment-id:285084536 --> @netblue30 commented on GitHub (Mar 8, 2017): No problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#773
No description provided.