Comments (7)
Hi and thanks.
Using a proxy is already supported by using the http_proxy
and https_proxy
environment. Or do you mean specifying a proxy via switch (like: --proxy=http://foo.domain.example:3128
)?
from check_sslscan.
yeah that would be cool
from check_sslscan.
Please try the current version (1.2).
from check_sslscan.
it works with proxy but there seems to be an other bug. If the checked host could be resolved via dns but it's not reachable for ssllabs then I get an OK status:
/usr/lib64/nagios/plugins/check_sslscan.py --crit C --host myhostname --proxy 192.168.110.100:8080 --warn B --debug
{'host': 'myhostname', 'port': 443, 'protocol': 'http', 'isPublic': False, 'status': 'READY', 'startTime': 1649926244500, 'testTime': 1649926260141, 'engineVersion': '2.1.10', 'criteriaVersion': '2009q', 'cacheExpiryTime': 1649926860141, 'endpoints': [{'ipAddress': '...', 'serverName': 'myhostname', 'statusMessage': 'Unable to connect to the server', 'statusDetails': 'TESTING_PROTO_2_0', 'statusDetailsMessage': 'Testing SSL 2.0', 'progress': -1, 'duration': 15024, 'eta': -1, 'delegation': 1}]}
OK: score(s)
IMHO it should be an UNKNOWN
from check_sslscan.
Qualys doesn't seem to consider an unreachable host to be an error, otherwise status
would return ERROR instead of READY. Which is okay if you have multiple ip addresses for a host name and do not want to fail the whole test in case of one ip address not responding. Still, I agree it is advisable to return UNKNOWN if any of the ip addresses fails.
It should be fixed in 1.3.
from check_sslscan.
this change works but found something new :) If I start a new check, it ends immediately with "UNKNOWN: 'endpoints'". I need to start it for the second time to get the right rating.
from check_sslscan.
Merde, yes, my bad. Fixed in 1.3.1.
from check_sslscan.
Related Issues (2)
- reason of rating HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_sslscan.