feat: remove requirement to input IP (#3015)

Removes a long time annoyance for any users who have servers with multiple IP addresses.

Now if the server has more than one IP address LinuxGSM will automatically try query all IP's until it gets a response.

The default IP in settings will now be 0.0.0.0 this also helps resolve issues with source servers and LAN browser #2534

If required it is still possible to manually enter the IP address you want to use. Also, displayip setting is useful if you want your alert to specify an IP address

IP variables for reference
ip the default IP for the server if using 0.0.0.0 LinuxGSM will query all available IP addresses
queryips a list of the ip addresses that will be queried
queryip the ip address that is being queried
displayip the ip/hostname you want to show up in alerts. if unset the internet-facing IP will be used
extip the external internet-facing IP address
This commit is contained in:
Daniel Gibbs 2020-09-12 21:53:45 +01:00 committed by GitHub
parent af783e225a
commit 33eb01b387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
136 changed files with 320 additions and 389 deletions

View File

@ -130,7 +130,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -127,7 +127,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -134,7 +134,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -147,7 +147,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -130,7 +130,7 @@ stopmode="10"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -115,7 +115,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -115,7 +115,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -130,7 +130,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -141,7 +141,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -129,7 +129,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="7"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -133,7 +133,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -118,7 +118,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -118,7 +118,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -118,7 +118,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -118,7 +118,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -118,7 +118,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -157,7 +157,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -133,7 +133,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -135,7 +135,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -112,7 +112,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -123,7 +123,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -148,7 +148,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -143,7 +143,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -138,7 +138,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -139,7 +139,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -130,7 +130,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -136,7 +136,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -115,7 +115,7 @@ stopmode="5"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -121,7 +121,7 @@ stopmode="5"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -130,7 +130,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -116,7 +116,7 @@ stopmode="4"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -115,7 +115,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -139,7 +139,7 @@ stopmode="6"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -143,7 +143,7 @@ stopmode="6"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -134,7 +134,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -128,7 +128,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -124,7 +124,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -116,7 +116,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -139,7 +139,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -127,7 +127,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -116,7 +116,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -127,7 +127,7 @@ stopmode="8"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -117,7 +117,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -123,7 +123,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -129,7 +129,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -128,7 +128,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -134,7 +134,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="7"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -137,7 +137,7 @@ stopmode="3"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -115,7 +115,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -132,7 +132,7 @@ stopmode="9"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -134,7 +134,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

View File

@ -131,7 +131,7 @@ stopmode="2"
## Query mode
# 1: session only
# 2: gamedig + gsquery
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp

Some files were not shown because too many files have changed in this diff Show More