1. 13 Jul, 2011 2 commits
    • Stephen Hemminger's avatar
      Remove redundant limits.h · be181323
      Stephen Hemminger authored
      redo.
      be181323
    • Eric W. Biederman's avatar
      iproute2: Add processless network namespace support · 0dc34c77
      Eric W. Biederman authored
      The goal of this code change is to implement a mechanism such that it is
      simple to work with a kernel that is using multiple network namespaces
      at once.
      
      This comes in handy for interacting with vpns where there may be rfc1918
      address overlaps, and different policies default routes, name servers
      and the like.
      
      Configuration specific to a network namespace that would ordinarily be
      stored under /etc/ is stored under /etc/netns/<name>.  For example if
      the dns server configuration is different for your vpn you would create
      a file /etc/netns/myvpn/resolv.conf.
      
      File descriptors that can be used to manipulate a network namespace can
      be created by opening /var/run/netns/<NAME>.
      
      This adds the following commands to iproute.
      ip netns add NAME
      ip netns delete NAME
      ip netns monitor
      ip netns list
      ip netns exec NAME cmd ....
      ip link set DEV netns NAME
      
      ip netns exec exists to cater the vast majority of programs that only
      know how to operate in a single network namespace.  ip netns exec
      changes the default network namespace, creates a new mount namespace,
      remounts /sys and bind mounts netns specific configuration files to
      their standard locations.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      0dc34c77
  2. 11 Jul, 2011 7 commits
  3. 29 Jun, 2011 5 commits
  4. 20 Jun, 2011 5 commits
  5. 19 May, 2011 1 commit
  6. 12 May, 2011 1 commit
    • Eric Dumazet's avatar
      ip: Support IFLA_TXQLEN in ip link command · f78e316f
      Eric Dumazet authored
      Eric Dumazet a écrit :
      > We currently use an expensive ioctl() to get device txqueuelen, while
      > rtnetlink gave it to us for free. This patch speeds up ip link operation
      > when many devices are registered.
      >
      
      Here is a 2nd version od this patch, not displaying "qlen 0" useless info
      
      [PATCH iproute2] ip: Support IFLA_TXQLEN in ip link show command
      
      We currently use an expensive ioctl() to get device txqueuelen, while
      rtnetlink gave it to us for free. This patch speeds up ip link operation
      when many devices are registered.
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      f78e316f
  7. 26 Apr, 2011 1 commit
  8. 12 Apr, 2011 16 commits
  9. 17 Mar, 2011 2 commits
    • Stephen Hemminger's avatar
      v2.6.38.1 · 77d1e6ab
      Stephen Hemminger authored
      77d1e6ab
    • Nicolas Dichtel's avatar
      iproute2: allow to specify truncation bits on auth algo · aba38344
      Nicolas Dichtel authored
      Hi,
      
      here is a patch against iproute2 to allow user to set a state with a specific
      auth length.
      
      Example:
      $ ip xfrm state add src 10.16.0.72 dst 10.16.0.121 proto ah spi 0x10000000
      auth-trunc "sha256" "azertyuiopqsdfghjklmwxcvbn123456" 96 mode tunnel
      $ ip xfrm state
      src 10.16.0.72 dst 10.16.0.121
               proto ah spi 0x10000000 reqid 0 mode tunnel
               replay-window 0
               auth-trunc hmac(sha256)
      0x617a6572747975696f707173646667686a6b6c6d77786376626e313233343536 96
               sel src 0.0.0.0/0 dst 0.0.0.0/0
      
      Regards,
      Nicolas
      
      >From 522ed7348cdf3b6f501af2a5a5d989de1696565a Mon Sep 17 00:00:00 2001
      From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
      Date: Thu, 23 Dec 2010 06:48:12 -0500
      Subject: [PATCH] iproute2: allow to specify truncation bits on auth algo
      
      Attribute XFRMA_ALG_AUTH_TRUNC can be used to specify
      truncation bits, so we add a new algo type: auth-trunc.
      Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
      aba38344