Skip to main content

Python module to analyze devices connected to the router and alert accordingly.

Project description

NetSec (Network Security)

NetSec is a tool to analyze devices connecting to the router and alert accordingly when a new device is connected.

This app can display and store intruders' IP address, MAC address, and Block the device.

Blocking device feature is currently available only for Netgear router users.

from netsec import network_monitor, SupportedModules

if __name__ == '__main__':
    # SupportedModules.att  # for AT&T users
    # SupportedModules.netgear  # for any network using Netgear router
    network_monitor(module=SupportedModules.att, init=True)  # Create snapshot
    network_monitor(module=SupportedModules.att, init=False)  # Scan for threats and alert

Notifications will not repeat within an hour.

Coding Standards

Docstring format: Google
Styling conventions: PEP 8
Clean code with pre-commit hooks: flake8 and isort

Release Notes

Requirement

python -m pip install changelog-generator

Usage

changelog reverse -f release_notes.rst -t 'Release Notes'

Linting

PreCommit will ensure linting, and the doc creation are run on every commit.

Requirement

pip install sphinx==5.1.1 pre-commit recommonmark

Usage

pre-commit run --all-files

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/NetSec/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

NetSec-0.0.0b0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file NetSec-0.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: NetSec-0.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for NetSec-0.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e39f358cfc57674e6b7854bdd3215def983defc8c3b1aa2ad296136539ccf145
MD5 0d76e05caf080157d56602d535a62632
BLAKE2b-256 6dc7e09554fd348e3ff4ff3f065a12a77e1b2376e0e74cd9f6b7dc46c5b0b463

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page