Skip to content
Snippets Groups Projects
  1. Apr 22, 2017
    • David S. Miller's avatar
      Merge branch 'iptunnel-policy-based-routing' · 20da848f
      David S. Miller authored
      
      Craig Gallek says:
      
      ====================
      ip_tunnel: Allow policy-based routing through tunnels
      
      iproute2 changes to follow.  Example usage:
        ip link add gre-test type gre local 10.0.0.1 remote 10.0.0.2 fwmark 0x4
        ip -detail link show gre-test
        ...
        ip link set gre-test type gre fwmark 0
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      20da848f
    • Craig Gallek's avatar
      ip_tunnel: Allow policy-based routing through tunnels · 9830ad4c
      Craig Gallek authored
      
      This feature allows the administrator to set an fwmark for
      packets traversing a tunnel.  This allows the use of independent
      routing tables for tunneled packets without the use of iptables.
      
      There is no concept of per-packet routing decisions through IPv4
      tunnels, so this implementation does not need to work with
      per-packet route lookups as the v6 implementation may
      (with IP6_TNL_F_USE_ORIG_FWMARK).
      
      Further, since the v4 tunnel ioctls share datastructures
      (which can not be trivially modified) with the kernel's internal
      tunnel configuration structures, the mark attribute must be stored
      in the tunnel structure itself and passed as a parameter when
      creating or changing tunnel attributes.
      
      Signed-off-by: default avatarCraig Gallek <kraig@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9830ad4c
    • Craig Gallek's avatar
      ip6_tunnel: Allow policy-based routing through tunnels · 0a473b82
      Craig Gallek authored
      
      This feature allows the administrator to set an fwmark for
      packets traversing a tunnel.  This allows the use of independent
      routing tables for tunneled packets without the use of iptables.
      
      Signed-off-by: default avatarCraig Gallek <kraig@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0a473b82
  2. Apr 21, 2017
  3. Apr 20, 2017
  4. Apr 19, 2017