<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ray,<br>
    <br>
    That sounds good. 4.11 certainly won't understand things like
    X-Forwarded-For.<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 24/02/2019 23:05, Gardener, Ray A
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!1d94dd6995c88c76f5b44431312f2eb13d39ccbf407fde28e1f11b3eecfe040d3cb588f316ec38fbc63f570a4775bb78!@mx.jul.es">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Jules,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks
            for the reply,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">The
            current version is 4.11. However I am updating to  the
            latest version of 5 on a new server in the next two weeks. 
            I have already installed rpaf on both the old and new
            install  but will disable it on the new install and test
            prior to deployment.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Ray
            Gardener<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
                lang="EN-US"> Jules <a class="moz-txt-link-rfc2396E" href="mailto:Jules@Zend.To"><Jules@Zend.To></a>
                <br>
                <b>Sent:</b> 24 February 2019 13:55<br>
                <b>To:</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a>;
                Gardener, Ray A <a class="moz-txt-link-rfc2396E" href="mailto:cisrag@exchange.shu.ac.uk"><cisrag@exchange.shu.ac.uk></a><br>
                <b>Cc:</b> Armando Martins
                <a class="moz-txt-link-rfc2396E" href="mailto:armando.mart1s@gmail.com"><armando.mart1s@gmail.com></a><br>
                <b>Subject:</b> Re: [ZendTo] support for x-forwarded-for
                headers<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Ray,<br>
          <br>
          ZendTo already supports the X-Forwarded-For header.<br>
          <br>
          Our setup at the University of Southampton is also behind an
          F5, and it all works fine.<br>
          I haven't installed any extra Apache modules to make it work.<br>
          <br>
          The only problem we had was when our enterprise IT folks
          hadn't enabled the X-Forwarded-For header on the F5 config
          that was for the ZendTo service (dropoff.soton.ac.uk).<br>
          <br>
          Are you using the latest version of ZendTo?<br>
          <br>
          Cheers,<br>
          Jules.<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 21/02/2019 10:31 am, Armando Martins
            via ZendTo wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <div>
              <p class="MsoNormal">You're welcome ;) <o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal">You just need to configure the rpaf
                module and stop using x-forwarded-for for you apache
                logs. Rpaf do all the job.
                <o:p></o:p></p>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal">Explanation from the author:<o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><o:p> </o:p></p>
                </div>
                <div>
                  <p class="MsoNormal">“Rpaf changes the remote address
                    of the client visible to other Apache modules when
                    two conditions are satisfied. First condition is
                    that the remote client is actually a proxy that is
                    defined in module configuration. Secondly if there
                    is an incoming X-Forwarded-For header and the proxy
                    is in it's list of known proxies it takes the last
                    IP from the incoming X-Forwarded-For header and
                    changes the remote address of the client in the
                    request structure.”<o:p></o:p></p>
                </div>
              </div>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <p class="MsoNormal">Le jeu. 21 févr. 2019 à 11:26,
                Gardener, Ray A <<a
                  href="mailto:R.A.Gardener@shu.ac.uk"
                  moz-do-not-send="true">R.A.Gardener@shu.ac.uk</a>>
                a écrit :<o:p></o:p></p>
            </div>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0cm 0cm 0cm
              6.0pt;margin-left:4.8pt;margin-right:0cm">
              <div>
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi
                    Armando,
                    <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks
                    for  this. Would I just need to configure the rpaf
                    module  on Apache?  Is  there anything else  that
                    needs doing in the zendto configuration?<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ray
                    Gardener<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Infrastructure
                    Analyst<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Digital
                    technology Services<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sheffield
                    Hallam University<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">0114
                    225 4926<o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
                        lang="EN-US">From:</span></b><span lang="EN-US">
                      ZendTo <<a href="mailto:zendto-bounces@zend.to"
                        target="_blank" moz-do-not-send="true">zendto-bounces@zend.to</a>>
                      <b>On Behalf Of </b>Armando Martins via ZendTo<br>
                      <b>Sent:</b> 21 February 2019 09:40<br>
                      <b>To:</b> ZendTo Users <<a
                        href="mailto:zendto@zend.to" target="_blank"
                        moz-do-not-send="true">zendto@zend.to</a>><br>
                      <b>Cc:</b> Armando Martins <<a
                        href="mailto:armando.mart1s@gmail.com"
                        target="_blank" moz-do-not-send="true">armando.mart1s@gmail.com</a>><br>
                      <b>Subject:</b> Re: [ZendTo] support for
                      x-forwarded-for headers</span><o:p></o:p></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    </div>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">you
                        can use the rpaf apache module. I use this
                        behind haproxy and it works fine.<o:p></o:p></p>
                    </div>
                  </div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  <div>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Le jeu.
                        21 févr. 2019 à 10:27, Gardener, Ray A via
                        ZendTo <<a href="mailto:zendto@zend.to"
                          target="_blank" moz-do-not-send="true">zendto@zend.to</a>>
                        a écrit :<o:p></o:p></p>
                    </div>
                    <blockquote style="border:none;border-left:solid
                      #CCCCCC 1.0pt;padding:0cm 0cm 0cm
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
                      <div>
                        <div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,
                            <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Access
                            to our zendto installation is behind an F5
                            load-balancing proxy.  The affect of this is
                            that the IP addresses of client access all
                            look to come from  the IP address associated
                            with the proxy rather than the actual  IP
                            address of the client machines.    The proxy
                            address is what  is captured in the zendto
                            database and is included in  the reports
                            which zendto sends out.   For security it
                            would be useful to see the  client IP
                            addresses.   The Apache server can be
                            configured to log this  as  an 
                            x-forwarded-for address<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a
