Commit graph

69 commits

Author SHA1 Message Date
Marc René Schädler
a70fdddb57 Add json report generator script "report.sh" 2013-11-14 20:56:54 +01:00
Marc René Schädler
4e98822cd6 Add functions to set info needed for libremap and some more to "admin.sh" 2013-11-14 20:50:42 +01:00
marc René Schädler
e55b2a7533 Add "admin.sh", a tool for easy administration tasks 2013-11-14 20:30:28 +01:00
marc René Schädler
b44caefc96 Run statistics (for now only traffic) calculation with "statistics.sh" via crontab every 5 minutes 2013-11-14 20:26:46 +01:00
Tim Niemeyer
dc66cf862a statistics.sh: remove unused function
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-11-14 20:24:34 +01:00
marc René Schädler
325690c0cd Add "statistics.sh", a script that calculates temporal derivatives 2013-11-14 20:24:11 +01:00
marc René Schädler
a6d1e32948 Add "cache.sh", a script that caches a programs output 2013-11-14 19:42:04 +01:00
marc René Schädler
3f2a6e9f94 Add "serve.sh", a script to serve another script's output via netcat 2013-11-14 19:36:36 +01:00
Clemens John
d55b034e4a Remove tincstart.sh because we do not use tinc anymore
Signed-off-by: Clemens John <clemens-john@gmx.de>
2013-11-09 00:13:29 +01:00
Clemens John
26d8485da6 Add fastd version to nodewatcher
Signed-off-by: Clemens John <clemens-john@gmx.de>
2013-11-09 00:11:00 +01:00
Jan-Tarek Butt
f6fe4f81c5 Einrückungen Korrigiert
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
2013-10-30 23:03:17 +01:00
Jan-Tarek Butt
8468b4c130 Einrückungen Korigiert
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
2013-10-30 23:03:11 +01:00
Tim Niemeyer
4da35ed062 wlanwatchdog: fix NUMBER lookup for brctrl
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-29 21:21:11 +01:00
marc René Schädler
0409076991 Add minimum quality/max age thresholds to originatos and clients in "wlanwatchdog.sh" 2013-10-28 19:49:32 +01:00
Tim Niemeyer
49bf540db4 firewall.user: Filter ssh brute force attacks
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-27 13:10:56 +01:00
Clemens John
e05a70e826 Fastd v10 doesnt know the option syslog-level anymore. Logging needs to be configured in the fastd config file.
Signed-off-by: Clemens John <clemens-john@gmx.de>
2013-10-27 02:18:27 +02:00
Jan-Tarek Butt
b59b5c945d Einrückungen Korrigiert
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
2013-10-27 01:21:56 +02:00
Tim Niemeyer
f7f46092c4 fastdstart.sh: deferrer start and always send mac
The deferred start ensures, that the mac dosn't change anymore.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-20 20:08:13 +02:00
Clemens John
ad7f5d2a02 Nodewatcher: add information about batman adv. gateway mode and gateway list to xml
Signed-off-by: Clemens John <clemens-john@gmx.de>
2013-10-18 17:01:39 +02:00
Jan-Tarek Butt
f334acd23b Enfernen von Leerzeichen
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-05 21:25:26 +02:00
Jan-Tarek Butt
22995c940f Entfernen von überflüssigen Leerzeichen
Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-05 21:12:33 +02:00
Tim Niemeyer
6893bf00fb bsp/default/fastdstart.sh.tpl: remove garbage
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-04 22:40:58 +02:00
Clemens John
5fae48753c configurator: Check if hostname is valid RFC 1123
(check length of labels, check the whole length
and allow . and - where allowed

Signed-off-by: Clemens John <clemens-john@gmx.de>

Rebased: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-10-03 22:25:20 +02:00
Clemens John
18b82b58a8 Prevent configurator from setting unwanted or malformed hostnames 2013-09-19 15:45:54 +00:00
Tim Niemeyer
8329a1fbfd buildscript: support community files with templates
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:16:31 +02:00
Tim Niemeyer
fe192d9a21 wlanwatchdog: do not use fixed addr for the gateway
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
360bdb2d28 wlanwatchdog: fix confusing batman message
If there is no batman originator the kernel reports "No batman nodes in range"
which was counted as one originator.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
844b16ea98 wlanwatchdog: do not find local macs as clients
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-14 00:11:17 +02:00
Tim Niemeyer
2dd397b0f1 Preserve /etc/shadow to save password over reflash
With this change, the sysupgrade should be run without -n flag.
But only if this code runs already on the device.

Signed-off-by: Tim Niemeyer <tim@fipux.org>
2013-09-14 00:11:17 +02:00
Marc René Schädler
c306813c26 add execution of environment variables script to rc.local 2013-09-09 11:07:16 +00:00
Marc René Schädler
212bdd41a1 add environment variables script
Use faststart.sh for get_vpn_interface
-- Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-09 11:07:09 +00:00
Marc René Schädler
6061b7a38e add wlanwatchdog script
Use *) as unknown STATE, fixes Startup delay
-- Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-09-09 11:07:00 +00:00
Clemens John
dda1cba333 Add an option for the ip version so that netmon does not need to guess 2013-08-04 17:31:04 +00:00
Clemens John
370d9f69d9 Add option for interface name so netmon does not need to add a dummy interface like configurator_ipv6 2013-08-04 17:02:45 +00:00
Clemens John
8f58079510 No code changes, just formatting. Replace whitespaces with tabs to indent 2013-08-04 16:58:53 +00:00
Clemens John
18111568fb Remove code duplicates and move adding of ipv6 addr to better place in script. 2013-08-04 16:56:08 +00:00
Clemens John
1dfb536728 Do not use bind option because it causes problems on some hosts and was not used before 2013-07-19 20:23:42 +00:00
Tim Niemeyer
734b8b23d2 fastdstart.sh: do not use the owrt init skript
The init skript is the wrong place to start this vpn daemon as it
needs wan connection first.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-07-13 23:11:57 +00:00
Clemens John
5bcc7c65db Try to add ipv6 adress also if the router is already assigned (if there went something wrong the first time). Add option for specififing the netask of an ip addres and remove the netmask from the end of the ip address 2013-07-13 11:12:24 +00:00
Clemens John
f592a8ae09 Store api key of router owner to be able to use netmons new REST API 2013-05-04 00:25:03 +02:00
Tim Niemeyer
66d46b1860 Nodwatcher: read also unknown interfaces
Fixes #501

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-04-01 17:57:18 +02:00
Tim Niemeyer
dcee86e97c All: Disable 802.11b wifi
The new ODFM modulation is much better and the old one isn't really
used these days.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-04-01 16:29:16 +02:00
Tim Niemeyer
00d1d2c987 add an ipv6 host to fastdstart to detect connectivity
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 01:22:37 +01:00
Tim Niemeyer
118d7d8236 Enable IPv6 RA's on WAN Port
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 01:21:26 +01:00
Tim Niemeyer
192dd3765c Change BATMAN ethernet ports
BATMAN couldn't handle devices with the same MAC, so this uses the internal
switch to bridge the ports. It also changes the MAC to a localy unique
address.

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-03-30 00:10:52 +01:00
Bjoern Franke
313ef61f10 shortened L in FFOL-banner 2013-03-17 20:01:14 +01:00
Bjoern Franke
0dd9c6076a remove ath9k-watchdog, backport ath9k-patches from openwrt r35786, should fix many dDMA issues 2013-02-27 19:28:07 +01:00
Bjoern Franke
055ab542a2 forgot to add watchdog in last commit 2013-02-24 09:36:43 +01:00
Tim Niemeyer
d6d2fdb773 All: add ethernet ports to batman
This should fix #469

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-02-16 16:00:06 +01:00
Tim Niemeyer
c2c758d573 Fastdstart: replace fff with $project
This fixes #460

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2013-02-04 18:46:45 +01:00