From: Julien Vehent <julien@linuxwall.info>
To: "Usuário do Sistema" <maiconlp@ig.com.br>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Block Facebook with Layer7
Date: Mon, 17 Sep 2012 21:54:44 -0400 [thread overview]
Message-ID: <47e26662c03e90efdd07a69583376777@linuxwall.info> (raw)
In-Reply-To: <CAMTjHrwPuUTra2hHqP8oq3=SDVi_K_nAE4cjcGsaANL_ge63cA@mail.gmail.com>
On 2012-09-17 18:30, Usuário do Sistema wrote:
> Hello everyone,
>
> it's possible to drop traffic to facebook with iptables Layer7 ? I
> have done some test with Squid but I found some difficult because I'm
> using Transparent Proxy so maybe it been more easy to drop with
> iptables layer7.
>
> any tips is welcome......as well as some how to....
>
>
iptables -t filter -I FORWARD -p tcp --dport 80 -m string --string "host:
facebook.com" --icase --algo bm -j DROP
Of course, this won't work with HTTPS connections.
--
Julien Vehent - http://jve.linuxwall.info
next prev parent reply other threads:[~2012-09-18 1:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 22:30 Block Facebook with Layer7 Usuário do Sistema
2012-09-18 1:54 ` Julien Vehent [this message]
2012-09-18 2:53 ` Usuário do Sistema
2012-09-18 4:00 ` Julien Vehent
2012-09-18 5:32 ` Jan Engelhardt
2012-09-18 10:15 ` John A. Sullivan III
2012-09-18 11:49 ` Humberto Jucá
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=47e26662c03e90efdd07a69583376777@linuxwall.info \
--to=julien@linuxwall.info \
--cc=maiconlp@ig.com.br \
--cc=netfilter@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.