PureFTPD doesn't restart after changes to SSL for poodle SSL attack

Discussion in 'HOWTO-Related Questions' started by nikos, Apr 9, 2015.

  1. nikos

    nikos New Member

    I've followed this guide: https://www.howtoforge.com/how-to-secure-your-ispconfig-3-server-against-the-poodle-ssl-attack
    I have debian wheezy and the -J command exists when I do "
    man pure-ftpd"
    I did all the changes and everything works fine except pure ftpd. I get his error message when I try to start it: Restarting ftp server: start-stop-daemon: unable to start /usr/sbin/pure-ftpd-wrapper (Exec format error)
    When I delete the line I've added, I still get the same error... I did reboot to server but still ftp refuses to start...

    The config file:
    Code:
    my %conf = ('AllowAnonymousFXP' => ['-W'],
                'AllowDotFiles' => ['-z'],
                'AllowUserFXP' => ['-w'],
                'AltLog' => ['-O %s', \&parse_string],
                'AnonymousBandwidth' => ['-t %s', \&parse_number_1_2],
                'AnonymousCanCreateDirs' => ['-M'],
                'AnonymousCantUpload' => ['-i'],
                'AnonymousOnly', => ['-e'],
                'AnonymousRatio' => ['-q %d:%d', \&parse_number_2],
                'AntiWarez' => ['-s'],
                'AutoRename' => ['-r'],
                'Bind' => ['-S %s', \&parse_string],
                'BrokenClientsCompatibility' => ['-b'],
                'CallUploadScript' => ['-o'],
                'ChrootEveryone' => ['-A'],
                'CreateHomeDir' => ['-j'],
                'CustomerProof' => ['-Z'],
                'Daemonize' => ['-B'],
                'DisplayDotFiles' => ['-D'],
                'DontResolve' => ['-H'],
                'ForcePassiveIP' => ['-P %s', \&parse_string],
                'FortunesFile' => ['-F %s', \&parse_filename],
                'FSCharset' => ['-8 %s', \&parse_string],
                'ClientCharset' => ['-9 %s', \&parse_string],
                'IPV4Only' => ['-4'],
                'IPV6Only' => ['-6'],
                'KeepAllFiles' => ['-K'],
                'LimitRecursion' => ['-L %d:%d', \&parse_number_2_unlimited],
                'LogPID' => ['-1'],
                'MaxClientsNumber' => ['-c %d', \&parse_number_1],
                'MaxClientsPerIP' => ['-C %d', \&parse_number_1],
                'MaxDiskUsage' => ['-k %d', \&parse_number_1],
                'MaxIdleTime' => ['-I %d', \&parse_number_1],
                'MaxLoad' => ['-m %d', \&parse_number_1],
                'MinUID' => ['-u %d', \&parse_number_1],
                'NATmode' => ['-N'],
                'NoAnonymous' => ['-E'],
                'NoChmod' => ['-R'],
                'NoRename' => ['-G'],
                'NoTruncate' => ['-0'],
                'PassivePortRange' => ['-p %d:%d', \&parse_number_2],
                'PerUserLimits' => ['-y %d:%d', \&parse_number_2],
                'ProhibitDotFilesRead' => ['-X'],
                'ProhibitDotFilesWrite' => ['-x'],
                'Quota' => ['-n %d:%d', \&parse_number_2],
                'SyslogFacility' => ['-f %s', \&parse_word, 99],
                'TLS' => ['-Y %d', \&parse_number_1],
                'TLSCipherSuite' => ['-J %s', \&parse_string],
                'TrustedGID' => ['-a %d', \&parse_number_1],
                'TrustedIP' => ['-V %s', \&parse_ip],
                'Umask' => ['-U %s:%s', \&parse_umask],
                'UserBandwidth' => ['-T %s', \&parse_number_1_2],
                'UserRatio' => ['-Q %d:%d', \&parse_number_2],
                'VerboseLog' => ['-d'],
               );
    
     
    Last edited: Apr 9, 2015

Share This Page