From c2871184ceedcadbb016d441e3d84dbe06e5f306 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Mon, 23 Sep 2019 12:38:46 +0200 Subject: #928 Multicast ports are allowed from 9000 to 9100. --- admin/WebConsole/propiedades/propiedades_aulas.php | 4 ++-- client/engine/Protocol.lib | 2 +- server/lib/security-config | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/WebConsole/propiedades/propiedades_aulas.php b/admin/WebConsole/propiedades/propiedades_aulas.php index 44cb4185..7042d5ca 100644 --- a/admin/WebConsole/propiedades/propiedades_aulas.php +++ b/admin/WebConsole/propiedades/propiedades_aulas.php @@ -354,10 +354,10 @@ function abrir_ventana(URL){ echo ''.$pormul.''; else { echo ''; - for ($i=9000; $i<9050; $i+=2) { + for ($i=9000; $i<9100; $i+=2) { $pormulmetodos.="$i=$i".chr(13); } - $pormulmetodos.="9050=9050"; + $pormulmetodos.="9100=9100"; echo HTMLCTESELECT($pormulmetodos,"pormul","estilodesple","",$pormul,100).''; } ?> diff --git a/client/engine/Protocol.lib b/client/engine/Protocol.lib index 279961a5..c58d262b 100755 --- a/client/engine/Protocol.lib +++ b/client/engine/Protocol.lib @@ -399,7 +399,7 @@ fi ##### BEGIN SERVER SESSION ##### # 2º param check: controlamos el primer componente comun de las sesiones de servidor y cliente: PORTBASE PORTBASE=${SESSION[0]} -ogCheckStringInGroup ${SESSION[0]} "$(seq 9000 2 9050)" || ogRaiseError $OG_ERR_FORMAT "McastSession portbase ${SESSION[0]}" || PERROR=3 #return $? +ogCheckStringInGroup ${SESSION[0]} "$(seq 9000 2 9100)" || ogRaiseError $OG_ERR_FORMAT "McastSession portbase ${SESSION[0]}" || PERROR=3 #return $? # 2º param check: Controlamos el resto de componenentes de la sesion del servidor. if [ $MODE == "server" ] then diff --git a/server/lib/security-config b/server/lib/security-config index 76870b12..6d53d198 100755 --- a/server/lib/security-config +++ b/server/lib/security-config @@ -32,7 +32,7 @@ if which ufw &>/dev/null; then ufw allow 2008,2009,2011/tcp # OpenGnsys services ufw allow 6881:6999/udp # BitTorrent ufw allow 9000/tcp # PHP-FPM - ufw allow 9000:9051/udp # Multicast + ufw allow 9000:9101/udp # Multicast # Applying configuration. ufw enable # FirewallD configuration. -- cgit v1.2.3-18-g5258