Commit graph

5818 commits

Author SHA1 Message Date
Translation System
1fde4bec02 Commit from LuCI Translation Portal by user jow.: 4 of 4 messages translated (0 fuzzy). 2012-08-08 15:31:32 +00:00
Translation System
3dfd355b27 Commit from LuCI Translation Portal by user jow.: 528 of 821 messages translated (0 fuzzy). 2012-08-08 15:31:28 +00:00
Translation System
7b152b9eab Commit from LuCI Translation Portal by user jow.: 11 of 11 messages translated (0 fuzzy). 2012-08-08 15:30:33 +00:00
Translation System
3f0b4a4a2c Commit from LuCI Translation Portal by user jow.: 2 of 2 messages translated (0 fuzzy). 2012-08-08 15:30:30 +00:00
Translation System
5ba68c33e1 Commit from LuCI Translation Portal by user jow.: 92 of 92 messages translated (0 fuzzy). 2012-08-08 15:30:26 +00:00
Translation System
0a657fa312 Commit from LuCI Translation Portal by user jow.: 9 of 9 messages translated (0 fuzzy). 2012-08-08 15:30:11 +00:00
Jo-Philipp Wich
530a1dc0f3 themes/bootstrap: another minor styling fix 2012-08-08 15:30:05 +00:00
Translation System
fc3d1f1b53 Commit from LuCI Translation Portal by user jow.: 4 of 4 messages translated (0 fuzzy). 2012-08-08 15:28:51 +00:00
Translation System
01b95745e6 Commit from LuCI Translation Portal by user jow.: 619 of 821 messages translated (7 fuzzy). 2012-08-08 15:27:40 +00:00
Translation System
bcb5513da9 Commit from LuCI Translation Portal by user jow.: 352 of 821 messages translated (8 fuzzy). 2012-08-08 15:26:42 +00:00
Translation System
1a74c679ed Commit from LuCI Translation Portal by user jow.: 1 of 105 messages translated (0 fuzzy). 2012-08-08 15:25:17 +00:00
Translation System
f0d510b238 Commit from LuCI Translation Portal by user jow.: 808 of 821 messages translated (0 fuzzy). 2012-08-08 15:24:38 +00:00
Translation System
1af021a97e Commit from LuCI Translation Portal by user jow.: 5 of 11 messages translated (0 fuzzy). 2012-08-08 15:23:59 +00:00
Translation System
5097ee0929 Commit from LuCI Translation Portal by user jow.: 2 of 92 messages translated (0 fuzzy). 2012-08-08 15:23:52 +00:00
Translation System
388cdfc1ff Commit from LuCI Translation Portal by user jow.: 28 of 29 messages translated (0 fuzzy). 2012-08-08 15:23:46 +00:00
Translation System
2167167d3b Commit from LuCI Translation Portal by user jow.: 13 of 13 messages translated (0 fuzzy). 2012-08-08 15:23:40 +00:00
Translation System
c7794efbe8 Commit from LuCI Translation Portal by user jow.: 28 of 34 messages translated (0 fuzzy). 2012-08-08 15:23:38 +00:00
Translation System
088fb415fe Commit from LuCI Translation Portal by user jow.: 40 of 63 messages translated (0 fuzzy). 2012-08-08 15:23:32 +00:00
Translation System
5f3e1981f0 Commit from LuCI Translation Portal by user jow.: 5 of 5 messages translated (0 fuzzy). 2012-08-08 15:23:30 +00:00
Translation System
1f8b0dfb61 Commit from LuCI Translation Portal by user jow.: 4 of 4 messages translated (0 fuzzy). 2012-08-08 15:23:28 +00:00
Translation System
2c9f76cc54 Commit from LuCI Translation Portal by user jow.: 821 of 821 messages translated (0 fuzzy). 2012-08-08 15:23:27 +00:00
Jo-Philipp Wich
abae7880c6 po: sync firewall translation 2012-08-08 15:22:05 +00:00
Jo-Philipp Wich
3806a802e2 themes/bootstrap: add some missing classes and minor style fixes 2012-08-08 15:20:13 +00:00
Jo-Philipp Wich
f0a99dd6c7 modules/admin-full: use luci.sys.net.mac_hints() in wifi maclist config 2012-08-08 15:20:10 +00:00
Jo-Philipp Wich
acb289083c applications/luci-firewall: fix rule table formatting, add mac & ip hints to various ip related fields 2012-08-08 15:20:07 +00:00
Jo-Philipp Wich
df8601c864 libs/sys: introduce net.mac_hints(), net.ipv4_hints() and net.ipv6_hints() functions to obtain lists of peers from various sources (e.g. ethers, leases, arp cache) 2012-08-08 15:20:03 +00:00
Jo-Philipp Wich
4d2332c01c libs/web: add missing css class to cbi simpleform template 2012-08-08 11:29:46 +00:00
Jo-Philipp Wich
bf7b19f33b modules/admin-full: remove session expiry workaround from setting 2012-08-08 10:11:00 +00:00
Jo-Philipp Wich
c8ffc897e3 modules/rpc: adapt rpc controller to sauth api changes 2012-08-08 09:48:53 +00:00
Jo-Philipp Wich
7bca24db1b libs/web: adapt dispatcher to sauth api changes 2012-08-08 09:48:50 +00:00
Jo-Philipp Wich
abef50b852 libs/web: rework luci.sauth
- perform decoding/encoding transparently in read() and write()
	- remove decode() and encode() helpers
	- introduce reap() to kill expired sessions
