Can we achieve IP-Spoofing via Apache Traffic Server ? Name of parameter in records.config and any other conf file will be really helpful.
Asked
Active
Viewed 618 times
-1
-
Can you expand on what you mean by IP-Spoofing? ATS can act as a forward transparent proxy (https://docs.trafficserver.apache.org/en/latest/admin-guide/configuration/transparent-proxy.en.html), but that may not be what you are looking for. – Miles Libbey Jun 14 '17 at 00:53
-
@MilesLibbey Suppose if i am using ATS as my proxy. Generally when it communicates with server, it uses it's own ip address. I want it to use client's ip address. – vijay sharma Jun 14 '17 at 04:20
1 Answers
0
HTTP is a TCP based protocol, so, the server has to know and use the IP of the actual client (ATS or a user-agent) talking to it -- true IP spoofing isn't feasible for ATS or any other proxy. However, by default, ATS will place your client's IP in the conventional X-Forwarded-For: header, and some servers will use that header's value.

Miles Libbey
- 1,583
- 2
- 10
- 10
-
I found how we can enable (IP spoofing) on ATS. It's named as "outbound transparent" mode in ATS. – vijay sharma Jun 16 '17 at 09:12
-
I found how we can enable (IP spoofing) on ATS. It's named as "outbound transparent" mode in ATS. by setting keyword "tr-out:
" for CONFIG "proxy.config.http.server_ports" we can send client IP to server instead of ATS/proxy IP. But after changing these variables I am not able to achieve "outbound transparent". I mean to say still ATS is sending it's ip address to origin server instead of client IP... :-( – vijay sharma Jun 16 '17 at 09:18