Forum Discussion
nitass
Feb 28, 2013Employee
sorry i misunderstood. you do not need transparent monitor.
this is my testing. 200.200.200.101:3128 is squid.
[root@ve10:Active] config b pool foo list
pool foo {
monitor all mygoogle
members 200.200.200.101:3128 {}
}
[root@ve10:Active] config b monitor mygoogle list
monitor mygoogle {
defaults from http
recv "200 OK"
send "HEAD / HTTP/1.1\r\nHost: www.google.com.sg\r\nConnection: Close\r\n\r\n"
}
pool member status
[root@ve10:Active] config b pool foo
POOL foo LB METHOD round robin MIN/CUR ACTIVE MEMBERS 0/1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
+-> POOL MEMBER foo/200.200.200.101:3128 active,up
| session enabled priority 0 ratio 1
| (cur, max, limit, tot) = (0, 0, 0, 0)
| (pkts,bits) in = (0, 0), out = (0, 0)
| requests (total) = 0
tcpdump
[root@ve10:Active] config ssldump -Aed -nni 0.0 port 3128
New TCP connection 1: 200.200.200.10(48497) <-> 200.200.200.101(3128)
1362040206.9071 (0.0014) C>S
---------------------------------------------------------------
HEAD / HTTP/1.1
Host: www.google.com.sg
Connection: Close
---------------------------------------------------------------
1362040206.9564 (0.0493) S>C
---------------------------------------------------------------
HTTP/1.0 200 OK
Date: Thu, 28 Feb 2013 08:40:32 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-1
Set-Cookie: PREF=ID=bff4b113de26d0d2:FF=0:TM=1362040832:LM=1362040832:S=tuWmYzI4GaCIWAj7; expires=Sat, 28-Feb-2015 08:40:32 GMT; path=/; domain=.google.com.sg
Set-Cookie: NID=67=Vk_ZGP-e7XtjRuo0dUrE0MnmrlJgfHQeNaSL-tyRNuoTqdBydLNE0q3rhvLs4jCP6mFTvGfGhdaU84q_ESRteAq6QKQDX9Bou9FwKE4vZmavYalZBXf4nB77tV3w49JK; expires=Fri, 30-Aug-2013 08:40:32 GMT; path=/; domain=.google.com.sg; HttpOnly
P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
Server: gws
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
X-Cache: MISS from proxy.acme.com
X-Cache-Lookup: MISS from proxy.acme.com:3128
Via: 1.0 proxy.acme.com:3128 (squid/2.6.STABLE21)
Connection: close
---------------------------------------------------------------
1 1362040206.9565 (0.0000) S>C TCP FIN
1 1362040206.9574 (0.0009) C>S TCP FIN