Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: jitender33 on January 12, 2006, 12:48:36 PM

Title: popup blocks
Post by: jitender33 on January 12, 2006, 12:48:36 PM
hi
    Is any way in linux firewall block to advertisemnet pops up. If yes then how plz give me the guide line

with regards
Jitender
Title: popup blocks
Post by: gauravbajaj on January 12, 2006, 04:08:00 PM
Ok
I  think u cant block POPUP's as this is the property of your browser not server ,  actually the senerio is like this

When ever u request for a web page then , the page as well as popup's associated with that page are automatically called..., so if u wana block POPUP's then u have to block the whole website which generate these popup's but again it is not a good solution :lol:

U can use pop-up blocker for that..., I have never used it but just search google for that...


gaurav bajaj
Title: popup blocks
Post by: Ricky on January 12, 2006, 05:43:11 PM
well.. he is right but you can some work at server also, in squid we uses acls to block specifc urls which might be ads,
To block some ads in squid ie.. the url with words ads, also some movie , mp3 etc then
Code: [Select]
acl BlockExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$ \.ads$ \.popup$
# the above is single line
http_access deny BlockExt all


At browser level, in firefox there is a popup blocker , give it a try.
Title: reply
Post by: jitender33 on January 14, 2006, 07:12:25 AM
Quote from: "Ricky"
well.. he is right but you can some work at server also, in squid we uses acls to block specifc urls which might be ads,
To block some ads in squid ie.. the url with words ads, also some movie , mp3 etc then
Code: [Select]
acl BlockExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$ \.ads$ \.popup$
# the above is single line
http_access deny BlockExt all


At browser level, in firefox there is a popup blocker , give it a try.



thanks ricky