TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Request Header to allow/skip filter in Cloudflare

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    5 Posts 3 Posters 449 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • djensen47D Offline
      djensen47
      last edited by

      Hey, I've been having bot issues on axisandallies.org and signed up for Cloudflare. TripleA traffic is now seen as bot traffic because I have a managed challenge enabled. I can filter it out but the headers sent by TripleA are too generic. Can you add a custom header, like X-TripleA-Client: true or something like that.

      In the meantime, I'll use a combination of rules that fairly confidently allow the client traffic through. POST and /api and maybe Apache-HttpClient in the user-agent.

      B 1 Reply Last reply Reply Quote 2
      • B Online
        beelee @djensen47
        last edited by

        @djensen47

        Will ping @LaFayette and mention this on git also

        1 Reply Last reply Reply Quote 1
        • LaFayetteL Offline
          LaFayette Admin
          last edited by

          If you just need any headers in order to do a whitelist, you should be able to use "System-Id-Header"

          IIRC, as of 2.6 a "Triplea-Version"header was added.

          djensen47D 2 Replies Last reply Reply Quote 2
          • djensen47D Offline
            djensen47 @LaFayette
            last edited by

            @lafayette That works.

            1 Reply Last reply Reply Quote 2
            • djensen47D Offline
              djensen47 @LaFayette
              last edited by

              @lafayette It turns out, that header was only sent to the lobby. I submitted a PR to add the header, and a "proper" user-agent, on requests to forums.

              https://github.com/triplea-game/triplea/pull/14308

              1 Reply Last reply Reply Quote 2

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums