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

    Lost OpenVPN connection latest snap

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    24 Posts 6 Posters 4.5k Views
    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.
    • H
      heper
      last edited by

      both seem to work (called them B & C)

      
      test HEPER's snippet and input data using long2ip32() version A
      baselong: [-1062674944]
      ip1: [192.168.222.1]
      ip2: [192.168.222.2]
      
      test HEPER's snippet and input data using long2ip32() version B
      DEBUG:
      array(6) { [0] => int(-1062674943) [1] => bool(true) [2] => int(4) [3] => int(-1062674943) [4] => bool(false) [5] => bool(true) }
      DEBUG:
      array(6) { [0] => int(-1062674942) [1] => bool(true) [2] => int(4) [3] => int(-1062674942) [4] => bool(false) [5] => bool(true) } baselong: [-1062674944]
      ip1: [192.168.222.1]
      ip2: [192.168.222.2]
      
      test HEPER's snippet and input data using long2ip32() version C
      DEBUG:
      array(5) { [0] => int(-1062674943) [1] => bool(true) [2] => int(0) [3] => bool(true) [4] => bool(true) }
      DEBUG:
      array(5) { [0] => int(-1062674942) [1] => bool(true) [2] => int(0) [3] => bool(true) [4] => bool(true) } baselong: [-1062674944]
      ip1: [192.168.222.1]
      ip2: [192.168.222.2]
      
      
      1 Reply Last reply Reply Quote 0
      • S
        stilez
        last edited by

        PR#2317 submitted with the above fix that seems to now work properly on x32 and x64:  https://github.com/pfsense/pfsense/pull/2317

        Thanks for the heads up and help bugfixing it!

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by

          thats what we are here for ;)

          1 Reply Last reply Reply Quote 0
          • S
            Steve_B Netgate
            last edited by

            PR has been merged. Thanks for the detective work. Seems PHP always has a new quirk up its sleeve :)

            Als ik kan

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.