ohrensessel
81022c95d1
Fix ebtables dhcpv6 rules
...
the ports were interchanged, see the following packet flow:
client:546 --> [ff02::1:2]:547
server:547 --> client:546
therefore we need to allow outgoing multicast packets with dst-port 547
and unicast packets from bat0 to clients with dst-port 546 and 547 in the other direction
2014-10-19 18:14:45 +02:00
Matthias Schiffer
4ef3bd3181
gluon-luci-admin: fix SSH keys being removed when a password is set
2014-10-03 00:50:54 +02:00
Matthias Schiffer
87a26fd8ae
gluon-luci-portconfig: expose advanced WAN configuration
2014-09-30 17:07:57 +02:00
Matthias Schiffer
0b2508c5aa
gluon-core: restructure WAN configuration
2014-09-30 17:07:53 +02:00
Nils Schneider
15230610a5
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-09-30 17:07:32 +02:00
Matthias Schiffer
d51da5ca71
gluon-mesh-vpn-fastd: use delete_all instead of foreach to delete the old peers
2014-09-30 17:06:51 +02:00
Nils Schneider
eb8f6c0d82
gluon-node-info: remove fixup-owner script
2014-09-30 16:55:26 +02:00
Nils Schneider
5887acc52d
mesh-vpn-fastd: enable from site.conf
...
This patch allows fastd's enabled flag's default value to be set from
site.conf.
2014-09-30 16:55:26 +02:00
Nils Schneider
4792f7d94d
gluon-announced: avoid spawning zombies
2014-09-30 16:55:26 +02:00
Matthias Schiffer
9dd38b734f
gluon-mesh-vpn-fastd: delete all old backbone peers on update
2014-09-30 16:55:26 +02:00
Matthias Schiffer
907057a36f
gluon-wan-dnsmasq: allow configuring static DNS servers
2014-09-30 16:55:26 +02:00
Jan-Philipp Litza
4bfa2d933b
gluon-announced: fix help message
...
It incorrectly stated "-m" to be the multicast group option, when it really was "-g"
2014-09-30 16:55:26 +02:00
Nils Schneider
07fc41ef5b
gluon-announced: do not strdup optarg
2014-09-30 16:55:26 +02:00
Nils Schneider
ccd0f86909
gluon-config-mode: mention reboot on button
...
Make it clear that saving settings will reboot the device.
2014-09-30 16:55:26 +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
Matthias Schiffer
90aca7be99
gluon-autoupdater: perform fallback updates hourly
2014-07-25 16:55:00 +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
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
93a61df6da
gluon-autoupdater: add version_file option to uci settings
2014-07-21 17:27:47 +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
52f54cf122
split announce.d into nodeinfo + statistics
2014-07-20 14:00:10 +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
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
Matthias Schiffer
e185458f9a
gluon-mesh-batman-adv: fix mesh config script
2014-07-14 18:23:56 +02:00
Matthias Schiffer
76a26d12a5
Move essential firewall rules from gluon-firewall to gluon-core and gluon-mesh-batman-adv
...
The now empty gluon-firewall is removed.
2014-07-14 17:53:41 +02:00
Matthias Schiffer
8cf8488210
Merge branch 'gluon-announced' of https://github.com/freifunk-gluon/packages
2014-07-14 16:52:10 +02:00
Matthias Schiffer
d69f170942
Merge branch 'mesh-announce-interfaces' of https://github.com/freifunk-gluon/packages
2014-07-14 16:50:54 +02:00
Nils Schneider
59a9663cd1
gluon-announced: send nodeinformation on request
...
This is a simple daemon that will respond to multicast UDP packets
containing the keyword "nodeinfo" with all the information we
currently distribute using alfred.
The daemon will listen on all mesh interface, that is the hard
interfaces batman-adv uses.
2014-07-14 16:50:26 +02:00
Nils Schneider
75f3046ec7
Merge pull request #35 from sargon/ath9k
...
gluon-ath9k-workaround: Announce how often the workaround has been trigg...
2014-07-13 09:13:30 +02:00
Nils Schneider
3a34b7052f
gluon-mesh-batman-adv: announce MAC of mesh ifaces
...
This will make a node announce all MACs of its interfaces participating
in the batman-adv mesh. This enables other nodes to associate the
announced object with both the data reported by batadv-vis as well as a
simple list of neighbours as output by `iw dev $IFACE station dump`.
2014-07-13 09:06:32 +02:00
Matthias Schiffer
c4ee0e650b
Add support for IPv6 mesh VPN connections
...
The support is still very limited (IPv6-only DNS on WAN doesn't work yet), and
we now need fastd running as root, but apart from that, is should work.
2014-07-11 16:57:28 +02:00
NeoRaider
f0681fdc0a
Merge pull request #36 from freifunk-gluon/gluon-announce
...
gluon-announce: detach announce.d from alfred
2014-07-11 14:45:40 +02:00
Nils Schneider
13f0308be1
gluon-announce: detach announce.d from alfred
...
All announce.d scripts have been moved to /lib/gluon/announce/announce.d
The script /lib/gluon/announce/announce.lua will collect all information
and output json.
2014-07-11 14:43:47 +02:00
Matthias Schiffer
916bbae68e
Split parts not Gluon-specific out of gluon-autoupdater
2014-07-11 14:06:42 +02:00
Matthias Schiffer
b78daa7fb7
Use nicer platform match
2014-07-11 12:11:47 +02:00
Matthias Schiffer
e1ce7718f8
gluon-core: add platform utility module
2014-07-11 11:36:53 +02:00