Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    TYPO Invalid magic in some of voucher codes

    Captive Portal
    2
    5
    315
    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.
    • S
      Snailkhan last edited by

      Hi,
      I am getting TYPO Invalid magic on some of voucher codes.
      I searched the forums and found only one reply which didn't relate to my problem.

      This thing is that I m only getting out for few of the voucher codes.

      Regards

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Are you using custom voucher sizes/parameters?

        What version of pfSense are you running?

        What exactly are your voucher settings and roll settings?

        You don't need to show the public/private key but do show everything else.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S
          Snailkhan last edited by

          @jimp said in TYPO Invalid magic in some of voucher codes:

          Are you using custom voucher sizes/parameters?

          What version of pfSense are you running?

          What exactly are your voucher settings and roll settings?

          You don't need to show the public/private key but do show everything else.

          1: yes i am using custom paramerters
          character set :123456789abcdefghjkmpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ

          roll bits : 5
          ticket bits 16
          checksum bits :5
          Magic number : 1234534242

          2: Pf version
          2.4.3-RELEASE-p1 (amd64)

          1 Reply Last reply Reply Quote 0
          • jimp
            jimp Rebel Alliance Developer Netgate last edited by

            That's probably why, it may not have enough bits to do what it needs. If the voucher uses up all the available bits then it has no room left for the magic number.

            Why are you using those lower numbers?

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            S 1 Reply Last reply Reply Quote 0
            • S
              Snailkhan @jimp last edited by Snailkhan

              @jimp
              I need voucher to be 5-6 characters ideally and 7 chars at most.
              I copied those from some post about reducing the length of the voucher from a post floating on this forum.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post