Skip to content
Snippets Groups Projects
  1. Dec 04, 2024
    • jkito's avatar
      show error message when app already running · a8b10af3
      jkito authored and jkito's avatar jkito committed
      this adds a new error type when app is not able to
      get a lock of the pid file as another instance  is
      already running, it then shows a msg and quits
      a8b10af3
    • jkito's avatar
      remove use of deprecated ioutil module · 26bb6ac1
      jkito authored and jkito's avatar jkito committed
      26bb6ac1
    • jkito's avatar
      fix crash during start when helper not installed · 00d4e0a7
      jkito authored and jkito's avatar jkito committed
      during initialization setting ctx.bitmask as soon as vpn.Init()
      returns and by not returning error from launcher.FirewallStop
      this works around the issue where the app crashes because of calling
      methods of the Bitmask object which was nil
      
      the launcher.FirewallStop method returned an error when the helper
      was not installed
      00d4e0a7
    • jkito's avatar
      ovpn: don't redeclare status variable · aedb5003
      jkito authored and jkito's avatar jkito committed
      the status variable was being redeclared inside the
      else block which goes out of scope when it returned
      leading to returning the wrong status value
      
      this fixes a bug when switching location while still
      connected to a gateway as the status was always "Off"
      the existing connection was not stopped before trying
      to connect to the new gateway
      aedb5003
    • jkito's avatar
      ovpn: stop openvpn from management interface · a902be15
      jkito authored and jkito's avatar jkito committed
      when switching location while still connected Reconnect is
      called which tries to stop the connection directly calling
      bitmask-root
      
      before trying to stop using bitmask-root try to disconnect
      using the management interface like it is done when  users
      click disconnect button on the UI
      a902be15
  2. Dec 03, 2024
  3. Nov 20, 2024
    • jkito's avatar
      chore: replace ioutil with io module · 685cb3c9
      jkito authored and jkito's avatar jkito committed
      685cb3c9
    • Pea Nut's avatar
      Strip port of menshen host before resolving with logDnsLookup · dd29081b
      Pea Nut authored and jkito's avatar jkito committed
      In case of an error, we try to logDnsLookup(url.Host). url is based on the
      provider api url. This can be localhost:8443, so we need to strip the
      port :8443 before.
      
      There is also a small change in pkg/vpn/status.go. When using an
      introducer, fetching information from menshen can take some time. Then
      it can be normal that the call to `GetBestLocation()` fails. This is not
      a big deal, as it is called later/periodically. But when we use .Err(),
      the output is printed bold to stdout and it looks like there is a big
      issue.
      dd29081b
  4. Nov 19, 2024
  5. Nov 11, 2024
  6. Nov 06, 2024
  7. Oct 19, 2024
  8. Oct 15, 2024
    • jkito's avatar
      change obfsvpn version to v1.1.0 · 7e176df8
      jkito authored
      we found a bug on obfsvpn that prevents the app
      from being able to connect via bridge a  second
      time onwards after disconnecting from the first
      
      ref: obfsvpn#64
      7e176df8
  9. Oct 14, 2024
  10. Oct 13, 2024
  11. Oct 07, 2024
  12. Sep 08, 2024
    • jkito's avatar
      deb: update patch for deb package to build with qt6.4 · 473595df
      jkito authored and jkito's avatar jkito committed
      473595df
    • jkito's avatar
      build: donot rename built app binary · 30a03871
      jkito authored and jkito's avatar jkito committed
      earlier the qmake build always produced the binary named
      as bitmask and later it was renamed to whatever PROVIDER
      was set to, in the previous commit we fixed the  setting
      of TARGET env so that qmake produces the binary with the
      correct name
      30a03871
    • jkito's avatar
      build: pass in PROVIDER env variable to getparam script · 9e535d7c
      jkito authored and jkito's avatar jkito committed
      running 'getparam binname' should return the name we want to set
      for the qmake TARGET based on the PROVIDER from the  vendor.conf
      file, due to running it inside a subshell in make it always gets
      the value for the default provider, setting PROVIDER env returns
      the correct value
      
      it also updates the qmake project file to use the TARGET env var
      and the build script to pass TARGET to qmake command as arg
      9e535d7c
    • jkito's avatar
      installer: name helper launchd service based on app name · d869dbf7
      jkito authored and jkito's avatar jkito committed
      this allows us to have multiple branded desktop clients installed
      along side each other
      
      earlier installing one would uninstall the previous helper as both
      used the same name and label for the launchd daemon
      d869dbf7
    • jkito's avatar
      qmake: pass RELEASE variable to qmake invocation · f09e7897
      jkito authored and jkito's avatar jkito committed
      qmake is not inheriting the env variables from the parent
      process to work around this, it is directly passed as arg
      to the qmake invocation
      f09e7897
Loading