diff options
author | Ulrich Weber <ulrich.weber@sophos.com> | 2013-01-03 00:39:58 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-01-04 01:08:20 +0100 |
commit | 92f05a2f38e6c6bc6c69880358c41ac17bd31298 (patch) | |
tree | d9bdb5a209ab347c87c49b00b962cbe51794e6ae /extensions/libip6t_ipv6header.c | |
parent | 7b04e3ef3a6ffccb23de83ef3b2d8f5aeaaa09e5 (diff) |
extension: libip6t_DNAT: allow port DNAT without address
correct parsing of IPv6 port NAT without address NAT,
assume one colon as port information.
Allows:
* address only:
-j DNAT --to affe::1
-j DNAT --to [affe::1]
* port only
-j DNAT --to :80
-j DNAT --to :80-110
-j DNAT --to []:80
-j DNAT --to []:80-110
* address and port
-j DNAT --to [affe::1]:80
-j DNAT --to [affe::1]:80-110
Signed-off-by: Ulrich Weber <ulrich.weber@sophos.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_ipv6header.c')
0 files changed, 0 insertions, 0 deletions