Hey Ahmad, To be clear, a simple forward proxy that will fake the source IP address is kind of a simple task with these days libraries. I do not know your exact scenario and use case but it’s possible to write such a proxy in roughly 200 lines of code in Golang. https://github.com/LiamHaworth/go-tproxy It’s a nice library for tproxy alone. Squid is great but if you will touch any source code it’s possible that you’d better write your own customized proxy. Good Luck, Eliezer From: Ahmad Alzaeem <0xff1f@xxxxxxxxx> Hello Eliezer I thought it could be done by editing squid src file like to skip inet address lookup . Thanks From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Eliezer Croitoru <ngtech1ltd@xxxxxxxxx> Hey Ahmad, You should use a tproxy port with a PROXY protocol support and acls. With these you can try to push traffic to the network from a local process that will write the right details to squid that will generate a fake source ip.
All The Bests, Eliezer From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Ahmad Alzaeem Hello Guys , We are testing squid with a project such as we need squid to write and proceed with tcp_outgoing address address even its not attached to the machine by ifconfig or ip add ? After some tests we found that squid wont write the external Ip to be pushed out the network card interface if the ip address is not added to the machine . Is there anyway to bypass this checkout and let squid ignore checking the external ips if attached or not attached ? Not sure if from config or may be editing src files . Many Thanks |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users