Commit graph

13 commits

Author SHA1 Message Date
Tim Niemeyer
b9ce647543 Batman: Disable BLAII as it's not needed on vpn setup
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-02-02 01:02:02 +01:00
Tim Niemeyer
0dd637d097 Revert "ssh reopened in firewall config for debugging purposes, should be closed again in stable release"
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.
2013-02-02 01:01:21 +01:00
Tim Niemeyer
a7e79f3adf Nodewatcher: fix out interface detection
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>
2012-12-16 11:47:41 +01:00
Bjoern Franke
2083df18d1 ssh reopened in firewall config for debugging purposes, should be closed again in stable release 2012-11-23 17:41:58 +01:00
Tim Niemeyer
3622ea8cb5 wan-firewall: fix and clean up
- 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>
2012-11-17 18:20:52 +01:00
Tim Niemeyer
ce90577b5d Nodewatcher was confused if link_quality was below 100
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>
2012-10-24 22:15:14 +02:00
Tim Niemeyer
16f1b7c8d4 Do not accept RAs and other stuff
Fixes #396

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2012-10-24 22:15:14 +02:00
Bjoern Franke
3cee096c6d fastd mtu fix from fff-branch 2012-10-24 08:32:50 +02:00
Tim Niemeyer
317e7bdfbe Little clean up on fastdstart.sh
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2012-10-20 23:46:23 +02:00
Tim Niemeyer
422634275c mtu problem fixed on fastd
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2012-10-13 01:40:05 +02:00
Tim Niemeyer
bf9c42a24c Statefull Inspektion for WAN Interface
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>
2012-09-30 11:26:11 +02:00
Tim Niemeyer
6cd4a52e15 update the default rc.local based on dir300
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2012-09-30 02:53:59 +02:00
Tim Niemeyer
b4d756cb91 New build_script structure.
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>
2012-09-29 18:58:44 +02:00