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

Mesh com 1.5 #296

Closed
wants to merge 199 commits into from
Closed

Mesh com 1.5 #296

wants to merge 199 commits into from

Conversation

martin-tii
Copy link
Collaborator

last updates on MS 1.5 to develop

mandreoni and others added 30 commits May 23, 2022 18:04
Mutual authentication as example
main.py cosmetic changes
mesh.py cosmetic changes
mutual.py adding interface to __init__
wifi_ssrc.py is having False when dealing with subprocess. Killall and scan wifi is having interface as parameter
MBA
added function get_mac_mesh to mesh_utils.py
added mesh_utils to mesh.py
added quarantine.py
added traffic_block.sh
Main file - ca_main.py to cal client and server.
Server and client functionalities are grouped
under initiate_server and initiate_client functions.
added custom conf file
…s with synchronized Processes/Threads

Signed-off-by: Suhail-SSRC <[email protected]>
* client.py and server.py --> backoff commented
* conf-11s-mesh.sh --> line 10 and 11 (update-rc.d) commented
* mutual.py -> auth path was updated, ID now is the ID of the node (before was IP)
* ness_main.py -> returning a dictionary of results in run function
* new_main.py -> removed get_neighbors function. Added fail and unknown cases in update_table function.
* provServer.py -> update path of auth folder
* quarantine.py -> added unblock function
* traffic_block.sh -> added unblock function
* utils.py -> update path of auth folder
* client.py -> added dictionary to get all the results
* new_main.py -> getting the majority of outputs (pass/fail)
* server.py -> reducing the number to only 3 verification
* ness_main.py --> added mapping and remapping function to convert nodeID to index. Improved adapt_table function to pass the index instead of nodeID.
* new_main.py --> IP is passing when malicious node is detected (line 194) instead of MAC. mapp is received for the adapt_table function on ness
* quarantine.py --> now blocking in done on this file. Also, iptables are saved on this file
* client.py --> replace while to avoid brake, uncomment connection closed
* mutual.py --> added async keyword to make it async function
* new_main.py --> running MA as async function, write debugs methods, update table function with current CA output,
* server.py --> output == 1 if pass, working with thread.lock()
* traffic_block.sh was removed from files
* ca_main.py --> added try except to avoid multiple executions in parallel of the server
* client.py --> added exception to avoid program crashing when server close connection
* funsocket.py --> added port 7777 as execution (for MA)
* ness_main.py --> create adapt_table function for running to save the status after the first execution
* new_main.py --> added sec_beat function and cleaning the main function
* server.py --> space removed
@DamienDeMayaTII
Copy link
Contributor

@martin-tii, should this be merged and pushed for another approver or canceled?

@martin-tii martin-tii closed this Sep 15, 2023
@martin-tii
Copy link
Collaborator Author

new changes will be done on this code, so this PR is not necessary

@martin-tii martin-tii deleted the mesh_com_1.5 branch September 15, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants