You are hereForums / Support / CacheHIT and cachevideo

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

CacheHIT and cachevideo


2 replies [Last post]
Anonymous
CacheHIT and cachevideo
Printer-friendly versionSend to friend

Hi. I want to mark the traffic HIT of my squid, i have TOS then is HIT from squid, but i want to know if there any way to detect the hit from videocache:

CACHE_HIT YOUTUBE Video was served from cache.

I want to detect when the video is hit with layer7 or iptables

Rergards

Max

admin's picture
Online
Joined: Nov 2 2008

Max,

Videocache is in no way capable of marking packets or I should say that squid doesn't allow plugins to do that.

If you want to mark packets using custom iptables rules, you can set them for IP address that you set for cache_host in your /etc/videocache.conf . The cached videos are always served via http from that IP (cache_host).

Thank You!

Offline
Joined: Dec 14 2008

I'm guessing that you want to mark the packets the APACHE server serves.

Well, if you use Apache 1.3 (which I doubt), you can use mod_iptos. If you use Apache 2.X, you might want to look at http://mail-archives.apache.org/mod_mbox/apr-dev/200701.mbox/%3CPine.LNX...

If that doesn't do the trick, you will have to use iptables like Kulbir said.

I *think* you might be able to mark the packets based on the Apache uid/gid.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 151 guests online.