-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from OxfordHCC/bre-staging
Bre staging
- Loading branch information
Showing
33 changed files
with
3,246 additions
and
2,520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ A static version of IoT Refine is hosted at: https://dkarandikar.github.io/Stati | |
## Install | ||
1. Ensure postgres is installed, create a db with name testdb, user is postgres and password is password | ||
|
||
2. Install python3 dependencies: `pip3 install psycopg2 scapy pandas sklearn ipdata Pyshark` | ||
2. Install python3 dependencies: `pip3 install psycopg2-binary scapy pandas sklearn ipdata Pyshark` | ||
|
||
3. Install angular (for Refine web interface): `cd ui/ && npm install && npm install @angular/[email protected]` | ||
|
||
|
@@ -35,6 +35,8 @@ A static version of IoT Refine is hosted at: https://dkarandikar.github.io/Stati | |
|
||
3. Enable or disable IoT Refine on boot by running `sudo systemctl {enable|disable} iotrefine` | ||
|
||
4. To have chromium point at iotrefine on login, copy and fill out logintask-sample.desktop and move it to ~/.config/autostart/ | ||
|
||
## Configure Device Names | ||
|
||
Device names will initially display as MAC addresses. To assign a 'friendly' name to a device, use the `SetDevice` API endpoint: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
[api] | ||
;insert the value of port using %(port)s | ||
;port the api will run on | ||
port=4201 | ||
;url of the api, insert the value of port using %(port)s | ||
url=http://localhost:%(port)s/api | ||
|
||
[macvendors] | ||
key=insert_your_api_key_here | ||
;API key used to retreive device manufacturers from mac address | ||
key=key_goes_here | ||
|
||
[loop] | ||
;whether to automatically name new deices with a random fruit and number (e.g. Orange#123) | ||
autogen-device-names=True | ||
;frequency at which the processing loop is run in seconds (float) | ||
interval=1 | ||
;whether packets will be grouped into bursts | ||
burstify=False | ||
;whether content prediction will be run on bursts | ||
predict=False | ||
|
||
[capture] | ||
;interval to capture packets on | ||
interface=eth0 | ||
;frequency at which new packets are commited to the database in seconds (float) | ||
interval=5 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
psycopg2-binary | ||
scapy | ||
pandas | ||
sklearn | ||
ipdata | ||
Pyshark | ||
libxml | ||
requests | ||
ipwhois | ||
flask | ||
flask_restful | ||
|
Oops, something went wrong.