1. 19 Jun, 2012 1 commit
    • Mike Hibler's avatar
      Make frisbee more directly IGMP (v2) aware. · 66e07584
      Mike Hibler authored
      Add "-Q <interval>" option to the master server to allow it to act as an
      IGMP V2 querier in environment where there is otherwise not one. It does
      essentially what the perl-based querier (code.google.com/p/perl-igmp-querier/)
      does, sending out a v2 membership query at the specified interval.
      This eliminates the need to run mrouted in some environments (e.g., elabinelab)
      just to issue IGMP queries. As a result, all the boss-install and elabinelab
      setup related to using mrouted to perform this function has been removed.
      The elabinelab CONFIG_MROUTED option has been changed to CONFIG_QUERIER
      (the former is still recognized and mapped to the latter). The undocumented
      defs-* variable NEEDMROUTED has been changed to NEEDMCQUERIER (the former
      still exists in install/installvars.pm.in but is always set to 0) to more
      accurately reflect the variable's purpose. If NEEDMCQUERIER is set, then
      the mfrisbeed startup script is modified to add the "-Q 30" option.
      The implementation of the client and server "-K <interval>" keep-alive option
      has been changed to directly send IGMP v2 membership reports containing the
      associated MC address.
      Note that the -K options have always been a hack to work-around assorted
      IGMP-related misconfigurations and incompatibilities, and really should
      only be used as a last resort. As implemented, they could cause the host
      machine to be pruned out of other MC groups at the nearest switch since
      they only report membership in the frisbee MC group. With the master server
      acting as an IGMP querier, instances of the frisbee server on that host
      should no longer need to do keep alives. We still have one case where it
      is needed on the client-side: a FreeBSD 8.x or later host connected to an
      IGMPv2-only switch. It appears that the IGMPv3 implementation added in
      FreeBSD 8.x always sends v3 reports, even when the default is configured
      (via sysctl or even recompiling the kernel) as v2.
  2. 08 Jun, 2012 1 commit
  3. 06 Jun, 2012 3 commits
  4. 04 Jun, 2012 2 commits
  5. 01 Jun, 2012 1 commit
    • Leigh B Stoller's avatar
      Check for PRIVATE_VARIABLES config, and load that in addition · 3a5f20cb
      Leigh B Stoller authored
      to emulabconfig variables; this allows me to put a bunch of
      passwords into a file instead of elabinelab attributes, which
      land in log files, mail logs, ns files, etc.
      Do not set root password to fixed string in rc.mkelab. Instead, if one
      does not come in the config variables, generate a random password
      string and write that into a file in /usr/testbed/etc.
      Localize NAMED_VARIABLES from the config variables if it exists.
  6. 31 May, 2012 1 commit
  7. 29 May, 2012 2 commits
  8. 24 May, 2012 3 commits
  9. 23 May, 2012 1 commit
  10. 22 May, 2012 1 commit
  11. 21 May, 2012 4 commits
  12. 15 May, 2012 1 commit
  13. 09 May, 2012 1 commit
  14. 07 May, 2012 1 commit
  15. 03 May, 2012 3 commits
  16. 01 May, 2012 3 commits
  17. 30 Apr, 2012 5 commits
    • Mike Hibler's avatar
      Remove hack to avoid mrouted on 9.0. · 91e3b608
      Mike Hibler authored
      Whatever the issue was, I seem to have avoided it through a combo of updating
      all the 9.0 stuff and reverting to an older mrouted port.
    • Mike Hibler's avatar
      Argh! Syntax error... · 413b3b7c
      Mike Hibler authored
    • Mike Hibler's avatar
      A couple of apparently-needed hacks for FBSD9. · adcb9c24
      Mike Hibler authored
      Don't run mrouted, it seems to crash the kernel.
      Load ipdivert.ko at boot time, else the ipfw rule for NAT fails.
    • Mike Hibler's avatar
      First cut at FreeBSD 9.0 support. · 1f83c9c6
      Mike Hibler authored
      Upgrade to perl 5.12 means no more "suidperl" (setuid perl scripts).
      So we now have yet another little wrapper (security/runsuid.c) which
      runs suid and whose sole function is to exec the perl script of the
      same name in the /usr/testbed/suidbin directory. So a formerly setuid
      perl script install now goes like:
        create /usr/testbed/sbin/mkproj as a symlink to /usr/testbed/libexec/runsuid
        install real mkproj perl script in /usr/testbed/suidbin/mkproj
      When the setuid-wrapper is invoked under the name "mkproj" it execs
      /usr/testbed/suidbin/mkproj. We could almost use sudo for this purpose
      instead (see security/sudoers.in) but sudo loses one of the groups in
      the group list.
      /usr/include/utmp.h is gone in FreeBSD 9.0. In most places we nevered
      needed it, but in the one case that did (tg source), it just used a
      couple of the constants exposed (UT_*) and not the struct, so I just
      hardwired values for the constants.
      The usual tweakage to the install stuff to reflect yet another set of
    • Leigh B Stoller's avatar
      Minor tweak to openvz guest targets. · 42a9f864
      Leigh B Stoller authored
  18. 26 Apr, 2012 6 commits