summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-09-23 12:38:46 +0200
committerIrina Gómez <irinagomez@us.es>2019-09-23 12:38:46 +0200
commitc2871184ceedcadbb016d441e3d84dbe06e5f306 (patch)
tree260c017e198a9d99cec12c71edfb5b1b284a9086
parent918688e6c72bf5b857a1b84a1a93d4ee168e056e (diff)
#928 Multicast ports are allowed from 9000 to 9100.
-rw-r--r--admin/WebConsole/propiedades/propiedades_aulas.php4
-rwxr-xr-xclient/engine/Protocol.lib2
-rwxr-xr-xserver/lib/security-config2
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 '<TD colspan=3>'.$pormul.'</TD>';
else {
echo '<td colspan="3">';
- 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).'</td>';
}
?>
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.