Skip to content

Display Nordlayer status of connection in taskbar on Linux

Notifications You must be signed in to change notification settings

ihyoudou/nordlayer-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nordlayer helper

This is my pet project to learn Golang and try to understand the GRPC protocol (with reverse engineering effort). The idea behind this project was to create a simple taskbar menu with the most crucial information from nordlayer status. Unfortunately, on linux Nord doesn't provide a GUI version (like on Mac and Windows).

The GRPC API is also not documented publicly, so all the work was done using package capture and trying random things.

Requirements

On Fedora with GNOME desktop, you need to install AppIndicator and KStatusNotifierItem Support extenstion

What is working?

  • Displaying current status of connection
  • Listing gateways

I am also planning to include an option to change gateways and a notification system about being offline, External IP address changes.

Building

To build this application, you need to have make gcc libgtk-3-dev libayatana-appindicator3-dev protobuf-compiler

For some reason libayatana-appindicator packages are not available in Fedora, so i used Ubuntu in distrobox for development

Dependencies for Debian-based:

sudo apt install make gcc libgtk-3-dev libayatana-appindicator3-dev protobuf-compiler
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go mod download

If you get error like

protoc-gen-go-grpc: program not found or is not executable

Check your GOPATH (most likely you don't have ~/go/bin in your PATH)

Build instructions

make build

This command will build pb.go files from protobuf files and build the application.

Disclaimer

This repository is not associated in any way with Nord Security/Nordlayer

About

Display Nordlayer status of connection in taskbar on Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published