GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::SSL::GetServerProperties(3) User Contributed Perl Documentation Net::SSL::GetServerProperties(3)

 Net::SSL::GetServerProperties - get properties from SSL/TLS servers

Version 0.8, $Revision: 640 $

   my $prop = Net::SSL::GetServerProperties->new( host => $host, );
   $prop->get_properties;
   
   say "Supported Cipher Suites at Host $host: " . $prop->accepted_ciphers->names;
   say "Supports SSLv2"   if $prop->supports_sslv2;
   say "Supports SSLv3"   if $prop->supports_sslv3;
   say "Supports TLSv1"   if $prop->supports_tlsv1;
   say "Supports TLSv1.1" if $prop->supports_tlsv11;
   say "Supports TLSv1.2" if $prop->supports_tlsv12;

   say "Supports at least one Bettercrypto A Cipher Suite"             if $prop->supports_any_bc_a;
   say "Supports at least one Bettercrypto B Cipher Suite"             if $prop->supports_any_bc_b;
   say "Supports at least one BSI TR-02102-2 Cipher Suite with PFS"    if $prop->supports_any_bsi_pfs;
   say "Supports at least one BSI TR-02102-2 Cipher Suite without PFS" if $prop->supports_any_bsi_nopfs;

   say "Supports only Bettercrypto A Cipher Suites"             if $prop->supports_any_bc_a;
   say "Supports only Bettercrypto B Cipher Suites"             if $prop->supports_any_bc_b;
   say "Supports only BSI TR-02102-2 Cipher Suites with PFS"    if $prop->supports_any_bsi_pfs;
   say "Supports only BSI TR-02102-2 Cipher Suites without PFS" if $prop->supports_any_bsi_nopfs;

   say "Supports weak Cipher Suites"                                    if $prop->supports_weak;
   say "Supports medium Cipher Suites"                                  if $prop->supports_medium;
   say "Supports no weak or medium Cipher Suites, only high or unknown" if $prop->supports_no_weakmedium;
   say "Supports ancient SSL Versions 2.0 or 3.0"                       if $prop->supports_ancient_ssl_versions;

   say "Cipher Suite used by Firefox:        " . $prop->firefox_cipher;
   say "Cipher Suite used by Safari:         " . $prop->safari_cipher;
   say "Cipher Suite used by Chrome:         " . $prop->chrome_cipher;
   say "Cipher Suite used by Win 7 (IE 8):   " . $prop->ie8win7_cipher;
   say "Cipher Suite used by Win 10 (IE 11): " . $prop->ie11win10_cipher;
   
   say "Supports only SSL/TLS versions recommended by BSI TR-02102-2"                            if $prop->supports_only_bsi_versions;
   say "Supports only SSL/TLS versions and cipher suites with PFS recommended by BSI TR-02102-2" if $prop->supports_only_bsi_versions_ciphers;
   say "Supports only TLS 1.2 "                                                                  if $prop->supports_only_tlsv12;
   
   # supports_sslv3_or_newer, supports_tlsv1_or_newer, supports_tlsv11_or_newer, supports_tlsv12_or_newer
   # supports_max_tls11, supports_max_tlsv1, supports_max_sslv3, supports_only_sslv2
   
   
   say "Ciphersuites used:";
   say "  * $_->{name}" foreach @{ $prop->accepted_ciphers }
   
   say "Overall Score for this Host: " . $prop->score;


   # or: use it with method delegation

TODO: Description

see below

runs all tests, gets all properties.

Internal method (but may be overridden or changed by method modifyer): Calculates the server's score, based on the accepted cipher suites and SSL/TLS Versions

TODO: Description

...

Tests which CipherSuite a server supports

Returns true, if the server version matches $ssl_version

checks, if the cipher suitess found by the tag are supported

Tests, if there is a supported cipher for the given SSL/TLS version. When no cipher given, it searches only for already supported ciphers (->accepted_ciphers)

returns an array (or arrayref) of the names of all suppported cipher suites

TODO: Duplicate, remove, replace by $self->accepted_ciphers->unique->names

returns true if the connection only supports BSI recommended protocol versions: TLS 1.2 and maybe TLS 1.1

returns true if the connection only supports TLSv12 and NO older version

In future: checks, if server NOT supports TLS 1.13!

returns true if the connection only supports BSI recommended protocol versions AND cipher suites (with PFS!).

returns true, if ols SSL versions 2.0 and 3.0 with lots of bugs and security nightmares are supported.

as the name says: returns true if this version and no older is supported

TODO: Tests!

as the name says: returns true if this version and no newer is supported

TODO: Tests!

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.