On Thursday 28 August 2014 at 17:51:04 (EU time), johnzeng wrote: > Hi , i have a switch , and i hope to redirect video traffic to Cache via > using Port mirroring feature > Whether Squid 2.7 can listen and identify mirroring data packet ? You can't just "feed" traffic in to Squid - it has to request it, otherwise it won't have a clue what to do with it. > if Squid 2.7 can identify , i hope to match video part and send 302 http > packet to end user via url_rewrite_access and redirect the user's > request to Cache Why not just tell the client to use Squid as a proxy? Then: - Squid will make the requests and know what to do with the response traffic it gets back - you don't need to send a 302 redirect to the client; it'll just get the cached content automatically - clients will get the benefits of caching for everything else, as well as the video In other words, why not just set up Squid "normally"? Antony. -- Pavlov is in the pub enjoying a pint. The barman rings for last orders, and Pavlov jumps up exclaiming "Damn! I forgot to feed the dog!" Please reply to the list; please *don't* CC me.