Provides a way for usercode to bind to priviledged ports via a daemon
License
spc476/ipacld
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
IP ACL Daemon. This daemon reads the configuration file (defaults to ipacl.conf in the current working directory; you can specify a configuration file on the command line) specifying which users can bind to which IP (or IPv6) ports. It then listens for datagrams on /dev/ipacl. When it receives one, it checks the credentials of the sending process, and if allowed, will create and bind to the requested IP port and send it to the requesting process. Known limitations at this point: * only IP and IPv6 addresses allowed. * the existing Lua bindings are still pretty raw * only Lua 5.1 is supported * only runs in the foreground (but there's a reason for this) This is more of a proof-of-concept at this stage, but it works, and I'm surprised that nothing like this hasn't already been written. What an odd omission. You'll need to install the Conman Lua packages, available at https://github.com/spc476/lua-conmanorg Anyway, check ipacl.lua to see how this work.
About
Provides a way for usercode to bind to priviledged ports via a daemon
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published