HTTPS SNI Monitor
Problem this snippet solves: Hi,
You may or may not already have encountered a webserver that requires the SNI (Server Name Indication) extension in order to know which website it needs to serve y...
Published Mar 12, 2015
Version 1.0Thomas_Schocka1
Altocumulus
Joined May 04, 2012
Thomas_Schocka1
Altocumulus
Joined May 04, 2012
Paolo_Di_Liber1
Dec 11, 2015Employee
Hi,
this is really good, thanks!
Due to a customer request, I did a little change on the script, allowing the user to use regexp to identity response codes. It is really basic, but it works.
It is enough to change line 113 to:
if echo "$http_error_code" | egrep -q "$monitor_httpstatus"; then
You could assign a regexp to HTTPSTATUS (es. [2,3]0[0-3])
Thanks.