vsftpd: allow ASCII Mode?

  • In der Standardkonfiguration von vsftpd wird Transfereinstellung
    des ascii - Modus nicht erlaubt. Das wären die Serveroptionen:


    ascii_upload_enable
    ascii_download_enable


    Vom vsftpd-Team wird das als Sicherheitslücke eingestuft, die
    man ausnutzen kann....


    Code
    # ... /etc/vsftpd.conf ...
    #
    # By default the server will pretend to allow ASCII mode but in fact ignore
    # the request. Turn on the below options to have the server actually do ASCII
    # mangling on files when in ASCII mode.
    # Beware that on some FTP servers, ASCII support allows a denial of service
    # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
    # predicted this attack and has always been safe, reporting the size of the
    # raw file.
    # ASCII mangling is a horrible feature of the protocol.


    Aber so grundsätzlich ist das ja blöd, wenn damit für den Nutzer von Windows-Systemen die Möglichkeit wegfällt Scripte per FTP auf den Server hochzuladen.


    Ich denke, es ist schon gut dass so zu lassen wie es ist. Sobald es einem auffällt bzw. stört, kann man es aktivieren. Ich habe das hier mal geschrieben, damit es vielleicht per Google gefunden wird.


    Ich habe das über einen lua-Hook gelöst, um bei mir die zwei Einstellungen zu aktivieren:


    https://www.liveconfig.com/de/…ua-Script-Hooks-einbinden

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!