Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ
#4,966 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bash, shell
領域
cli, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Shell
スター
4.9k
フォーク
870
平均マージ
14時間 50分
マージ済み PR(30日)
109

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameServerManagers/LinuxGSM のほかの issue

GameServerManagers/LinuxGSM の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。