1. 07 Apr, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      Introduce log and save functions · 472b841e
      Dimitris Aragiorgis authored
      The save() function is used in order to save and backup
      iptables/arptables/ebtables commands related to each interface.
      The log() function is a wrapper of snf-network-log script.
      Do not use a default variable for the log script. This could
      cause a fork bomb if the admin forgot to define it.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
  2. 04 Apr, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      Backup iptables, arptables, ebtables commands · 8c9626b0
      Dimitris Aragiorgis authored
      For each interface create a file named e.g., tap1 under
      /var/lib/snf-network/. This file will include all important
      variables related to the interface (INSTANCE, IP, EUI64, etc.) and
      then all iptables, arptables and ebtables commands that snf-network
      has invoked while configuring it. This can be helpful for admins
      while reloading ferm rules or for debugging purposes.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
  3. 10 Mar, 2014 3 commits
  4. 05 Mar, 2014 6 commits
  5. 23 Oct, 2013 1 commit
    • Stratos Psomadakis's avatar
      Serialize the excecution of ebtables processes · 1409faba
      Stratos Psomadakis authored
      ebtables cannot handle multiple userspace ebtables processes running
      concurrently. This could lead to failures while setting up or cleaning
      up ebtables for VM networks.
      ebtables latest release (included in Debian Wheezy) supports ebtables
      command seriliazation with the --concurrent cmdline option (which uses
      In order to make sure that snf-network works with older versions of
      ebtables, we wrap the ebtables commands around a Python helper script
      which serializes the excecution of any processes on a host machine by
      waiting until successfully binding on a TCPv4 port on localhost (for
      more information see the runlocked script).
  6. 24 May, 2013 1 commit
  7. 11 May, 2013 1 commit