From b3052e02089713df1c6754bdd06706efdb7b68a9 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 23 Jul 2011 20:07:06 +0000 Subject: [PATCH] set maximum port value to 65535 instead of old arbitrary value of 50000, and warned about system-reserved ports in server settings gui git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4486 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/pqi_base.h | 2 +- retroshare-gui/src/gui/settings/ServerPage.ui | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/pqi/pqi_base.h b/libretroshare/src/pqi/pqi_base.h index 2e9364b75..93af4b5cc 100644 --- a/libretroshare/src/pqi/pqi_base.h +++ b/libretroshare/src/pqi/pqi_base.h @@ -42,7 +42,7 @@ #define PQI_MIN_PORT 1024 -#define PQI_MAX_PORT 50000 +#define PQI_MAX_PORT 65535 #define PQI_DEFAULT_PORT 7812 int getPQIsearchId(); diff --git a/retroshare-gui/src/gui/settings/ServerPage.ui b/retroshare-gui/src/gui/settings/ServerPage.ui index 6fa5fd0ce..5b9950c8f 100755 --- a/retroshare-gui/src/gui/settings/ServerPage.ui +++ b/retroshare-gui/src/gui/settings/ServerPage.ui @@ -732,8 +732,11 @@ peers still need to trust each other to allow connection. + + Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system. + - 0 + 1024 65535 @@ -755,8 +758,11 @@ peers still need to trust each other to allow connection. + + Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system. + - 0 + 1024 65535