hsync 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +10 -10
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -26,52 +26,52 @@ program
|
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
.addOption(
|
|
29
|
-
new Option('-
|
|
29
|
+
new Option('-S, --hsync-secret <string>', 'password to connect to hsync-server').env(
|
|
30
30
|
'HSYNC_SECRET'
|
|
31
31
|
)
|
|
32
32
|
)
|
|
33
33
|
.addOption(
|
|
34
|
-
new Option('-
|
|
34
|
+
new Option('-L, --listener-local-port <number>', 'local port to open for listener').env(
|
|
35
35
|
'HSYNC_LLP'
|
|
36
36
|
)
|
|
37
37
|
)
|
|
38
38
|
.addOption(
|
|
39
|
-
new Option('-
|
|
39
|
+
new Option('-H, --listener-target-host <url>', 'target host for listener').env('HSYNC_LTH')
|
|
40
40
|
)
|
|
41
41
|
.addOption(
|
|
42
|
-
new Option('-
|
|
42
|
+
new Option('-T, --listener-target-port <number>', 'target port for listener').env('HSYNC_LTP')
|
|
43
43
|
)
|
|
44
44
|
.addOption(
|
|
45
|
-
new Option('-
|
|
45
|
+
new Option('-R, --relay-inbound-port <number>', 'inbound port for remote relay requests').env(
|
|
46
46
|
'HSYNC_RIP'
|
|
47
47
|
)
|
|
48
48
|
)
|
|
49
49
|
.addOption(
|
|
50
50
|
new Option(
|
|
51
|
-
'-
|
|
51
|
+
'-t, --relay-target-host <url>',
|
|
52
52
|
'target host for relay to open tcp connection on'
|
|
53
53
|
).env('HSYNC_RTH')
|
|
54
54
|
)
|
|
55
55
|
.addOption(
|
|
56
56
|
new Option(
|
|
57
|
-
'-
|
|
57
|
+
'-P, --relay-target-port <number>',
|
|
58
58
|
'target port for relay to open tcp connection on'
|
|
59
59
|
).env('HSYNC_RTP')
|
|
60
60
|
)
|
|
61
61
|
.addOption(
|
|
62
62
|
new Option(
|
|
63
|
-
'-
|
|
63
|
+
'-w, --relay-whitelist <string>',
|
|
64
64
|
'whitelist of domains that can access this relay'
|
|
65
65
|
).env('HSYNC_RWL')
|
|
66
66
|
)
|
|
67
67
|
.addOption(
|
|
68
68
|
new Option(
|
|
69
|
-
'-
|
|
69
|
+
'-b, --relay-blacklist <string>',
|
|
70
70
|
'blacklist of domains that should be blocked from this relay'
|
|
71
71
|
).env('HSYNC_RBL')
|
|
72
72
|
)
|
|
73
73
|
.addOption(
|
|
74
|
-
new Option('-
|
|
74
|
+
new Option('-x, --shell', 'shell to localhost and --port for piping data to a listener')
|
|
75
75
|
);
|
|
76
76
|
|
|
77
77
|
program.parse();
|