Age | Commit message (Collapse) | Author |
|
Even if there is a single client, it may happen that the previous
lease has not yet expired and on the next occasion, the same IP
address is not available. It looks awkward for now, but it is
better to let addresses allocated from a pool instead to avoid
this problem.
|
|
There are certain `sysctl` tunables that can influence the
peformance of the solution, and as such, it is worth to make them
accessible for fine-tuning.
As part of this change, factor out the IPV6-related settings to
make it conditional on the actual configuration settings. Also,
adjust some of the default settings to reflect saner values.
Suggested by: Anton Saietskii <vsasjason@gmail.com>
|
|
There is actually no point in keeping those 2 rules as the default
action in `FORWARD` chain is `ACCEPT` anyways. Removing them helps
to save a few CPU cycles.
Submitted by: Anton Saietskii <vsasjason@gmail.com>
|
|
|
|
Ideally, Wifibox is meant to be used by a single client at a time,
so it makes no sense to lease more than one IP address. Change
the `udhcpd` configuration according to this principle.
|
|
|
|
|
|
The inclusion of `hostapd` [1] brings a lot of related changes
because the build process have to extended to take the challenge.
- Convert `wpa_passthru` to a more a generic services, called
`uds_passthru` to deal with the control socket forwarding.
It can also log the `socat` errors properly.
- Make the `Makefile` more parametric therefore the virtual disk
image can be customized better.
- Default configurations are now moved fully to the guest's side.
- Tweak the packages to be more flexible.
- Document everything.
[1] https://w1.fi/hostapd/
|