aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r--libmproxy/cmdline.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py
index c0eb57c9..83eab7ee 100644
--- a/libmproxy/cmdline.py
+++ b/libmproxy/cmdline.py
@@ -263,7 +263,7 @@ def common_options(parser):
)
group.add_argument(
"-I", "--ignore",
- action="append", type=str, dest="ignore", default=[],
+ action="append", type=str, dest="ignore_hosts", default=[],
metavar="HOST",
help="Ignore host and forward all traffic without processing it. "
"In transparent mode, it is recommended to use an IP address (range), not the hostname. "
@@ -272,6 +272,13 @@ def common_options(parser):
"Can be passed multiple times. "
)
group.add_argument(
+ "--tcp",
+ action="append", type=str, dest="tcp_hosts", default=[],
+ metavar="HOST",
+ help="Generic TCP SSL proxy mode for all hosts that match the pattern. Similar to --ignore,"
+ "but SSL connections are intercepted. The communication contents are printed to the event log in verbose mode."
+ )
+ group.add_argument(
"-n",
action="store_true", dest="no_server",
help="Don't start a proxy server."