GithubHelp home page GithubHelp logo

netcage's Introduction


NetCage: User-Level Network Access Controller

TODO:

  • Add a --verbose option
  • Track all child processes
  • Support IPv6
  • Support more network system calls
  • Support add rule in arguments
  • Support non-standard IPV6 address
  • Support Listening
  • Support domain names
  • Support port filter
  • Support wildcard

Version: 1.1.0
License: MIT


Description

NetCage is a user-level network access control tool designed to provide network access restrictions for processes, particularly in environments where you don't have root access or are in incompatible containers. Unlike traditional methods such as iptables or firewalls, NetCage offers an alternative approach through Ptrace to ensure your processes remain within defined network parameters.


Features

  • User-level Control: No root access required.
  • Container-friendly: Works seamlessly in a variety of container environments.
  • Lightweight: Minimal resource overhead.
  • Custom Rules: Define specific network access rules per process.

Build

git clone https://github.com/YourUsername/NetGuardian.git
cd NetGuardian
cargo build

Usage

  1. Basic Usage:

    netcage -p [PROFILE] [COMMAND]

For more detailed usage instructions, please refer to the User Guide.


Contributing

We welcome contributions! Please check out our CONTRIBUTING.md for guidelines.


Support & Feedback

For support or to provide feedback, please raise an issue on our GitHub repository.


License

NetCage is released under the MIT License.


Acknowledgments

Special thanks to the community and everyone who contributed to making this project possible.


Changelog

  • 1.1.0: Added support for IPv6 and tracking child processes.

  • 1.0.0: Initial release.

For a detailed changelog, refer to the CHANGELOG.md.


netcage's People

Contributors

calvinchai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.