2019-07-20 10:26:52 +00:00
|
|
|
{
|
2020-07-24 21:39:38 +00:00
|
|
|
"common": {
|
2019-08-01 07:42:15 +00:00
|
|
|
"idle_timeout": 15,
|
2019-08-04 07:37:58 +00:00
|
|
|
"upload_mode": 0,
|
2019-08-01 07:42:15 +00:00
|
|
|
"actions": {
|
|
|
|
"execute_on": [],
|
2021-05-11 10:45:14 +00:00
|
|
|
"execute_sync": [],
|
2020-05-24 13:29:39 +00:00
|
|
|
"hook": ""
|
2019-08-01 13:39:30 +00:00
|
|
|
},
|
2020-07-24 21:39:38 +00:00
|
|
|
"setstat_mode": 0,
|
2021-05-27 13:38:27 +00:00
|
|
|
"temp_path": "",
|
2020-07-24 21:39:38 +00:00
|
|
|
"proxy_protocol": 0,
|
2020-07-30 20:33:49 +00:00
|
|
|
"proxy_allowed": [],
|
2021-04-05 08:07:59 +00:00
|
|
|
"startup_hook": "",
|
2020-12-15 18:29:30 +00:00
|
|
|
"post_connect_hook": "",
|
2021-10-03 13:17:49 +00:00
|
|
|
"data_retention_hook": "",
|
2021-01-02 13:05:09 +00:00
|
|
|
"max_total_connections": 0,
|
2021-05-08 17:45:21 +00:00
|
|
|
"max_per_host_connections": 20,
|
2021-01-02 13:05:09 +00:00
|
|
|
"defender": {
|
|
|
|
"enabled": false,
|
|
|
|
"ban_time": 30,
|
|
|
|
"ban_time_increment": 50,
|
|
|
|
"threshold": 15,
|
|
|
|
"score_invalid": 2,
|
|
|
|
"score_valid": 1,
|
2021-05-08 17:45:21 +00:00
|
|
|
"score_limit_exceeded": 3,
|
2021-01-02 13:05:09 +00:00
|
|
|
"observation_time": 30,
|
|
|
|
"entries_soft_limit": 100,
|
|
|
|
"entries_hard_limit": 150,
|
|
|
|
"safelist_file": "",
|
|
|
|
"blocklist_file": ""
|
2021-04-18 10:31:06 +00:00
|
|
|
},
|
|
|
|
"rate_limiters": [
|
|
|
|
{
|
|
|
|
"average": 0,
|
|
|
|
"period": 1000,
|
|
|
|
"burst": 1,
|
|
|
|
"type": 2,
|
|
|
|
"protocols": [
|
|
|
|
"SSH",
|
|
|
|
"FTP",
|
2021-04-19 06:14:04 +00:00
|
|
|
"DAV",
|
|
|
|
"HTTP"
|
2021-04-18 10:31:06 +00:00
|
|
|
],
|
2021-10-03 18:50:05 +00:00
|
|
|
"allow_list": [],
|
2021-04-18 10:31:06 +00:00
|
|
|
"generate_defender_events": false,
|
|
|
|
"entries_soft_limit": 100,
|
|
|
|
"entries_hard_limit": 150
|
|
|
|
}
|
|
|
|
]
|
2020-07-24 21:39:38 +00:00
|
|
|
},
|
|
|
|
"sftpd": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 2022,
|
|
|
|
"address": "",
|
|
|
|
"apply_proxy_config": true
|
|
|
|
}
|
|
|
|
],
|
2020-10-31 10:34:50 +00:00
|
|
|
"max_auth_tries": 0,
|
2020-07-24 21:39:38 +00:00
|
|
|
"banner": "",
|
2020-05-16 21:26:44 +00:00
|
|
|
"host_keys": [],
|
2019-09-03 10:08:09 +00:00
|
|
|
"kex_algorithms": [],
|
|
|
|
"ciphers": [],
|
|
|
|
"macs": [],
|
2020-05-15 21:23:49 +00:00
|
|
|
"trusted_user_ca_keys": [],
|
2019-11-15 11:15:07 +00:00
|
|
|
"login_banner_file": "",
|
2020-03-04 22:10:58 +00:00
|
|
|
"enabled_ssh_commands": [
|
|
|
|
"md5sum",
|
|
|
|
"sha1sum",
|
|
|
|
"cd",
|
2020-03-26 22:38:24 +00:00
|
|
|
"pwd",
|
|
|
|
"scp"
|
2020-03-04 22:10:58 +00:00
|
|
|
],
|
2021-09-04 10:11:04 +00:00
|
|
|
"keyboard_interactive_authentication": false,
|
2020-09-01 17:34:40 +00:00
|
|
|
"keyboard_interactive_auth_hook": "",
|
2021-07-28 22:32:55 +00:00
|
|
|
"password_authentication": true,
|
|
|
|
"folder_prefix": ""
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
2020-07-29 19:56:56 +00:00
|
|
|
"ftpd": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
2021-01-02 19:02:05 +00:00
|
|
|
"address": "",
|
2020-12-23 15:12:30 +00:00
|
|
|
"apply_proxy_config": true,
|
|
|
|
"tls_mode": 0,
|
2020-12-29 08:20:09 +00:00
|
|
|
"force_passive_ip": "",
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-07-20 15:22:08 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-08-05 16:38:15 +00:00
|
|
|
"passive_connections_security": 0,
|
|
|
|
"active_connections_security": 0,
|
2021-07-20 15:22:08 +00:00
|
|
|
"debug": false
|
2020-12-23 15:12:30 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-29 19:56:56 +00:00
|
|
|
"banner": "",
|
|
|
|
"banner_file": "",
|
2020-12-23 15:12:30 +00:00
|
|
|
"active_transfers_port_non_20": true,
|
2020-07-29 19:56:56 +00:00
|
|
|
"passive_port_range": {
|
|
|
|
"start": 50000,
|
|
|
|
"end": 50100
|
|
|
|
},
|
2020-12-24 17:48:06 +00:00
|
|
|
"disable_active_mode": false,
|
|
|
|
"enable_site": false,
|
|
|
|
"hash_support": 0,
|
|
|
|
"combine_support": 0,
|
2020-07-29 19:56:56 +00:00
|
|
|
"certificate_file": "",
|
2020-12-29 08:20:09 +00:00
|
|
|
"certificate_key_file": "",
|
2021-01-03 16:03:04 +00:00
|
|
|
"ca_certificates": [],
|
|
|
|
"ca_revocation_lists": []
|
2020-07-29 19:56:56 +00:00
|
|
|
},
|
2020-08-11 21:56:10 +00:00
|
|
|
"webdavd": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
2021-01-02 19:02:05 +00:00
|
|
|
"address": "",
|
2020-12-28 18:48:23 +00:00
|
|
|
"enable_https": false,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-03-07 16:10:45 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-05-11 04:54:06 +00:00
|
|
|
"prefix": "",
|
|
|
|
"proxy_allowed": []
|
2020-12-23 15:12:30 +00:00
|
|
|
}
|
|
|
|
],
|
2020-08-11 21:56:10 +00:00
|
|
|
"certificate_file": "",
|
2020-08-15 13:55:20 +00:00
|
|
|
"certificate_key_file": "",
|
2020-12-28 18:48:23 +00:00
|
|
|
"ca_certificates": [],
|
2021-01-03 16:03:04 +00:00
|
|
|
"ca_revocation_lists": [],
|
2020-08-15 13:55:20 +00:00
|
|
|
"cors": {
|
|
|
|
"enabled": false,
|
|
|
|
"allowed_origins": [],
|
|
|
|
"allowed_methods": [],
|
|
|
|
"allowed_headers": [],
|
|
|
|
"exposed_headers": [],
|
|
|
|
"allow_credentials": false,
|
|
|
|
"max_age": 0
|
2020-08-31 17:25:17 +00:00
|
|
|
},
|
|
|
|
"cache": {
|
2020-11-04 18:11:40 +00:00
|
|
|
"users": {
|
|
|
|
"expiration_time": 0,
|
|
|
|
"max_size": 50
|
|
|
|
},
|
|
|
|
"mime_types": {
|
|
|
|
"enabled": true,
|
|
|
|
"max_size": 1000
|
|
|
|
}
|
2020-08-15 13:55:20 +00:00
|
|
|
}
|
2020-08-11 21:56:10 +00:00
|
|
|
},
|
2019-08-01 07:42:15 +00:00
|
|
|
"data_provider": {
|
|
|
|
"driver": "sqlite",
|
|
|
|
"name": "sftpgo.db",
|
|
|
|
"host": "",
|
2021-02-01 18:04:15 +00:00
|
|
|
"port": 0,
|
2019-08-01 07:42:15 +00:00
|
|
|
"username": "",
|
|
|
|
"password": "",
|
|
|
|
"sslmode": 0,
|
|
|
|
"connection_string": "",
|
2020-06-07 21:30:18 +00:00
|
|
|
"sql_tables_prefix": "",
|
2019-09-13 06:14:07 +00:00
|
|
|
"track_quota": 2,
|
2021-04-11 06:38:43 +00:00
|
|
|
"delayed_quota_update": 0,
|
2019-09-28 20:48:52 +00:00
|
|
|
"pool_size": 0,
|
2019-11-14 10:06:03 +00:00
|
|
|
"users_base_dir": "",
|
|
|
|
"actions": {
|
|
|
|
"execute_on": [],
|
2020-05-24 13:29:39 +00:00
|
|
|
"hook": ""
|
2020-01-06 20:42:41 +00:00
|
|
|
},
|
2020-04-01 21:25:23 +00:00
|
|
|
"external_auth_hook": "",
|
2020-01-31 18:04:00 +00:00
|
|
|
"external_auth_scope": 0,
|
2020-02-23 17:50:59 +00:00
|
|
|
"credentials_path": "credentials",
|
2020-10-22 08:42:40 +00:00
|
|
|
"prefer_database_credentials": false,
|
2020-08-12 14:15:12 +00:00
|
|
|
"pre_login_hook": "",
|
|
|
|
"post_login_hook": "",
|
2020-08-19 17:36:12 +00:00
|
|
|
"post_login_scope": 0,
|
|
|
|
"check_password_hook": "",
|
2020-09-04 15:09:31 +00:00
|
|
|
"check_password_scope": 0,
|
|
|
|
"password_hashing": {
|
2021-04-25 07:38:33 +00:00
|
|
|
"bcrypt_options": {
|
|
|
|
"cost": 10
|
|
|
|
},
|
2020-09-04 15:09:31 +00:00
|
|
|
"argon2_options": {
|
|
|
|
"memory": 65536,
|
|
|
|
"iterations": 1,
|
|
|
|
"parallelism": 2
|
2021-04-20 11:55:09 +00:00
|
|
|
},
|
2021-04-25 07:38:33 +00:00
|
|
|
"algo": "bcrypt"
|
2020-10-05 17:42:33 +00:00
|
|
|
},
|
2021-08-06 16:56:07 +00:00
|
|
|
"password_validation": {
|
|
|
|
"admins": {
|
|
|
|
"min_entropy": 0
|
|
|
|
},
|
|
|
|
"users": {
|
|
|
|
"min_entropy": 0
|
|
|
|
}
|
|
|
|
},
|
2021-04-20 07:39:36 +00:00
|
|
|
"password_caching": true,
|
2021-03-04 08:48:53 +00:00
|
|
|
"update_mode": 0,
|
2021-05-14 17:21:15 +00:00
|
|
|
"skip_natural_keys_validation": false,
|
2021-08-20 07:35:06 +00:00
|
|
|
"create_default_admin": false,
|
|
|
|
"is_shared": 0
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
|
|
|
"httpd": {
|
2021-01-19 17:59:41 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 8080,
|
2021-05-11 04:54:06 +00:00
|
|
|
"address": "",
|
2021-01-19 17:59:41 +00:00
|
|
|
"enable_web_admin": true,
|
2021-05-06 19:35:43 +00:00
|
|
|
"enable_web_client": true,
|
2021-01-19 17:59:41 +00:00
|
|
|
"enable_https": false,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-05-11 04:54:06 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-07-27 16:43:00 +00:00
|
|
|
"proxy_allowed": [],
|
|
|
|
"hide_login_url": 0
|
2021-01-19 17:59:41 +00:00
|
|
|
}
|
|
|
|
],
|
2019-10-07 16:19:01 +00:00
|
|
|
"templates_path": "templates",
|
2019-12-27 22:12:44 +00:00
|
|
|
"static_files_path": "static",
|
2020-02-03 23:08:00 +00:00
|
|
|
"backups_path": "backups",
|
2021-05-06 19:35:43 +00:00
|
|
|
"web_root": "",
|
2020-02-03 23:08:00 +00:00
|
|
|
"certificate_file": "",
|
2021-01-19 17:59:41 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"ca_certificates": [],
|
2021-07-01 18:17:40 +00:00
|
|
|
"ca_revocation_lists": [],
|
2021-07-23 08:19:27 +00:00
|
|
|
"signing_passphrase": "",
|
|
|
|
"max_upload_file_size": 1048576000
|
2020-04-26 21:29:09 +00:00
|
|
|
},
|
2020-12-18 08:47:22 +00:00
|
|
|
"telemetry": {
|
|
|
|
"bind_port": 10000,
|
2020-12-18 15:04:42 +00:00
|
|
|
"bind_address": "127.0.0.1",
|
|
|
|
"enable_profiler": false,
|
|
|
|
"auth_user_file": "",
|
|
|
|
"certificate_file": "",
|
2021-02-18 19:17:16 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"tls_cipher_suites": []
|
2020-12-18 08:47:22 +00:00
|
|
|
},
|
2020-04-26 21:29:09 +00:00
|
|
|
"http": {
|
|
|
|
"timeout": 20,
|
2021-02-12 20:42:49 +00:00
|
|
|
"retry_wait_min": 2,
|
|
|
|
"retry_wait_max": 30,
|
|
|
|
"retry_max": 3,
|
2020-05-03 09:37:50 +00:00
|
|
|
"ca_certificates": [],
|
2021-02-13 13:41:37 +00:00
|
|
|
"certificates": [],
|
2021-05-25 06:36:01 +00:00
|
|
|
"skip_tls_verify": false,
|
|
|
|
"headers": []
|
2020-11-30 20:46:34 +00:00
|
|
|
},
|
|
|
|
"kms": {
|
|
|
|
"secrets": {
|
|
|
|
"url": "",
|
2021-07-17 13:34:48 +00:00
|
|
|
"master_key": "",
|
2020-11-30 20:46:34 +00:00
|
|
|
"master_key_path": ""
|
|
|
|
}
|
2021-07-11 13:26:51 +00:00
|
|
|
},
|
2021-09-04 10:11:04 +00:00
|
|
|
"mfa": {
|
|
|
|
"totp": [
|
|
|
|
{
|
|
|
|
"name": "Default",
|
|
|
|
"issuer": "SFTPGo",
|
|
|
|
"algo": "sha1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-09-26 18:25:37 +00:00
|
|
|
"smtp": {
|
|
|
|
"host": "",
|
|
|
|
"port": 25,
|
|
|
|
"from": "",
|
|
|
|
"user": "",
|
|
|
|
"password": "",
|
|
|
|
"auth_type": 0,
|
|
|
|
"encryption": 0,
|
2021-10-02 20:25:41 +00:00
|
|
|
"domain": "",
|
|
|
|
"templates_path": "templates"
|
2021-09-26 18:25:37 +00:00
|
|
|
},
|
2021-07-11 13:26:51 +00:00
|
|
|
"plugins": []
|
2020-10-31 10:34:50 +00:00
|
|
|
}
|