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 02564181D9 for ; Wed, 5 Aug 2015 16:45:19 +0000 (UTC) Received: (qmail 33511 invoked by uid 500); 5 Aug 2015 16:45:18 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 33452 invoked by uid 500); 5 Aug 2015 16:45:18 -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 33441 invoked by uid 99); 5 Aug 2015 16:45:18 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 16:45:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4B29C19BABE for ; Wed, 5 Aug 2015 16:45:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.042 X-Spam-Level: ** X-Spam-Status: No, score=2.042 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id oVzrFUn3iPfG for ; Wed, 5 Aug 2015 16:45:12 +0000 (UTC) Received: from mail-qg0-f47.google.com (mail-qg0-f47.google.com [209.85.192.47]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 469CB24E0F for ; Wed, 5 Aug 2015 16:45:12 +0000 (UTC) Received: by qgeh16 with SMTP id h16so33936982qge.3 for ; Wed, 05 Aug 2015 09:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=n/gKv4usrIMojJBHB8w4mdNHyXiSeO/0DbnBGicM7wk=; b=CJXE6WaCc6jRV1HVUeVRcI8rACPdRQFMjQzzWLxAzLHFXQ07Sel3GEWP736nvByhf+ wCTc2IJPLM04velcsFleHx2D+GFFC2HjRh6gh0eisVrL8uuKNDNbU8VALRkb9Zv+kWHX 3nUGcm2x8iCcBMctfBoJpLOdV3cySvYek59N55l0J9UPyn0rpYCaC1AzDBj67mg+TJ8n EPIMfw8pLdEVpR8v4jljm3hczFLgURWNf2XBNmkcKRpXG28B3R6tpx26vrbtfJRVUb5i V9zUANFcl0xM80NHB0st4e00ayi91tNMzqI+XwKldmYVVdlha97AdcuonkoZ/bojQxqQ O5gg== MIME-Version: 1.0 X-Received: by 10.140.38.21 with SMTP id s21mr18190203qgs.10.1438793111607; Wed, 05 Aug 2015 09:45:11 -0700 (PDT) Received: by 10.96.14.201 with HTTP; Wed, 5 Aug 2015 09:45:11 -0700 (PDT) Date: Wed, 5 Aug 2015 18:45:11 +0200 Message-ID: Subject: Deploying HTTP transparent proxy cache on Apache Traffic server From: Mohamed Marzban To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=001a11c12c4052c84c051c932050 --001a11c12c4052c84c051c932050 Content-Type: text/plain; charset=UTF-8 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 router through the ATS server. I am using ATS v.6.0. I configured the record.config file as follows: -CONFIG 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.squid_log_enabled INT 1 I followed Alan M. Carroll's iptables, ebtables and other networking commands (http://network-geographics.com/assets/docs/ApacheCon-2013.pdf ) 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 are 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 on this thread: http://mail-archives.apache.org/mod_mbox/trafficserver-users/201205.mbox/%3CBB345F600CB1164AB82F077B37194D4317337487%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 client side so I am sure it goes through the ATS. However, nothing appears 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 squid log files? Thanks, M. Marzban --001a11c12c4052c84c051c932050 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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.=C2=A0

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

I followed Alan M. Carroll's iptables, ebtables and oth= er networking commands (htt= p://network-geographics.com/assets/docs/ApacheCon-2013.pdf=C2=A0) to ro= ute 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 = are not received by the client. Can anyone help me with that?

On the mailing list, I found a previous t= hread on HTTP transparent caching that dates back to May 2012. I used iptab= les DIVERT and networking commands as recommended by Saraswathi Venkatarama= n=C2=A0on this thread:=C2=A0
http://mail-archiv= es.apache.org/mod_mbox/trafficserver-users/201205.mbox/%3CBB345F600CB1164AB= 82F077B37194D4317337487%40mumEX01.India.XoriantCorp.com%3E
The traff= ic passes through the ATS and the webpages are displayed properly at the cl= ient side. When I stop the ATS, no traffic is received at the client side s= o I am sure it goes through the ATS. However, nothing appears in the squid = logs and most probably nothing is cached at the ATS. How can I configure th= e ATS to cache the ongoing traffic and view that in the squid log files?
Thanks,
M. Marzban
--001a11c12c4052c84c051c932050--