Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Amish
On 03/12/18 9:51 am, Alex Rousskov wrote: May be atleast 'if' statement can have define variable support. The "I will just add this little thing in this little corner" is how we ended up with terrible syntax in the first place... Current syntax isn't outright bad. Its decent enough. Only

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Alex Rousskov
On 12/2/18 8:59 PM, Amish wrote: > On 02/12/18 11:14 pm, Alex Rousskov wrote: >> You do not need to modify main.conf to >> generate a configuration file that is actually used. My earlier >> authentication.conf sketch is one example. And even something as simple >> as the following sed-based script

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Amish
On 02/12/18 11:14 pm, Alex Rousskov wrote: On 12/1/18 9:31 PM, Amish wrote: Now I am looking for alternate ways I can resolve my issue. There are probably many ways to do this. There are ready-to-use templating tools that may be a better solution (more on that further below). However, I can

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Alex Rousskov
On 12/1/18 9:31 PM, Amish wrote: > Now I am looking for alternate ways I can resolve my issue. There are probably many ways to do this. There are ready-to-use templating tools that may be a better solution (more on that further below). However, I can offer a simple template-free approach that sho

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Amos Jeffries
On 3/12/18 12:41 am, Amish wrote: > > > On 02/12/18 3:20 pm, Amos Jeffries wrote: >> On 2/12/18 5:31 pm, Amish wrote: >>> On 02/12/18 9:33 am, Alex Rousskov wrote: To reduce long-term headaches, I think we should be strict and deprecate (and then prohibit) ignoring duplicated exter

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Amish
On 02/12/18 3:20 pm, Amos Jeffries wrote: On 2/12/18 5:31 pm, Amish wrote: On 02/12/18 9:33 am, Alex Rousskov wrote: To reduce long-term headaches, I think we should be strict and deprecate (and then prohibit) ignoring duplicated external_acl_type declarations. I do not see any good reasons

Re: [squid-users] Define and use a variable in squid.conf (Was: What happens when duplicate external_acl_type are mentioned)

2018-12-02 Thread Amos Jeffries
On 2/12/18 5:31 pm, Amish wrote: > > On 02/12/18 9:33 am, Alex Rousskov wrote: >> >> To reduce long-term headaches, I think we should be strict and deprecate >> (and then prohibit) ignoring duplicated external_acl_type declarations. >> >> I do not see any good reasons for ignoring this configurati

Re: [squid-users] squid disable ipv6 outbound traffic

2018-12-02 Thread Amos Jeffries
On 2/12/18 10:14 am, Dmitri Seletski wrote: > Hello Dear Squidies, > > Situation: > > I have, > > IPv4 only tunnel for security. > > IPv6 enabled ISP. > > VM with Squid in it, that works over bridge.(so it has both NAT IPv4 IP > an IPv6 IP) > FYI: Modern Internet connected software is requir