<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>However HTTP headers is yet another story. To work with them on
      the fly - partially, for injecting Ads into pages - you require a
      bit another tool, named Content Adaptation (ICAP/eCAP).</p>
    <p>So, finally. Logs is one thing, header/content manipulation -
      another.</p>
    <p>What do you want to achieve exactly?<br>
    </p>
    <br>
    <div class="moz-cite-prefix">05.07.2017 2:54, Muhammad Usman пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHfqhMnqu+rB3T-kY7bzutj2=oA=f24g4stsEKrwCPZ0qEOm8Q@mail.gmail.com">
      <div dir="ltr">Thanks a lot for your reply.
        <div>Can you please confirm if it is possible to receive custom
          attributes in header and if yes, then how can I use those
          attributes like MAC etc? </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jul 5, 2017 at 1:49 AM, Yuri <span
            dir="ltr"><<a href="mailto:yvoinov@gmail.com"
              target="_blank" moz-do-not-send="true">yvoinov@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>Let's open squid's default access.log:</p>
              <p>1499201177.345    155 <b>172.16.100.3</b> TCP_MISS/200
                633 GET <a
                  class="m_2226415958044252193moz-txt-link-freetext"
                  href="https://discovery-v4-4.syncthing.net/v2/?device=DEVICE_ID"
                  target="_blank" moz-do-not-send="true">https://discovery-v4-4.<wbr>syncthing.net/v2/?device=<wbr>DEVICE_ID</a>
                - ORIGINAL_DST/<a href="http://95.85.19.244"
                  target="_blank" moz-do-not-send="true">95.85.19.244</a>
                application/json<br>
              </p>
              <p>third (.....|awk {'print $3'}) is exactly client IP.</p>
              <p>How to get it in redirector? Read manual of yours
                redirector, I think. Usually this data exactly present
                in redirector logs because of this is _most_ interesting
                data.</p>
              <span class="m_2226415958044252193moz-smiley-s3"><span>;-)</span></span><br>
              <br>
              <div class="m_2226415958044252193moz-cite-prefix">05.07.2017
                0:56, Muhammad Usman пишет:<br>
              </div>
              <blockquote type="cite"><span class="">
                  <div dir="ltr">Hi,
                    <div>I have configured Squid and
                      Dansguardian successfully on Ubuntu. I want to
                      inject ads in user browsing (with user consent). </div>
                    <div>I want to get details about the user like their
                      IP etc but I dont know how to get this in Squid
                      and then pass on to dansguardian. Any help would
                      be appreciated. Thanks</div>
                  </div>
                  <br>
                  <fieldset
                    class="m_2226415958044252193mimeAttachmentHeader"></fieldset>
                  <br>
                </span>
                <pre>______________________________<wbr>_________________
squid-users mailing list
<a class="m_2226415958044252193moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org" target="_blank" moz-do-not-send="true">squid-users@lists.squid-cache.<wbr>org</a>
<a class="m_2226415958044252193moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank" moz-do-not-send="true">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            squid-users mailing list<br>
            <a href="mailto:squid-users@lists.squid-cache.org"
              moz-do-not-send="true">squid-users@lists.squid-cache.<wbr>org</a><br>
            <a href="http://lists.squid-cache.org/listinfo/squid-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>