From: woksy@ether.net1.nerim.net
To: netfilter@lists.netfilter.org
Subject: Re: iptables and ads
Date: Mon, 11 Aug 2003 21:38:09 +0200 [thread overview]
Message-ID: <200308111814.57102.mdily.ether@nerim.fr> (raw)
In-Reply-To: <200308111751.36820.andre@highsecure.de>
Thank you a lot for your help people, I think Amie gave me the best way to
solve my problem ;-)
It was really fast, thanks ;-)
Le Lundi 11 Août 2003 17:51, Andre Lorenz a écrit :
Am Montag, 11. August 2003 17:38 schrieb woksy@ether.net1.nerim.net:
> Hi people ! ;-)
> I was just answering myself if i could stop ads loading from web pages
> such as yahoo, lycos, & co ? (i don't mean blocking popup, just stopping
> those boring ads from loading)
> I tried to do this with something like that:
> $IPTABLES -A INPUT -i $EXTIF -s 216.73.92.112/32 -j drop-and-log-it
> but it seems that I mistaked.
> Can anybody help me please ?
> Thanks
Hello,
I would solve this like this way
iptables -N drop-and-log-it
iptables -A input -i $EXTIF -j drop-and-log-it
iptables -A drop-and-log-it -s 216.73.92.112/32 -j DROP
iptables -A drop-and-log-it -s 216.73.92.112/32 -j LOG --log-prefix
"SOMETHING_TEXT: "
It isn't elegant, but it might work
mfg
Andre
next prev parent reply other threads:[~2003-08-11 19:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-11 15:38 iptables and ads woksy
2003-08-11 15:51 ` Andre Lorenz
2003-08-11 19:38 ` woksy [this message]
2003-08-11 15:54 ` Ramin Dousti
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=200308111814.57102.mdily.ether@nerim.fr \
--to=woksy@ether.net1.nerim.net \
--cc=netfilter@lists.netfilter.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