- use -A (append) instead of -I (insert)
This makes shure the rule order is correct. This fixes#421.
- use uci to determine the correct wan interface
This is the reason, why #421 was only on wr1043. Now the firewall rule
applies to all router.
- remove old and not used rules
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
When the link_quality is below below 100 there is a little whitespace
between the value an the bracket like ( 99). This confused the awk
skript and is fixed by filtering all brackets.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This should fix#411 as CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS is
need for correct pw changes.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
On a router wich is directly connected to the internet, there is lot of traffix
on the WAN port. E.g. ssh bruteforces. That's like a DOS for a small device.
This fixes#395
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
The new build_script uses a bsp-style interface. Now it's possible
to work on more than one board at the same time. Just select the
selected_bsp with the build_script and start over.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>