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

Develop to mdm_client branch #342

Merged
merged 22 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
67a0e5d
Mesh channel width changed to 20mhz
dania-tii Nov 16, 2023
9564e36
Pytorch package installation
dania-tii Nov 15, 2023
e14e6f9
Install aarch pytorch package if linux os
dania-tii Nov 16, 2023
5853c5c
updated pytorch installation for aarch64
dania-tii Nov 17, 2023
3da387a
updated pytorch installation for aarch64
dania-tii Nov 17, 2023
b6841ec
removed dependencies installation from entrypoint_nats.sh
dania-tii Nov 17, 2023
99e2f38
Improved script with bug fixes and resolving the issue of infinite ex…
anshul-tii Nov 6, 2023
8253375
Functional and regression test cases for the Signal processing assist…
anshul-tii Nov 6, 2023
4b9daa9
Adding Basic performance test Cases for the SP-CRA Implementation
anshul-tii Nov 6, 2023
739aaa2
Adding relevant security test cases for SP-CRA Implementation
anshul-tii Nov 6, 2023
17873bc
Minor Comments formating
anshul-tii Nov 6, 2023
ecb3d31
Added following changes: sendall() is used instead of send, fix the …
anshul-tii Nov 8, 2023
678c5ce
Resolved space issue to maintian uniformity in code pointed by Mika
anshul-tii Nov 8, 2023
d7224d7
Modified the script to comply with the main script. THe entry point o…
anshul-tii Nov 17, 2023
218764f
main.py script acting as an entry point for all securiy features. THe…
anshul-tii Nov 17, 2023
b6f08cd
RSS Authentication Scripts
anshul-tii Nov 21, 2023
9121a9b
Modified the RSS_Auth Class implementation to do away with passing s…
anshul-tii Nov 21, 2023
d27591c
Modified the main.py script and the feature.yaml file to consider RSS…
anshul-tii Nov 21, 2023
73684f7
Added a debug flag option to control the disply of authentication tab…
anshul-tii Nov 21, 2023
0046760
Making all feature disbaled by default in accordance to Sebastien com…
anshul-tii Nov 22, 2023
6c46881
Jamming avoidance init.d service
dania-tii Nov 28, 2023
efb6af1
Merge pull request #340 from tiiuae/ja_service
DamienDeMayaTII Nov 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modified the main.py script and the feature.yaml file to consider RSS…
… Authentication as an additional feature
  • Loading branch information
anshul-tii authored and martin-tii committed Nov 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit d27591c7c69b71311d659c84ea712c9a4af71c9a
1 change: 1 addition & 0 deletions modules/sc-mesh-secure-deployment/src/2_0/features.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PHY: true
RSS: true
IDS: false
jamming: false

15 changes: 14 additions & 1 deletion modules/sc-mesh-secure-deployment/src/2_0/main.py
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

# Import classes for features
from features.PHY.PHY_CRA_scripts.SP_CRA_mainDE1 import PHYCRA
from features.PHY.RSS_auth.F_RSS_Auth import RSS_Auth
# from features.IDS.IDS import IDS
# from features.jamming.jamming import Jamming

@@ -13,6 +14,12 @@ def launch_PHY():
phycra.start()
return phycra

def launch_RSS():
# Place holder to launch RSS
rss_authen = RSS_Auth()
rss_authen.start()
return rss_authen

def launch_IDS():
# Place holder to launch IDS
# Currently, this function does nothing
@@ -26,6 +33,9 @@ def launch_jamming():
def stop_PHY(phycra):
phycra.stop()

def stop_RSS(rss_authn):
rss_authn.stop()

def stop_jamming(jamming):
jamming.stop()

@@ -57,7 +67,7 @@ def launch_decision_engine(sensors):

# Place holder to call quarantine/ MBA if necessary

time.sleep(60) # Period can be adjusted
time.sleep(40) # Period can be adjusted



@@ -73,6 +83,9 @@ def initialize(feature):
if feature == 'PHY':
phycra = launch_PHY()
sensors[feature] = phycra
if feature == 'RSS':
rss_authen = launch_RSS()
sensors[feature] = rss_authen
if feature == 'IDS':
ids = launch_IDS()
sensors[feature] = ids