Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.57 KB

CHANGES.md

File metadata and controls

44 lines (26 loc) · 1.57 KB

Planned for next version

Major code re-factoring

Potential compatibility issues

  • A new SFTP configuration property has been introduced that limits the maximum amount of data that can be sent in a single SSH_FXP_WRITE packet - default=256KB
    /**
     * Force the use of a max. packet length for {@link AbstractSftpSubsystemHelper#doWrite(Buffer, int)} protection
     * against malicious packets
     */
    public static final Property<Integer> MAX_WRITE_DATA_PACKET_LENGTH
            = Property.integer("sftp-max-writedata-packet-length", 256 * 1024);

This might cause SFTP write failures for clients that might have sent larger buffers and they have been accepted so far. If this happens, simply increase this value (though the choice of 256KB should be compatible with the vast majority of clients).

Minor code helpers

Behavioral changes and enhancements