Commit graph

907 commits

Author SHA1 Message Date
soma
ccdc6535a9 add support for splash leases plugin 2014-10-10 10:52:41 +02:00
Jo-Philipp Wich
0dc160db71 collectd: Update luci-statistics / collectd to 5.4.1 - Luci
[PATCH 1/2] [packages] collectd: Update luci-statistics / collectd to 5.4.1 -
packages
[PATCH 2/2] [luci] collectd: Update luci-statistics / collectd to 5.4.1 - Luci

Collectd, the backbone of Luci statistics module, has been recently updated
already to 5.4.1, while Openwrt is still with 4.10.8.

5.0-5.4 branches have been released in 2011-2013 and the last Collectd
release in January 2014 only contained 5.4.1. 4.10.x is being "phased out"
and new commits have been made only rarely. No 4.10.x release for ages.

My ar71xx/wndr3700 build has been using 5.4.1 since March (and used 5.3.1
long before that).

I have compile-tested (with ar71xx) all collectd modules, and I have verified
the real-life functionality of the following plugins: Conntrack,
CPU/Processor, DNS, Interfaces, Memory, Ping, Processes, TCP Connections,
System Load, Uptime, Wireless.

The version bump requires changes both to "collectd" in the packages feed and
to "luci-statistics" in the luci feed, as some of the data items have changed
name or file structure.

I am including two separate patches: one for collectd in packages and one for
luci-statistics in Luci trunk.

Collectd:
Explanation of main changes in the patches for collectd in packages feed:

Patches to be removed:

- 120-fix_kernel_2.6.37.patch is unnecessary. The file to be patched has been
removed upstream.

- 130-timeleft-max.patch is included upstream. Patch removed.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=d5b09f2bb673ac9396da52b85bcbd16c98b3d633

Changed patches:

- 003-remove-werror.patch: Quilt choked on some -Werror related changes, so I
removed them.

- 900-add-iwinfo-plugin.patch: Changed to patch configure.ac instead of
configure.in

New patches:

- 140-fix-fqdnlookup.patch : FQDNLookup option has been turned on by default
since 5.1. If that option is enabled, it causes collectd to refuse to start
in a basic Openwrt box as typically a fully qualified domain name does not
exist for the router. (That error related can only be properly seen when
console is used to start collectd. Otherwise Luci statistics collectd simply
dies immediately after starting it.) That option should be false by default.
I included a new patch 140-fix-fqdnlookup.patch to turn the option off by
default.
http://git.verplant.org/?p=collectd.git;a=commit;h=e58f85bb68b4c45130bb6fdf40b51db95d2b71e5

- 150-fix-interface-af-link : a FreeBSD10-specific change broke build for me,
so I reverted the change.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=645dadb3fcc466e8880fda4eb23b21ad433631fc

- 905-disable-sigrok-glib: libsigrok checks for a glib-related macro that
breaks configure. Bypass the invalid macro. I have also added a disabling
option in Makefile.

Luci:
Data presentation in luci-statistics requires three changes in the Luci sources:

-conntrack result data has changed name from "entropy" to "value".
-ping result data has changed name from "ping" to "value".
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=77a6905147798210ec17173bd5e4410adcc3a112

-interface plugin has changed rrd data file structure so that the plugin
instances (=interfaces) have separate data files. Luci needs to draw the
graph for each plugin instance, not for each data instance.
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=cc3640ba512862cd5745446f1f1a997dd4344454

