Re: [squid-users] transparent or intercept keyword stops the service

2022-01-12 Thread Antony Stone
On Wednesday 12 January 2022 at 11:29:15, Daniel Sanchidrian wrote:

> First of all I'm and new to squid, recently installed it to use in my
> company network. I want to configure it as a transparent proxy.

Out of interest - why?

What is your objective here - what are you trying to achieve by setting up an 
intercepting proxy for the company?

I'm just curious as to the use case and what you expect to gain from doing 
this, especially given how the world has gone significantly HTTPS in recent 
years.


Antony.

-- 
All matter in the Universe can be placed into one of two categories:

1. Things which need to be fixed.
2. Things which need to be fixed once you've had a few minutes to play with 
them.

   Please reply to the list;
 please *don't* CC me.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] transparent or intercept keyword stops the service

2022-01-12 Thread Amos Jeffries

On 12/01/22 23:29, Daniel Sanchidrian wrote:

Hi all!


First of all I'm and new to squid, recently installed it to use in my 
company network.


Welcome.


I want to configure it as a transparent proxy. I dive 
into the internet and find many tutorials but I'm facing a problem in 
the configuration file for which I can't find a solution.




FYI; The most accurate config examples can be found in our wiki
  


The issue is with the keyword */transparent/* or */intercept/* (i have 
3.5.4 version installed). When i use one of them (both throws the same 
error) like:


*/http_port 3128 transparent/*



This option is obsolete.


or

*/http_port 3128 intercept/*



This is the current one for NAT interception.


and then reload the configuration with /squid -k reconfigure/ or 
reloading the service, it stops (or didn't reload or didn't restart). 
This is the output of /*systemctl squid status*:/




Please use "squid -k parse" to test configuration changes. That will 
tell you if there are any major problems and usually what to do about it.


When you get more familiar with Squid there is "squid -k check" to do 
the same tests more quietly, then automatically load the changes into a 
running proxy only if they are successful.



Cheers
Amos
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] transparent or intercept keyword stops the service

2022-01-12 Thread Daniel Sanchidrian

Hi all!


First of all I'm and new to squid, recently installed it to use in my 
company network. I want to configure it as a transparent proxy. I dive 
into the internet and find many tutorials but I'm facing a problem in 
the configuration file for which I can't find a solution.


The issue is with the keyword */transparent/* or */intercept/* (i have 
3.5.4 version installed). When i use one of them (both throws the same 
error) like:


*/http_port 3128 transparent/*

or

*/http_port 3128 intercept/*

and then reload the configuration with /squid -k reconfigure/ or 
reloading the service, it stops (or didn't reload or didn't restart). 
This is the output of /*systemctl squid status*:/


*/squid.service - Squid caching proxy/**/
/**/ Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; 
vendor preset: disabled)/**/
/**/ Active: failed (Result: exit-code) since Wed 2022-01-12 
10:24:10 CET; 13s ago/**/

/**/   Docs: man:squid(8)/**/
/**/    Process: 1716954 ExecStartPre=/usr/libexec/squid/cache_swap.sh 
(code=exited, status=0/SUCCESS)/**/
/**/    Process: 1716956 ExecStart=/usr/sbin/squid --foreground 
$SQUID_OPTS -f ${SQUID_CONF} (code=exited, status=1/FAILURE)/**/
/**/    Process: 1717864 ExecReload=/usr/bin/kill -HUP $MAINPID 
(code=exited, status=0/SUCCESS)/**/

/**/   Main PID: 1716956 (code=exited, status=1/FAILURE)/**/
/**/    CPU: 291ms/*


Thanks in advance for your help,

Regards

--
Daniel Sanchidrian Hervás
Dep. Informática
2io Ingeniería Avanzda S.L.
910336960

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users