<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello mates, <br>
    I tried readip_module and I found it does not work as I expect. <br>
    For example the header may looks like this:<br>
    <span class="Apple-style-span" style="color: rgb(0, 0, 0);
      font-family: monospace,'Courier New'; font-size: 13px; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: 19px; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; background-color: rgb(255, 255, 255);">X-Forwarded-For:
      client1, proxy1, proxy2<br>
    </span><br>
    Where client1 should be the real ip address of the client, proxy1
    should be the first proxy after the client and proxy2 should be the
    last proxy after the client and the first before the nginx. Nginx
    has the connection with proxy2.<br>
    I think In this case readip_module should return <span
      class="Apple-style-span" style="color: rgb(0, 0, 0); font-family:
      monospace,'Courier New'; font-size: 13px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 19px; orphans: 2; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 2; word-spacing: 0px;
      background-color: rgb(255, 255, 255);">client1 </span>ip address.
    It returns the latest address in the field - proxy2. <br>
    What do you think? Is the behaviour wrong or I do not understand the
    meaning of this header?<br>
    <br>
    p.s. <a href="http://en.wikipedia.org/wiki/X-Forwarded-For">http://en.wikipedia.org/wiki/X-Forwarded-For</a><br>
    <br>
    Thanks in advance.<br>
    A. Marinov<br>
    <br>
  </body>
</html>