[Bug 1134] New: snat and dnat should accept mapping concatenated values for address and port

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Mar 20 18:24:24 CET 2017


https://bugzilla.netfilter.org/show_bug.cgi?id=1134

            Bug ID: 1134
           Summary: snat and dnat should accept mapping concatenated
                    values for address and port
           Product: nftables
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: rwhite at pobox.com

If the result value of a map is ipv[46]_addr . inet_service then a dnat or snat
directive should understand that these are the address and port values for
statement.

so...

table example {
    dnat_info {
      type inet_service : ipv4_addr . inet_service
      elements = { 80 : 192.168.13.5 . 8080 }
    }

    chain foo {
        dnat tcp port @dnat_info
    }
}


Intervals for all three values would be nice too.

P.S. intervals of addresses to acheive fanout behavior in dnat would be a
different new feature. 8-)

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20170320/99dbda4b/attachment.html>


More information about the netfilter-buglog mailing list