Skip to content

Parse and apply SSL protocols from slave.conf#502

Open
tsautier wants to merge 1 commit into
drftpd-ng:masterfrom
tsautier:fix/issue-433
Open

Parse and apply SSL protocols from slave.conf#502
tsautier wants to merge 1 commit into
drftpd-ng:masterfrom
tsautier:fix/issue-433

Conversation

@tsautier

@tsautier tsautier commented Jan 14, 2026

Copy link
Copy Markdown

Problem

The slave process was ignoring the protocol.X settings in slave.conf. SSL/TLS protocol configuration (e.g., TLSv1.2, TLSv1.3) had no effect because the values were never parsed from the config file.

Solution

Add parsing logic for protocol.X properties in the Slave constructor and apply them to the SSL socket.

Changes Made

  • Modified Slave.java constructor to iterate and parse protocol.X properties from config
  • Store protocols in _sslProtocols array
  • Apply enabled protocols to SSL socket during connection

Fixes: #433

@tsautier

Copy link
Copy Markdown
Author

@mvangoor @hrxcodes for review

@tsautier tsautier changed the title Fix/issue 433 Parse and apply SSL protocols from slave.conf Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slave not parsing protocol.X from slave.conf

1 participant