My previous patches for upgrading to earlier 5.x series can be marked as
superseeded in Patchwork.
http://patchwork.openwrt.org/patch/2457/
http://patchwork.openwrt.org/patch/3300/
http://patchwork.openwrt.org/patch/4204/
http://patchwork.openwrt.org/patch/4205/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-09-18 13:29:11 +00:00
Manuel Munz
89a03c45c5 applications/status-olsr: Disable neightbl calls in olsrd neighbors view because neightbl segfaults on BB and it wasn't used anyways. 2014-08-12 17:08:49 +00:00
Jo-Philipp Wich
a9f187152c hd-idle: enable_debug will block LuCI interface
NEVER enable_debug from LuCI, because hd-idle goes into
foreground/console mode and LuCI will hang during "Save&Apply" forever.
This parameter should be removed completely. Also not being availible
inside OpenWrt's init script. If you reboot, hd-idle blocks the boot
process because it's not going to background.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-08-12 10:43:56 +00:00
Manuel Munz
6f8daab6eb luci/po: spelling and grammar fixes by Alex Henrie 2014-08-05 10:21:03 +00:00
Patrick Grimm
2332a0692c luci-olsr split IPv6/4 configuration in 2 sections 2014-07-30 19:11:04 +00:00
Manuel Munz
d5ed4ae998 Add comment option to qos config page. See also https://dev.openwrt.org/changeset/40935. Thanks Roman. 2014-06-07 12:05:39 +00:00
Manuel Munz
f443bcaca6 applications/meshwizard: Fox error when iwinfo.freqlist is empty 2014-04-27 13:45:53 +00:00
Jo-Philipp Wich
f26e8e9516 applications/luci-firewall: cope with both tables and strings when processing zone name or network in rule detail page (#675) 2014-04-24 21:42:55 +00:00
Manuel Munz
c38187d0d8 applications/olsr: Validate input for lqmult, #654 2013-12-29 11:55:18 +00:00
Jo-Philipp Wich
6f8881d48d applications/luci-statistics: fix xhtml entity error introduced with r9926 2013-12-03 23:58:15 +00:00
Manuel Munz
e97596f42d applications/luci-splash: fix another crash in luci-splash when there were empty whitelist/blacklist sections 2013-11-11 20:12:40 +00:00
Manuel Munz
785211a974 applications/luci-splash: Fix another condidtion which led to a deadlock 2013-11-03 14:01:17 +00:00
Manuel Munz
6010725e02 applications/luci-splash: Only add leases to the stats section if they are still online (i.e. mac known in arp table). Thanks michiwend. 2013-10-27 09:59:19 +00:00
Manuel Munz
87b7651ef2 applications/luci-splash: remove unneeded tc exec 2013-10-20 11:59:53 +00:00
Patrick Grimm
12ede3f2d9 applications/luci-statistics: fix img url 2013-10-18 10:42:15 +00:00
Manuel Munz
69792fa157 applications/luci-splash: improve traffic limiting per client for ipv6 2013-10-17 23:11:17 +00:00
Manuel Munz
5cfabc7eb2 applications/luci-splash: Make luci-splash more silent in normal mode in case of tc/iptables errors 2013-10-17 00:22:55 +00:00
Manuel Munz
0678fe5eeb applications/luci-splash: Do not allow to lease whitelisted clients 2013-10-17 00:01:06 +00:00
Manuel Munz
4ae0d30edd applications/luci-splash: Fix a crash when removing whitelisted clients which could caused deadlocks 2013-10-16 23:51:43 +00:00
Manuel Munz
e966cfea23 applications/luci-splash: Add a filter for arguments, only allow valid mac and ip addresses 2013-10-16 19:48:23 +00:00
Patrick Grimm
31ce19743a applications/luci-olsr-services add olsr ipv6 services 2013-10-14 10:27:21 +00:00
Manuel Munz
0c1f8b8aa3 applications/luci-splash: Fix two problems with whitelisting clients 2013-10-13 22:40:09 +00:00
Manuel Munz
2595726dfb applications/luci-splash: Update stats when a lease is added or removed 2013-10-01 20:22:08 +00:00
Manuel Munz
5e8c7a439e applications/luci-splash: Write summary stats (counter of leased, white-/blacklisted) into the leases state file 2013-09-28 12:40:29 +00:00
Manuel Munz
cc2c364198 applications/luci-splash: Show black-/whitelisted clients in luci-splash list output again 2013-09-28 12:06:13 +00:00
Manuel Munz
8bb613ad08 appllications/olsr: Fix invalid html, #607 2013-09-19 17:18:28 +00:00
Manuel Munz
148b883c11 applications/olsr: Fix invalid json output 2013-09-19 16:49:28 +00:00
Manuel Munz
a4c083ecef applications/luci-ddns: Add more datatype checks and defaults 2013-09-16 19:51:25 +00:00
Manuel Munz
1354c88aee applications/firewall: fix display of enabled/disabled rules, #594 2013-09-02 09:48:01 +00:00
Manuel Munz
a7c1b0e602 applications/luci-splash: Add known leases when restarting splash 2013-08-19 12:17:58 +00:00
Manuel Munz
bafe0c18b3 applications/luci-splash: Add another missing translation 2013-08-19 11:48:07 +00:00
Manuel Munz
9cf8a23f52 applications/luci-splash: Fix a translation problem with 2 strings 2013-08-19 11:33:14 +00:00
Manuel Munz
47612c60f3 applications/luci-splash: Per default redirect to the page the user requested after he accepted the splash. This can be overwritten with redirect_url in the general section in luci_splash config, #595 2013-08-18 20:41:30 +00:00
Manuel Munz
15088f5dd4 applications/luci-splash: Always allow clients to connect to the community homepage, make description of allowed hosts/subnets more clear, #595 2013-08-18 20:37:35 +00:00
Manuel Munz
bf86e86429 applications/luci-splash: Set http_keepalive to zero. This fixes a problem where the user was not properly redirected after accepting the splash in some cases and when an uhttpd was used that supports http keepalive 2013-08-17 20:12:19 +00:00
Manuel Munz
82ab31b510 applications/luci-splash: Fix clients upload and download limiting 2013-08-17 19:42:45 +00:00
Patrick Grimm
f496c67d25 luci-olsr: fix ipv6 nil in device var 2013-08-11 21:07:25 +00:00
Manuel Munz
3b0dee6e5c applications/luci-splash: do not delete the nodes luci_splash_mark_in rule when its ip is unknown while syncing, instead use iptables comments there and delete that rule when the lease has been removed. 2013-08-11 16:45:39 +00:00
Manuel Munz
bbc5b2ef69 applications/luci-splash: Use a seperate config file for leases, #590 2013-08-11 16:42:53 +00:00
Patrick Grimm
bffccf25c5 luci-olsr: fix ipv6 ipv4 detection 2013-08-07 20:25:17 +00:00
Manuel Munz
2eb088f084 applications/olsr: Remove macs from olsr neighbors page; show '?' for SNR when no info is available; use a seperate column for local interface 2013-08-01 21:53:58 +00:00
Manuel Munz
37bf7b0217 applications/luci-splash: Add TOS, Fix Community Name, add possibility to just add some custom text to the splash page instead of replacing the whole page 2013-07-28 08:15:22 +00:00
Patrick Grimm
022970ec49 luci-olsr: read ip6assign from ubus 2013-07-25 08:32:04 +00:00
Patrick Grimm
56b48f76a7 luci-olsr: fix snr calc olsr neighbours and unit in Legend 2013-07-10 18:11:09 +00:00
Patrick Grimm
25c4b954a6 luci-olsr: add snr for olsr neighbours and update Legend 2013-07-10 17:52:38 +00:00
Patrick Grimm
cd04b1541d luci-olsr: neightbl for ipv6 neighbours 2013-07-07 20:16:39 +00:00
Patrick Grimm
624926911b luci-olsr: fix typo 2013-07-02 23:17:16 +00:00
Patrick Grimm
38aa51a391 luci-olsr: add interface and wifi stats to public olsr-neighb site 2013-07-02 22:31:04 +00:00
Jo-Philipp Wich
b543594e5e applications/luci-firewall: remove nat reflection dependency on the wan zone, it causes issues with network lists and is not needed with fw3 anymore 2013-06-13 17:25:44 +00:00