Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.35 KB

README.md

File metadata and controls

61 lines (46 loc) · 1.35 KB

dotfiles

Tmux, NVIM and I3 configuration files for my development environment

OpenFortiVPN

#Already covered by bootstrap.sh
sudo dnf install --noconfirm gcc automake autoconf make pkg-config openssl-devel
  • clone project
git clone https://github.com/gm-vm/openfortivpn.git
cd openfortivpn
  • build project
./autogen.sh
./configure --prefix=/usr/local --sysconfdir=/etc
make
sudo make install
sudo openfortivpn --version

download openfortivpn-webview to get the cookie

wget -qO- https://github.com/gm-vm/openfortivpn-webview/releases/download/v1.2.3-electron/openfortivpn-webview-1.2.3-x64.tar.xz | sudo tar -xvJ --transform='s/openfortivpn-webview-1.2.3-x64/openfortivpn-webview/g' -C /usr/local  && sudo ln -s /usr/local/openfortivpn-webview/openfortivpn-webview /usr/local/bin/openfortivpn-webview 

Connect

connect_vpn "<url>"

Kernel tracing

  1. Install lttng on the computer
install_lttng
  1. Disable Secure boot in your BIOS, (or sign the modules but it's a pain in the arse)

  2. Then start tracing

start_kernel_tracing
#Do whatever you want to trace
stop_kernel_tracing

Run tracecompass to read the traces located in /tmp/my-kernel-trace

tracecompass