<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
The simplest way I see is:<br>
<br>
- - Write you own custom squid's startup script (with bash/any shell
you want).<br>
<br>
- - This script will decrypt squid.conf before any
startup/shutdown/reconfigure operation then encrypt config again.<br>
<br>
- - Therefore squid.conf will stored encrypted most time on fs.<br>
<br>
That's all, folks. All required components is already available -
openssl, bash, vi, hands.<br>
<br>
Yet another way is more complex. Just write C/C++ wrapper to
startup/shutdown/reconfigure squid. With encryption by your choose.<br>
<br>
But the best - tadaaaaa! - No.1 solution is: Get away another
superuser's from your server!!! The root must be only one - like
hero!<br>
<br>
<br>
22.07.2016 20:01, --Ahmad-- пишет:<br>
<span style="white-space: pre;">> amos i want to have like set
default directive<br>
><br>
> say like there is default one called ——————> cache_mem
256 for squid<br>
><br>
> if i didn’t put anything in squid.conf then squid will assume
it as 256 M<br>
><br>
> if i changed it in squid.conf then squid will read it <br>
><br>
><br>
> the question again here <br>
><br>
> how can i add directives to squid similar to the one above ?
?<br>
><br>
><br>
> i want it to be liked default loaded without my action ?<br>
><br>
><br>
><br>
> maybe it needed to be done before compilation process ?<br>
><br>
> or after ? idk<br>
><br>
><br>
><br>
> thank you<br>
><br>
><br>
>> On Jul 22, 2016, at 5:00 PM, Ahmed Alzaeem
<<a class="moz-txt-link-abbreviated" href="mailto:n1shutdown@gmail.com">n1shutdown@gmail.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:n1shutdown@gmail.com"><mailto:n1shutdown@gmail.com></a>>
wrote:<br>
>><br>
>> amos i want to have like set default directive<br>
>><br>
>> say like there is default one called ——————>
cache_mem 256 for squid<br>
>><br>
>> if i didn’t put anything in squid.conf then squid will
assume it as 256 M<br>
>><br>
>> if i changed it in squid.conf then squid will read it <br>
>><br>
>><br>
>> the question again here <br>
>><br>
>> how can i add directives to squid similar to the one
above ? ?<br>
>><br>
>><br>
>> i want it to be liked default loaded without my action ?<br>
>><br>
>><br>
>><br>
>> maybe it needed to be done before compilation process ?<br>
>><br>
>> or after ? idk<br>
>><br>
>><br>
>><br>
>> thank you<br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXknm6AAoJENNXIZxhPexGmLgIAISKhVie+oTxJg9cSrX3eqta
<br>
IjWVgvcrKg0V/NfSjryXGa+cN43ONNFdlOoZRGFW9v92qYOuCrWFLUmM4H8vz8mC
<br>
ZeEFFDFTW+NT97/psgiCjzOPWkezvyCJSRvMxxMXp6zxhi1r4VvCY3sWFpful3Nv
<br>
aQMfvAzBXtn+evTsbaZYhThMoIpuT+xgqR8sERXTyK27Nkvgbqo9Jx1xH7dkbvjj
<br>
+WMRed1vP/tXBx2FbldaxpXzcYKJmp02T/lopJKSTA0iMnYkYRswQ4+WFz/4hDhG
<br>
If3dv4xekpeQ6Op5LKdGLV+jG03lH2UNWLKZqY97SCHz3yw/D4YoN8+bpghPPCY=
<br>
=PfWh
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>