Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-09 Thread Matus UHLAR - fantomas

On 8/01/2017 7:55 a.m., --Ahmad-- wrote:

I’m using  squid as bridge like injecting some urls

thats it


That "Squid as bridge" and your earlier "squid using my original ip  as
source" is TPROXY.



On Jan 7, 2017, at 8:35 PM, Antony Stone wrote:

On Saturday 07 January 2017 at 19:23:47, --Ahmad-- wrote:


hey mate i total understand Tporxy with CISCO /wccp


On 09.01.17 19:54, Amos Jeffries wrote:

So you know that they are two different features and what each does.

Why are you wasting our time asking this question if you aleady know the
TPROXY feature well?


I have understood the question as "does tproxy work even with configured
proxy?" which I'm also curious about.

tproxy docs only describe intercepting/wccp.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-08 Thread Amos Jeffries
On 8/01/2017 7:55 a.m., --Ahmad-- wrote:
> I’m using  squid as bridge like injecting some urls
> 
> thats it 

That "Squid as bridge" and your earlier "squid using my original ip  as
source" is TPROXY.


>> On Jan 7, 2017, at 8:35 PM, Antony Stone wrote:
>>
>> On Saturday 07 January 2017 at 19:23:47, --Ahmad-- wrote:
>>
>>> hey mate i total understand Tporxy with CISCO /wccp

So you know that they are two different features and what each does.

Why are you wasting our time asking this question if you aleady know the
TPROXY feature well?

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-07 Thread --Ahmad--
I’m using  squid as bridge like injecting some urls

thats it 

thanks 
> On Jan 7, 2017, at 8:35 PM, Antony Stone  
> wrote:
> 
> On Saturday 07 January 2017 at 19:23:47, --Ahmad-- wrote:
> 
>> hey mate i total understand Tporxy with CISCO /wccp
>> 
>> but I’m asking here other way like connecting ip:port and keep squid using
>> my original ip  as source
> 
> So, where do you expect the reply packets from the remote web server to end 
> up?
> 
> If you're trying to cache content, they have to arrive at your Squid server, 
> which means the source of the requests has to be the Squid server's address 
> (or at least, some address which gets routed from the Internet via your Squid 
> server).
> 
> If you're not trying to cache content, and you want the replies to come 
> directly back to your browser, what are you using Squid for in this setup?
> 
> 
> Antony.
> 
> -- 
> I wasn't sure about having a beard at first, but then it grew on me.
> 
>   Please reply to the list;
> please *don't* CC me.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-07 Thread Antony Stone
On Saturday 07 January 2017 at 19:23:47, --Ahmad-- wrote:

> hey mate i total understand Tporxy with CISCO /wccp
> 
> but I’m asking here other way like connecting ip:port and keep squid using
> my original ip  as source

So, where do you expect the reply packets from the remote web server to end 
up?

If you're trying to cache content, they have to arrive at your Squid server, 
which means the source of the requests has to be the Squid server's address 
(or at least, some address which gets routed from the Internet via your Squid 
server).

If you're not trying to cache content, and you want the replies to come 
directly back to your browser, what are you using Squid for in this setup?


Antony.

-- 
I wasn't sure about having a beard at first, but then it grew on me.

   Please reply to the list;
 please *don't* CC me.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-07 Thread --Ahmad--
hey mate i total understand Tporxy with CISCO /wccp

but I’m asking here other way like connecting ip:port and keep squid using my 
original ip  as source 

cheers

> On Jan 7, 2017, at 8:20 PM, Matus UHLAR - fantomas  wrote:
> 
> On 07.01.17 19:25, --Ahmad-- wrote:
>> hey folks .
>> 
>> I’m just wondering if possible .
>> 
>> i have a basic squid on ip:port .
>> 
>> i want to connect over it using ip:port from my browser .
>> also …
>> 
>> when i visit websites …. i want my ip (router ip) not squid ip to be shown 
>> to the websites .
>> 
>> is that possible ?
>> 
>> i know its weird … but i want squid as like bridging mode and i want the 
>> requests to be sourced from the original ip of mine ..like my router ip
> 
> It's called "tproxy", http://wiki.squid-cache.org/Features/Tproxy4 
> 
> 
> - I'm not sure whether it works when you configure proxy manually   the wiki 
> page describes it in intercepting mode
> 
> - your router MUST support that, so is sends incoming traffic to the proxy
>  instead of your computer, while the destination IP is your compurer's
> -- 
> Matus UHLAR - fantomas, uh...@fantomas.sk  ; 
> http://www.fantomas.sk/ 
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> "One World. One Web. One Program." - Microsoft promotional advertisement
> "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org 
> http://lists.squid-cache.org/listinfo/squid-users 
> 
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-07 Thread Matus UHLAR - fantomas

On 07.01.17 19:25, --Ahmad-- wrote:

hey folks .

I’m just wondering if possible .

i have a basic squid on ip:port .

i want to connect over it using ip:port from my browser .
also …

when i visit websites …. i want my ip (router ip) not squid ip to be shown to 
the websites .

is that possible ?

i know its weird … but i want squid as like bridging mode and i want the 
requests to be sourced from the original ip of mine ..like my router ip


It's called "tproxy", http://wiki.squid-cache.org/Features/Tproxy4

- I'm not sure whether it works when you configure proxy manually 
  the wiki page describes it in intercepting mode


- your router MUST support that, so is sends incoming traffic to the proxy
  instead of your computer, while the destination IP is your compurer's
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users