1. 20 Jan, 2012 3 commits
  2. 19 Jan, 2012 1 commit
  3. 12 Jan, 2012 1 commit
    • Ryan Jackson's avatar
      Initial client code and rules for Linux firewalls · 2690be45
      Ryan Jackson authored
      Made the following changes to the clientside code to support Linux
      firewalls:
      
      - Made os_fwconfig_line() actually do something.
      - getfwconfig() adds an 'IPS' hash to the fwinfo hash.  This contains
        the IP address for each host, much like how the 'MACS' hash contains
        the MAC address for each host.  This is needed because ebtables (which
        is needed for ARP proxying) doesn't resolve hostnames.
      
      Rules are stored in firewall/iptables-fw-rules.  Syntax is similar to
      fw-rules, but without the rule number (since iptables doesn't use rule
      numbers).  These should be equivalent to our ipfw-based rules, but I
      haven't tested every case yet to confirm this.  I'm sure some changes
      will be necessary.
      2690be45
  4. 21 Nov, 2011 1 commit
  5. 15 Nov, 2011 1 commit
    • Mike Hibler's avatar
      Further overhaul of firewall code. NOTE: required bump of tmcd version to 34. · 6a26b246
      Mike Hibler authored
      Firewalls now work with nodes which require a subboss. Had to introduce new
      firewall rules which skipped around the checks that no packets to/from
      node control net IPs should pass through the firewall, if the IP in question
      belongs to a subboss (since subboss is on the node control network). It
      actually checks for all Emulab servers (boss, ops, fs or any subboss),
      so the code should work for an Emulab install which has a non-segmented
      control network in which all servers were in the same subnet as the nodes.
      
      In addition to the new rules, we also had to pass in additional information
      via "tmcc firewallinfo" giving the IP/MAC of those server nodes that are on
      the node control network. We use this to establish ARP entries on the
      inside network so that nodes can find the servers. Since the existing
      client-side firewall code in libsetup.pm would blow up if it got a line
      that it didn't recognize, I had to bump the tmcd version number and add
      some conditional code to tmcd.c:dofwinfo() to not return the extra info for
      old versions.
      
      Added a couple of new firewall variables EMULAB_BOSSES and EMULAB_SERVERS
      that are used in the new rules. Fixed the support scripts in firewall/
      to properly initialize these variables.
      
      IMPORTANT: tmcd looks up boss, ops, fs, and subbosses in the interfaces
      table to find their IPs and MAC addresses. By default, we do not create
      such interface table entries for boss/ops/fs. We have them at Utah for
      other reasons. These entries are only needed if you have a non-segmented
      control network (or a subboss) and you want to firewall such nodes.
      The script to initialize the firewall variables (initfwvars.pl) will
      print out a warning for configurations that are affected and don't have
      the entries.
      6a26b246
  6. 03 Nov, 2011 1 commit
  7. 02 Nov, 2011 1 commit
  8. 07 Jul, 2009 1 commit
  9. 15 Apr, 2008 1 commit
  10. 20 Feb, 2008 1 commit
  11. 14 Dec, 2006 1 commit
  12. 01 Dec, 2006 1 commit
  13. 13 Feb, 2006 1 commit
  14. 07 Feb, 2006 2 commits
  15. 06 Feb, 2006 1 commit
  16. 03 Feb, 2006 1 commit
  17. 01 Feb, 2006 1 commit
  18. 19 Sep, 2005 2 commits
  19. 16 Aug, 2005 1 commit
  20. 08 Mar, 2005 1 commit
  21. 01 Feb, 2005 1 commit
    • Mike Hibler's avatar
      Jigger the rules some: · 4cd84b84
      Mike Hibler authored
      ELABINELAB: allow SSLXMLRPC from inside to boss.  Needed for frisbee load
      	of images.
      ALL: allow through all ICMP for now.
      4cd84b84
  22. 28 Jan, 2005 1 commit
  23. 18 Jan, 2005 1 commit
  24. 12 Jan, 2005 1 commit
  25. 11 Jan, 2005 1 commit
    • Mike Hibler's avatar
      New firewall directory. Has the master file that describes the default · 16fd118f
      Mike Hibler authored
      rules (fw-rules), a script to populate the DB from those rules, and a
      script to initialize the firewall variables.
      
      This is not part of any standard make, it is used in a one-time fashion
      either at install or during the next update.  Still need to write the
      instructions for this.
      16fd118f