2012-08-08 09:48:47 +00:00
Jo-Philipp Wich
a58370ab74 Rework authentication system
The validity of authentication tokens was determined by the
mtime of respective authentication tokens on filesystem
stored in $sessionpath.
Talking about hardware without RTC or without a prior
connection to a time server, date/time usually around 1970 -
so is the mtime of the authentication token file in
$sessionpath.

When now configuring an internet connection via LuCI, the
system might fetch the current date/time (e.g. via ntp)
which invalidates the token, returns "403 Forbidden" and
kicks the user out of the interface.

This patch changes the authentication system to use time values
based on the uptime of the machine - rather than values based upon
gettimeofday() and {a|m}time values - and save them inside the token.
That way can always determine the difference between login
(last interaction respectively) and the current time, in-
dependant of the system clock jumping backwards/forwards.

Warning: This patch removes the clean() function and respective calls.
This means, invalid tokens will NOT be determined and removed from
filesystem automatically anymore.
Before, every HTTP-call caused a scan for invalid tokens,
which is quite expensive. Instead consider using a cron job
deleting all stalled files periodically.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-08-07 19:11:56 +00:00
Jo-Philipp Wich
69aa218335 return "403 Forbidden" if authentication token was given, however is invalid
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-08-07 19:11:52 +00:00
Manuel Munz
0c4edd49b9 meshwizard: Fix olsrd plugin setup/renaming 2012-08-02 18:32:41 +00:00
Manuel Munz
6574b8147c contrib/meshwizard: enable auto-ipv6 in meshwizard, removed radvd config 2012-08-02 16:40:24 +00:00
Manuel Munz
71d4bb6f46 contrib/meshwizard: IPv6 fixes 2012-08-02 14:41:30 +00:00
Manuel Munz
d21dc5cfa6 contrib/community_profiles: Update augsburg 2012-08-02 10:32:07 +00:00
Manuel Munz
a1ce6b9a60 contrib/meshwizard: Allow to setup dropbear autorized_keys 2012-07-26 09:45:48 +00:00
Jo-Philipp Wich
c8ae5c37c5 po: sync ushare translation 2012-07-24 11:55:14 +00:00
Jo-Philipp Wich
b252792ad7 applications/luci-ushare: add description (#458) 2012-07-24 11:54:29 +00:00
Jo-Philipp Wich
a798da5d8b libs/web: support creating networks in checkbox network widget (#457) 2012-07-24 11:48:03 +00:00
Jo-Philipp Wich
3c1c9d4400 modules/admin-full: copy bssid when joining a network as client (#455) 2012-07-24 11:37:38 +00:00
Jo-Philipp Wich
746a5be1a8 modules/admin-full: expose wmm option for mac80211 interfaces 2012-07-23 08:53:50 +00:00
Jo-Philipp Wich
46c84206f3 libs/sys: workaround broken entries in /proc/net/ipv6_route, observed on brcm-2.4 2012-07-18 11:22:10 +00:00
Jo-Philipp Wich
05a1632670 contrib/package: make freifunk-watchdog more generic
This change is based on a patch by "flyn" from https://dev.openwrt.org/ticket/11868 .
2012-07-15 17:25:24 +00:00
Manuel Munz
dc7cf4417d contrib/meshwizard: allowssh and allowweb can be set for wan dhcp proto too now 2012-07-09 17:57:24 +00:00
Manuel Munz
1e7a41732f modules:admin_full: remove empty directory in view 2012-07-09 09:51:17 +00:00
Manuel Munz
fc86236180 applications/luci-openvpn: Change enable to enabled, #352 2012-07-09 06:25:04 +00:00
Manuel Munz
16c7706442 applications/luci-tinyproxy: Change enable option to enabled, #404 2012-07-09 06:08:17 +00:00
Manuel Munz
0e0c3d7785 contrib/community-profiles: Add weimar, #446 2012-07-09 05:53:28 +00:00