User traffic diagram is like this:
_____receive____ squid <-----router1--
| | <---> internet
user -------send----> router2------------------------
On Monday, January 18, 2016 1:41 PM, Antony Stone <Antony.Stone@xxxxxxxxxxxxxxxxxxxx> wrote:
On Monday 18 January 2016 at 10:56:27, behrad eslami wrote:
> Thanks for you reply
> Im askinng about one way traffic. Some user sends traffic ,route from
> another ISP and only received packet route from squid
Sorry, this is still not clear to me.
Do the requests from the client to the server pass through Squid?
Antony.
> On Sunday, January 17, 2016 12:21 PM, Antony Stone wrote:
>
> On Sunday 17 January 2016 at 08:55:56, behrad eslami wrote:
> > Hi
> > Some part of our traffic is asymmatric (send and receive had different
> > route)Is squid cat work on one direct (only on receive)?
>
> If you're asking whether Squid will cache and/or proxy replies from
> webservers where it hasn't seen the requests, then no.
>
> If you're asking whether Squid cares about whether its upstream connection
> to the webserver/s, and the downstream replies from the webserver/s go
> along different routes, then no.
>
> So, both request and reply packets have to pass through Squid. How those
> packets get routed between client and Squid, and between Squid and server,
> and then back again, is immaterial (provided any NAT along the way is
> correctly reversed on replies, but if you weren't doing that, then replies
> would never get back to the clients anyway).
>
>
> Antony.
--
I love deadlines. I love the whooshing noise they make as they go by.
- Douglas Noel Adams
Please reply to the list;
please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
> Thanks for you reply
> Im askinng about one way traffic. Some user sends traffic ,route from
> another ISP and only received packet route from squid
Sorry, this is still not clear to me.
Do the requests from the client to the server pass through Squid?
Antony.
> On Sunday, January 17, 2016 12:21 PM, Antony Stone wrote:
>
> On Sunday 17 January 2016 at 08:55:56, behrad eslami wrote:
> > Hi
> > Some part of our traffic is asymmatric (send and receive had different
> > route)Is squid cat work on one direct (only on receive)?
>
> If you're asking whether Squid will cache and/or proxy replies from
> webservers where it hasn't seen the requests, then no.
>
> If you're asking whether Squid cares about whether its upstream connection
> to the webserver/s, and the downstream replies from the webserver/s go
> along different routes, then no.
>
> So, both request and reply packets have to pass through Squid. How those
> packets get routed between client and Squid, and between Squid and server,
> and then back again, is immaterial (provided any NAT along the way is
> correctly reversed on replies, but if you weren't doing that, then replies
> would never get back to the clients anyway).
>
>
> Antony.
--
I love deadlines. I love the whooshing noise they make as they go by.
- Douglas Noel Adams
Please reply to the list;
please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users