File: exip.1

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 (50 lines) | stat: -rw-r--r-- 1,019 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.\" Text automatically generated by txt2man
.TH exip 1 "08 Aug 2022" "exip-0.1.0" "Get your external ip from multiple services"
.SH NAME
\fBexip \fP- Retrieve your external IP
\fB
.SH SYNOPSIS
.nf
.fam C
  \fBexip\fP [\fIOPTIONS\fP]

.fam T
.fi
.fam T
.fi
.SH 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.
.SH OPTIONS
.TP
.B
\fB-h\fP help
show this usage message
.TP
.B
\fB-p\fP uint
IP Protocol to be used (0, 4, or 6)
.TP
.B
\fB-t\fP duration
consensus's voting timeout (default 5s)
.TP
.B
\fB-v\fP
log errors to STDERR, when defined
.SH EXAMPLES
\fBexip\fP
.PP
\fBexip\fP \fB-p\fP 4
.PP
\fBexip\fP \fB-p\fP 6
.PP
\fBexip\fP \fB-t\fP 10
.PP
\fBexip\fP \fB-v\fP
.SH AUTHOR
Written by Glen De Cauwsemaecker
.PP
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).