Banner add in Squid
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Banner add in Squid
Assalam_O_Alaikum!
Dear Brother Master of Linux
I want to put bannaer add in squid which is show on Top of the Hotmail Inbox. I think you understand what i am trying to say...
mai chahta hon kay mien apni firm ka aik flash banner bna ker squid mien enter ker don jo kay nazer aye hotmail kay inbox mien jaha per hotmail waly apna banner add day rahy hain... mery network kay tammam user jabh bhe apna hotmail inbox open kerien tu orignal banner ki bijaye mera add banner show how....
is it possible ???
anyone tell me the mathod ?
or tell me another way to put banner there..
Allah Hafiz
posted by_ PhadyBaaz
Dear Brother Master of Linux
I want to put bannaer add in squid which is show on Top of the Hotmail Inbox. I think you understand what i am trying to say...
mai chahta hon kay mien apni firm ka aik flash banner bna ker squid mien enter ker don jo kay nazer aye hotmail kay inbox mien jaha per hotmail waly apna banner add day rahy hain... mery network kay tammam user jabh bhe apna hotmail inbox open kerien tu orignal banner ki bijaye mera add banner show how....
is it possible ???
anyone tell me the mathod ?
or tell me another way to put banner there..
Allah Hafiz
posted by_ PhadyBaaz
-
- Naik
- Posts: 56
- Joined: Wed Apr 06, 2005 12:45 am
- Location: Islamabad
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
It is possible. Squid uses redirectors which can filter ads and any other thing you want. Take a look at adzapper. Search for 'squid + ad zapping' on google and you will find many good answers.
In my office, we block ads and replace them with a white page. On most of the sites, this doesn't look ugly. It does though on a few sites. In your case, you will have to design an ad with the same dimensions and figure out the filename as well.
Regards
Zaeem
In my office, we block ads and replace them with a white page. On most of the sites, this doesn't look ugly. It does though on a few sites. In your case, you will have to design an ad with the same dimensions and figure out the filename as well.
Regards
Zaeem
-
- Naik
- Posts: 75
- Joined: Mon Oct 13, 2003 5:06 am
- Location: Karachi, Pakistan
- Contact:
Code: Select all
acl adsites dstdomain rad.msn.com
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Dear compucatedcompucated wrote:Code: Select all
acl adsites dstdomain rad.msn.com http_access deny adsites deny_info http://www.yoursite.com/banner.html adsites
Sallam brother
thank you very much for this help... this acl policy is working fine...
Now please tell me also how to make acl policy with yahoo inbox and how to block all web site banners and replace with my banner.
waiting to hear from you....
Allah Hafiz
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
auspicious wrote:never heard any option in squid relevent to your question . i would be surprised if it can be achieved through squid.
compucated wrote:
Code:
acl adsites dstdomain rad.msn.com
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Farrukh Ahmed
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Re:
Dear Farrukh bro Sallam!LinuxFreaK wrote:Dear asaddotcom,
Salam,
FYI, http://freshmeat.net/projects/squidwall/
Best Regards.
I didn't get any kinda of help about Squid Banners replacement from that site.. Please you send me acl code such as compucated[/b] post me.
waiting to hear from you...
Allah Hafiz
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear asaddotcom,
Salam,
As i read your first post you need to add your custom banner in squid. Which means that every user who is going though your proxy he/she will see your banner !!
and the configuration given by compucated is to block banners !!
Best Regards.
Salam,
As i read your first post you need to add your custom banner in squid. Which means that every user who is going though your proxy he/she will see your banner !!
and the configuration given by compucated is to block banners !!
Best Regards.
Farrukh Ahmed
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear asaddotcom,
Salam,
FYI,
http://www.privoxy.org/
http://adzapper.sourceforge.net/
http://phroggy.com/bannerfilter/
Best Regards.
Salam,
FYI,
http://www.privoxy.org/
http://adzapper.sourceforge.net/
http://phroggy.com/bannerfilter/
Best Regards.
Farrukh Ahmed
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Re:
I am able to replace my banner with the help of this code:LinuxFreaK wrote:Dear asaddotcom,
Salam,
FYI,
http://www.privoxy.org/
http://adzapper.sourceforge.net/
http://phroggy.com/bannerfilter/
Best Regards.
Code: Select all
[color=green]acl adsites dstdomain rad.msn.com
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites[/color]
waiting your answer !
Allah Hafiz
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
compucated wrote:Code: Select all
acl adsites dstdomain rad.msn.com http_access deny adsites deny_info http://www.yoursite.com/banner.html adsites
Dear compucated Sallam
Please tell me the same code for yahoo banner replacement...
This code was?
Code: Select all
acl adsites dstdomain rad.yahoo.com
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites
please compucated help me.
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
-
- Naik
- Posts: 75
- Joined: Mon Oct 13, 2003 5:06 am
- Location: Karachi, Pakistan
- Contact:
well, actually you need some thrid party redirector in case if you are dealing with bulk list of domains and urls.
Personally I like SquidGuard http://www.squidguard.org/ as a redirector.
Anyway if you want to deal with few sites and not with stressy environment, its okey to do that with squid ACL's.
The thing I should like to say is you should try to understand the ACL behaviour.
And regarding Yahoo! ads you cann't deal with Yahoo! ads completely because Yahoo! doesn't call ads with specific urls or domains, they vary with ads servers and also use their own internal scripts to call ads.
Atlast I am posting my very own ads list with which you are able to replace 90% of banner ads with your own.
i. Download this file http://www.communitypk.com/linux/adslist.txt and save it to /etc/squid/.
ii. declare this code in squid.conf
iii. replace http://www.yoursite.com/banner.html with your banner page or file.
I hope this will help you.
Regards
Hamid Ashraf
compucated(at)msn(dot)com
Personally I like SquidGuard http://www.squidguard.org/ as a redirector.
Anyway if you want to deal with few sites and not with stressy environment, its okey to do that with squid ACL's.
The thing I should like to say is you should try to understand the ACL behaviour.
And regarding Yahoo! ads you cann't deal with Yahoo! ads completely because Yahoo! doesn't call ads with specific urls or domains, they vary with ads servers and also use their own internal scripts to call ads.
Atlast I am posting my very own ads list with which you are able to replace 90% of banner ads with your own.
i. Download this file http://www.communitypk.com/linux/adslist.txt and save it to /etc/squid/.
ii. declare this code in squid.conf
Code: Select all
acl adsites dstdomain "/etc/squid/adslist.txt"
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites
I hope this will help you.
Regards
Hamid Ashraf
compucated(at)msn(dot)com
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
compucated wrote:well, actually you need some thrid party redirector in case if you are dealing with bulk list of domains and urls.
Personally I like SquidGuard http://www.squidguard.org/ as a redirector.
Anyway if you want to deal with few sites and not with stressy environment, its okey to do that with squid ACL's.
The thing I should like to say is you should try to understand the ACL behaviour.
And regarding Yahoo! ads you cann't deal with Yahoo! ads completely because Yahoo! doesn't call ads with specific urls or domains, they vary with ads servers and also use their own internal scripts to call ads.
Atlast I am posting my very own ads list with which you are able to replace 90% of banner ads with your own.
i. Download this file http://www.communitypk.com/linux/adslist.txt and save it to /etc/squid/.
ii. declare this code in squid.confiii. replace http://www.yoursite.com/banner.html with your banner page or file.Code: Select all
acl adsites dstdomain "/etc/squid/adslist.txt" http_access deny adsites deny_info http://www.yoursite.com/banner.html adsites
Sallam compucated
thankx for your help and thank for your acl code.
which sites are mention to that list (adslist.txt) these are not comon and my network users are not open these sites anyway thank for your help.
I was did experiment yesterday by my own self and get succsess to replace yahoo banner with my own.
So juz close this topic and chill
cheerz
Allah Hafiz