href="https://en.wikipedia.org/wiki/X-Forwarded-For" target="_blank"
                              moz-do-not-send="true">https://en.wikipedia.org/wiki/X-Forwarded-For</a><o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">is
                            there any way that zendto  con be configured
                            to use either x-forwarded-for or a similar
                            mechanism  to log and report the real IP
                            address of the client?<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ray
                            Gardener<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Infrastructure
                            Analyst<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Digital
                            Technology Services<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Sheffield
                            Hallam University<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">0114
                            225 4926<o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                        </div>
                      </div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">_______________________________________________<br>
                        ZendTo mailing list<br>
                        <a href="mailto:ZendTo@zend.to" target="_blank"
                          moz-do-not-send="true">ZendTo@zend.to</a><br>
                        <a href="http://jul.es/mailman/listinfo/zendto"
                          target="_blank" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a><o:p></o:p></p>
                    </blockquote>
                  </div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br
                      clear="all">
                    <o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  </div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
                    <o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Armando
                      Martins<o:p></o:p></p>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <p class="MsoNormal"><br clear="all">
            <o:p></o:p></p>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <p class="MsoNormal">-- <o:p></o:p></p>
          <div>
            <p class="MsoNormal">Armando Martins<o:p></o:p></p>
          </div>
          <p class="MsoNormal"><br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>ZendTo mailing list<o:p></o:p></pre>
          <pre><a href="mailto:ZendTo@zend.to" moz-do-not-send="true">ZendTo@zend.to</a><o:p></o:p></pre>
          <pre><a href="http://jul.es/mailman/listinfo/zendto" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><br>
          <br>
          <o:p></o:p></p>
        <pre>Jules<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>-- <o:p></o:p></pre>
        <pre>Julian Field MEng CEng CITP MBCS MIEEE MACM<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>The current UK shipping forecast:<o:p></o:p></pre>
        <pre>Fisher: Variable 3 or 4, becoming west 4 or 5 later. Slight or moderate. Fog<o:p></o:p></pre>
        <pre>banks. Moderate or good, occasionally very poor.<o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre><a href="http://www.Zend.To" moz-do-not-send="true">www.Zend.To</a><o:p></o:p></pre>
        <pre>Twitter: @JulesFM<o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'I have lost friends, some by death ... others through sheer inability
 to cross the street.' - Virginia Woolf

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </body>
</html>