TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:12949] cwlug IPCHAINS and banner ads (fwd)



> Does anybody out there truly understand how to write an ipchains rule,
> aside from copying the crap that's on the HOWTO pages?  I find it all
> truly cryptic, and it makes it very difficult to write my own chains.
> http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html
> 
> I'm interested in creating an IPCHAINS rule that will redirect any
> requests for *doubleclick.net (amongst many other domains) to my local
> linux box where my local server would fulfill the request with a 1x1
> transparent image instead of getting the doubleclick crap.  Anybody else
> have a clue?  RTFM is no help here....

Ipchains is IP-based, and doubleclick has a ton of servers on different
IPs. Totally different subnets even. Ipchains just isn't a good way to
do this. Yeah I've tried...

Its much better done with a proxy. Someone mentioned squid...