Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2A1F182D5 for ; Wed, 5 Aug 2015 17:00:15 +0000 (UTC) Received: (qmail 96437 invoked by uid 500); 5 Aug 2015 17:00:09 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 96386 invoked by uid 500); 5 Aug 2015 17:00:09 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 96376 invoked by uid 99); 5 Aug 2015 17:00:09 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 17:00:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B25341A983A for ; Wed, 5 Aug 2015 17:00:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -12.099 X-Spam-Level: X-Spam-Status: No, score=-12.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001, USER_IN_DEF_WHITELIST=-15] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=yahoo-inc.com header.b=uFjb5Hgv; dkim=pass (1024-bit key) header.d=yahoo-inc.com header.b=n2hcSGQg Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0qrlYgJO9msm for ; Wed, 5 Aug 2015 16:59:58 +0000 (UTC) Received: from mrout6.yahoo.com (mrout6.yahoo.com [216.145.54.155]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id BD8A720CF5 for ; Wed, 5 Aug 2015 16:59:57 +0000 (UTC) Received: from omp1057.mail.ne1.yahoo.com (omp1057.mail.ne1.yahoo.com [98.138.89.199]) by mrout6.yahoo.com (8.14.9/8.14.9/y.out) with ESMTP id t75GxQ2i032530 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Aug 2015 09:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1438793966; bh=Rf7Nwy8q6hYhzqLUND7J3++susu+rGzLMLEPbeK5NxY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject; b=uFjb5HgvBeHKDgE3HBk8000jBeB/RjJBZsnX2Ea1xZLJagyFEhYmHysreTALfWv1l TuvyRjJp5YS+XfXM3j8dElnw7NsjMaMfpOZ7hJ+yPtmmxHfSHTam83CI1V2StrYnNP tobEhkQdRIOz66BBRgzVG31Px5AIn+PQq3xM+NCg= Received: (qmail 81513 invoked by uid 1000); 5 Aug 2015 16:59:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1438793966; bh=fkQz1m0e9jf5meDRUmjJjj1/8PCxYvUnx5vJrRLbFAM=; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; b=n2hcSGQg+qvUyLMyxMRiCOBHSDuzpgWezP4F09ZKeR1WtWWrmcQXWeRmi5IuOPWKQu5jkOjCg3U6gFXoRR3eax/5US5jpPcqCfEbuSyWnD2FJQjs+uFFlGf8eYwdBQZY2JeV//LKCaPQfYJMIcOdJePKrOC84dPauzYwsJmLDpQ= X-YMail-OSG: L6q9nhIVM1mx85Af6Kr1uwNOv.qptcKlXUGBS2Y2BPV2yoif7E8T0SzE_5U5re8 rhVLM_GWjmD.YLXNhnU.d9IcxkZApucBPzOo7cXB5isJFwDY7uESSS2RF8dtK6XVpwp5eyWvU7bH tZXjWfuXAFOOYXWf9hzpQbABSFoEKzTqh2e1vLjrm9buyevKugbNBtGwEssZRKV9q2YlKuoYxeDo wcuNaH6b43HCGWZCRgcep4FTujqm7h8540CyndQ-- Received: by 98.138.105.214; Wed, 05 Aug 2015 16:59:25 +0000 Date: Wed, 5 Aug 2015 16:59:20 +0000 (UTC) From: Alan Carroll Reply-To: Alan Carroll To: "users@trafficserver.apache.org" Message-ID: <333243670.484348.1438793960605.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Deploying HTTP transparent proxy cache on Apache Traffic server MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_484347_1248796565.1438793960601" ------=_Part_484347_1248796565.1438793960601 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would try enabling debug tags and using the string "tproxy". That should = give you some information about the ATS transparency setup and determine if= ATS is actually coming up in transparent mode. I would also check error.lo= g and diags.log to see if there are any relevant messages. =20 On Wednesday, August 5, 2015 11:45 AM, Mohamed Marzban wrote: =20 Hi, I am trying to deploy HTTP transparent proxy cache on Apache Traffic server= . The scenario consists of a client that is connected to the internet route= r through the ATS server.=C2=A0 I am using ATS v.6.0. I configured the record.config file as follows:-CONFI= G proxy.config.url_remap.remap_required INT 0 -CONFIG proxy.config.http.server_ports STRING 8080:tr-full -CONFIG proxy.config.log.logging_enabled INT 3-CONFIG proxy.config.log.squi= d_log_enabled INT 1 I followed Alan M. Carroll's iptables, ebtables and other networking comman= ds (http://network-geographics.com/assets/docs/ApacheCon-2013.pdf=C2=A0) to= route the HTTP traffic through the ATS using the bridge configuration but = it didn't work with me. On tracing using wireshark at the client side, the = handshaking between the server and the client occurs but the data packets a= re not received by the client. Can anyone help me with that? On the mailing list, I found a previous thread on HTTP transparent caching = that dates back to May 2012. I used iptables DIVERT and networking commands= as recommended by Saraswathi Venkataraman=C2=A0on this thread:=C2=A0http:/= /mail-archives.apache.org/mod_mbox/trafficserver-users/201205.mbox/%3CBB345= F600CB1164AB82F077B37194D4317337487%40mumEX01.India.XoriantCorp.com%3E The traffic passes through the ATS and the webpages are displayed properly = at the client side. When I stop the ATS, no traffic is received at the clie= nt side so I am sure it goes through the ATS. However, nothing appears in t= he squid logs and most probably nothing is cached at the ATS. How can I con= figure the ATS to cache the ongoing traffic and view that in the squid log = files? Thanks,=20 M. Marzban ------=_Part_484347_1248796565.1438793960601 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I would try enab= ling debug tags and using the string "tproxy". That should give you some in= formation about the ATS transparency setup and determine if ATS is actually= coming up in transparent mode. I would also check error.log and diags.log = to see if there are any relevant messages.



On Wednesday, August 5= , 2015 11:45 AM, Mohamed Marzban <mohamedmarzban12@gmail.com> wrote:<= br>


Hi,

I am trying to deploy HTTP transparent proxy cache on Apache Traffic=20 server. The scenario consists of a client that is connected to the=20 internet router through the ATS server. 

I am using ATS = v.6.0. I configured the record.config file as follows:
-CONFIG proxy.co= nfig.url_remap.remap_required INT 0
-CONFIG proxy.config.http.server_ports STRING 8080:= tr-full
-CO= NFIG proxy.config.log.logging_enabled INT 3
-CONFIG pro= xy.config.log.squid_log_enabled INT 1

I followed Alan M. Carro= ll's iptables, ebtables and other networking commands (http://network-geographics.co= m/assets/docs/ApacheCon-2013.pdf ) to route the HTTP traffic throu= gh the ATS using the bridge configuration but it didn't work with me. On tr= acing using wireshark at the client side, the handshaking between the serve= r and the client occurs but the data packets are not received by the client= . Can anyone help me with that?

On the mailing list, I fou= nd a previous thread on HTTP transparent caching that dates back to May 201= 2. I used iptables DIVERT and networking commands as recommended by Saraswa= thi Venkataraman on this= thread: 
= http://mail-archives.apache.org/mod_mbox/trafficserver-users/201205.mbox/%3= CBB345F600CB1164AB82F077B37194D4317337487%40mumEX01.India.XoriantCorp.com%3= E
The traffic passes through the ATS and the webpages are displayed = properly at the client side. When I stop the ATS, no traffic is received at= the client side so I am sure it goes through the ATS. However, nothing app= ears in the squid logs and most probably nothing is cached at the ATS. How = can I configure the ATS to cache the ongoing traffic and view that in the s= quid log files?

Thanks,
M. Marzban

------=_Part_484347_1248796565.1438793960601--