File: exip.txt

package info (click to toggle)
golang-github-glendc-go-external-ip 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 144 kB
  • sloc: sh: 11; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
NAME
    exip - Retrieve your external IP

SYNOPSIS
    exip [OPTIONS]

DESCRIPTION
    This package is a Golang library to get your external ip from multiple services.
    Design/Implement STUNSource (Session Traversal Utilities for NAT (STUN)) See RFC 3489
    and RFC 5389 for more details.

OPTIONS
    -h help       show this usage message
    -p uint       IP Protocol to be used (0, 4, or 6)
    -t duration   consensus's voting timeout (default 5s)
    -v            log errors to STDERR, when defined

EXAMPLES
    exip

    exip -p 4

    exip -p 6

    exip -t 10

    exip -v

AUTHOR
  Written by Glen De Cauwsemaecker

  This manual page was written by Guilherme de Paula Xavier Segundo
  <guilherme.lnx@gmail.com> for the Debian project (but may be used by others).