Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • honeylight honeylight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • HoneypotHoneypot
  • honeylighthoneylight
  • Merge requests
  • !1

Add host id in data header

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Fjen Undso requested to merge hostid into master Jan 23, 2018
  • Overview 0
  • Commits 1
  • Changes 2

Sometimes local DNS resolution can be problematic. An alternative is to send broadcast packages. But that cannot be done if one wants to address one specific node.

This uses one byte of the unused header space to insert a host id. A node only accepts packets, which contain an ID that matches the number in its hostname (like 42 in "ESP42"). A 0 value can be used to trigger the old behaviour, that means all nodes accept it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hostid