Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Agent007 on 15 October 2002, 22:39
-
hi!
Am using RedHat 7.3. Is there a way to block certain images from certain
websites? Using the firewall perhaps? OR is there a 3rd party tool which
would do the trick? I think something like a string match would need to be
used right?
thanks,
007
-
Mozilla can block images from certain servers.
you can use iptables to block certain servers from interacting with your computer (like doubleclick.net)
-
In Mozilla, right click on the image and choose to block images from this server. IT blocks the server where the image comes from, not the web page. I do this to get rid of the X10 Ads. No other ads have proven annoying enough for me to do this.
-
Actually, if it is ads you wish to block, I block 99% of them automatically with the use of the Squid proxy server on my Linux firewall. You'll also need to add the "adzap" redirector to your Squid configuration:
http://www.zip.com.au/~cs/adzap/index.html (http://www.zip.com.au/~cs/adzap/index.html)
I have a cron job set up to run weekly to get the updated list of ads to zap (you could also add your own if you are really froggy but I find it is not necessary). This will block all ads on any machine you are on behind your firewall (assuming you have your browsers configured to use your proxy). For the annoying tag line images I use the Mozilla trick of right clicking and blocking the server that the images come from. This forum is tag-line image free for me I am happy to report.
-
so would it really piss you off if i changed the server that hosted my sig images everyday??
-
No, it would be a big help to me as I would have a head start on blocking all those free hosting sites so I don't have to block them in the future. ;)
-
No...I dont want to block all images from the server, its only a selected one..Is this possible? Can ipchains be used? How do I go about doing this?
thanks,
007
-
You want to block specific images? Why?
You can't do that with a firewall. What browser are you using?
-
of course you can block them with a firewall!!!
here is ipchains:
ipchains -A input -s ***.***.***.*** -j DENY
iptables:
iptables -A INPUT -s ***.***.***.*** -j DENY
replace ***.***.***.*** with the IP address of the server you want to block. You might want to swithc the "input" to "output" if you want want to stop your computer from even contacting the site.
[ October 16, 2002: Message edited by: The Master of Reality / Bob ]
-
no he doesn't want to block entire sites; just specific images.
-
the adzap script would work to block certain images. you would need to setup a proxy server to do that though.
-
OK, let me take an example with rgds to this forum.....I want to block this image:- http://www.fuckmicrosoft.com/images/fms_logo.gif (http://www.fuckmicrosoft.com/images/fms_logo.gif) but NOT the others since then I wont be able to c other smaller image buttons like post a new topic or latest updated topics etc.
Also, I'm on a home system and installing "adzap" redirector will require squid right? Is it advisable to install squid on a home system? I mean, it would take up precious CPU cycles...Also how big is squid approx? I'm on a 33.6 modem and can download a max of 3MB.
What would be ideal is a firewall like outpost(windows based) www.agnitum.com. (http://www.agnitum.com.) In there one can block images on the fly by just adding the full URL.
thanks,
007
quote:
Originally posted by flap:
You want to block specific images? Why?
You can't do that with a firewall. What browser are you using?