Re: [squid-users] Re: "Origin" header fails on bridged-tproxy squid

2011-02-27 Thread Mark Nottingham
Origin is relatively new;
  http://tools.ietf.org/html/draft-ietf-websec-origin-00

In a nutshell, it's sort of like a referer just for the authority part of the 
URL (i.e., it omits the path).

Robert -- what exactly is breaking? Is your tproxy stripping any headers or 
modifying the request URL? Is there anything else unusual about your setup?

Cheers,



On 27/02/2011, at 4:08 PM, Amos Jeffries wrote:

> On 26/02/11 13:19, Robert Pipca wrote:
>> Sorry,
>> 
>> The correct site to see the problem is:
>> 
>> http://vistoria.brochweld.com.br/bvsweb/paginas/tela_login.aspx
>> 
> 
> There is no such header as "Origin:" in HTTP. Did you means "Host:" ?
> 
> Squid uses the Host: header to determine destination IP unless 
> configured otherwise. What are you seeing as the problem?
> 
> 
> Amos
> -- 
> Please be using
>   Current Stable Squid 2.7.STABLE9 or 3.1.11
>   Beta testers wanted for 3.2.0.5

--
Mark Nottingham   m...@yahoo-inc.com




Re: [squid-users] Re: "Origin" header fails on bridged-tproxy squid

2011-02-26 Thread Amos Jeffries

On 26/02/11 13:19, Robert Pipca wrote:

Sorry,

The correct site to see the problem is:

http://vistoria.brochweld.com.br/bvsweb/paginas/tela_login.aspx



There is no such header as "Origin:" in HTTP. Did you means "Host:" ?

Squid uses the Host: header to determine destination IP unless 
configured otherwise. What are you seeing as the problem?



Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.11
  Beta testers wanted for 3.2.0.5


[squid-users] Re: "Origin" header fails on bridged-tproxy squid

2011-02-25 Thread Robert Pipca
Sorry,

The correct site to see the problem is:

http://vistoria.brochweld.com.br/bvsweb/paginas/tela_login.aspx

Cheers,

- Robert

2011/2/25 Robert Pipca :
> Hi,
>
> I'm using a squid in a bridge/tproxy setup.
>
> Sites using the "origin" header simply don't work, like this:
>
> vistoria.brochweld.com.br
>
> I don't understand why this site simply doesn't work.
>
> If anybody has any ideas please let me know.
>
> How can a tproxy bridge environment make this work?
>
> Cheers,
>
> - Robert
>