From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Blocking certain sites the easy way ?
Date: Fri, 29 May 2015 13:52:57 +0100 [thread overview]
Message-ID: <201505291353.00433.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20150528064423.GF4276@solfire>
[-- Attachment #1: Type: Text/Plain, Size: 2559 bytes --]
On Thursday 28 May 2015 07:44:23 Meino.Cramer@gmx.de wrote:
> Mick <michaelkintzios@gmail.com> [15-05-28 07:44]:
> > On Thursday 28 May 2015 06:11:08 Meino.Cramer@gmx.de wrote:
> > > Hi,
> > >
> > > With wireshark I found, that firefox accesses sites on startup, from
> > > which I dont know, for what reason this access is needed or whether
> > > the NSA, CIA, FBI, BDN, MOSSAD (fill in what organisation you ever
> > > suspect to do such things) has invaded my PC.
> >
> > It may none of the above, but FF and any addons checking what the latest
> > version is of themselves, as well as the Google search on the default
> > hope page doing a DNS query or some such.
> >
> > > I want to block such accesses for two reasons: First is ...hmmm...
> > > to block that accesses...second is to find out what will not work
> > > than.
> > >
> > > I dont want to install and configure a complete full blown firewalled
> > > SEL-Linux thingy here and I dont want to reboot my Linux box for every
> > > new site I added. I am looking for a simple solution, which I can use
> > > without studying the history of TCP/IP and others... ;)))
> > >
> > > What can I use for this purpose?
> >
> > You could try an application layer filter[1], but I think it won't work
> > insofar the connections you observed are probably using ports and
> > protocols same as your day to day browsing activity. Therefore you will
> > likely need to use iptables to block individual domains or IP addresses
> > and then regularly add to the list when the servers your browser wants
> > to contact change in that amorphous and reconfiguring cloud out there.
> >
> > You don't have to reboot your box when you change rules, but you'll need
> > to reload iptables.
> >
> >
> > [1] http://l7-filter.sourceforge.net/HOWTO-kernel
>
> Hi Mick,
>
> thanks for your help ! :)
>
> What mechanism is recommended to be used to reinstall/initiate the
> iptable rules while booting? Any Gentoo-ish? ;)
iptables save any rules in: /var/lib/iptables/rules-save
You can edit this and then run '/sbin/iptables-apply -t 90'
in case you have something wrong in there and there is a risk of locking
yourself out.
Or run '/etc/init.d/iptables stop' then change /var/lib/iptables/rules-save to
your liking and then '/etc/init.d/iptables start'
This is for vanilla iptables (IPv4). There are other scripts available (like
arnos-firewall) which have their own configuration files as a front end to
iptables.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-05-29 12:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 5:11 [gentoo-user] Blocking certain sites the easy way ? Meino.Cramer
2015-05-28 5:36 ` Mick
2015-05-28 6:44 ` Meino.Cramer
2015-05-29 12:52 ` Mick [this message]
2015-05-28 7:57 ` Neil Bothwick
2015-05-28 8:39 ` Fernando Rodriguez
2015-05-28 13:52 ` wabenbau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201505291353.00433.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox