Bug 215906 - ftp/pure-ftpd: Start error when specifying the TLSCipherSuite in the config file
Summary: ftp/pure-ftpd: Start error when specifying the TLSCipherSuite in the config file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-09 12:54 UTC by Yani Karydis
Modified: 2017-01-09 14:51 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yani Karydis 2017-01-09 12:54:36 UTC
Hello,

The app doesn't start when specifying "TLSCipherSuite" options in the config file. e.g.

TLSCipherSuite               HIGH

The error returned when starting the service is the following:

Starting pureftpd.
/usr/local/etc/pure-ftpd.conf:434:4: syntax error line 434: [CipherSuite               HIGH].
421 Configuration error
/usr/local/etc/rc.d/pure-ftpd: WARNING: failed to start pureftpd
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-09 14:42:57 UTC
A commit references this bug:

Author: sunpoet
Date: Mon Jan  9 14:41:58 UTC 2017
New revision: 430958
URL: https://svnweb.freebsd.org/changeset/ports/430958

Log:
  Fix TLSCipherSuite parsing

  - Bump PORTREVISION for package change

  Note: author pointed out that users will get a more secure cipher suite by not
  setting TLSCipherSuite to HIGH and just use the default.

  PR:		215906
  Reported by:	<yani@pi-greece.eu>
  Obtained from:	https://github.com/jedisct1/pure-ftpd/commit/3823d00dee089b998d1f40943e9aa3f619c238b2

Changes:
  head/ftp/pure-ftpd/Makefile
  head/ftp/pure-ftpd/files/patch-src-simpleconf_ftpd.h
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-01-09 14:51:28 UTC
Committed. Thanks!
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-01-09 14:51:28 UTC
Committed. Thanks!