ASNMTAP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

                                 NEW applications/htmlroot/JSFX_Browser.js
                                 NEW applications/htmlroot/JSFX_Falling.js
                                 NEW applications/htmlroot/JSFX_Fireworks.js
                                 NEW applications/htmlroot/JSFX_Fireworks2.js
                                 NEW applications/htmlroot/JSFX_Halloween.js
                                 NEW applications/htmlroot/JSFX_Layer.js
                               ASNMTAP::Asnmtap::Applications::CGI
                               - NEW timeperiods.pl
                               ASNMTAP::Asnmtap::Plugins and ASNMTAP::Asnmtap::Plugins::WebTransact
                               - FIX debug information must be into the debug file '*.html' or '*.html-KnownError' but never into both
                               - added info regarding keep_alive and SSL session resume
                               - added do not proxy requests to the given domains. Calling no_proxy without any domains clears the list of domains.
                               ASNMTAP::Asnmtap::Plugins::Nagios
                               - NEW check_fs-stat.pl
                               ASNMTAP::Asnmtap::Plugins::SOAP
                               - add TYPE_ERROR_RETURN
                               ASNMTAP::Asnmtap::Plugins::WebTransact & runCmdOnDemand.pl
                               - ADDED remove password from Basic Authentication URL before putting into database!


Version 3.000.012, 2006/12/20, Central and Distributed support

lib/ASNMTAP/Asnmtap/Plugins/WebTransact.pm  view on Meta::CPAN

  my $proxyUsername = ${$self->{asnmtapInherited}}->proxy ( 'username' );
  my $proxyPassword = ${$self->{asnmtapInherited}}->proxy ( 'password' );

  $self->{newAgent} = $parms{newAgent} if ( defined $parms{newAgent} and defined $ua );

  if ( $self->{newAgent} or ! defined $ua ) {
    $self->{newAgent} = 0;
    LWP::Debug::level('+') if ( $debug );

    if ( $parms{keepAlive} ) {
      $ua = LWP::UserAgent->new ( keep_alive => 1 );
    } else {
      $ua = LWP::UserAgent->new ( keep_alive => 0 );
    }

    $self->{ua} = $ua;
    $ua->agent ( ${$self->{asnmtapInherited}}->browseragent () );
    $ua->timeout ( ${$self->{asnmtapInherited}}->timeout () );

    $ua->default_headers->push_header ( 'Accept-Language' => 'no, en' );
    $ua->default_headers->push_header ( 'Accept-Charset'  => 'iso-8859-1,*,utf-8' );
    $ua->default_headers->push_header ( 'Accept-Encoding' => 'gzip, deflate' );

lib/ASNMTAP/Asnmtap/Plugins/WebTransact.pod  view on Meta::CPAN

=item * a means of determining from the content, whether a response is either OK or a failure (WARNING, CRITICAL or UNKNOWN).

=over 4

=item 'KeepAlive' and 'SSL session reuse'

 Only SSLv3 and TLSv1 are supporting 'KeepAlive' and 'SSL session reuse'.

 To make SSL session reuse possible, 'KeepAlive' need to be on 'On'.

 Verify that your browseragent string on the destination servers don't have someting like a 'nokeepalive', 'downgrade-1.0' or 'force-response-1.0'.

 Verify that the 'SSL Session Cache' on the destination servers are enabled.

=over 4

=item Apache

=over 4

=item httpd.conf

 # KeepAlive: Whether or not to allow persistent connections (more than one request per connection).
 KeepAlive On

 # The following directives modify normal HTTP response behavior to handle known problems with browser implementations.
 BrowserMatch "Mozilla/2" nokeepalive
 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

=item ssl.conf

 # Here I am allowing SSLv3 and TLSv1, I am NOT allowing the old SSLv2.
 # SSLProtocol all -SSLv2
 SSLProtocol -all +TLSv1 +SSLv3 

 # Notice: Most problems of broken clients are also related to the HTTP keep-alive facility.
 SetEnvIf User-Agent ".*MSIE.*" \
          nokeepalive ssl-unclean-shutdown \
          downgrade-1.0 force-response-1.0

 # Inter-Process Session Cache:
 # Configure the SSL Session Cache: First the mechanism to use and second the expiring timeout (in seconds).
 SSLSessionCache         dbm:/var/cache/mod_ssl/scache(512000)
 SSLSessionCacheTimeout  300

=back

=back



( run in 2.131 seconds using v1.01-cache-2.11-cpan-df04353d9ac )