summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest
AgeCommit message (Collapse)Author
2015-03-04Allow tests to be qualified IPv4/IPv6-only.Steve Kemp
Via "ipv6_only" and "IPv4_only"
2015-03-02Allow IPv4 and IPv6 tests to be carried out.Steve Kemp
If a target is a hostname we'll explicitly resolve it for both IPv4 and IPv6.
2015-03-02Added named-test.Steve Kemp
THis tests that a server is listening on :53.
2015-03-02Test for IPv4 and IPv6 addresses explicitly.Steve Kemp
If we're given an IPv4 or IPv6 address then use it, if not then attempt to resolve the name that we've been given to one/other/both of these types and test in turn.
2015-02-18Added SSL checking magic, from Patrick.Steve Kemp
This is a clone of the code that we're already using for SSL checking of domains. The biggest excpetion is that I've disabled the SSL v2/v3 checking because that is causing alerts on https://google.com/ This closes #9563.
2015-02-18Reordered registration.Steve Kemp
This allows the test-suite to pass.
2015-02-18Show NOP messages.Steve Kemp
2015-02-18Added SSL-expiry checker.Steve Kemp
This is a stub for the moment, but it validates that we can have multiple handlers for a given test-type. This updates #9558.
2015-01-22Allow inverted tests for MX.Steve Kemp
(i.e. "pxe.io must not run mx otherwise 'no mail for steve'.")
2015-01-13Updated to actually test the backend MX servers.Steve Kemp
We now connec to the MX-servers via XX:25 and alert if that fails.:wq
2015-01-13Lookup MX record(s) for the domain under test.Steve Kemp
2015-01-13Stub MX-test.Steve Kemp
This will perform a DNS-lookup AND SMTP-test for the given domain.
2015-01-08Simplified error messages for DNS failures.Steve Kemp
We show the result we expected and what we received, but we do so with quoted strings. So rather than: * one * two we show "one,two". This closes #8538.
2014-12-11Fixed typoPatrick J Cherry
2014-12-11Resolve DNS server name to an IP before connecting, so ruby knowsPatrick J Cherry
which protocol to use.
2014-12-11Further tidying the DNS class to use an array rather than a string toPatrick J Cherry
compare stuff.
2014-12-11make dns comparisons alL LoWeR CaSePatrick J Cherry
2014-12-02Added host header override to errors in HTTP testJames Hannah
2014-10-13Added support for overriding the HTTP Host headerJames Hannah
2014-05-16Fixed numerous typos in the http libraryPatrick J Cherry
2014-05-16Updated http protocoltest to connect over both IPv4 and 6.Patrick J Cherry
2013-11-22 Added trivial TCP-connect test for postgresqlSteve Kemp
2013-11-22 Added IMAP protocol-test.Steve Kemp
2013-10-15 We now allow "with cache busting", and "without cache busting".Steve Kemp
2013-10-08 Attempt to avoid caching artifacts on all URL-testing bySteve Kemp
appending ?ctime=XX to HTTP/HTTPS-requests.
2013-08-09 Fixed syntax error.Steve Kemp
2013-08-06 Added more logging of bad IPs.Steve Kemp
Ensure we parse zones correctly.
2013-08-05 DNSBL test.Steve Kemp
2013-06-24Allow the code to load when the ruby LDAP module is not present.Steve Kemp
Although the actual protocol-test will instafail this allows the test suite to be executed without the LDAP library being present.
2013-05-20 Updated to test the kind of argument correctly.Steve Kemp
2013-05-20 The banner matching now copes with a string or a regexp.Steve Kemp
2013-05-20 We must read a line from the socket if doing a banner comparison.Steve Kemp
2013-05-20 Fixed the FTP-test to use a regexp not a string match.Steve Kemp
2013-05-20 Updated to read from the socket.Steve Kemp
2013-05-20 Default to not reading a banner.Steve Kemp
2013-05-15 Honour the global timeout period.Steve Kemp
The global configuration file, /etc/custodian/custodian.cfg, has a timeout=XX setting in it. Until now we've ignored it and used a fixed timeout of 20/30 seconds. Now we fully honour the specified value.
2013-05-15 Updated the sample lines at the top of each protocol test.Steve Kemp
Full protocol-tests are documented online, in the project wiki at: https://projects.bytemark.co.uk/projects/custodian/wiki/TestDefinitionExamples
2013-05-15 The TCP-test now uses a regexp.Steve Kemp
Each test has been updated to pass a regexp object to the tcp.rb primitive which actually does the socket connection. This closes #4036
2013-05-13 We don't read from the socket for jabber-protocol tests.Steve Kemp
2013-05-13 Use tcp-connect onlySteve Kemp
2013-05-13 Really use sysread.Steve Kemp
2013-05-13 Use sysread() rather than readSteve Kemp
2013-05-13 Don't write to the TCP socket for tcp-testing.Steve Kemp
2013-04-23 Updated the parser to allow the test to specify whether HTTP-redirectsSteve Kemp
are followed. Added test-cases to match.
2013-02-25 Added MySQL protocol-test.Steve Kemp
2013-02-25 Added open HTTP-proxy test.Steve Kemp
2013-02-18 Read hostname from /etc/hostname.Steve Kemp
2013-02-18 Deleted trailing whitespace.Steve Kemp
2013-02-13 We no longer need to include the TCP-class, as we're noSteve Kemp
longer derived from it.
2013-02-13 Fixed syntaxSteve Kemp