Author Topic: Blocking certain Images  (Read 1516 times)

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Blocking certain Images
« 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
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Blocking certain Images
« Reply #1 on: 16 October 2002, 01:02 »
Mozilla can block images from certain servers.

you can use iptables to block certain servers from interacting with your computer (like doubleclick.net)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Blocking certain Images
« Reply #2 on: 16 October 2002, 04:33 »
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.
In brightest day, in darkest night, no evil shall escape my sight....

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Blocking certain Images
« Reply #3 on: 16 October 2002, 04:39 »
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

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.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Blocking certain Images
« Reply #4 on: 16 October 2002, 06:22 »
so would it really piss you off if i changed the server that hosted my sig images everyday??
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Blocking certain Images
« Reply #5 on: 16 October 2002, 08:37 »
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.  ;)
Someone please remove this account. Thanks...

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Blocking certain Images
« Reply #6 on: 16 October 2002, 22:27 »
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
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
Blocking certain Images
« Reply #7 on: 16 October 2002, 23:27 »
You want to block specific images? Why?
You can't do that with a firewall. What browser are you using?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Blocking certain Images
« Reply #8 on: 17 October 2002, 00:09 »
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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
Blocking certain Images
« Reply #9 on: 17 October 2002, 00:32 »
no he doesn't want to block entire sites; just specific images.
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Blocking certain Images
« Reply #10 on: 17 October 2002, 01:36 »
the adzap script would work to block certain images. you would need to setup a proxy server to do that though.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Blocking certain Images
« Reply #11 on: 17 October 2002, 16:48 »
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 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. 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?

AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0