aboutgitcodebugslistschat
path: root/qrap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-07-13 08:05:01 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-07-14 01:36:05 +0200
commit220759efb89ab7f272386db89c9dbbb46e851a4f (patch)
tree3baadffcf2d08ce27114ffddc65963ebc0f7e82b /qrap.c
parent4de37151c9e5f4d65d8563336159084d393d1bd4 (diff)
downloadpasst-220759efb89ab7f272386db89c9dbbb46e851a4f.tar
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.tar.gz
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.tar.bz2
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.tar.lz
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.tar.xz
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.tar.zst
passt-220759efb89ab7f272386db89c9dbbb46e851a4f.zip
conf: Allow to specify ranges and ports excluded from given ranges
This is useful in environments where we want to forward a large number of ports, or all non-ephemeral ones, and some other service running on the host needs a few selected ports. I'm using ~ as prefix for the specification of excluded ranges and ports to avoid the need for explicit command line quoting. Ranges and ports can be excluded from given ranges by adding them in the comma-separated list, prefixed by ~. Some quick examples: -t 5000-6000,~5555: forward ports 5000 to 6000, but not 5555 -t ~20000-20010: forward all non-ephemeral, allowed ports, except for ports 20000 to 20010 ...more details in usage message and man page. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'qrap.c')
0 files changed, 0 insertions, 0 deletions