2017-09-05 15:37:58 -04:00
|
|
|
### Smallnet
|
|
|
|
|
|
|
|
A very simple UI for managing a small /24 network. More info at this [blog post][ateijelo-smallnet]
|
|
|
|
|
|
|
|
#### Sendhup
|
|
|
|
|
|
|
|
For security reasons Smallnet delegates the task of reloading the configuration of *freeradius* and *dnsmasq* to a small setuid binary.
|
|
|
|
|
|
|
|
To compile it, run:
|
|
|
|
|
2017-09-05 15:39:54 -04:00
|
|
|
~~~bash
|
|
|
|
g++ -o sendhup sendhup.cpp
|
2017-09-05 15:37:58 -04:00
|
|
|
~~~
|
|
|
|
|
|
|
|
And make it owned by root and setuid like this:
|
|
|
|
|
2017-09-05 15:39:54 -04:00
|
|
|
~~~bash
|
2017-09-05 15:37:58 -04:00
|
|
|
sudo chown root: sendhup
|
|
|
|
sudo chmod 4755 sendhup
|
|
|
|
~~~
|
|
|
|
|
|
|
|
[ateijelo-smallnet]: http://www.ateijelo.com/blog/2016/09/29/smallnet
|