Commit Graph

375 Commits

Author SHA1 Message Date
Nils Schneider
d2d3a7b628 gluon-batman-on-wan + gluon-luci-portconfig 2014-07-16 16:11:31 +02:00
ohrensessel
a25a56c0e8 gluon-ath9k-workaround: fix path of announce.d directory 2014-07-15 19:06:26 +02:00
Matthias Schiffer
baebeee98f gluon-luci-admin: support disabling password login again 2014-07-14 22:09:43 +02:00
Matthias Schiffer
e5999b3f44 gluon-luci-admin: allow removing all SSH keys 2014-07-14 18:56:49 +02:00
Matthias Schiffer
74d29bcdc9 gluon-mesh-batman-adv: fix mesh config script 2014-07-14 18:23:56 +02:00
Matthias Schiffer
16060d25d5 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
efe81b1c1c Merge branch 'gluon-announced' of https://github.com/freifunk-gluon/packages 2014-07-14 16:52:10 +02:00
Matthias Schiffer
a64483a3fc Merge branch 'mesh-announce-interfaces' of https://github.com/freifunk-gluon/packages 2014-07-14 16:50:54 +02:00
Nils Schneider
09e1de7dde 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
b2a55f29d4 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
ae4c130c74 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
eae6c25de6 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
0312167fcd 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
318e9d1a1d 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
4d80b7a62d Split parts not Gluon-specific out of gluon-autoupdater 2014-07-11 14:06:42 +02:00
Matthias Schiffer
58ced87261 Use nicer platform match 2014-07-11 12:11:47 +02:00
Matthias Schiffer
6f1777b072 gluon-core: add platform utility module 2014-07-11 11:36:53 +02:00
Matthias Schiffer
1a52c6bdf2 gluon-core: remove sysconfig.sh 2014-07-10 23:45:03 +02:00
Matthias Schiffer
f73d727ae6 Remove all remaining uses of sysconfig.sh 2014-07-10 23:44:06 +02:00
Matthias Schiffer
7773afdc18 gluon-core: remove model.sh and model.lua 2014-07-10 17:57:31 +02:00
Matthias Schiffer
9c53b705d5 Remove all uses of gluon.model and model.sh 2014-07-10 17:57:31 +02:00
Matthias Schiffer
9a892e7948 gluon-alfred: use lua-platform-info 2014-07-10 17:57:31 +02:00
Nils Schneider
7dd8d3ee1e gluon-luci-admin: fix wording 2014-07-08 21:52:11 +02:00
Daniel Ehlers
941e398572 gluon-ath9k-workaround: Announce how often the workaround has been triggered. 2014-07-08 12:40:04 +02:00
Nils Schneider
011e68e5cc Merge pull request #34 from sargon/ath9k
gluon-ath9k-workaround: Workaround for the ath9k wifi bug.
2014-07-08 12:13:16 +02:00
Daniel Ehlers
bb699204ca gluon-ath9k-workaround: bug reporting support
If the `monitor` attribute in the site.conf is defined, the cron
script is modifed to send debug informations, generated on bug
detection, to given remote host and port,
e.g.: "fda1:384a:74de:4242::2 8090"
2014-07-08 01:51:09 +02:00
Daniel Ehlers
49febb43e7 gluon-ath9k-workaround: Workaround for the ath9k wifi bug.
Cron script which restarts wifi iff queues are marked stopped.
This script also outputs some debug information to nail
down the problem.
2014-07-07 22:53:52 +02:00
Matthias Schiffer
81dc4f44e2 gluon-core: remove now unused sysctl.sh 2014-07-07 22:23:56 +02:00
Matthias Schiffer
f82850fc37 gluon-mesh-batman-adv: convert mesh config upgrade script to Lua 2014-07-07 22:22:48 +02:00
Matthias Schiffer
3dddafea21 gluon-core: convert network config script to lua 2014-07-07 21:58:08 +02:00
Matthias Schiffer
0fd7ac1768 gluon-core: add and use a sysctl Lua module 2014-07-07 21:57:37 +02:00
Matthias Schiffer
1c0429ce8f gluon-core: extend user management library and convert it to Lua 2014-07-07 21:48:35 +02:00
Matthias Schiffer
f93e9b818f Split gluon-setup-mode package out of gluon-config-mode
gluon-config-mode retains the luci frontend, all setup scripts and config is
moved to the new package.
2014-07-05 20:11:41 +02:00
Matthias Schiffer
2ec02a41c2 gluon-core: add functions to unset sysconfig settings 2014-07-05 19:39:24 +02:00
Matthias Schiffer
f6a51c63e4 gluon-firewall: reject DNS queries from br-client (they should be accepted on local-node only) 2014-07-05 16:01:20 +02:00
Matthias Schiffer
ffd86668fe Validate site.conf 2014-07-05 02:48:56 +02:00
Matthias Schiffer
626056e625 gluon-legacy: fix order of version_files and old_files handling 2014-07-05 01:12:04 +02:00
Matthias Schiffer
10519660ea gluon-luci-admin: change text "Expertmode" to "Expert Mode" 2014-07-02 16:24:08 +02:00
ohrensessel
b7b374bd56 Improve explanation of the Mesh-VPN 2014-07-01 23:29:36 +02:00
Julian Kornberger
e5b2978a48 ubiquity-bullet-m does also work with picostation
Closes #31
2014-06-29 10:12:22 +02:00
Matthias Schiffer
040a68ee65 gluon-alfred: some announce.lua cleanup 2014-06-26 17:57:15 +02:00
Nils Schneider
8600a2f288 gluon-config-mode: down/upstream is kbit/s
The bandwidth limit input fields were missing a unit confusing users as to which value should be entered. It's kbit/s for both.
2014-06-17 19:33:58 +02:00
Matthias Schiffer
5d3ce91f75 gluon-status-page: fix neighbor view with current iw/mac80211
The whole status page should be rewritten ASAP, but this fix will at least
make it work again for now...
2014-06-15 13:22:39 +02:00
Matthias Schiffer
14ea7980f6 gluon-firewall: enable conntrack on WAN
Otherwise, the state match doesn't work, not allowing replies to outgoing
packets to get in.
2014-06-13 21:56:32 +02:00
Nils Schneider
d3d22a17d1 gluon-alfred: use gzip 2014-06-10 19:20:55 +02:00
Matthias Schiffer
bc54f80dfd gluon-alfred: reduce usage of util.exec, improve table formatting 2014-06-10 15:44:35 +02:00
Matthias Schiffer
ea7774c0b6 gluon-alfred: add fields idletime, memory and processes to statistics 2014-06-09 19:50:25 +02:00
Matthias Schiffer
7a3e8d1632 gluon-mesh-batman-adv: add batman-adv version information to alfred 2014-06-09 19:29:13 +02:00
Matthias Schiffer
48ea4b711f gluon-alfred: split announce.lua into several files and move parts into the appropriate packages
This also fixes the type of a few fields which were strings instead of numbers.
2014-06-09 19:23:16 +02:00
Matthias Schiffer
e317bdc230 gluon-core: add gluon.model lua module 2014-06-09 17:56:29 +02:00
ohrensessel
b89a0162eb Allow sysconfig variable to be used on reboot page 2014-06-07 13:43:31 +02:00
Matthias Schiffer
68149f25fd Add gluon-firewall package to mitigate open resolver issue
Original patch by Daniel Ehlers <danielehlers@mindeye.net>
2014-06-06 12:59:32 +02:00
Daniel Ehlers
aba0a3bc0c gluon-mesh-batman-adv: Do not ACCEPT incoming packets.
For security reasons we should not accept incoming packets per default
and instead allow specific services on specific interfaces.
2014-06-06 11:36:03 +02:00
Matthias Schiffer
acd60a22b1 gluon-config: add /lib/gluon/release
/lib/gluon/release had been lost during the conversion to the new site config
format.
2014-05-19 00:09:14 +02:00
Matthias Schiffer
5c121c1608 gluon-config-mode: allow using templates for texts again 2014-05-17 13:43:08 +02:00
Matthias Schiffer
a3ed0dde1f gluon-autoupdater: replace config script generator with Lua script 2014-05-17 13:43:08 +02:00
Matthias Schiffer
4d9df6d253 gluon-mesh-vpn-fastd: replace config script generator with Lua script 2014-05-17 13:43:08 +02:00
Matthias Schiffer
156813b34f gluon-simple-tc: replace config script generator with Lua script 2014-05-17 13:43:08 +02:00
Matthias Schiffer
ee307ec1de gluon-core: make Lua files proper modules 2014-05-17 13:43:08 +02:00
Matthias Schiffer
bf7a2c974e gluon-legacy: don't use generated scripts anymore 2014-05-17 13:43:02 +02:00
Matthias Schiffer
9367c1ffe7 gluon-next-node: convert pregenerated ebtables rules to Lua code 2014-05-14 15:08:43 +02:00
Matthias Schiffer
0953c9befb gluon-ebtables: use Lua instead of sh for the rule DSL to increase flexibility 2014-05-14 15:02:57 +02:00
Matthias Schiffer
ee829e8c90 gluon-radvd: replace pregenerated config file with Lua script 2014-05-14 14:30:13 +02:00
Matthias Schiffer
41dbaed19e gluon-config-mode: fix reboot.htm validity 2014-05-14 13:48:47 +02:00
Matthias Schiffer
24ac1dc1bc gluon-config-mode: convert templates to use the new site config 2014-05-14 13:23:15 +02:00
Matthias Schiffer
c33a434884 gluon-next-node: convert upgrade script to Lua 2014-05-14 12:31:16 +02:00
Matthias Schiffer
a6f87d2461 gluon-mesh-batman-adv: convert generated upgrade scripts to Lua 2014-05-14 11:55:06 +02:00
Matthias Schiffer
b95a4d67e8 gluon-core: convert generated upgrade scripts to Lua 2014-05-14 11:06:07 +02:00
Matthias Schiffer
d31ea9eba9 gluon-core: add site_config loader script 2014-05-14 08:00:54 +02:00
Matthias Schiffer
17b9514e38 Add gluon-config package containing the site config 2014-05-13 20:09:28 +02:00
Matthias Schiffer
25b8446a05 Fix gluon-legacy depends 2014-05-11 10:03:25 +02:00
NeoRaider
45189d1066 Merge pull request #23 from sargon/autoupdate-enforce
gluon-autoupdater: Always allow forced autoupdate.
2014-04-01 19:32:40 +02:00
Daniel Ehlers
b3d2d8cd32 gluon-autoupdater: Always allow forced autoupdate.
On nodes with autoupdate disabled the cmdline parameter '-f' has no
effect. But using the autoupdater for manual updates is quite handy.
2014-03-19 21:02:21 +01:00
Jan-Philipp Litza
579f521822 gluon-autoupdater: update manifest.sample 2014-03-19 18:14:48 +01:00
Matthias Schiffer
80797fb6d9 gluon-node-info: add script to fix owner section after a run of a broken config mode 2014-03-17 14:53:29 +01:00
Matthias Schiffer
99e74b1004 gluon-config-mode: fix unsetting of the contact info 2014-03-17 14:41:03 +01:00
Nils Schneider
c7d96917d0 gluon-luci-autoupdater: remove branch settings 2014-03-14 16:02:32 +01:00
Matthias Schiffer
13d632acb8 gluon-autoupdater: fix version comparison 2014-03-11 20:32:58 +01:00
Nils Schneider
c8c9d72df9 Merge pull request #21 from freifunk-gluon/alfred-lua
gluon-alfred: replace announce.sh with lua script
2014-03-03 22:23:10 +01:00
Matthias Schiffer
6e2b5a19b3 gluon-radvd: run on br-client to provide that interface with an address 2014-03-03 20:07:58 +01:00
Nils Schneider
69387322a7 gluon-node-info: remove 010-migrate-location 2014-03-02 20:24:27 +01:00
Nils Schneider
020169f292 gluon-config-mode: fix coordinates when disabled 2014-03-02 19:28:59 +01:00
Nils Schneider
59a28c6721 gluon-config-mode: allow contact field to be empty 2014-03-02 19:28:40 +01:00
Nils Schneider
db11e29df1 gluon-config-mode: show coordinates only when enabled 2014-03-02 18:59:20 +01:00
Nils Schneider
cd8e21739c gluon-config-mode: add contact field
Closes #20
2014-03-02 18:39:56 +01:00
Nils Schneider
a4ca5a9f7d gluon-config-mode: replace foreach with get_first 2014-03-02 18:14:36 +01:00
Matthias Schiffer
cd30517ec1 gluon-config-mode: add sysconfig option for config interface(s), default to WAN on nanostation-m 2014-03-02 17:56:50 +01:00
Matthias Schiffer
49700fc70d gluon-core: add sysconfig_isset function 2014-03-02 17:36:12 +01:00
Matthias Schiffer
bbd8ee6772 gluon-core: switch LAN and WAN on nanostation-m 2014-03-02 17:36:12 +01:00
Nils Schneider
a2f699cafd gluon-config-mode: avoid string.format("%f", ...
An undocumented feature of uci:get_first() is to cast the returned value
to the same type as the default argument. Thus, supplying a default
value ot type number makes string.format superfluous.
2014-03-02 14:05:14 +01:00
Nils Schneider
1269a7350e gluon-alfred: replace announce.sh with lua script
This replaces announce.sh with a lua script of (hopefully) equal
functionality. Using lua generating JSON is much faster than jshn and
allows for greater flexibility.
2014-03-01 23:47:03 +01:00
Matthias Schiffer
96b213c386 We DON'T want the gluon version file to collide with the package version stamp dir 2014-02-26 10:21:14 +01:00
Matthias Schiffer
7d27f1f045 gluon-alfred: add version string to software.firmware.base field 2014-02-25 11:38:06 +01:00
Matthias Schiffer
8f9ee8d62a gluon-core: add version file 2014-02-25 11:30:07 +01:00
Matthias Schiffer
c2cda254ae Rename gluon-location to gluon-node-info, add owner section 2014-02-24 05:12:01 +01:00
Matthias Schiffer
7586b3e393 gluon-legacy: gluon-mesh-batman-adv: ensure a default route is accepted on the client interface 2014-02-24 03:02:04 +01:00
Matthias Schiffer
b953d5026f gluon-core: use awk instead of grep+cut 2014-02-23 20:23:47 +01:00
Matthias Schiffer
5f8e34fc2f gluon-core: remove support for incremental upgrade scripts
As we don't have any older gluon versions so far, and hope to be able to do all
upgrades with invariant scripts, remove the code for now.

If we ever see the need to add such upgrade scripts, we can just re-add this.
2014-02-23 20:20:16 +01:00
Matthias Schiffer
b775741d30 gluon-legacy: remove_bat0 doesn't make sense for the wan interface 2014-02-23 20:06:21 +01:00
Matthias Schiffer
a045ec6549 gluon-legacy: gluon-mesh-batman-adv: always set proto to dhcpv6 2014-02-23 18:57:17 +01:00