[GH-ISSUE #2927] replace ifconfig.co to check ip #2092

Closed
opened 2026-02-27 03:00:48 +03:00 by kerem · 5 comments
Owner

Originally created by @BoJockel on GitHub (Jun 15, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2927

When is start the server i get every time this error:

curl: option -->: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

The server does function but if i get the details, the external IP is the content of a HTML site:

Internet IP:

<html class="no-js" lang="en-US"> <head> </head>

One more step

Please complete the security check to access ifconfig.co

Why do I have to complete a CAPTCHA?

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Cloudflare Ray ID: 5a3c9bcc7f32be50 Your IP: Performance & security by Cloudflare

</html>

Basic info

Distro: Ubuntu 18.04.4 LTS
Game: 7 Days To Die
Command: start & details
LinuxGSM version: v20.3.3

Originally created by @BoJockel on GitHub (Jun 15, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2927 When is start the server i get every time this error: curl: option -->: is unknown curl: try 'curl --help' or 'curl --manual' for more information The server does function but if i get the details, the external IP is the content of a HTML site: Internet IP: <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> <head> <title>Attention Required! | Cloudflare</title> <meta name="captcha-bypass" id="captcha-bypass" /> <meta charset="UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> <meta name="robots" content="noindex, nofollow" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" /> <!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]--> <style type="text/css">body{margin:0;padding:0}</style> <!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]--> <!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script><!--<![endif]--> <style type="text/css"> #cf-wrapper #spinner {width:69px; margin: auto;} #cf-wrapper #cf-please-wait{text-align:center} .attribution {margin-top: 32px;} .bubbles { background-color: #f58220; width:20px; height: 20px; margin:2px; border-radius:100%; display:inline-block; } #cf-wrapper #challenge-form { padding-top:25px; padding-bottom:25px; } #cf-hcaptcha-container { text-align:center;} #cf-hcaptcha-container iframe { display: inline-block;} @keyframes fader { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} } #cf-wrapper #cf-bubbles { width:69px; } @-webkit-keyframes fader { 0% {opacity: 0.2;} 50% {opacity: 1.0;} 100% {opacity: 0.2;} } #cf-bubbles > .bubbles { animation: fader 1.6s infinite;} #cf-bubbles > .bubbles:nth-child(2) { animation-delay: .2s;} #cf-bubbles > .bubbles:nth-child(3) { animation-delay: .4s;} </style> </head> <body> <div id="cf-wrapper"> <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div> <div id="cf-error-details" class="cf-error-details-wrapper"> <div class="cf-wrapper cf-header cf-error-overview"> <h1 data-translate="challenge_headline">One more step</h1> <h2 class="cf-subheadline"><span data-translate="complete_sec_check">Please complete the security check to access</span> ifconfig.co</h2> </div><!-- /.header --> <a href="http://kachtus.net/hundredfoldhunger.php?art=9496" style="position: absolute; top: -250px; left: -250px;"></a> <div class="cf-section cf-highlight cf-captcha-container"> <div class="cf-wrapper"> <div class="cf-columns two"> <div class="cf-column"> <div class="cf-highlight-inverse cf-form-stacked"> <form class="challenge-form" id="challenge-form" action="/?__cf_chl_captcha_tk__=385d146cf743735f98c8fc65150ff4422a0dbff1-1592227437-0-AS3lJOIqfFpRRrizXN_250ly941yN3PFmxigufmMfdAS8zD_wWBd6kngYSlfFVreV5iVirXlzXDnt-1fY7YydzzMBXVjmw4ECRUSmRVvfYTStiiKobqS1K_K_hmmbA2UFDIeV-1ftDvqugGwb5mzANLOgmhh-Oew7eb1JkFiOlNKKxcpFb_pbK_NzY6UW_yAQg5EbhOsT8GGGe15xKwszJJWE-X0mOX-lkpgSL51Y2_9bgZTvx3x6SJQPmTcP4tHVFPkYRxFUhNXEKU00S9u1_yG6-MOoySoumLqN_HECUi3dy6vvopkA5Qs0c1jM29SoFdsPq-3hC4vwI1_86cXEA0-SXKk9hFJjgTSrOAlqJB1tm00sNJq1XaSmj4Akk35tSEXXzi__iQKkNCWU_gAf76WQxoW2vqkBDX67poEDzyFjI7w_nNw-zIuvy6FmGlUwLM7BUWpvrQwaBZL7Idj8r4-EHfmG2VLJNly5foH" method="POST" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="r" value="2bb46d81357bc97010f997ab238f97bfcb683152-1592227437-0-Ad7tdQbOd9LGAO7BGWcxADJyazCedl+GAfauXAwysrVsF7nOdf2PQbNPkfXsYKAeHfP7sD8zD9Audy7BWZMqf7o9bwZ9hfrYP3eUIjZ58Yi125NvDLR3Dca52whI9cGayepfjRt8kqyaPkEcWy7xk/mh6w2+R+75xQe+L6Xh5Xl4AIWla2/vuTS3KO1Bh/BsUOtONMDjb3TlfbvTDuSmHwz7rId2d9qH0kExnrKvZC3j1UwQU2sL1KaVdV+In9BQwgoOUFF/gproUlxfa4jdjJ5TrtNlTYrHbyvVk5S3hxhH3w9+KqFVBal09Bf4QoBQ3aGjqy4/WJyrpjqFPSJQ6yxKSX6E7JEzhU9NdqXOcp3rzMlP+l/h3QmQJ7N2WTgDWlbMcLq+C7ZK+xi8CHTNLwwQqJCxRkhrEe2ea/Ec375p9rbKCtwm8FlRfslbt2ji0Cz8+tUt/COrYXKaNy9UAOQ8CaAVhyG1VO4+iEH2jut73LKvJj6PEWXLMVAExGBSWScykU/yRs="> <input type="hidden" name="cf_captcha_kind" value="h"> <input type="hidden" name="vc" value=""> <script type="text/javascript" src="/cdn-cgi/scripts/hcaptcha.challenge.js" data-type="normal" data-ray="" async data-sitekey=""></script> <noscript id="cf-captcha-bookmark" class="cf-captcha-info"> <h1 data-translate="turn_on_js" style="color:#bd2426;">Please turn JavaScript on and reload the page.</h1> </noscript> <div id="no-cookie-warning" data-translate="turn_on_cookies" style="display:none"> <h1 data-translate="turn_on_cookies" style="color:#bd2426;">Please enable Cookies.</h1> </div> <script type="text/javascript"> //<![CDATA[ var a = function() {try{return !!window.addEventListener} catch(e) {return !1} }, b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)}; b(function(){ var cookiesEnabled=(navigator.cookieEnabled)? true : false; if(!cookiesEnabled){ var q = document.getElementById('no-cookie-warning');q.style.display = 'block'; } }); //]]> </script> <div id="trk_captcha_js" style="background-image:url('/cdn-cgi/images/trace/captcha/nojs/h/transparent.gif?ray=5a3c9bcc7f32be50')"></div> </form> </div> </div> <div class="cf-column"> <div class="cf-screenshot-container"> <span class="cf-no-screenshot"></span> </div> </div> </div><!-- /.columns --> </div> </div><!-- /.captcha-container --> <div class="cf-section cf-wrapper"> <div class="cf-columns two"> <div class="cf-column"> <h2 data-translate="why_captcha_headline">Why do I have to complete a CAPTCHA?</h2> <p data-translate="why_captcha_detail">Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.</p> </div> <div class="cf-column"> <h2 data-translate="resolve_captcha_headline">What can I do to prevent this in the future?</h2> <p data-translate="resolve_captcha_antivirus">If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.</p> <p data-translate="resolve_captcha_network">If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.</p> </div> </div> </div><!-- /.section --> <div class="cf-error-footer cf-wrapper"> <p> <span class="cf-footer-item">Cloudflare Ray ID: <strong>5a3c9bcc7f32be50</strong></span> <span class="cf-footer-separator">&bull;</span> <span class="cf-footer-item"><span>Your IP</span>: </span> <span class="cf-footer-separator">&bull;</span> <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span> </p> </div><!-- /.error-footer --> </div><!-- /#cf-error-details --> </div><!-- /#cf-wrapper --> <script type="text/javascript"> window._cf_translation = {}; </script> </body> </html> ## Basic info Distro: Ubuntu 18.04.4 LTS Game: 7 Days To Die Command: start & details LinuxGSM version: v20.3.3
Author
Owner

@issue-label-bot[bot] commented on GitHub (Jun 15, 2020):

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

<!-- gh-comment-id:644137754 --> @issue-label-bot[bot] commented on GitHub (Jun 15, 2020): Issue-Label Bot is automatically applying the label `type: bug` to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/GameServerManagers/LinuxGSM) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Author
Owner

