Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Planning #1

Open
cameronrmorris opened this issue Jan 23, 2014 · 0 comments
Open

Planning #1

cameronrmorris opened this issue Jan 23, 2014 · 0 comments

Comments

@cameronrmorris
Copy link
Contributor

  • Framework for agent ( code organization )
  • Collection method ( fork parent child ) - Some code done
  • Collection tools ( linux/windows/etc tools ) - Implemented through shell scripts
  • Flow -

For passive: This is run through a cronjob which can scheduled every 5 minutes
For active: The program must run as a daemon with an open port accessible from the web

  • Read from configuration file containing:
    -- Username/UserID
    -- Device ID
    -- Other options, active/passive etc.
  • Perform HTTP(s?) check to server to do the follow
    -- Authenticate userid and device id to server to check if valid
    -- Check status of device if reported lost or not.
  • If lost, run collection tools
    -- Each collection tool will create a file with their output
    -- Create a HTTP(s) connection to the server using the userid and device id
    --- Small data can submitted via a form to the server using libcurl.
    --- Large data can submitted via a zip file to the server through the form upload field.
  • End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant