Commit graph

104 commits

Author SHA1 Message Date
Jo-Philipp Wich
d60d892385 libs/sys: recent busybox versions changed top output from %MEM to %VSZ, fix luci.sys.process.list() accordingly 2011-10-26 21:23:37 +00:00
Jo-Philipp Wich
8431916f7d libs/sys: redirect stdout to /dev7null when calling initscripts 2011-05-21 16:29:31 +00:00
Jo-Philipp Wich
380726158d libs/sys: ignore TIME_WAIT connections in luci.sys.net.conntrack() 2011-03-13 22:08:32 +00:00
Jo-Philipp Wich
9836e949a5 libs/sys: disregard ::/0 routes on "lo" in luci.sys.net.defaultroute6() 2011-03-12 19:25:03 +00:00
Manuel Munz
58d319ea5f libs/sys: Filter model string from /proc/diag/model 2011-02-14 18:54:00 +00:00
Jo-Philipp Wich
31ebd0e378 libs/sys: better handle bogomips parsing 2011-02-14 15:36:04 +00:00
Jo-Philipp Wich
4b0d5f9205 libs/sys: fix call to nixio.uname() 2011-02-12 19:39:30 +00:00
Jo-Philipp Wich
68b51e1527 libs/sys: fix parsing of model and cpu info, consider 2000::/3 as IPv6 default route if no ::/0 route exists (#200) 2011-02-12 19:32:36 +00:00
Jo-Philipp Wich
c3c22f792b libs/sys: fix ip6tables parsing issue 2011-01-29 22:47:40 +00:00
Jo-Philipp Wich
b477dae307 libs/sys: add ip6tables support to luci.sys.iptparser 2011-01-29 18:34:00 +00:00
Jo-Philipp Wich
9c03a76fc2 libs/sys: properly handle passwords with apostrophes 2011-01-25 12:51:41 +00:00
Jo-Philipp Wich
32e908a51c libs/sys: fix luci.sys.wifi.channels() 2011-01-19 21:37:01 +00:00
Jo-Philipp Wich
330c013475 libs/sys: update zonedata to version 2010i 2011-01-02 17:54:12 +00:00
Manuel Munz
6951da02ce modules/freifunk: Make status page update dynamically with javascript and small cosmetic changes. 2010-12-15 16:35:19 +00:00
Jo-Philipp Wich
e291678012 libs/sys: protect iwinfo loading and return stub if module is not present 2010-11-27 16:57:39 +00:00
Jo-Philipp Wich
e8490c385f libs/sys: lazy load iwinfo 2010-11-27 16:29:33 +00:00
Jo-Philipp Wich
3b5123937e libs/sys: remove luci.sys.flash() 2010-11-25 08:14:10 +00:00
Jo-Philipp Wich
fcd9579fd4 libs/sys: fix logic fail in luci.sys.user.checkpasswd() (#152) 2010-11-05 22:05:11 +00:00
Jo-Philipp Wich
cca45d0bdb libs/sys: resolve pseudo ifaces in luci.sys.wifi.getiwinfo() 2010-10-19 03:56:53 +00:00
Jo-Philipp Wich
051186345c libs/sys: implement luci.sys.user.getpasswd() 2010-10-11 23:22:25 +00:00
Jo-Philipp Wich
7b276a5f48 libs/sys: fix unwanted invocation of initscripts when probing index of rcS 2010-03-08 18:56:03 +00:00
Jo-Philipp Wich
6a02931893 libs/sys: workaround for Lua number overflow in ipv6 route metrics 2010-03-08 00:49:39 +00:00
Steven Barth
6a51fbe673 Minor fixes 2009-11-15 19:02:39 +00:00
Jo-Philipp Wich
21c3e37062 libs/sys: mhz are not floats 2009-11-15 17:06:33 +00:00
Steven Barth
89ece183ef Merge luci.sys.wifi.channels to iwinfo 2009-11-15 15:46:27 +00:00
Jo-Philipp Wich
398c125336 libs/sys: implement luci.sys.wifi.getiwinfo() oop interface 2009-08-09 02:50:20 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
07c0f405f3 libs/sys: implement callbacks in luci.sys.net.arptable() and luci.sys.net.conntrack() 2009-07-10 22:01:35 +00:00
Jo-Philipp Wich
263d7228fc libs/sys: split zoneinfo in tzdata and tzoffset and autoload on demand, saves yet another ~60KB 2009-07-10 16:04:07 +00:00
Jo-Philipp Wich
98a6885834 libs/sys: optimize luci.sys.net.defaultroute6() 2009-07-10 13:49:24 +00:00
Steven Barth
223963e419 Optimise luci.sys 2009-07-10 13:33:48 +00:00
Jo-Philipp Wich
6bfe0624b6 libs/sys: improve efficiency of sys.net.defaultroute(), can save hundreds of KB memory usage 2009-07-09 15:53:08 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Jo-Philipp Wich
8adf9fbd4d libs/sys: don't convert searched target to uppercase in IptParser, breaks searches for targets referencing custom chains 2009-06-07 13:18:53 +00:00
Jo-Philipp Wich
99c213eff8 libs/sys: properly parse iptables rules with not target set 2009-06-07 12:48:28 +00:00
Jo-Philipp Wich
7590cd25f4 - Add support for hostap driver
- Retrieve channels from all available wireless interfaces
 - Add channel "auto" to channel list

Thanks Vasilis Tsiligiannis
2009-05-21 21:33:24 +00:00
Jo-Philipp Wich
f2e4a6665b libs/sys: fix checking for empty table 2009-05-13 18:50:12 +00:00
Jo-Philipp Wich
4856c1ea23 libs/sys: fix typo in last commit 2009-05-13 18:45:13 +00:00
Jo-Philipp Wich
98996e380a libs/sys: implement luci.sys.wifi.channels()
modules/admin-full: only display available channels
2009-05-13 18:42:53 +00:00
Jo-Philipp Wich
38a52d9a29 libs/sys: sync zoneinfo to tzdata 2009d 2009-04-10 19:32:00 +00:00
Jo-Philipp Wich
e401b4a620 libs/sys: update zoneinfo to version 2009b 2009-03-12 07:47:11 +00:00
Jo-Philipp Wich
f52ec22717 modules/admin-full: implement iptables status page
i18n/english: resync xml, add strings for iptables page
libs/sys/iptparser: implement chain() and is_custom_target()
2009-02-08 03:56:50 +00:00
Jo-Philipp Wich
e3c8b9a10b libs/sys/iptparser: remove typo, bump copyright year 2009-02-08 00:50:25 +00:00
Jo-Philipp Wich
474a617268 libs/sys/iptparser: import required functions 2009-02-08 00:48:21 +00:00
Jo-Philipp Wich
a9f58b0c52 libs/sys/iptparser:
- rewrite inline documentation to luadoc
	- utilize luci.ip for source and destination comparisations
2009-02-08 00:45:13 +00:00
Jo-Philipp Wich
43844ccc0d libs/sys: import missing symbol 2009-02-02 17:35:51 +00:00
Jo-Philipp Wich
4b9f7db1ce libs/sys: extend luci.sys.hostname() to allow setting a new name
modules/admin-{full,mini}: update the hostname at runtime
2009-02-01 17:08:40 +00:00
Steven Barth
dd74b986a0 Make luci.sys.wifi.getiwconfig more compatible 2008-12-07 19:38:22 +00:00
Jo-Philipp Wich
cbdc5af52e build: generate timezone offsets too in zoneinfo2lua.pl
libs/http:	drop zoneinfo information in luci.http.protocol.data, use luci.sys.zoneinfo instead
libs/sys:	refresh zoneinfo information
2008-12-06 03:18:14 +00:00
Jo-Philipp Wich
46bb17c2d2 modules/admin-full: whitesapce cleanup in routes.lua
libs/sys:		code changes in routes6() and defaultroute6()
2008-11-30 19:12:58 +00:00