iphook

command module
v0.0.0-...-2bc3e5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

README

iphook

This tool watches a Linux system's public IPv4 and IPv6 addresses using netlink. When an address changes, it will make a configurable HTTP request (webhook) submitting the current IPv4 and IPv6 addresses.

It can be used to update DynDNS2 compatible dynamic dns services.

installation

  • Install go
  • `go install github.com/markuslindenberg/iphook@latest

usage

  • Set environment variables IPHOOK_USER and IPHOOK_PASSWORD for HTTP authentication
  • Use -url parameter to provide your Dyndns server's update URL and optional static parameters.
  • Example command line: iphook -url "https://dyndns.example.com/nic/update?hostname=test.example.com"

See iphook -h for advanced options.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL