<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hey Usama,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I took the time to make sure that the script will work on amzn linux 2:<o:p></o:p></p><p class=MsoNormal><a href="https://github.com/elico/squid-suppsave">https://github.com/elico/squid-suppsave</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>it’s a Makefile and a tiny hardware data collection tool.<o:p></o:p></p><p class=MsoNormal>You can clone the git and then in the directory of the git repo you can enter the next command:<o:p></o:p></p><p class=MsoNormal>make amzn2-install-suppsave-deps support-save<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And also, how did you installed squid on the amazon linux machine? Using:<o:p></o:p></p><p class=MsoNormal>amazon-linux-extras install squid4<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>??<o:p></o:p></p><p class=MsoNormal>And also just do you would know that I am compiling squid for amzn linux 2 and the files/repo is at:<o:p></o:p></p><p class=MsoNormal><a href="https://www.ngtech.co.il/repo/amzn/2/x86_64/">https://www.ngtech.co.il/repo/amzn/2/x86_64/</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It is not compiled with ecap support and it works for most use cases I have seen until now.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The support script will create a file at /etc/support….tar.gz<o:p></o:p></p><p class=MsoNormal>Please make sure that if you are using ssl bump you will need to remove the ssl bump root CA details.<o:p></o:p></p><p class=MsoNormal>If you still wish to send the full file to me as is, just make sure you will send it to me and only not and not to the public list.<o:p></o:p></p><p class=MsoNormal>(Unless it’s a testing machine..)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All The Bests,<o:p></o:p></p><p class=MsoNormal>Eliezer<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>----<o:p></o:p></p><p class=MsoNormal>Eliezer Croitoru<o:p></o:p></p><p class=MsoNormal>NgTech, Tech Support<o:p></o:p></p><p class=MsoNormal>Mobile: +972-5-28704261<o:p></o:p></p><p class=MsoNormal>Email: <a href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@gmail.com</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> squid-users <squid-users-bounces@lists.squid-cache.org> <b>On Behalf Of </b>Usama Mehboob<br><b>Sent:</b> Saturday, February 26, 2022 07:58<br><b>To:</b> squid-users@lists.squid-cache.org<br><b>Subject:</b> Re: [squid-users] Getting SSL Connection Errors (Eliezer Croitoru)<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>I think on previous mailing list I pasted the whole content. So I am again sending my reply in sort of confined way. :) <o:p></o:p></p></div><p class=MsoNormal>Eliezer, I am running on amazon linux 2 ami which I suppose is based on<br>centos.<br>I ran the uname -a command and this is what I get;;<br>Linux ip-172-24-9-143.us-east-2.compute.internal<br>4.14.256-197.484.amzn2.x86_64 #1 SMP Tue Nov 30 00:17:50 UTC 2021 x86_64<br>x86_64 x86_64 GNU/Linux<br><br>[ec2-user@ip-172-24-9-143 ~]$ openssl version<br>OpenSSL 1.0.2k-fips  26 Jan 2017<br><br>thanks so much and let me know the script and I can run on this machine.<br>Usama<o:p></o:p></p><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><br>Message: 1<br>Date: Fri, 25 Feb 2022 07:01:12 +0200<br>From: "Eliezer Croitoru" <<a href="mailto:ngtech1ltd@gmail.com" target="_blank">ngtech1ltd@gmail.com</a>><br>To: "'Usama Mehboob'" <<a href="mailto:musamamehboob@gmail.com" target="_blank">musamamehboob@gmail.com</a>>,<br>        <<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a>><br>Subject: Re: [squid-users] Getting SSL Connection Errors<br>Message-ID: <006f01d82a04$b678b770$236a2650$@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hey Usama,<br><br><br><br>There are more missing details on the system.<br><br>If you provide the OS and squid details I might be able to provide a script that will pull most of the relevant details on the system.<br><br>I don?t know about this specific issue yet and it seems like there is a SSL related issue and it might not be even related to Squid.<br><br>(@Alex Or @Chrisots might know better then me)<br><br><br><br>All The Bests,<br><br><br><br>----<br><br>Eliezer Croitoru<br><br>NgTech, Tech Support<br><br>Mobile: +972-5-28704261<br><br>Email: <a href="mailto:ngtech1ltd@gmail.com" target="_blank">ngtech1ltd@gmail.com</a> <mailto:<a href="mailto:ngtech1ltd@gmail.com" target="_blank">ngtech1ltd@gmail.com</a>> <br><br><br><br>From: squid-users <<a href="mailto:squid-users-bounces@lists.squid-cache.org" target="_blank">squid-users-bounces@lists.squid-cache.org</a>> On Behalf Of Usama Mehboob<br>Sent: Thursday, February 24, 2022 23:45<br>To: <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>Subject: [squid-users] Getting SSL Connection Errors<br><br><br><br>Hi I have a squid running on a linux box ( about 16GB ram and 4 cpu ) -- it runs fine for the most part but when I am launching multiple jobs that are connecting with salesforce BulkAPI, sometimes connections are dropped. its not predictable and happens only when there is so much load on squid. Can anyone shed some light on this? what can I do? is it a file descriptor issue?<br><br>I see only these error messages from the cache logs<br>```<br>PeerConnector.cc(639) handleNegotiateError: Error (error:04091068:rsa routines:INT_RSA_VERIFY:bad signature) but, hold write on SSL connection on FD 109<br>```<br><br>----------------Config file ----------------<br>visible_hostname squid <br><br>#<br># Recommended minimum configuration:<br>#<br><br># Example rule allowing access from your local networks.<br># Adapt to list your (internal) IP networks from where browsing<br># should be allowed<br>acl localnet src <a href="http://10.0.0.0/8" target="_blank">10.0.0.0/8</a> <<a href="http://10.0.0.0/8" target="_blank">http://10.0.0.0/8</a>>  # RFC1918 possible internal network<br>acl localnet src <a href="http://172.16.0.0/12" target="_blank">172.16.0.0/12</a> <<a href="http://172.16.0.0/12" target="_blank">http://172.16.0.0/12</a>>  # RFC1918 possible internal network<br>acl localnet src <a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> <<a href="http://192.168.0.0/16" target="_blank">http://192.168.0.0/16</a>>  # RFC1918 possible internal network<br>acl localnet src fc00::/7       # RFC 4193 local private network range<br>acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines<br><br>acl SSL_ports port 443<br>acl Safe_ports port 80 # http<br>###acl Safe_ports port 21 # ftp testing after blocking itp<br>acl Safe_ports port 443 # https<br>acl Safe_ports port 70 # gopher<br>acl Safe_ports port 210 # wais<br>acl Safe_ports port 1025-65535 # unregistered ports<br>acl Safe_ports port 280 # http-mgmt<br>acl Safe_ports port 488 # gss-http<br>acl Safe_ports port 591 # filemaker<br>acl Safe_ports port 777 # multiling http<br>acl CONNECT method CONNECT<br><br>#<br># Recommended minimum Access Permission configuration:<br>#<br># Deny requests to certain unsafe ports<br>http_access deny !Safe_ports<br><br># Deny CONNECT to other than secure SSL ports<br>http_access deny CONNECT !SSL_ports<br>#http_access allow CONNECT SSL_ports<br><br># Only allow cachemgr access from localhost<br>http_access allow localhost manager<br>http_access deny manager<br><br># We strongly recommend the following be uncommented to protect innocent<br># web applications running on the proxy server who think the only<br># one who can access services on "localhost" is a local user<br>#http_access deny to_localhost<br><br>#<br># INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS<br>#<br><br># Example rule allowing access from your local networks.<br># Adapt localnet in the ACL section to list your (internal) IP networks<br># from where browsing should be allowed<br><br># And finally deny all other access to this proxy<br><br># Squid normally listens to port 3128<br>#http_port 3128<br>http_port 3129 intercept<br>https_port 3130 cert=/etc/squid/ssl/squid.pem ssl-bump intercept <br>http_access allow SSL_ports #-- this allows every https website<br>acl step1 at_step SslBump1 <br>acl step2 at_step SslBump2 <br>acl step3 at_step SslBump3 <br>ssl_bump peek step1 all <br><br># Deny requests to proxy instance metadata <br>acl instance_metadata dst 169.254.169.254 <br>http_access deny instance_metadata <br><br># Filter HTTP Only requests based on the whitelist <br>#acl allowed_http_only dstdomain .<a href="http://veevasourcedev.com" target="_blank">veevasourcedev.com</a> <<a href="http://veevasourcedev.com" target="_blank">http://veevasourcedev.com</a>>  .<a href="http://google.com" target="_blank">google.com</a> <<a href="http://google.com" target="_blank">http://google.com</a>>  .<a href="http://pypi.org" target="_blank">pypi.org</a> <<a href="http://pypi.org" target="_blank">http://pypi.org</a>>  .<a href="http://youtube.com" target="_blank">youtube.com</a> <<a href="http://youtube.com" target="_blank">http://youtube.com</a>> <br>#acl allowed_http_only dstdomain .<a href="http://amazonaws.com" target="_blank">amazonaws.com</a> <<a href="http://amazonaws.com" target="_blank">http://amazonaws.com</a>> <br>#acl allowed_http_only dstdomain .<a href="http://veevanetwork.com" target="_blank">veevanetwork.com</a> <<a href="http://veevanetwork.com" target="_blank">http://veevanetwork.com</a>>  .<a href="http://veevacrm.com" target="_blank">veevacrm.com</a> <<a href="http://veevacrm.com" target="_blank">http://veevacrm.com</a>>  .<a href="http://veevacrmdi.com" target="_blank">veevacrmdi.com</a> <<a href="http://veevacrmdi.com" target="_blank">http://veevacrmdi.com</a>>  .<a href="http://veeva.com" target="_blank">veeva.com</a> <<a href="http://veeva.com" target="_blank">http://veeva.com</a>>  .<a href="http://veevavault.com" target="_blank">veevavault.com</a> <<a href="http://veevavault.com" target="_blank">http://veevavault.com</a>>  .<a href="http://vaultdev.com" target="_blank">vaultdev.com</a> <<a href="http://vaultdev.com" target="_blank">http://vaultdev.com</a>>  .<a href="http://veevacrmqa.com" target="_blank">veevacrmqa.com</a> <<a href="http://veevacrmqa.com" target="_blank">http://veevacrmqa.com</a>> <br>#acl allowed_http_only dstdomain .<a href="http://documentforce.com" target="_blank">documentforce.com</a> <<a href="http://documentforce.com" target="_blank">http://documentforce.com</a>>   .<a href="http://sforce.com" target="_blank">sforce.com</a> <<a href="http://sforce.com" target="_blank">http://sforce.com</a>>  .<a href="http://force.com" target="_blank">force.com</a> <<a href="http://force.com" target="_blank">http://force.com</a>>  .<a href="http://forceusercontent.com" target="_blank">forceusercontent.com</a> <<a href="http://forceusercontent.com" target="_blank">http://forceusercontent.com</a>>  .<a href="http://force-user-content.com" target="_blank">force-user-content.com</a> <<a href="http://force-user-content.com" target="_blank">http://force-user-content.com</a>>  .<a href="http://lightning.com" target="_blank">lightning.com</a> <<a href="http://lightning.com" target="_blank">http://lightning.com</a>>  .<a href="http://salesforce.com" target="_blank">salesforce.com</a> <<a href="http://salesforce.com" target="_blank">http://salesforce.com</a>>  .<a href="http://salesforceliveagent.com" target="_blank">salesforceliveagent.com</a> <<a href="http://salesforceliveagent.com" target="_blank">http://salesforceliveagent.com</a>>  .<a href="http://salesforce-communities.com" target="_blank">salesforce-communities.com</a> <<a href="http://salesforce-communities.com" target="_blank">http://salesforce-communities.com</a>>  .<a href="http://salesforce-experience.com" target="_blank">salesforce-experience.com</a> <<a href="http://salesforce-experience.com" target="_blank">http://salesforce-experience.com</a>>  .<a href="http://salesforce-hub.com" target="_blank">salesforce-hub.com</a> <<a href="http://salesforce-hub.com" target="_blank">http://salesforce-hub.com</a>>  .<a href="http://salesforce-scrt.com" target="_blank">salesforce-scrt.com</a> <<a href="http://salesforce-scrt.com" target="_blank">http://salesforce-scrt.com</a>>  .<a href="http://salesforce-sites.com" target="_blank">salesforce-sites.com</a> <<a href="http://salesforce-sites.com" target="_blank">http://salesforce-sites.com</a>>  .<a href="http://site.com" target="_blank">site.com</a> <<a href="http://site.com" target="_blank">http://site.com</a>>  .<a href="http://sfdcopens.com" target="_blank">sfdcopens.com</a> <<a href="http://sfdcopens.com" target="_blank">http://sfdcopens.com</a>>  .sfdc.sh .<a href="http://trailblazer.me" target="_blank">trailblazer.me</a> <<a href="http://trailblazer.me" target="_blank">http://trailblazer.me</a>>  .<a href="http://trailhead.com" target="_blank">trailhead.com</a> <<a href="http://trailhead.com" target="_blank">http://trailhead.com</a>>  .<a href="http://visualforce.com" target="_blank">visualforce.com</a> <<a href="http://visualforce.com" target="_blank">http://visualforce.com</a>> <br><br><br># Filter HTTPS requests based on the whitelist <br>acl allowed_https_sites ssl::server_name .<a href="http://pypi.org" target="_blank">pypi.org</a> <<a href="http://pypi.org" target="_blank">http://pypi.org</a>>  .<a href="http://pythonhosted.org" target="_blank">pythonhosted.org</a> <<a href="http://pythonhosted.org" target="_blank">http://pythonhosted.org</a>>  .<a href="http://tfhub.dev" target="_blank">tfhub.dev</a> <<a href="http://tfhub.dev" target="_blank">http://tfhub.dev</a>>  .<a href="http://gstatic.com" target="_blank">gstatic.com</a> <<a href="http://gstatic.com" target="_blank">http://gstatic.com</a>>  .<a href="http://googleapis.com" target="_blank">googleapis.com</a> <<a href="http://googleapis.com" target="_blank">http://googleapis.com</a>> <br>acl allowed_https_sites ssl::server_name .<a href="http://amazonaws.com" target="_blank">amazonaws.com</a> <<a href="http://amazonaws.com" target="_blank">http://amazonaws.com</a>> <br>acl allowed_https_sites ssl::server_name .<a href="http://documentforce.com" target="_blank">documentforce.com</a> <<a href="http://documentforce.com" target="_blank">http://documentforce.com</a>>   .<a href="http://sforce.com" target="_blank">sforce.com</a> <<a href="http://sforce.com" target="_blank">http://sforce.com</a>>  .<a href="http://force.com" target="_blank">force.com</a> <<a href="http://force.com" target="_blank">http://force.com</a>>  .<a href="http://forceusercontent.com" target="_blank">forceusercontent.com</a> <<a href="http://forceusercontent.com" target="_blank">http://forceusercontent.com</a>>  .<a href="http://force-user-content.com" target="_blank">force-user-content.com</a> <<a href="http://force-user-content.com" target="_blank">http://force-user-content.com</a>>  .<a href="http://lightning.com" target="_blank">lightning.com</a> <<a href="http://lightning.com" target="_blank">http://lightning.com</a>>  .<a href="http://salesforce.com" target="_blank">salesforce.com</a> <<a href="http://salesforce.com" target="_blank">http://salesforce.com</a>>  .<a href="http://salesforceliveagent.com" target="_blank">salesforceliveagent.com</a> <<a href="http://salesforceliveagent.com" target="_blank">http://salesforceliveagent.com</a>>  .<a href="http://salesforce-communities.com" target="_blank">salesforce-communities.com</a> <<a href="http://salesforce-communities.com" target="_blank">http://salesforce-communities.com</a>>  .<a href="http://salesforce-experience.com" target="_blank">salesforce-experience.com</a> <<a href="http://salesforce-experience.com" target="_blank">http://salesforce-experience.com</a>>  .<a href="http://salesforce-hub.com" target="_blank">salesforce-hub.com</a> <<a href="http://salesforce-hub.com" target="_blank">http://salesforce-hub.com</a>>  .<a href="http://salesforce-scrt.com" target="_blank">salesforce-scrt.com</a> <<a href="http://salesforce-scrt.com" target="_blank">http://salesforce-scrt.com</a>>  .<a href="http://salesforce-sites.com" target="_blank">salesforce-sites.com</a> <<a href="http://salesforce-sites.com" target="_blank">http://salesforce-sites.com</a>>  .<a href="http://site.com" target="_blank">site.com</a> <<a href="http://site.com" target="_blank">http://site.com</a>>  .<a href="http://sfdcopens.com" target="_blank">sfdcopens.com</a> <<a href="http://sfdcopens.com" target="_blank">http://sfdcopens.com</a>>  .sfdc.sh .<a href="http://trailblazer.me" target="_blank">trailblazer.me</a> <<a href="http://trailblazer.me" target="_blank">http://trailblazer.me</a>>  .<a href="http://trailhead.com" target="_blank">trailhead.com</a> <<a href="http://trailhead.com" target="_blank">http://trailhead.com</a>>  .<a href="http://visualforce.com" target="_blank">visualforce.com</a> <<a href="http://visualforce.com" target="_blank">http://visualforce.com</a>> <br>ssl_bump peek step2 allowed_https_sites <br>ssl_bump splice step3 allowed_https_sites <br>ssl_bump terminate step2 all<br><br><br>connect_timeout 60 minute<br>read_timeout 60 minute<br>write_timeout 60 minute<br>request_timeout 60 minute<br><br>## http filtering ###<br>#http_access allow localnet allowed_http_only<br>#http_access allow localhost allowed_http_only<br>http_access allow localnet allowed_https_sites<br>http_access allow localhost allowed_https_sites<br># And finally deny all other access to this proxy<br>http_access deny all<br><br># Uncomment and adjust the following to add a disk cache directory.<br>#cache_dir ufs /var/spool/squid 100 16 256<br><br># Leave coredumps in the first cache dir<br>coredump_dir /var/spool/squid<br><br>#<br># Add any of your own refresh_pattern entries above these.<br>#<br>refresh_pattern ^ftp: 1440 20% 10080<br>refresh_pattern ^gopher: 1440 0% 1440<br>refresh_pattern -i (/cgi-bin/|\?) 0 0% 0<br>refresh_pattern . 0 20% 4320<br><br><br><br>thanks<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.squid-cache.org/pipermail/squid-users/attachments/20220225/9f94f144/attachment-0001.htm" target="_blank">http://lists.squid-cache.org/pipermail/squid-users/attachments/20220225/9f94f144/attachment-0001.htm</a>><br><br><br><br>------------------------------<br><br>End of squid-users Digest, Vol 90, Issue 38<br>*******************************************<o:p></o:p></p></blockquote></div></div></div></div></body></html>