I have found this file using grep  for the string "La visualizzazione di 
questo sito è stata bloccata, poiché rientra nella categoria" 
in the /assp folder and found the file grliplist.conf i've posted in my 
previous mail.

In assp.pl there are some reference to "griplist" not to "grliplist.conf" 
griplist:=griplist
noGriplistDownload:=
GriplistDownloadNow:=


using : "sudo grep griplist.conf * " in /assp folder i've got this 
results:

assp.pl:    my $file = "$base/griplist.conf";
assp.pl:    $ret = downloadHTTP("
http://downloads.sourceforge.net/project/assp/griplist/griplist.conf";,
assp.pl:                 "griplist.conf",5,9,2,1);
assp.pl:        &downloadGripConf();  # reload the griplist.conf
rebuildspamdb.pl:    my $griplistUrl = "
http://downloads.sourceforge.net/project/assp/griplist/griplist.conf";;
rebuildspamdb.pl:    my $file     = "$base/griplist.conf";

================
this is a snippet of assp.pl  from line 27532:

sub downloadGripConf {
    return if $AsASecondary;
    d('downloadGripConf-start');

    my $ret;
    my $file = "$base/griplist.conf";
    $ret = downloadHTTP("
http://downloads.sourceforge.net/project/assp/griplist/griplist.conf";,
                 $file,
                 0,
                 "griplist.conf",5,9,2,1);
    mlog(0,"info: updated GRIPLIST upload and download URL's in $file") if 
$ret;
    $ret = 0;
    open my $GC , '<', $file or return 0;
    binmode $GC;
    while (<$GC>) {
        s/\r|\n//o;
        if (/^\s*(gripList(?:DownUrl|UpUrl|UpHost))\s*:\s*(.+)$/) {
            ${$1} = $2;
            $ret++;
        }
    }
    close
    mlog(0,"info: loaded GRIPLIST upload and download URL's from $file") 
if $ret;
    mlog(0,"info: GRIPLIST config $file is possibly incomplete") if $ret < 
3;
    $gripListDownUrl =~ s/\*HOST\*/$gripListUpHost/o;
    $gripListUpUrl  =~ s/\*HOST\*/$gripListUpHost/o;
    return $ret;
}

==================
this is a snippet from /assp/rebuildspamdb.pf from line 1209

sub downloadGripConf {


    my $rc;

    my $griplistUrl = "
http://downloads.sourceforge.net/project/assp/griplist/griplist.conf";;
    my $file     = "$base/griplist.conf";

    $file                = &fixPath($file);


    if ( !$CanUseLWP ) {
        &printlog("$file download failed: LWP::Simple Perl module not 
available\n");
        return;
    }

    if ( -e $file  ) {
        if ( !-r $file  ) {
            &printlog( "$file download failed: $file  not readable!\n" );
            return;
        } elsif ( !-w $file  ) {
            &printlog( "$file download failed: $file  not writable!\n" );
            return;
        }
    }
    else {
        if ( open( TEMPFILE, ">", $file ) ) {
            #we can create the file, this is good, now close the file and 
keep going.
            close TEMPFILE;
            unlink($file);
        } else {
            &printlog("$file download failed: Cannot create $file - $!\n" 
);
            return;
        }
    }

    # Create LWP object
    use LWP::Simple qw(mirror is_success status_message $ua);

    # Set useragent to Rebuild version
    $ua->agent(
        "rebuildspamdb/$VERSION ($^O; Perl/$]; 
LWP::Simple/$LWP::VERSION)");
    $ua->timeout(20);
    if ($proxyserver) {
        $ua->proxy( 'http', "http://"; . $proxyserver );

    } else {
 
    }

    # call LWP mirror command
    $rc = mirror( $griplistUrl, $file );

    if ( $rc == 304 ) {
        # HTTP 304 not modified status returned
        return;
    } elsif ( !is_success($rc) ) {
        #download failed-error code output to logfile
        &printlog("$file download failed: $rc " . status_message($rc). 
"\n" );
        return;
    } elsif ( is_success($rc) ) {
        # download complete
        my $filesize = -s "$file";
        &printlog("$file download complete: $filesize bytes\n" );
        chmod 0644, "$file";
    }
    my $ret = $rc;
#    &printlog("info: updated GRIPLIST upload and download URL's in 
$file\n") if $ret;
    $ret = 0;
    open my $GC , '<', $file or return 0;
    binmode $GC;
    while (<$GC>) {
        s/\r|\n//o;
        if (/^\s*(gripList(?:DownUrl|UpUrl|UpHost))\s*:\s*(.+)$/) {
            ${$1} = $2;
            $ret++;
        }
    }
    close
#    &printlog("info: loaded GRIPLIST upload and download URL's from 
$file\n") if $ret;
    &printlog("info: GRIPLIST config $file is possibly incomplete\n") if 
$ret < 3;
    $gripListDownUrl =~ s/\*HOST\*/$gripListUpHost/o;
    $gripListUpUrl  =~ s/\*HOST\*/$gripListUpHost/o;
    return $ret;
}


Thanks for the version info,, I'm still at "ASSP Version: 1.9.7.0(0.0.00)" 
 I've reached this level with the autoupdate.

You think is better to update to the last V1 (ASSP_1.9.8_12331_install.zip
) or change to V2 (ASSP_2.2.1_12313_install.zip)?
What's the difference?

Thanks again.
Marco 

"Fritz Borgstedt" <[email protected]> wrote on 27/11/2012 12.15.17:

> From: "Fritz Borgstedt" <[email protected]>
> To: "For Users of ASSP" <[email protected]>
> Date: 27/11/2012 12.19
> Subject: Re: [Assp-user] questions about a crash!
> 
> For Users of ASSP  <[email protected]> schreibt:
> >griplist.conf 
> 
> 
> 
> Where is ASSP reading this in the config? This file is unknown to me.
> Remove any reference in ASSP GUI to it.
> 
> 
------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user







Comune di Riccione 
Viale Vittorio Emanuele II, 2 - Riccione (RN)



> www.comune.riccione.rn.it

> www.riccione.it

> www.facebook.com/cittadiriccione 

> twitter.com/tweetriccione 

> www.youtube.com/cittadiriccione 






* Rispetta l'ambiente: se non ti è necessario, non stampare questa mail *
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to