From 228e261c93ab1e1c5cada4235b29c593fa3981ac Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Sat, 7 Sep 2013 19:03:42 -0400 Subject: [PATCH] Random port based on IANI recommendations --- mystic/mis_client_ftp.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mystic/mis_client_ftp.pas b/mystic/mis_client_ftp.pas index 0c5eb04..5c4e099 100644 --- a/mystic/mis_client_ftp.pas +++ b/mystic/mis_client_ftp.pas @@ -152,7 +152,7 @@ Begin Password := ''; UserPos := -1; DataIP := ''; - DataPort := 20; + DataPort := Random(bbsConfig.inetFTPPortMax - bbsConfig.inetFTPPortMin) + bbsConfig.inetFTPPortMin; DataSocket := NIL; IsPassive := False; FBasePos := -1;