File: 0035-Bring-README-up-to-date-with-README.md.patch

package info (click to toggle)
httptunnel 3.3%2Bdfsg-6
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,500 kB
  • sloc: ansic: 4,754; makefile: 26; sh: 4
file content (42 lines) | stat: -rw-r--r-- 1,886 bytes parent folder | download | duplicates (2)
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
From: Teemu Hukkanen <tjhukkan@iki.fi>
Date: Mon, 18 Mar 2024 20:18:20 +0200
Subject: Bring README up-to-date with README.md

Forwarded: yes
---
 README | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/README b/README
index a07e09b..65be9d8 100644
--- a/README
+++ b/README
@@ -35,7 +35,7 @@ Information and/or latest release should be available from these places:
 
 I take no responsibility for what you do with this software.  It has  
 the potential to do dangerous things, like disabling the protection  
-you system administrator has set up for the local network.  Read the  
+your system administrator has set up for the local network.  Read the
 DISCLAIMER file.  
 
 USAGE & DOCUMENTATION
@@ -51,7 +51,7 @@ order:
  3. FAQ  
  4. README  
 
-Having said that, here's a (possibly outdated) example:  
+Having said that, here are some examples:
  * start httptunnel server:  
   * At host REMOTE, start `hts` like this:  
     `hts -F localhost:23 8888` (set up httptunnel server to listen on port 8888 and forward to localhost:23)   
@@ -63,6 +63,10 @@ Having said that, here's a (possibly outdated) example:
   * Now you can do this at host LOCAL:  
     `telnet localhost 2323` (telnet in to REMOTE_IP:8888 via your httptunnel you just configured above on port localhost:2323)  
     ...and you will hopefully get a login prompt from host REMOTE_IP.  
+ * Debugging:
+  * For debug output, add `-Dn` to the end of a command, where `n` is the level of debug output you'd like to see, with 0 meaning no
+    debug messages at all, and 5 being the highest level (verbose).
+  * ex: `htc -F 10001 -P PROXY_ADDRESS:8000 REMOTE_IP:8888 -D5` will show verbose debug output (level 5 debugging) while setting up an httptunnel client to forward localhost:10001 to REMOTE_IP:8888 via a local proxy at PROXY_ADDRESS:8000
 
 EXTERNAL HELP, EXAMPLES, & LINKS