Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
ce860d8e
Commit
ce860d8e
authored
15 years ago
by
Sebastian Hahn
Browse files
Options
Downloads
Patches
Plain Diff
Convert the tor-resolve manpage to asciidoc
parent
59a9908f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
doc/Makefile.am
+6
-3
6 additions, 3 deletions
doc/Makefile.am
doc/tor-resolve.1
+0
-38
0 additions, 38 deletions
doc/tor-resolve.1
doc/tor-resolve.1.txt
+45
-0
45 additions, 0 deletions
doc/tor-resolve.1.txt
with
55 additions
and
41 deletions
.gitignore
+
4
−
0
View file @
ce860d8e
...
...
@@ -97,6 +97,10 @@
/doc/tor-gencert.1.in
/doc/tor-gencert.html
/doc/tor-gencert.html.in
/doc/tor-resolve.1
/doc/tor-resolve.1.in
/doc/tor-resolve.html
/doc/tor-resolve.html.in
/doc/torify.1
/doc/torify.1.in
/doc/torify.html
...
...
This diff is collapsed.
Click to expand it.
doc/Makefile.am
+
6
−
3
View file @
ce860d8e
asciidoc_files
=
tor-gencert torify
asciidoc_files
=
tor-gencert
tor-resolve
torify
html_in
=
$(
asciidoc_files:
=
.html.in
)
man_in
=
$(
asciidoc_files:
=
.1.in
)
EXTRA_DIST
=
HACKING
\
tor-resolve.1
\
$(
html_in
)
$(
man_in
)
$(
asciidoc_files:
=
.1.txt
)
\
tor-osx-dmg-creation.txt tor-rpm-creation.txt
\
tor-win32-mingw-creation.txt
nodist_man_MANS
=
tor.1
tor-resolve.1
$(
asciidoc_files:
=
.1
)
nodist_man_MANS
=
tor.1
$(
asciidoc_files:
=
.1
)
doc_DATA
=
$(
asciidoc_files:
=
.html
)
...
...
@@ -27,6 +26,7 @@ $(html_in) :
torify.html.in
:
torify.1.txt
tor-gencert.html.in
:
tor-gencert.1.txt
tor-resolve.html.in
:
tor-resolve.1.txt
# Generate the manpage from asciidoc, but don't do
# machine-specific replacements yet
...
...
@@ -35,6 +35,7 @@ $(man_in) :
torify.1.in
:
torify.1.txt
tor-gencert.1.in
:
tor-gencert.1.txt
tor-resolve.1.in
:
tor-resolve.1.txt
# use ../config.status to swap all machine-specific magic strings
# in the asciidoc with their replacements.
...
...
@@ -43,5 +44,7 @@ $(asciidoc_product) :
torify.1
:
torify.1.in
tor-gencert.1
:
tor-gencert.1.in
tor-resolve.1
:
tor-resolve.1.in
torify.html
:
torify.html.in
tor-gencert.html
:
tor-gencert.html.in
tor-resolve.html
:
tor-resolve.html.in
This diff is collapsed.
Click to expand it.
doc/tor-resolve.1
deleted
100644 → 0
+
0
−
38
View file @
59a9908f
.TH tor-resolve 1 "" Aug-2004 ""
.\" manual page by Peter Palfrader
.SH NAME
.LP
tor-resolve \- resolve a hostname to an IP address via tor
.SH SYNOPSIS
\fBtor-resolve\fP\ [-4|-5] [-v] [-x] \fIhostname\fP\ [\fIsockshost\fP[:\fIsocksport]\fP]
.SH DESCRIPTION
\fBtor-resolve\fR is a simple script to connect to a SOCKS proxy that
knows about the SOCKS RESOLVE command, hand it a hostname, and return
an IP address.
.SH OPTIONS
\fB-v \fP
Display verbose output.
.LP
.TP
\fB-x\fP
Perform a reverse lookup: get the PTR record for an IPv4 address.
.LP
.TP
\fB-5\fP
Use the SOCKS5 protocol. (Default)
.LP
.TP
\fB-4\fP
Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
support reverse DNS.
.SH SEE ALSO
.BR tor (1),
.BR torify (1).
.PP
See doc/socks-extensions.txt in the Tor package for protocol details.
.SH AUTHORS
Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.
This diff is collapsed.
Click to expand it.
doc/tor-resolve.1.txt
0 → 100644
+
45
−
0
View file @
ce860d8e
// Copyright (c) The Tor Project, Inc.
// See LICENSE for licensing information
// This is an asciidoc file used to generate the manpage/html reference.
// Learn asciidoc on http://www.methods.co.nz/asciidoc/userguide.html
tor-resolve(1)
==============
Peter Palfrader
NAME
----
tor-resolve - resolve a hostname to an IP address via tor
SYNOPSIS
--------
**tor-resolve** [-4|-5] [-v] [-x] __hostname__ [__sockshost__[:__socksport__]]
DESCRIPTION
-----------
**tor-resolve** is a simple script to connect to a SOCKS proxy that knows about
the SOCKS RESOLVE command, hand it a hostname, and return an IP address.
OPTIONS
-------
**-v**::
Display verbose output.
**-x**::
Perform a reverse lookup: get the PTR record for an IPv4 address.
**-5**::
Use the SOCKS5 protocol. (Default)
**-4**::
Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
support reverse DNS.
SEE ALSO
--------
**tor**(1), **torify**(1). +
See doc/socks-extensions.txt in the Tor package for protocol details.
AUTHORS
-------
Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment