Skip to content
Snippets Groups Projects

Update bitmask-core to send invite token

Merged Pea Nut requested to merge fix-920-followup into main

Follow-Up of: https://0xacab.org/leap/bitmask-vpn/-/issues/920#note_1235659

The API of bitmask-core changed a bit. And there is a small quickfix in the v5 location quality map calculation.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • assigned to @peanut2

  • Pea Nut added 30m of time spent

    added 30m of time spent

  • Pea Nut requested review from @jkito

    requested review from @jkito

  • changed milestone to %2025.04 LEAP VPN Release

  • Pea Nut added 4 commits

    added 4 commits

    • 3c90d0d2 - 1 commit from branch main
    • bcb1f22a - Update introducer calls after bitmask-core update
    • 586bb3ac - Update introducer code after bitmask-core update
    • b0a0ecd8 - [v5] Quickfix for devision by 0 in updateLocationQualityMap

    Compare with previous version

  • Author Maintainer

    Cyberta maybe you can review. I can not change the reviewer. Seems broken in Gitlab right now...

  • Author Maintainer

    @cyberta @jkito a review and merge would be nice :smile:
    I need the update bitmask-core in the desktop

  • Author Maintainer

    CI is red. This is fixed here !280 (merged). Can be ignored here.

  • jkito added 4 commits

    added 4 commits

    • e1915945 - 1 commit from branch main
    • 4a1b81c8 - Update introducer calls after bitmask-core update
    • 65d3d058 - Update introducer code after bitmask-core update
    • 114f68e0 - [v5] Quickfix for devision by 0 in updateLocationQualityMap

    Compare with previous version

  • Maintainer

    I tried to run with an introducer url + invite token and got the following error during startup:

    $ API_VERSION=5 API_URL="obfsvpnintro:<url+token>" LOG_LEVEL=DEBUG ./build/qt/release/bitmask-vpn
    qml: flavor: bitmask-vpn
    2025-01-28T22:46:47+05:30 INF Enabling logging hint="you can change the log level with env LOG_LEVEL=INFO|DEBUG|TRACE" logFile=/home/pipenapple/.config/leap/systray.log
    2025-01-28T22:46:47+05:30 INF Not autostarting OpenVPN
    2025-01-28T22:46:47+05:30 DBG Enforcing API v5 by env variable
    2025-01-28T22:46:47+05:30 DBG Using specific API backend version apiVersion=5
    2025-01-28T22:46:47+05:30 DBG Using API URL from env apiUrl=obfsvpnintro://37.218.242.148:443?fqdn=myshi.koshki.quest&kcp=0&cert=5KzjBcTef4%2B2fPhaqjxBawKtPMmXUVK45lrZCrT1GE1O8pwVWhbnUy1bXJJWE9x6ZH0dGQ&auth=solitech_1xVHlnNOusDtE1uXA1%2BH4g
    2025-01-28T22:46:47+05:30 INF Checking for updates url=https://downloads.leap.se/RiseupVPN/linux/lastver
    2025-01-28T22:46:47+05:30 DBG Remote version version=0.21.10.99
    2025-01-28T22:46:47+05:30 DBG Installed version version=0.24.10-3-g114f68e0
    2025-01-28T22:46:47+05:30 INF Sucessfully checked if there is an update updateAvailable=false
    2025-01-28T22:46:47+05:30 DBG Sucessfully wrote OpenVPN CA certificate (hardcoded in the binary, not coming from API) caCertPath=/tmp/leap-857640024/cacert.pem
    2025-01-28T22:46:47+05:30 INF Stopping firewall
    2025-01-28T22:46:47+05:30 DBG Executing bitmask-root cmd="/usr/sbin/bitmask-root firewall stop"
    2025-01-28T22:46:48+05:30 INF Enabled UDP
    2025-01-28T22:46:48+05:30 INF Fetching gateways...
    2025-01-28T22:46:48+05:30 DBG Resolving host with DNS over HTTPs domain=37.218.242.148:443
    2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=208.67.222.222
    2025-01-28T22:46:48+05:30 DBG A polkit daemon is running
    2025-01-28T22:46:48+05:30 WRN Could not get best location err="Could not get best gateway location. The list of gateways is empty" transport=openvpn
    2025-01-28T22:46:48+05:30 WRN The list of gateways is empty. Using auto-selection for location
    2025-01-28T22:46:48+05:30 DBG Executing bitmask-root cmd="/usr/sbin/bitmask-root firewall isup"
    2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=208.67.222.222
    2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=9.9.9.9
    2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=9.9.9.9
    2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=dns.mullvad.net
    2025-01-28T22:46:48+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=dns.mullvad.net
    2025-01-28T22:46:48+05:30 DBG Selected DoH provider dnsServer=dns.njal.la
    2025-01-28T22:46:48+05:30 WRN Could not get best location err="Could not get best gateway location. The list of gateways is empty" transport=openvpn
    2025-01-28T22:46:48+05:30 WRN The list of gateways is empty. Using auto-selection for location
    2025-01-28T22:46:49+05:30 WRN Could not resolve host with DNS over HTTPs error="Name error" domain=37.218.242.148 resolver=dns.njal.la
    2025-01-28T22:46:49+05:30 WRN Could not fetch gateways error="Get \"https://37.218.242.148:443/api/5/gateway\": Could not resolve ip with DNS over HTTPS. Tried all resolvers"
  • jkito approved this merge request

    approved this merge request

  • jkito added 5 commits

    added 5 commits

    • 114f68e0...be8fa973 - 2 commits from branch main
    • 8e246159 - Update introducer calls after bitmask-core update
    • ae0d98fc - Update introducer code after bitmask-core update
    • 8473f488 - [v5] Quickfix for devision by 0 in updateLocationQualityMap

    Compare with previous version

  • merged

Please register or sign in to reply
Loading