Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-10-02 Thread Eliezer Croitoru
Sent: Monday, October 2, 2017 08:04 To: Eliezer Croitoru Cc: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Make all IPv6 ips on system to be used as a proxy I did some research on tproxy, this is pretty much the Linux firewall right? There is not much documentation about it onlin

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-10-01 Thread Amos Jeffries
On 02/10/17 18:03, xpro6000 wrote: I did some research on tproxy, this is pretty much the Linux firewall right? There is not much documentation about it online No, netfilter/iptables is the Linux firewall. TPROXY is a feature of the Linux TCP stack. BSD stacks have a different name for it,

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-10-01 Thread xpro6000
I did some research on tproxy, this is pretty much the Linux firewall right? There is not much documentation about it online On Sat, Sep 30, 2017 at 5:21 PM, Eliezer Croitoru wrote: > Anyone mentioned tproxy? > It works for me... > > Eliezer > > > http://ngtech.co.il/lmgtfy/ > Linux System

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-30 Thread Eliezer Croitoru
ehalf Of Amos Jeffries Sent: Sunday, October 1, 2017 06:44 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Make all IPv6 ips on system to be used as a proxy On 01/10/17 10:21, Eliezer Croitoru wrote: > Anyone mentioned tproxy? > It works for me... > It serves if none wan

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-30 Thread Amos Jeffries
On 01/10/17 10:21, Eliezer Croitoru wrote: Anyone mentioned tproxy? It works for me... It serves if none wants the same IP on both incoming and outgoing traffic. But the question was only for determining static IPs on outgoing based on Squids listening *ports*, ignoring client IP - more lik

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-30 Thread Eliezer Croitoru
Anyone mentioned tproxy? It works for me... Eliezer http://ngtech.co.il/lmgtfy/ Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of xpro6000 Sent: Saturday, September 30, 2017 00:0

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-29 Thread Aaron Turner
Run multiple instances of squid, one per IP address? I'm not aware of some magic config option to do what you want. Seriously though, using a proxy to control your outgoing IP address is weird.Use setsockopt(SO_BINDTODEVICE) in your code. -- Aaron Turner https://synfin.net/ Twitter: @

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-29 Thread xpro6000
The program is multithreaded so the process based routing won't work. There is no simple way to make Squid use the connecting IP for the outgoing IP? On Fri, Sep 29, 2017 at 6:37 PM, Aaron Turner wrote: > If you don't need a proxy server for other reasons, there are better > ways. Example, per-

Re: [squid-users] Make all IPv6 ips on system to be used as a proxy

2017-09-29 Thread Aaron Turner
If you don't need a proxy server for other reasons, there are better ways. Example, per-process routing: http://www.evolware.org/?p=369 Or if you have control over the source code of the software, setsockopt() will do it for you as well. -- Aaron Turner https://synfin.net/ Twitter: @synf