Socket
Socket
Sign inDemoInstall

gitlab.com/tobyb121/aws-vpn-client-patch

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitlab.com/tobyb121/aws-vpn-client-patch


Version published

Readme

Source

AWS VPN Client Patcher

Scripts for patching the AWS VPN client for Linux.

  • Removes function that disables net.ipv4.ip_forward when connecting.
  • Makes the SAML success page close automatically.

Setup

To setup the build, run:

make init

This copies the DLLs that will be patched into the origin directory.

Note:

  • After install the unpatched versions can be restored by running make reset.
  • When upgrading the AWS VPN client, delete the origin directory to clear the local copies of the patched DLLs.
  • If the origin directory is removed and the DLLs have not been reset then you must re-install the AWS VPN client.

Build

To build patched binaries, run:

make

Install

To install the binaries, first close any VPN client windows, then run:

make install

Note: May need to be run as root

After install, make sure you restart the VPN service:

systemctl restart awsvpnclient.service

Making Changes

Check out the relevant branch for your tool version.

Run:

make unpack

This creates a directory .unpack and disassembles the DLLs into it.

To apply the existing patches, run:

patch .unpack/${ASSEMBLY}.il src/${ASSEMBLY}.il.diff

Modify the .il files as required then run:

diff -u .unpack/${ASSEMBLY}.il.original .unpack/${ASSEMBLY}.il > src/${ASSEMBLY}.il.diff

This generates the patch that will be applied by the build process.

FAQs

Last updated on 22 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc