Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug]: ts3server monitor fails when voice_ip is set and query_ip is loopback

Cerrado
#4,966 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
74/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
bash, shell
Área
cli, devops

Línea de trabajo

Start with fn_info_game_ts3 in info_game.sh and the queryips handling in check_ip.sh. Reproduce the configuration with a specific voice_ip and query_ip=127.0.0.1, then trace the monitor query check. Done means the monitor uses the configured query address and no longer restarts the server in this case.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

command: monitor engine: null game: Teamspeak 3 type: bug
Summary

ts3server monitor fails, and keeps restarting the server, when voice_ip is set to a specific address in ts3server.ini and the ServerQuery interface is bound to loopback (query_ip=127.0.0.1).

Cause

check_ip.sh only adds 127.0.0.1 to queryips when the server binds to all interfaces (0.0.0.0). If voice_ip (read as configip) is a specific address, queryips becomes ("${configip}" "${publicip}"), and the monitor never tries the loopback address that ServerQuery is actually listening on.

fn_info_game_ts3 in info_game.sh does not read query_ip from ts3server.ini, so LinuxGSM can't tell where the query interface is bound.

Suggested fix

Read query_ip in fn_info_game_ts3 and, when it is set and isn't 0.0.0.0, use it for queryips. #3730 by @drantor implemented this, but it was written against the old lgsm/functions/ layout and has gone stale. The common case (voice_ip unset or 0.0.0.0) has since been fixed, because check_ip.sh now includes 127.0.0.1.

Reproduce
  1. In ts3server.ini, set voice_ip=<a specific LAN IP> and query_ip=127.0.0.1.
  2. Run ./ts3server monitor.
  3. The query check fails and the server is restarted.
Lenguaje dominante
Shell
Estrellas
4.9k
Forks
870
Merge medio
22 h 21 min
PR fusionados (30 d)
93

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GameServerManagers/LinuxGSM

Todos los issues de GameServerManagers/LinuxGSM

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.