Skip to content

fermitools/ambient_cap_net_raw

Repository files navigation

ambient_cap_net_raw

Some tools require raw device/packet access. This is intended as a trivial wrapper for that.

This program must have the following capabilities to run properly: CAP_NET_RAW

A command to equip the binary with the right caps is:

 setcap cap_net_raw+p ambient_cap_net_raw

To get a shell with additional caps that can be inherited by other processes:

./ambient_cap_net_raw /bin/bash

Verifying that it works:

./ambient_cap_net_raw grep Cap /proc/self/status

About

A utility for running a program wih cap_net_raw enabled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published