On 4/07/2012 8:37 p.m., Edmonds Namasenda wrote:
Hello Team,
Please bare with me if this was resolved before, but I am asking out
of curiosity and need to test it soon
What is the difference and implications of the following as dstdomain entries?
# Assuming namasenda.com is a registered domain, and the outcome is
controlling any domain with the word "namasenda" like
hatenamasenda.com or .net
a) .\namasenda\.
b) .namasenda.
c) .namasenda.com
d) .\namasenda\.com
Is a) & b) correct, anyway?
No they are not. Neither is (d).
(c) is correct dstdomain syntax but the "wildcard" is label-based, not
character-based.
.namasenda.com will match namasenda.com, www.namasenda.com,
www2.namasenda.com, other.namasenda.com
but not: anamasenda.com or hatenamasenda.com or anything else with a
different 2nd-tier label than "namasenda".
I want one squid instance to listen on ports 80, 8080, & 3128
Do I just do "http_port 3128 8080 80 transparent" work?
No, one line per http_port entry.
Amos