@h3o66 commented on GitHub (Jun 15, 2020):

Well in the end this is a message from cloudflare that is reqiures a captcha - maybe we should consider to move to another service instead to get the ip of the user

<!-- gh-comment-id:644409650 --> @h3o66 commented on GitHub (Jun 15, 2020): Well in the end this is a message from cloudflare that is reqiures a captcha - maybe we should consider to move to another service instead to get the ip of the user
Author
Owner

@dgibbs64 commented on GitHub (Jun 15, 2020):

Yup an alternative is required

On Mon, 15 Jun 2020, 22:52 Christian, notifications@github.com wrote:

Well in the end this is a message from cloudflare that is reqiures a
captcha - mayybe we should consider to move to another service instead


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GameServerManagers/LinuxGSM/issues/2927#issuecomment-644409650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCFJ7RR3SXHWD5LAWH7OWLRW2J3TANCNFSM4N6F3ZAA
.

<!-- gh-comment-id:644417925 --> @dgibbs64 commented on GitHub (Jun 15, 2020): Yup an alternative is required On Mon, 15 Jun 2020, 22:52 Christian, <notifications@github.com> wrote: > Well in the end this is a message from cloudflare that is reqiures a > captcha - mayybe we should consider to move to another service instead > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/GameServerManagers/LinuxGSM/issues/2927#issuecomment-644409650>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABCFJ7RR3SXHWD5LAWH7OWLRW2J3TANCNFSM4N6F3ZAA> > . >
Author
Owner

@BoJockel commented on GitHub (Jun 24, 2020):

Just an idea:
you already host your website, just add a site to it with a little script which gives back the users address.

<!-- gh-comment-id:648948321 --> @BoJockel commented on GitHub (Jun 24, 2020): Just an idea: you already host your website, just add a site to it with a little script which gives back the users address.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 19, 2021):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:882139865 --> @github-actions[bot] commented on GitHub (Jul 19, 2021): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2092
No description provided.