This isn't really needed for debugging. The default port number 22 is often
targeted for brute-force attacks. Dropbear on 16M memory isn't relly capable
of handling this.
This reverts commit 2083df18d1.
Sometimes the interfaces have shorter names, then batctl adds some
spaces just before the iface name. With cut we can get this right.
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This enables heartbeat (blinking depending on the load).
DIR300: The little triangle/circle led
wr741: The sun
wr1043: SYS
Fonera: Power (only on 2200; seems to be hard-wired on 2100)
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
- 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>