diff options
author | Irina Gómez <irinagomez@us.es> | 2019-10-10 14:06:10 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-10-10 14:06:10 +0200 |
commit | 0fd42f40c79d9389a2180a13d7718c1fc11ed025 (patch) | |
tree | c1246d9a68dad6b092308217bbffdd47adb8da1e | |
parent | 6495c7c2cee7a5b867fe553aecb7296c43776932 (diff) |
#928 Multicast ports are allowed from 9000 to 9098. Port 9100 is assigned to bacula Director.
-rw-r--r-- | admin/WebConsole/propiedades/propiedades_aulas.php | 4 | ||||
-rwxr-xr-x | client/engine/Protocol.lib | 2 | ||||
-rwxr-xr-x | 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 7042d5ca..47e9f941 100644 --- a/admin/WebConsole/propiedades/propiedades_aulas.php +++ b/admin/WebConsole/propiedades/propiedades_aulas.php @@ -354,10 +354,10 @@ function abrir_ventana(URL){ echo '<TD colspan=3>'.$pormul.'</TD>'; else { echo '<td colspan="3">'; - for ($i=9000; $i<9100; $i+=2) { + for ($i=9000; $i<9098; $i+=2) { $pormulmetodos.="$i=$i".chr(13); } - $pormulmetodos.="9100=9100"; + $pormulmetodos.="9098=9098"; echo HTMLCTESELECT($pormulmetodos,"pormul","estilodesple","",$pormul,100).'</td>'; } ?> diff --git a/client/engine/Protocol.lib b/client/engine/Protocol.lib index c58d262b..f54edc4f 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 9100)" || ogRaiseError $OG_ERR_FORMAT "McastSession portbase ${SESSION[0]}" || PERROR=3 #return $? +ogCheckStringInGroup ${SESSION[0]} "$(seq 9000 2 9098)" || 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 6d53d198..c5f11a98 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:9101/udp # Multicast + ufw allow 9000:9099/udp # Multicast # Applying configuration. ufw enable # FirewallD configuration. |