Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ramin Dousti <ramin@cannon.eng.us.uu.net>
To: woksy@ether.net1.nerim.net
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables and ads
Date: Mon, 11 Aug 2003 11:54:44 -0400	[thread overview]
Message-ID: <20030811155444.GA11900@cannon.eng.us.uu.net> (raw)
In-Reply-To: <200308111738.35713.woksy@ether.net1.nerim.net>

On Mon, Aug 11, 2003 at 05:38:35PM +0200, woksy@ether.net1.nerim.net wrote:

> Hi people ! ;-)

Hi :-)


> 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 think when you enter any application domain you'll better be off with
some solution at that (application) level. Use a transparant proxy and
block the communication there.

> 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

Well, the line above by itself is  not incorrect but:

0) what doesn't work?
1) what does drop-and-log-it do.
2) why do you kill the communication in INPUT? Not in OUTPUT?
3) Most of the ad stuff have a big DNS pool for the servers. I don't
   think your /32 catches them all.

Ramin

> but it seems that I mistaked.
> Can anybody help me please ? 
> Thanks
> 


      parent reply	other threads:[~2003-08-11 15:54 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
2003-08-11 15:54 ` Ramin Dousti [this message]

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=20030811155444.GA11900@cannon.eng.us.uu.net \
    --to=ramin@cannon.eng.us.uu.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=woksy@ether.net1.nerim.net \
    /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