Banner add in Squid

General discussion about Linux, Linux distribution, using Linux etc.

Banner add in Squid

Postby asaddotcom » Fri Jul 22, 2005 10:02 pm

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
Thanking You...

ครค๔
www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Postby auspicious » Fri Jul 22, 2005 11:34 pm

never heard any option in squid relevent to your question . i would be surprised if it can be achieved through squid.
To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it, writes Scott Granneman.

Digital Thinker
auspicious
Naik
 
Posts: 56
Joined: Wed Apr 06, 2005 12:45 am
WLM: auspicious007@hotmail.com
Location: Islamabad

Postby zaeemarshad » Sat Jul 23, 2005 9:41 am

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
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Postby compucated » Sat Jul 23, 2005 5:13 pm

Code: Select all

acl adsites dstdomain rad.msn.com
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites
compucated
Naik
 
Posts: 75
Joined: Mon Oct 13, 2003 5:06 am
WLM: compucated(at)msn(dot)com
Yahoo Messenger: activatedpower(at)yahoo(dot)com
Location: Karachi, Pakistan

Postby asaddotcom » Sat Jul 23, 2005 8:59 pm

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 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
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Postby asaddotcom » Sat Jul 23, 2005 9:08 pm

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
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Re:

Postby LinuxFreaK » Sun Jul 24, 2005 12:54 am

Dear asaddotcom,
Salam,

FYI, http://freshmeat.net/projects/squidwall/

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Re:

Postby asaddotcom » Sun Jul 24, 2005 3:55 pm

LinuxFreaK wrote:Dear asaddotcom,
Salam,

FYI, http://freshmeat.net/projects/squidwall/

Best Regards.


Dear Farrukh bro Sallam!
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
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Re:

Postby LinuxFreaK » Mon Jul 25, 2005 12:15 am

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.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Re:

Postby LinuxFreaK » Mon Jul 25, 2005 12:20 am

Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Re:

Postby asaddotcom » Mon Jul 25, 2005 7:33 pm



I am able to replace my banner with the help of this code:

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]


now I want to replace yahoo banner... I just need acl code.... I dont wana install any bulk software to my Linux machine... So please just tell me simple code. in msn the banner site is: rad.msn.com please tell me yahoo site ? it should be rad.yahoo.com ??????????

waiting your answer !

Allah Hafiz
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Postby asaddotcom » Mon Jul 25, 2005 7:38 pm

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.
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK

Postby zaeemarshad » Tue Jul 26, 2005 12:13 pm

asaddotcom,

You keep on asking for spoonfeeding. Adzapper as firstly me and then LF pointed out is a pretty neat tool for adzapping. No, its not bulk software but an add-on module (if you prefer it this way) for squid. Please RTFM!!

Regards
Zaeem
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Postby compucated » Tue Jul 26, 2005 8:55 pm

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

Code: Select all

acl adsites dstdomain "/etc/squid/adslist.txt"
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites

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
compucated
Naik
 
Posts: 75
Joined: Mon Oct 13, 2003 5:06 am
WLM: compucated(at)msn(dot)com
Yahoo Messenger: activatedpower(at)yahoo(dot)com
Location: Karachi, Pakistan

Postby asaddotcom » Tue Jul 26, 2005 10:07 pm

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.conf

Code: Select all

acl adsites dstdomain "/etc/squid/adslist.txt"
http_access deny adsites
deny_info http://www.yoursite.com/banner.html adsites

iii. replace http://www.yoursite.com/banner.html with your banner page or file.



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
Thanking You...



ครค๔

www.apnicollection.com | www.wikisoft.pk
asaddotcom
Company Havaldaar Major
 
Posts: 195
Joined: Fri Feb 04, 2005 7:21 pm
ICQ: 172131405
Website: http://www.apnicollection.com
WLM: asaddotcom@msn.com
Yahoo Messenger: asaddotcom2002@yahoo.com
AOL: AsadDotCom
Location: Lahore, PK


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest