trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <>
Subject mod_remoteip: Hiding in plain sight
Date Fri, 30 Mar 2012 15:16:31 GMT
Hi folks,

I'm using wrowe's backported version of mod_remoteip[1][2] to for
httpd 2.2, while hiding behind an Apache Traffic Server.

My configuration is basically this:

  # we're behind a proxy, but no one needs to know:
  RemoteIPHeader X-Forwarded-For

while in ATS I have set

  CONFIG proxy.config.http.insert_squid_x_forwarded_for INT 1

(no, actually I haven't it's the default)

The only problem is: It doesn't do a thing.

  igalic@tynix ~ % curl 2>/dev/null| ack -i remote_a\|forw
      [REMOTE_ADDR] =>

Is this supposed to strip X-Forwarded-For headers?
Is it supposed to not modify REMOTE_ADDRESS (because it says it would)
What's it supposed to do? Does it work? Has anyone tested it?

So long,



Igor Galić

Tel: +43 (0) 664 886 22 883
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

View raw message