Nils Schneider
4376ccfc89
gluon-announced: do not strdup optarg
2014-08-04 20:41:00 +02:00
Nils Schneider
52e2b9e159
Merge pull request #53 from freifunk-gluon/fastd-key-generate
...
config-mode, mesh-vpn: refactor key generation
2014-08-04 20:32:03 +02:00
Nils Schneider
74b7d01de6
Merge pull request #54 from freifunk-gluon/minimize
...
Image size improvements
2014-08-04 20:31:54 +02:00
Matthias Schiffer
b731fe1693
gluon-simple-tc: replace tc with own implementation to reduce size
2014-08-04 20:08:40 +02:00
Matthias Schiffer
54ce71d327
gluon-radvd: implement own radvd to reduce size
2014-08-04 20:08:40 +02:00
Matthias Schiffer
9c142642e0
Remove outdated IP dependencies
2014-08-04 20:08:40 +02:00
Matthias Schiffer
30e8c0e6bb
gluon-mesh-batman-adv: don't parse ip output for nodeinfo
2014-08-04 20:08:40 +02:00
Matthias Schiffer
99d517e403
gluon-mesh-batman-adv: use lua-ethtool-stats instead of ethtool
2014-08-04 20:08:40 +02:00
Matthias Schiffer
d8b1e11924
Add new package lua-ethtool-stats containing a minimal interface to replace ethtool -S
2014-08-04 20:08:33 +02:00
Nils Schneider
3b008e480b
Merge pull request #55 from freifunk-gluon/libpacketmark
...
Libpacketmark
2014-08-04 19:38:06 +02:00
Matthias Schiffer
8a0f252819
gluon-wan-dnsmasq: use libpacketmark
2014-08-03 11:07:28 +02:00
Matthias Schiffer
59ba39ae96
Add new package libpacketmark, a LD_PRELOAD library to manipulate packet marks
2014-08-03 11:07:24 +02:00
Matthias Schiffer
167e7d5a1c
gluon-mesh-batman-adv: fix network.mesh_inferfaces announce field with new netifd
2014-07-28 16:29:20 +02:00
Nils Schneider
807a34639b
config-mode, mesh-vpn: refactor key generation
...
Previously, the config-mode was responsible for generating the fastd
secret. This patch sets the default secret to "generate" causing a
secret to be generated on its first use (e.g. show_key or start).
This also changes the info page (in Expert Mode) to show "n/a" when the
public key is not yet available.
2014-07-27 16:22:40 +02:00
Matthias Schiffer
6296d7631d
lua-platform-info: fix section and category in Makefile
2014-07-27 11:33:29 +02:00
Nils Schneider
5baf5cdd49
Merge pull request #52 from freifunk-gluon/autoupdater-fixes
...
Autoupdater fixes
2014-07-25 17:18:55 +02:00
Matthias Schiffer
90aca7be99
gluon-autoupdater: perform fallback updates hourly
2014-07-25 16:55:00 +02:00
Matthias Schiffer
a54d13eb31
autoupdater: rename oneshot updates to fallback, improve handling for frequent runs
...
The oneshot update now won't be considered until 24h after the priority delay
has passed (so regular updates should have at least one chance to do the updates
even for PRIORITY=0 updates)
2014-07-25 16:54:53 +02:00
Matthias Schiffer
ea3d8703b4
autoupdater: all fallback for situations with no valid time available
2014-07-22 01:55:48 +02:00
Matthias Schiffer
514f46bfe0
autoupdater: add new fields to the sample manifest
2014-07-21 17:35:22 +02:00
Matthias Schiffer
5a11c5f629
gluon-autoupdater: unconditionally perform an update 5 minutes after boot when the whole PRIORITY delay has passed
2014-07-21 17:27:47 +02:00
Matthias Schiffer
632cfb127d
gluon-autoupdater: add locking to ensure no two instances of the autoupdater run in parallel
2014-07-21 17:27:47 +02:00
Matthias Schiffer
7b9b3058de
autoupdater: add -o (oneshot) switch
...
This switch is used for the fallback mode which ensures that updates are
performed even when a node is off when updates are usually done.
2014-07-21 17:27:47 +02:00
Matthias Schiffer
253ce7e8f2
gluon-autoupdater: adjust for new updater logic
...
The probability field is removed, updates are performed once per night between
04:00 and 05:00.
2014-07-21 17:27:47 +02:00
Matthias Schiffer
aae7bf92ed
autoupdater: implement new probablity logic
2014-07-21 17:27:47 +02:00
Matthias Schiffer
12fa328bca
autoupdater: add a utility function to parse RFC3339 timestamps
2014-07-21 17:27:47 +02:00
Matthias Schiffer
dc73c75810
autoupdater: convert to Lua
...
In addition, a new config field 'version_file' is added to remove the last
Gluon-specific part from the autoupdater package.
2014-07-21 17:27:47 +02:00
Matthias Schiffer
93a61df6da
gluon-autoupdater: add version_file option to uci settings
2014-07-21 17:27:47 +02:00
Nils Schneider
05bc59f319
ecdsautils: update to v0.3.2
2014-07-21 14:52:01 +02:00
Nils Schneider
a3ee6eef28
Merge pull request #46 from lcb01a/master
...
Fixed bug which led to empty ath9k-workaround crontab file
2014-07-20 18:29:44 +02:00
Cyrus
ef40aa28e8
Fixed bug which led to empty ath9k crontab file
...
The crontab file was opened in write mode but in the case where no monitor is defined it would leave an empty file.
2014-07-20 16:30:36 +02:00
Nils Schneider
b469347770
Merge pull request #44 from freifunk-gluon/announce-split
...
split announce.d into nodeinfo + statistics
2014-07-20 14:00:55 +02:00
Nils Schneider
52f54cf122
split announce.d into nodeinfo + statistics
2014-07-20 14:00:10 +02:00
Nils Schneider
da89130c76
Merge pull request #42 from freifunk-gluon/node-id
...
gluon-core: add unique node_id
2014-07-20 13:59:09 +02:00
Nils Schneider
c46ca793d0
gluon-core: add unique node_id
...
This adds a `node_id` to announce.d. `node_id` is an hex-number uniquely
identifying a particular node. On nodes having a
primary MAC this MAC address will be used as `node_id` (sans the
colons). The value is opaque. It must not be converted back into
a MAC address.
`node_id` should be sent in all alfred and announced packets to
ensure clients can link the data to a particular node.
2014-07-20 11:24:47 +02:00
Matthias Schiffer
34f7618785
gluon-luci-admin: add an info page
2014-07-20 08:12:48 +02:00
Matthias Schiffer
f37f1f1ac2
gluon-luci-theme: remove top padding cbi-field-title
...
This allows to use cbi-field to format plain text instead of form fields.
2014-07-20 08:12:48 +02:00
Matthias Schiffer
09909cac25
gluon-core: remove now unused dnsmasq.d support
2014-07-20 04:04:27 +02:00
Matthias Schiffer
5af1e58f08
gluon-mesh-vpn-fastd: use gluon-wan-dnsmasq
2014-07-20 04:03:43 +02:00
Matthias Schiffer
4052bccaa3
Add new package gluon-wan-dnsmasq
...
This package provides a secondary dnsmasq instance on port 54 which resolves
everything over the WAN interface.
2014-07-20 03:25:22 +02:00
Matthias Schiffer
07056250c3
Explicitly set the WAN MAC address on all models where WAN is a VLAN device
...
Also move it to gluon-mesh-batman-adv, as mesh_on_wan is the only feature that
needs a unique MAC address on the WAN interface.
2014-07-19 18:40:12 +02:00
Matthias Schiffer
d42b7247c3
gluon-simple-tc: add site validator
2014-07-16 17:31:40 +02:00
Matthias Schiffer
bd4e26f12f
gluon-simple-tc: change type of the enabled option in the site config to boolean
2014-07-16 16:56:15 +02:00
Matthias Schiffer
d4207d423e
gluon-mesh-batman-adv: validate mesh_on_wan option
2014-07-16 16:44:33 +02:00
Nils Schneider
1a14b2eff3
Merge pull request #27 from freifunk-gluon/batman-on-wan
...
gluon-batman-on-wan + gluon-luci-portconfig
2014-07-16 16:30:36 +02:00
Nils Schneider
1e79e9e0ac
gluon-batman-on-wan + gluon-luci-portconfig
2014-07-16 16:11:31 +02:00
ohrensessel
9aeed60fcc
gluon-ath9k-workaround: fix path of announce.d directory
2014-07-15 19:06:26 +02:00
Matthias Schiffer
d8054d8672
autoupdater: try URL ${BRANCH}.manifest before manifest
...
This will allow storing different manifests for multiple branches in a single
directory.
2014-07-14 23:12:44 +02:00
Matthias Schiffer
4bebca140d
gluon-luci-admin: support disabling password login again
2014-07-14 22:09:43 +02:00
Matthias Schiffer
5284b805dd
gluon-luci-admin: allow removing all SSH keys
2014-07-14 18:56:49 +02:00