Developing lightweight computation at the DSG edge

  1. 06 Nov, 2018 6 commits
    • Cameron Sparr's avatar
      Don't oversend packets · ef3ab45e
      Cameron Sparr authored
      fixes part of #6
    • Ben Kochie's avatar
      Fix CPU use (#40) · 3a0b5a7d
      Ben Kochie authored
      * Move default case out of select block.
      * Add defers to close resources.
      * `go fmt` cleanup.
    • Cameron Sparr's avatar
      Set a random source seed to avoid ID conflicts · 9db3df4b
      Cameron Sparr authored
      closes #14
      closes #33
    • Lincoln Thurlow's avatar
      patch: compare identifier for non-root access icmp (#32) · 28a88d08
      Lincoln Thurlow authored
      Commit d046b245 introduces a bug which causes ping to always fail.
      The source of this bug is:
      	// Check if reply from same ID
      	body := m.Body.(*icmp.Echo)
      	if body.ID != {
      		return nil
      Which due to the selection of requires that SetPrivileged is
      set to true.  In the case where Privileged (i.e == udp)
      it is left to the kernel to set the ICMP id.
     Discusses the introduction of
      non-setuid-less ping.  The kernel implementation for this
      interface dictates using the local port, which gets mapped into
      the ping_table struct.  There is no current implementation in the
      go icmp library to address this problem directly.
      To address this issue, I've added a `Tracker` field for `Pinger`
      as well as `IcmpData` datastructure to allow for uniquely tracking
      icmp requests.  The id (as with the `id` field) is not unique,
      but will statistically rare for duplicates.
    • Ben Kochie's avatar
      Include adddress in Packet (#38) · 687023bd
      Ben Kochie authored
      Include the original address in the Packet type for use in
    • Xie Zhenye's avatar
      remove signal handler, add Stop method (#10) · 667d0a66
      Xie Zhenye authored
      * remove signal handler, add Stop method
      * Added ICMP Packet ID to distinguish ICMP replies
  2. 30 Aug, 2018 1 commit
  3. 29 Aug, 2018 2 commits
  4. 07 Feb, 2016 1 commit
  5. 01 Feb, 2016 1 commit