├── applications ├── luci-app-asterisk │ ├── po │ │ ├── sk │ │ │ └── asterisk.po │ │ ├── sv │ │ │ └── asterisk.po │ │ ├── templates │ │ │ └── asterisk.pot │ │ ├── cs │ │ │ └── asterisk.po │ │ ├── tr │ │ │ └── asterisk.po │ │ ├── no │ │ │ └── asterisk.po │ │ └── zh-tw │ │ │ └── asterisk.po │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-asterisk │ ├── Makefile │ └── luasrc │ │ ├── view │ │ └── asterisk │ │ │ └── cbi │ │ │ └── cell.htm │ │ └── model │ │ └── cbi │ │ └── asterisk │ │ └── meetme_settings.lua ├── luci-app-https-dns-proxy │ ├── po │ │ └── https-dns-proxy.pot │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-https-dns-proxy │ ├── luasrc │ │ ├── view │ │ │ └── https-dns-proxy │ │ │ │ ├── css.htm │ │ │ │ ├── status.htm │ │ │ │ └── status-textarea.htm │ │ └── https-dns-proxy │ │ │ ├── providers │ │ │ ├── cz.nic.odvr.lua │ │ │ ├── google.dns.lua │ │ │ ├── pub.doh.lua │ │ │ ├── com.alidns.dns.lua │ │ │ ├── gr.libredns.doh.lua │ │ │ ├── gr.libredns.doh-ads.lua │ │ │ ├── net.quad9.dns9.lua │ │ │ ├── net.quad9.dns.lua │ │ │ ├── net.quad9.dns10.lua │ │ │ ├── net.quad9.dns11.lua │ │ │ ├── com.adguard.dns.lua │ │ │ ├── com.cloudflare-dns.lua │ │ │ ├── com.adguard.dns-family.lua │ │ │ ├── com.opendns.doh.lua │ │ │ ├── org.cleanbrowsing.doh-adult.lua │ │ │ ├── org.cleanbrowsing.doh-family.lua │ │ │ ├── com.cloudflare-dns.family.lua │ │ │ ├── org.cleanbrowsing.doh-security.lua │ │ │ ├── com.cloudflare-dns.security.lua │ │ │ ├── com.opendns.familyshield.doh.lua │ │ │ ├── ca.cira.canadianshield.family.lua │ │ │ ├── ca.cira.canadianshield.private.lua │ │ │ └── ca.cira.canadianshield.protected.lua │ │ │ └── providers.disabled │ │ │ ├── sb.dns.lua │ │ │ ├── cn.rubyfish.dns.lua │ │ │ └── ch.digitale-gesellschaft.dns.lua │ └── Makefile ├── luci-app-olsr │ ├── htdocs │ │ ├── cgi-bin-nodes.html │ │ └── cgi-bin-status.html │ ├── root │ │ └── etc │ │ │ ├── config │ │ │ └── luci_olsr │ │ │ └── uci-defaults │ │ │ └── 40_luci-olsr │ ├── Makefile │ └── luasrc │ │ ├── view │ │ └── status-olsr │ │ │ └── error_olsr.htm │ │ └── model │ │ └── cbi │ │ └── olsr │ │ └── olsrddisplay.lua ├── luci-app-ahcp │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── ahcp.htm │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-ahcp │ └── Makefile ├── luci-app-upnp │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── upnp.htm │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-miniupnp │ └── Makefile ├── luci-app-ocserv │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── ocserv.htm │ └── Makefile ├── luci-app-ddns │ ├── luasrc │ │ └── view │ │ │ ├── admin_status │ │ │ └── index │ │ │ │ └── ddns.htm │ │ │ └── ddns │ │ │ ├── overview_doubleline.htm │ │ │ └── detail_value.htm │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 40_luci-ddns ├── luci-app-ltqtapi │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── telephony.htm │ └── Makefile ├── luci-app-minidlna │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── minidlna.htm │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-minidlna │ └── Makefile ├── luci-app-splash │ ├── root │ │ └── etc │ │ │ ├── config │ │ │ ├── luci_splash │ │ │ └── luci_splash_leases │ │ │ └── hotplug.d │ │ │ └── iface │ │ │ └── 25-splash │ ├── README │ ├── luasrc │ │ └── view │ │ │ └── splash_splash │ │ │ ├── index.htm │ │ │ └── splash.htm │ ├── htdocs │ │ └── luci │ │ │ └── splash │ │ │ └── index.html │ └── Makefile ├── luci-app-lxc │ ├── root │ │ └── etc │ │ │ └── config │ │ │ └── lxc │ ├── htdocs │ │ └── luci-static │ │ │ └── resources │ │ │ └── cbi │ │ │ ├── green.gif │ │ │ ├── red.gif │ │ │ └── purple.gif │ └── Makefile ├── luci-app-fwknopd │ ├── luasrc │ │ ├── view │ │ │ └── fwknopd-qr.htm │ │ └── controller │ │ │ └── fwknopd.lua │ └── Makefile ├── luci-app-olsr-viz │ ├── htdocs │ │ ├── cgi-bin │ │ │ └── olsr-viz.sh │ │ └── luci-static │ │ │ └── resources │ │ │ └── olsr-viz │ │ │ ├── dot_ok.gif │ │ │ ├── dot_down.gif │ │ │ ├── dot_good.gif │ │ │ ├── dot_weak.gif │ │ │ ├── node-mini.gif │ │ │ └── node-hna-mini.gif │ ├── luasrc │ │ ├── controller │ │ │ └── olsr-viz.lua │ │ └── view │ │ │ └── olsr-viz │ │ │ └── olsr-viz.htm │ └── Makefile ├── luci-app-unbound │ ├── luasrc │ │ └── view │ │ │ └── unbound │ │ │ ├── show-empty.htm │ │ │ ├── css-editing.htm │ │ │ └── show-textbox.htm │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 60_luci-unbound │ └── Makefile ├── luci-app-mwan3 │ ├── luasrc │ │ └── view │ │ │ └── admin_status │ │ │ └── index │ │ │ └── mwan.htm │ ├── Makefile │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 60_luci-mwan3 ├── luci-app-advanced-reboot │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-advanced-reboot │ └── luasrc │ │ └── advanced-reboot │ │ ├── devices │ │ ├── zyxel-nbg6817.lua │ │ ├── linksys-ea8500.lua │ │ ├── linksys-ea8300.lua │ │ ├── linksys-mr8300.lua │ │ ├── linksys-ea6350v3.lua │ │ ├── linksys-ea7500v1.lua │ │ ├── linksys-ea7300v1.lua │ │ ├── linksys-ea7300v2.lua │ │ ├── linksys-ea4500.lua │ │ ├── linksys-e4200v2.lua │ │ ├── linksys-ea3500.lua │ │ ├── linksys-e4200v2-ea4500.lua │ │ ├── linksys-wrt32x.lua │ │ ├── linksys-wrt1200ac.lua │ │ ├── linksys-wrt1900ac.lua │ │ ├── linksys-wrt1900acs.lua │ │ ├── linksys-wrt3200acm.lua │ │ └── linksys-wrt1900acv2.lua │ │ └── devices.disabled │ │ └── linksys-ea9500.lua ├── luci-app-attendedsysupgrade │ ├── root │ │ ├── etc │ │ │ └── uci-defaults │ │ │ │ └── 40_luci-attendedsysupgrade │ │ └── usr │ │ │ └── share │ │ │ └── rpcd │ │ │ └── acl.d │ │ │ └── attendedsysupgrade.json │ ├── luasrc │ │ └── controller │ │ │ └── attendedsysupgrade.lua │ └── Makefile ├── luci-app-nlbwmon │ ├── Makefile │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 40_luci-nlbwmon ├── luci-app-bcp38 │ ├── luasrc │ │ └── controller │ │ │ └── bcp38.lua │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 60_luci-bcp38 │ └── Makefile ├── luci-app-sqm │ ├── root │ │ ├── usr │ │ │ └── share │ │ │ │ └── rpcd │ │ │ │ └── acl.d │ │ │ │ └── luci-app-sqm.json │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 50-luci-sqm │ └── Makefile ├── luci-app-wol │ ├── luasrc │ │ └── controller │ │ │ └── wol.lua │ └── Makefile ├── luci-app-aria2 │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 40_luci-aria2 ├── luci-app-watchcat │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-watchcat │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── watchcat.lua ├── luci-app-p910nd │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-p910nd │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── p910nd.lua ├── luci-app-polipo │ ├── root │ │ ├── etc │ │ │ └── uci-defaults │ │ │ │ └── 40_luci-polipo │ │ └── usr │ │ │ └── sbin │ │ │ └── polipo_purge │ ├── Makefile │ └── luasrc │ │ ├── view │ │ └── polipo_status.htm │ │ └── controller │ │ └── polipo.lua ├── luci-app-vnstat │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-vnstat │ └── Makefile ├── luci-app-adblock │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-adblock │ ├── luasrc │ │ └── view │ │ │ └── adblock │ │ │ ├── config_css.htm │ │ │ └── runtime.htm │ └── Makefile ├── luci-app-hd-idle │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-hd_idle │ ├── Makefile │ ├── luasrc │ │ └── controller │ │ │ └── hd_idle.lua │ └── po │ │ └── templates │ │ └── hd_idle.pot ├── luci-app-vpnbypass │ ├── luasrc │ │ └── controller │ │ │ └── vpnbypass.lua │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-vpnbypass │ └── Makefile ├── luci-app-dynapoint │ ├── luasrc │ │ ├── view │ │ │ └── dynapoint │ │ │ │ ├── cbi_checkbox.htm │ │ │ │ └── cbi_color.htm │ │ └── controller │ │ │ └── dynapoint.lua │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-dynapoint │ └── Makefile ├── luci-app-pagekitec │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-pagekitec │ ├── luasrc │ │ └── controller │ │ │ └── pagekitec.lua │ └── Makefile ├── luci-app-travelmate │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-travelmate │ ├── luasrc │ │ ├── view │ │ │ └── travelmate │ │ │ │ ├── config_css.htm │ │ │ │ └── runtime.htm │ │ └── model │ │ │ └── cbi │ │ │ └── travelmate │ │ │ └── wifi_delete.lua │ └── Makefile ├── luci-app-simple-adblock │ ├── luasrc │ │ └── controller │ │ │ └── simpleadblock.lua │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-simple-adblock │ └── Makefile ├── luci-app-transmission │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-transmission │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── transmission.lua ├── luci-app-coovachilli │ ├── po │ │ ├── templates │ │ │ └── coovachilli.pot │ │ ├── sk │ │ │ └── coovachilli.po │ │ └── ms │ │ │ └── coovachilli.po │ ├── Makefile │ └── luasrc │ │ └── model │ │ └── cbi │ │ └── coovachilli.lua ├── luci-app-mjpg-streamer │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-mjpg-streamer │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── mjpg-streamer.lua ├── luci-app-dnscrypt-proxy │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 60_luci-dnscrypt-proxy │ ├── luasrc │ │ └── view │ │ │ └── dnscrypt-proxy │ │ │ ├── config_css.htm │ │ │ └── res_options.htm │ └── Makefile ├── luci-app-udpxy │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-udpxy │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── udpxy.lua ├── luci-app-privoxy │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 40_luci-privoxy ├── luci-app-shadowsocks-libev │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-shadowsocks-libev │ └── Makefile ├── luci-app-wireguard │ ├── luasrc │ │ └── controller │ │ │ └── wireguard.lua │ └── Makefile ├── luci-app-dump1090 │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-dump1090 │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── dump1090.lua ├── luci-app-radicale │ └── root │ │ └── etc │ │ └── uci-defaults │ │ └── 40_luci-radicale ├── luci-app-shairplay │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-shairplay │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── shairplay.lua ├── luci-app-diag-core │ ├── Makefile │ ├── luasrc │ │ ├── view │ │ │ └── diag │ │ │ │ ├── index.htm │ │ │ │ └── network_config_index.htm │ │ └── controller │ │ │ └── luci_diag.lua │ └── po │ │ └── templates │ │ └── diag_core.pot ├── luci-app-siitwizard │ ├── luasrc │ │ └── controller │ │ │ └── siitwizard.lua │ ├── Makefile │ └── root │ │ └── etc │ │ └── config │ │ └── siit ├── luci-app-samba │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── samba.lua ├── luci-app-tinyproxy │ └── Makefile ├── luci-app-ntpc │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── ntpc.lua ├── luci-app-commands │ └── Makefile ├── luci-app-openvpn │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── openvpn.lua ├── luci-app-rp-pppoe-server │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── rp-pppoe-server.lua ├── luci-app-noddos │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-noddos │ ├── luasrc │ │ └── controller │ │ │ └── noddos.lua │ └── Makefile ├── luci-app-firewall │ └── Makefile ├── luci-app-qos │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── qos.lua ├── luci-app-cshark │ └── Makefile ├── luci-app-olsr-services │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── services.lua ├── luci-app-statistics │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 40_luci-statistics │ ├── luasrc │ │ ├── model │ │ │ └── cbi │ │ │ │ └── luci_statistics │ │ │ │ ├── entropy.lua │ │ │ │ ├── cpufreq.lua │ │ │ │ ├── contextswitch.lua │ │ │ │ ├── splash_leases.lua │ │ │ │ ├── cpu.lua │ │ │ │ ├── load.lua │ │ │ │ └── nut.lua │ │ ├── statistics │ │ │ └── rrdtool │ │ │ │ └── definitions │ │ │ │ ├── entropy.lua │ │ │ │ ├── irq.lua │ │ │ │ ├── thermal.lua │ │ │ │ └── sensors.lua │ │ └── view │ │ │ └── admin_statistics │ │ │ └── index.htm │ └── Makefile ├── luci-app-uhttpd │ ├── luasrc │ │ └── controller │ │ │ └── uhttpd │ │ │ └── uhttpd.lua │ └── Makefile ├── luci-app-squid │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── squid.lua ├── luci-app-clamav │ ├── Makefile │ └── luasrc │ │ └── controller │ │ └── clamav.lua └── luci-app-e2guardian │ ├── Makefile │ └── luasrc │ └── controller │ └── e2guardian.lua ├── modules ├── luci-base │ ├── root │ │ ├── etc │ │ │ ├── luci-uploads │ │ │ │ └── .placeholder │ │ │ └── uci-defaults │ │ │ │ └── luci-base │ │ ├── usr │ │ │ └── share │ │ │ │ └── acl.d │ │ │ │ └── luci-base.json │ │ └── www │ │ │ └── index.html │ ├── luasrc │ │ ├── view │ │ │ ├── cbi │ │ │ │ ├── cell_valuefooter.htm │ │ │ │ ├── compound.htm │ │ │ │ ├── valuefooter.htm │ │ │ │ ├── valueheader.htm │ │ │ │ ├── cell_valueheader.htm │ │ │ │ ├── button.htm │ │ │ │ ├── browser.htm │ │ │ │ ├── tvalue.htm │ │ │ │ ├── dvalue.htm │ │ │ │ ├── tabcontainer.htm │ │ │ │ ├── fvalue.htm │ │ │ │ └── full_valuefooter.htm │ │ │ ├── footer.htm │ │ │ ├── indexer.htm │ │ │ ├── header.htm │ │ │ ├── error500.htm │ │ │ └── error404.htm │ │ ├── model │ │ │ └── cbi │ │ │ │ └── admin_network │ │ │ │ └── proto_none.lua │ │ ├── version.lua │ │ ├── store.lua │ │ ├── cacheloader.lua │ │ ├── config.lua │ │ └── sys │ │ │ └── zoneinfo.lua │ ├── htdocs │ │ ├── luci-static │ │ │ └── resources │ │ │ │ ├── cbi │ │ │ │ ├── add.gif │ │ │ │ ├── key.gif │ │ │ │ ├── up.gif │ │ │ │ ├── apply.gif │ │ │ │ ├── arrow.gif │ │ │ │ ├── down.gif │ │ │ │ ├── edit.gif │ │ │ │ ├── file.gif │ │ │ │ ├── find.gif │ │ │ │ ├── help.gif │ │ │ │ ├── link.gif │ │ │ │ ├── reset.gif │ │ │ │ ├── save.gif │ │ │ │ ├── user.gif │ │ │ │ ├── download.gif │ │ │ │ ├── fieldadd.gif │ │ │ │ ├── folder.gif │ │ │ │ ├── reload.gif │ │ │ │ └── remove.gif │ │ │ │ └── icons │ │ │ │ ├── bridge.png │ │ │ │ ├── switch.png │ │ │ │ ├── tunnel.png │ │ │ │ ├── vlan.png │ │ │ │ ├── wifi.png │ │ │ │ ├── ethernet.png │ │ │ │ ├── loading.gif │ │ │ │ ├── port_up.png │ │ │ │ ├── signal-0.png │ │ │ │ ├── wifi_big.png │ │ │ │ ├── encryption.png │ │ │ │ ├── port_down.png │ │ │ │ ├── signal-0-25.png │ │ │ │ ├── signal-none.png │ │ │ │ ├── signal-25-50.png │ │ │ │ ├── signal-50-75.png │ │ │ │ ├── signal-75-100.png │ │ │ │ ├── vlan_disabled.png │ │ │ │ ├── wifi_disabled.png │ │ │ │ ├── bridge_disabled.png │ │ │ │ ├── switch_disabled.png │ │ │ │ ├── tunnel_disabled.png │ │ │ │ ├── ethernet_disabled.png │ │ │ │ ├── wifi_big_disabled.png │ │ │ │ └── encryption_disabled.png │ │ └── cgi-bin │ │ │ └── luci │ └── src │ │ ├── mkversion.sh │ │ └── Makefile ├── luci-newapi │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 099-newapi-copy │ └── Makefile ├── luci-mod-admin-mini │ ├── luasrc │ │ ├── model │ │ │ └── cbi │ │ │ │ └── mini │ │ │ │ └── index.lua │ │ └── view │ │ │ └── mini │ │ │ └── applyreboot.htm │ └── Makefile ├── luci-mod-admin-full │ ├── src │ │ └── Makefile │ ├── luasrc │ │ ├── controller │ │ │ └── admin │ │ │ │ └── filebrowser.lua │ │ └── view │ │ │ ├── admin_system │ │ │ ├── ipkg.htm │ │ │ └── backupfiles.htm │ │ │ └── admin_status │ │ │ ├── dmesg.htm │ │ │ └── syslog.htm │ ├── root │ │ ├── bin │ │ │ └── getcpu │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 50_luci-mod-admin-full │ └── Makefile ├── luci-mod-failsafe │ └── Makefile ├── luci-mod-rpc │ └── Makefile └── luci-compat │ └── Makefile ├── libs ├── luci-lib-nixio │ ├── axTLS │ │ ├── www │ │ │ ├── bin │ │ │ │ └── .htaccess │ │ │ ├── test_dir │ │ │ │ ├── bin │ │ │ │ │ └── .htaccess │ │ │ │ ├── no_ssl │ │ │ │ │ ├── .htaccess │ │ │ │ │ └── index.html │ │ │ │ └── no_http │ │ │ │ │ ├── .htaccess │ │ │ │ │ ├── .htpasswd │ │ │ │ │ └── index.html │ │ │ ├── favicon.ico │ │ │ └── lua │ │ │ │ ├── test_htk.lua │ │ │ │ ├── test_err.lua │ │ │ │ ├── test_cookies.lp │ │ │ │ ├── test_cookies.lua │ │ │ │ └── test_sql.lua │ │ ├── samples │ │ │ └── java │ │ │ │ └── manifest.mf │ │ ├── ssl │ │ │ ├── version.h │ │ │ └── test │ │ │ │ ├── killopenssl.sh │ │ │ │ ├── gnutls.cer │ │ │ │ ├── socgen.cer │ │ │ │ ├── axTLS.key_512 │ │ │ │ ├── axTLS.key_1024 │ │ │ │ ├── axTLS.key_2048 │ │ │ │ ├── axTLS.key_4096 │ │ │ │ ├── equifax.x509_ca │ │ │ │ ├── thawte.x509_ca │ │ │ │ ├── axTLS.ca_x509.cer │ │ │ │ ├── axTLS.device_key │ │ │ │ ├── axTLS.encrypted.p8 │ │ │ │ ├── axTLS.noname.p12 │ │ │ │ ├── axTLS.withCA.p12 │ │ │ │ ├── axTLS.x509_512.cer │ │ │ │ ├── header_issue.dat │ │ │ │ ├── microsoft.x509_ca │ │ │ │ ├── verisign.x509_ca │ │ │ │ ├── axTLS.unencrypted.p8 │ │ │ │ ├── axTLS.withoutCA.p12 │ │ │ │ ├── axTLS.x509_1024.cer │ │ │ │ ├── axTLS.x509_2048.cer │ │ │ │ ├── axTLS.x509_4096.cer │ │ │ │ ├── axTLS.x509_device.cer │ │ │ │ ├── verisign.x509_my_cert │ │ │ │ ├── deutsche_telecom.x509_ca │ │ │ │ ├── axTLS.key_512.pem │ │ │ │ ├── axTLS.unencrypted_pem.p8 │ │ │ │ ├── axTLS.key_aes128.pem │ │ │ │ ├── axTLS.key_aes256.pem │ │ │ │ ├── axTLS.encrypted_pem.p8 │ │ │ │ ├── axTLS.x509_512.pem │ │ │ │ ├── axTLS.x509_aes128.pem │ │ │ │ ├── axTLS.x509_aes256.pem │ │ │ │ └── axTLS.x509_bad_after.pem │ │ ├── README │ │ ├── config │ │ │ ├── axtls.RES │ │ │ ├── scripts │ │ │ │ └── config │ │ │ │ │ └── lxdialog │ │ │ │ │ └── BIG.FAT.WARNING │ │ │ └── makefile.post │ │ ├── docsrc │ │ │ ├── doco_footer.html │ │ │ └── images │ │ │ │ ├── axolotl.jpg │ │ │ │ └── tsbasbw.gif │ │ └── httpd │ │ │ └── kepler-1.1-snapshot-20070521-1825.tar.gz │ ├── axtls-root │ │ └── etc │ │ │ └── nixio │ │ │ └── rsa_main.der │ ├── .gitignore │ ├── NOTICE │ ├── docsrc │ │ ├── nixio.crypto.lua │ │ └── nixio.CryptoHash.lua │ ├── root │ │ └── lib │ │ │ └── upgrade │ │ │ └── luci-add-conffiles.sh │ └── README ├── luci-lib-rpcc │ ├── luasrc │ │ └── rpcc │ │ │ └── ruci.luadoc │ └── Makefile ├── luci-lib-px5g │ ├── src │ │ ├── px5g.h │ │ └── Makefile │ ├── Makefile │ └── root │ │ └── usr │ │ └── sbin │ │ └── px5g-genkeys ├── luci-lib-jsonc │ ├── Makefile │ └── src │ │ └── Makefile ├── luci-lib-iptparser │ └── Makefile ├── luci-lib-httpprotoutils │ └── Makefile ├── luci-lib-json │ └── Makefile ├── luci-lib-luaneightbl │ ├── Makefile │ └── src │ │ └── Makefile ├── luci-lib-httpclient │ └── Makefile └── luci-lib-ip │ ├── Makefile │ └── src │ └── Makefile ├── contrib └── package │ └── Makefile ├── .gitignore ├── themes ├── luci-theme-material │ ├── htdocs │ │ └── luci-static │ │ │ └── material │ │ │ ├── logo.png │ │ │ ├── favicon.ico │ │ │ └── fonts │ │ │ ├── font.eot │ │ │ ├── font.ttf │ │ │ └── font.woff │ ├── root │ │ └── etc │ │ │ └── uci-defaults │ │ │ └── 30_luci-theme-material │ └── Makefile └── luci-theme-bootstrap │ ├── htdocs │ └── luci-static │ │ └── bootstrap │ │ └── favicon.ico │ ├── root │ └── etc │ │ └── uci-defaults │ │ └── 30_luci-theme-bootstrap │ └── Makefile ├── .buildpath ├── protocols ├── luci-proto-3g │ └── Makefile ├── luci-proto-qmi │ └── Makefile ├── luci-proto-ncm │ └── Makefile ├── luci-proto-relay │ └── Makefile ├── luci-proto-openconnect │ └── Makefile ├── luci-proto-ppp │ └── Makefile ├── luci-proto-ipv6 │ ├── Makefile │ └── luasrc │ │ └── model │ │ └── network │ │ ├── proto_dhcpv6.lua │ │ └── proto_hnet.lua ├── luci-proto-ipip │ └── Makefile ├── luci-proto-wireguard │ └── Makefile └── luci-proto-vpnc │ └── Makefile ├── NOTICE └── collections └── luci └── Makefile /applications/luci-app-asterisk/po/sk/asterisk.po: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/sv/asterisk.po: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/luci-base/root/etc/luci-uploads/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/templates/asterisk.pot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/po/https-dns-proxy.pot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/bin/.htaccess: -------------------------------------------------------------------------------- 1 | Deny all 2 | 3 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/bin/.htaccess: -------------------------------------------------------------------------------- 1 | Deny all 2 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/htdocs/cgi-bin-nodes.html: -------------------------------------------------------------------------------- 1 | cgi-bin-status.html -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/samples/java/manifest.mf: -------------------------------------------------------------------------------- 1 | Main-Class: axssl 2 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/no_ssl/.htaccess: -------------------------------------------------------------------------------- 1 | SSLDenySSL 2 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/version.h: -------------------------------------------------------------------------------- 1 | #define AXTLS_VERSION "1.2.1" 2 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/no_http/.htaccess: -------------------------------------------------------------------------------- 1 | SSLRequireSSL 2 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/compound.htm: -------------------------------------------------------------------------------- 1 | <%- self:render_children() %> 2 | -------------------------------------------------------------------------------- /applications/luci-app-ahcp/luasrc/view/admin_status/index/ahcp.htm: -------------------------------------------------------------------------------- 1 | <%+ahcp_status%> 2 | -------------------------------------------------------------------------------- /applications/luci-app-upnp/luasrc/view/admin_status/index/upnp.htm: -------------------------------------------------------------------------------- 1 | <%+upnp_status%> 2 | -------------------------------------------------------------------------------- /applications/luci-app-ocserv/luasrc/view/admin_status/index/ocserv.htm: -------------------------------------------------------------------------------- 1 | <%+ocserv_status%> 2 | -------------------------------------------------------------------------------- /contrib/package/Makefile: -------------------------------------------------------------------------------- 1 | include ../../build/config.mk 2 | include ../../build/module.mk 3 | -------------------------------------------------------------------------------- /applications/luci-app-ddns/luasrc/view/admin_status/index/ddns.htm: -------------------------------------------------------------------------------- 1 | <%+ddns/system_status%> 2 | -------------------------------------------------------------------------------- /applications/luci-app-ltqtapi/luasrc/view/admin_status/index/telephony.htm: -------------------------------------------------------------------------------- 1 | <%+telephony_status%> 2 | -------------------------------------------------------------------------------- /applications/luci-app-minidlna/luasrc/view/admin_status/index/minidlna.htm: -------------------------------------------------------------------------------- 1 | <%+minidlna_status%> 2 | -------------------------------------------------------------------------------- /applications/luci-app-splash/root/etc/config/luci_splash: -------------------------------------------------------------------------------- 1 | config core general 2 | option leasetime 1 -------------------------------------------------------------------------------- /applications/luci-app-olsr/root/etc/config/luci_olsr: -------------------------------------------------------------------------------- 1 | config 'olsr' 'general' 2 | option 'resolve' '1' 3 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/valuefooter.htm: -------------------------------------------------------------------------------- 1 | <% include( valuefooter or "cbi/full_valuefooter" ) %> 2 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/valueheader.htm: -------------------------------------------------------------------------------- 1 | <% include( valueheader or "cbi/full_valueheader" ) %> 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | /host 3 | *.o 4 | *.so 5 | *.swp 6 | *.po~ 7 | /docs 8 | modules/luci-base/src/po2lmo 9 | -------------------------------------------------------------------------------- /applications/luci-app-lxc/root/etc/config/lxc: -------------------------------------------------------------------------------- 1 | 2 | config lxc 'lxc' 3 | option url 'images.linuxcontainers.org' 4 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/README: -------------------------------------------------------------------------------- 1 | 2 | See www/index.html for the README, CHANGELOG, LICENSE and other notes. 3 | 4 | -------------------------------------------------------------------------------- /modules/luci-newapi/root/etc/uci-defaults/099-newapi-copy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cp -a /etc/newapi/* / 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/killopenssl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ps -ef|grep openssl | /usr/bin/awk '{print $2}' |xargs kill -9 3 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/config/axtls.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/config/axtls.RES -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/www/favicon.ico -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/gnutls.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/gnutls.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/socgen.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/socgen.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_512: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_512 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/lua/test_htk.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/www/lua/test_htk.lua -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/docsrc/doco_footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/docsrc/doco_footer.html -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_1024: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_1024 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_2048: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_2048 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_4096: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_4096 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/equifax.x509_ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/equifax.x509_ca -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/thawte.x509_ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/thawte.x509_ca -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/docsrc/images/axolotl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/docsrc/images/axolotl.jpg -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/docsrc/images/tsbasbw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/docsrc/images/tsbasbw.gif -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.ca_x509.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.ca_x509.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.device_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.device_key -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.encrypted.p8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.encrypted.p8 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.noname.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.noname.p12 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.withCA.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.withCA.p12 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_512.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_512.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/header_issue.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/header_issue.dat -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/microsoft.x509_ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/microsoft.x509_ca -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/verisign.x509_ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/verisign.x509_ca -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/lua/test_err.lua: -------------------------------------------------------------------------------- 1 | cgilua.htmlheader() 2 | cgilua.put"Oi!" 3 | --io.write"something\n" 4 | cgilua.errorlog ("eca", "emerg") 5 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axtls-root/etc/nixio/rsa_main.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axtls-root/etc/nixio/rsa_main.der -------------------------------------------------------------------------------- /applications/luci-app-fwknopd/luasrc/view/fwknopd-qr.htm: -------------------------------------------------------------------------------- 1 | <% print(luci.sys.exec("sh /usr/sbin/gen-qr.sh " .. self.tmp)) %> 2 | <% self.tmp = self.tmp + 1 %> 3 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.unencrypted.p8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.unencrypted.p8 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.withoutCA.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.withoutCA.p12 -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_1024.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_1024.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_2048.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_2048.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_4096.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_4096.cer -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/cgi-bin/olsr-viz.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/cgi-bin/olsr-viz.sh -------------------------------------------------------------------------------- /applications/luci-app-splash/root/etc/config/luci_splash_leases: -------------------------------------------------------------------------------- 1 | # This file should always stay empty and is just needed to be able to use this config in /var/state! 2 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_device.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_device.cer -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/verisign.x509_my_cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/verisign.x509_my_cert -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/add.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/key.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/key.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/up.gif -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/root/etc/uci-defaults/40_luci-https-dns-proxy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache; 3 | exit 0 4 | -------------------------------------------------------------------------------- /applications/luci-app-unbound/luasrc/view/unbound/show-empty.htm: -------------------------------------------------------------------------------- 1 | <%+header%> 2 |

<%=heading:pcdata()%>

3 |

<%=description:pcdata()%>

4 | <%+footer%> 5 | 6 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/deutsche_telecom.x509_ca: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/ssl/test/deutsche_telecom.x509_ca -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/apply.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/apply.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/arrow.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/down.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/edit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/edit.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/file.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/find.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/find.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/help.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/help.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/link.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/link.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/reset.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/reset.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/save.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/save.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/user.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/user.gif -------------------------------------------------------------------------------- /applications/luci-app-mwan3/luasrc/view/admin_status/index/mwan.htm: -------------------------------------------------------------------------------- 1 | <%if require("luci.sys").init.enabled("mwan3") then%> 2 | <%+mwan/overview_status_interface%> 3 | <%end%> 4 | -------------------------------------------------------------------------------- /applications/luci-app-splash/README: -------------------------------------------------------------------------------- 1 | 2 | * IPv6 support is only partial: 3 | - will only work when used together with IPv4 (Dual stack) 4 | - No bandwidth limiting 5 | 6 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/no_http/.htpasswd: -------------------------------------------------------------------------------- 1 | abcd:CQhgDPyy0rvEU8OMxnQIvg==$YdJfIKZimFLYxPf/rbnhtQ== 2 | yaya:Syuss5jE2FNGVdr0kKGoHg==$WLw/SgHZFuAoOuml3GTJVw== 3 | -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/download.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/download.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/fieldadd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/fieldadd.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/folder.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/reload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/reload.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/cbi/remove.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/cbi/remove.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/bridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/bridge.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/switch.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/tunnel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/tunnel.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/vlan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/vlan.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/wifi.png -------------------------------------------------------------------------------- /modules/luci-base/root/usr/share/acl.d/luci-base.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": "nobody", 3 | "access": { 4 | "system": { 5 | "methods": [ "board", "info" ] 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /themes/luci-theme-material/htdocs/luci-static/material/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-material/htdocs/luci-static/material/logo.png -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache; 4 | exit 0 5 | 6 | -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/ethernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/ethernet.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/loading.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/port_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/port_up.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-0.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/wifi_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/wifi_big.png -------------------------------------------------------------------------------- /applications/luci-app-lxc/htdocs/luci-static/resources/cbi/green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-lxc/htdocs/luci-static/resources/cbi/green.gif -------------------------------------------------------------------------------- /applications/luci-app-lxc/htdocs/luci-static/resources/cbi/red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-lxc/htdocs/luci-static/resources/cbi/red.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/cgi-bin/luci: -------------------------------------------------------------------------------- 1 | #!/usr/bin/lua 2 | require "luci.cacheloader" 3 | require "luci.sgi.cgi" 4 | luci.dispatcher.indexcache = "/tmp/luci-indexcache" 5 | luci.sgi.cgi.run() -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/encryption.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/encryption.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/port_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/port_down.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-0-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-0-25.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-none.png -------------------------------------------------------------------------------- /themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/favicon.ico -------------------------------------------------------------------------------- /themes/luci-theme-material/htdocs/luci-static/material/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-material/htdocs/luci-static/material/favicon.ico -------------------------------------------------------------------------------- /applications/luci-app-lxc/htdocs/luci-static/resources/cbi/purple.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-lxc/htdocs/luci-static/resources/cbi/purple.gif -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-25-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-25-50.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-50-75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-50-75.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/signal-75-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/signal-75-100.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/vlan_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/vlan_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/wifi_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/wifi_disabled.png -------------------------------------------------------------------------------- /themes/luci-theme-material/htdocs/luci-static/material/fonts/font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-material/htdocs/luci-static/material/fonts/font.eot -------------------------------------------------------------------------------- /themes/luci-theme-material/htdocs/luci-static/material/fonts/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-material/htdocs/luci-static/material/fonts/font.ttf -------------------------------------------------------------------------------- /themes/luci-theme-material/htdocs/luci-static/material/fonts/font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/themes/luci-theme-material/htdocs/luci-static/material/fonts/font.woff -------------------------------------------------------------------------------- /libs/luci-lib-nixio/.gitignore: -------------------------------------------------------------------------------- 1 | src/libaxtls.a 2 | .depend 3 | .config.* 4 | _stage 5 | conf 6 | lex.zconf.c 7 | lkc_defs.h 8 | mconf 9 | zconf.tab.h 10 | zconf.tab.c 11 | src/nixio.dll 12 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/httpd/kepler-1.1-snapshot-20070521-1825.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/libs/luci-lib-nixio/axTLS/httpd/kepler-1.1-snapshot-20070521-1825.tar.gz -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/no_http/index.html: -------------------------------------------------------------------------------- 1 | 2 | axhttpd is running 3 | 4 | Looks like you got to this directory. 5 | 6 | 7 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/test_dir/no_ssl/index.html: -------------------------------------------------------------------------------- 1 | 2 | axhttpd is running 3 | 4 | Looks like you got to this directory. 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/bridge_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/bridge_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/switch_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/switch_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/tunnel_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/tunnel_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/ethernet_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/ethernet_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/wifi_big_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/wifi_big_disabled.png -------------------------------------------------------------------------------- /modules/luci-base/htdocs/luci-static/resources/icons/encryption_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/modules/luci-base/htdocs/luci-static/resources/icons/encryption_disabled.png -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_ok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_ok.gif -------------------------------------------------------------------------------- /applications/luci-app-unbound/luasrc/view/unbound/css-editing.htm: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_down.gif -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_good.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_good.gif -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_weak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/dot_weak.gif -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/node-mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/node-mini.gif -------------------------------------------------------------------------------- /modules/luci-base/luasrc/model/cbi/admin_network/proto_none.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2011 Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | local map, section, net = ... 5 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-mini/luasrc/model/cbi/mini/index.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | return Template("mini/index") 5 | -------------------------------------------------------------------------------- /.buildpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/node-hna-mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/heixiaoma/luci/master/applications/luci-app-olsr-viz/htdocs/luci-static/resources/olsr-viz/node-hna-mini.gif -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/luasrc/controller/olsr-viz.lua: -------------------------------------------------------------------------------- 1 | module "luci.controller.olsr-viz" 2 | 3 | function index() 4 | entry({"admin", "status", "olsr", "olsr-viz"}, template("olsr-viz/olsr-viz"), _("OLSR-Viz"), 90) 5 | end 6 | -------------------------------------------------------------------------------- /applications/luci-app-attendedsysupgrade/root/etc/uci-defaults/40_luci-attendedsysupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf /tmp/luci-indexcache /tmp/luci-modulecache/ 4 | /etc/init.d/uhttpd restart 5 | /etc/init.d/rpcd reload 6 | 7 | return 0 8 | -------------------------------------------------------------------------------- /applications/luci-app-nlbwmon/Makefile: -------------------------------------------------------------------------------- 1 | include $(TOPDIR)/rules.mk 2 | 3 | LUCI_TITLE:=Netlink based bandwidth accounting 4 | LUCI_DEPENDS:=+nlbwmon 5 | 6 | include ../../luci.mk 7 | 8 | # call BuildPackage - OpenWrt buildroot signature 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/css.htm: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /themes/luci-theme-material/root/etc/uci-defaults/30_luci-theme-material: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci batch <<-EOF 3 | set luci.themes.Material=/luci-static/material 4 | set luci.main.mediaurlbase=/luci-static/material 5 | commit luci 6 | EOF 7 | exit 0 8 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/version.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | module "luci.version" 4 | 5 | distname = "Host System" 6 | distversion = "SDK" 7 | 8 | luciname = "LuCI" 9 | luciversion = "SVN" 10 | -------------------------------------------------------------------------------- /themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci batch <<-EOF 3 | set luci.themes.Bootstrap=/luci-static/bootstrap 4 | set luci.main.mediaurlbase=/luci-static/bootstrap 5 | commit luci 6 | EOF 7 | exit 0 8 | -------------------------------------------------------------------------------- /applications/luci-app-bcp38/luasrc/controller/bcp38.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.bcp38", package.seeall) 2 | 3 | function index() 4 | entry({"admin", "network", "firewall", "bcp38"}, 5 | cbi("bcp38"), 6 | _("BCP38"), 50).dependent = false 7 | end 8 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "odvr-nic-cz", 3 | label = _("ODVR (nic.cz)"), 4 | resolver_url = "https://odvr.nic.cz/doh", 5 | bootstrap_dns = "193.17.47.1,185.43.135.1" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/sb.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "DNS.SB", 3 | label = _("DNS.SB"), 4 | resolver_url = "https://doh.dns.sb/dns-query", 5 | bootstrap_dns = "185.222.222.222,185.184.222.222" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/google.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Google", 3 | label = _("Google"), 4 | resolver_url = "https://dns.google/dns-query", 5 | bootstrap_dns = "8.8.8.8,8.8.4.4", 6 | default = true 7 | } 8 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/footer.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <% include("themes/" .. theme .. "/footer") %> -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua: -------------------------------------------------------------------------------- 1 | return{ 2 | name = "DNSPod-cn-Public-DNS", 3 | label = _("DNSPod.cn Public DNS"), 4 | resolver_url = "https://doh.pub/dns-query", 5 | bootstrap_dns = "119.29.29.29,119.28.28.28" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.minidlna 5 | set ucitrack.minidlna=minidlna 6 | commit ucitrack 7 | EOF 8 | 9 | rm -f /tmp/luci-indexcache 10 | exit 0 11 | -------------------------------------------------------------------------------- /applications/luci-app-splash/luasrc/view/splash_splash/index.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 | <%+footer%> -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/indexer.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <% include("themes/" .. theme .. "/indexer") %> -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name="AliDNS", 3 | label=_("AliDNS"), 4 | resolver_url="https://dns.alidns.com/dns-query", 5 | bootstrap_dns="223.5.5.5,223.6.6.6,2400:3200::1,2400:3200:baba::1" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json: -------------------------------------------------------------------------------- 1 | { 2 | "luci-app-sqm": { 3 | "description": "Grant UCI access for luci-app-sqm", 4 | "read": { 5 | "uci": [ "sqm" ] 6 | }, 7 | "write": { 8 | "uci": [ "sqm" ] 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/cn.rubyfish.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "rubyfish.cn", 3 | label = _("rubyfish.cn"), 4 | resolver_url = "https://dns.rubyfish.cn/dns-query", 5 | bootstrap_dns = "118.89.110.78,47.96.179.163" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-wol/luasrc/controller/wol.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.wol", package.seeall) 2 | 3 | function index() 4 | entry({"admin", "services", "wol"}, form("wol"), _("Wake on LAN"), 90) 5 | entry({"mini", "services", "wol"}, form("wol"), _("Wake on LAN"), 90) 6 | end 7 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/store.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2009 Steven Barth 2 | -- Copyright 2009 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | local util = require "luci.util" 6 | module("luci.store", util.threadlocal) -------------------------------------------------------------------------------- /applications/luci-app-ddns/root/etc/uci-defaults/40_luci-ddns: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # no longer needed for "Save and Apply" to restart ddns 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@ddns[-1] 6 | commit ucitrack 7 | EOF 8 | 9 | rm -f /tmp/luci-indexcache 10 | return 0 11 | -------------------------------------------------------------------------------- /applications/luci-app-ahcp/root/etc/uci-defaults/40_luci-ahcp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@ahcpd[-1] 5 | add ucitrack ahcpd 6 | set ucitrack.@ahcpd[-1].init=ahcpd 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@aria2[-1] 5 | add ucitrack aria2 6 | set ucitrack.@aria2[-1].init=aria2 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.attendedsysupgrade", package.seeall) 2 | 3 | function index() 4 | entry({"admin", "system", "attended_sysupgrade"}, template("attendedsysupgrade"), _("Attended Sysupgrade"), 1) 5 | end 6 | -------------------------------------------------------------------------------- /applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | add ucitrack system 5 | set ucitrack.@system[-1].init=watchcat 6 | commit ucitrack 7 | EOF 8 | 9 | rm -f /tmp/luci-indexcache 10 | exit 0 11 | -------------------------------------------------------------------------------- /applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@p910nd[-1] 5 | add ucitrack p910nd 6 | set ucitrack.@p910nd[-1].init=p910nd 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-polipo/root/etc/uci-defaults/40_luci-polipo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@polipo[-1] 5 | add ucitrack polipo 6 | set ucitrack.@polipo[-1].init=polipo 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@upnpd[-1] 5 | add ucitrack upnpd 6 | set ucitrack.@upnpd[-1].init=miniupnpd 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-vnstat/root/etc/uci-defaults/40_luci-vnstat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@vnstat[-1] 5 | add ucitrack vnstat 6 | set ucitrack.@vnstat[-1].init=vnstat 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-adblock/root/etc/uci-defaults/40_luci-adblock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@adblock[-1] 5 | add ucitrack adblock 6 | set ucitrack.@adblock[-1].init=adblock 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@hd-idle[-1] 5 | add ucitrack hd-idle 6 | set ucitrack.@hd-idle[-1].init=hd-idle 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-nlbwmon/root/etc/uci-defaults/40_luci-nlbwmon: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@nlbwmon[-1] 5 | add ucitrack nlbwmon 6 | set ucitrack.@nlbwmon[-1].init=nlbwmon 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-vpnbypass/luasrc/controller/vpnbypass.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.vpnbypass", package.seeall) 2 | function index() 3 | if not nixio.fs.access("/etc/config/vpnbypass") then 4 | return 5 | end 6 | entry({"admin", "services", "vpnbypass"}, cbi("vpnbypass"), _("VPN Bypass")) 7 | end 8 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/cell_valueheader.htm: -------------------------------------------------------------------------------- 1 | 2 |
" data-index="<%=self.index%>" data-depends="<%=pcdata(self:deplist2json(section))%>"> 3 | -------------------------------------------------------------------------------- /applications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp38: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@bcp38[-1] 5 | add ucitrack bcp38 6 | add_list ucitrack.@bcp38[0].affects=firewall 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-dynapoint/luasrc/view/dynapoint/cbi_checkbox.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | 3 | 4 | 5 | 6 | <%+cbi/valuefooter%> 7 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/root/etc/uci-defaults/40_luci-asterisk: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@asterisk[-1] 5 | add ucitrack asterisk 6 | set ucitrack.@asterisk[-1].init=asterisk 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-unbound/root/etc/uci-defaults/60_luci-unbound: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@unbound[-1] 5 | add ucitrack unbound 6 | set ucitrack.@unbound[-1].init=unbound 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | 13 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/config/scripts/config/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /applications/luci-app-pagekitec/root/etc/uci-defaults/40_luci-pagekitec: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@pagekitec[-1] 5 | add ucitrack pagekitec 6 | set ucitrack.@pagekitec[-1].init=pagekitec 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci -q batch <<-EOF >/dev/null 3 | delete ucitrack.@vpnbypass[-1] 4 | add ucitrack vpnbypass 5 | set ucitrack.@vpnbypass[-1].init=vpnbypass 6 | commit ucitrack 7 | EOF 8 | 9 | rm -f /tmp/luci-indexcache 10 | exit 0 11 | 12 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Digitale-Gesellschaft", 3 | label = _("Digitale Gesellschaft"), 4 | resolver_url = "https://dns.digitale-gesellschaft.ch/dns-query", 5 | bootstrap_dns = "185.95.218.42,185.95.218.43" 6 | } 7 | -------------------------------------------------------------------------------- /applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@travelmate[-1] 5 | add ucitrack travelmate 6 | set ucitrack.@travelmate[-1].init=travelmate 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "LibreDNS", 3 | label = _("LibreDNS"), 4 | resolver_url = "https://doh.libredns.gr/dns-query", 5 | bootstrap_dns = "116.202.176.26", 6 | help_link = "https://libredns.gr/", 7 | help_link_text = "LibreDNS.gr" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-dynapoint/luasrc/controller/dynapoint.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.dynapoint", package.seeall) 2 | 3 | function index() 4 | if not nixio.fs.access("/etc/config/dynapoint") then 5 | return 6 | end 7 | entry({"admin", "services", "dynapoint"}, cbi("dynapoint"), _("DynaPoint")) 8 | end 9 | 10 | -------------------------------------------------------------------------------- /applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua: -------------------------------------------------------------------------------- 1 | module("luci.controller.simpleadblock", package.seeall) 2 | function index() 3 | if not nixio.fs.access("/etc/config/simple-adblock") then 4 | return 5 | end 6 | entry({"admin", "services", "simpleadblock"}, cbi("simpleadblock"), _("Simple AdBlock")) 7 | end 8 | -------------------------------------------------------------------------------- /applications/luci-app-transmission/root/etc/uci-defaults/40_luci-transmission: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@tranmsmission[-1] 5 | add ucitrack transmission 6 | set ucitrack.@transmission[-1].init=transmission 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc: -------------------------------------------------------------------------------- 1 | ---[[ 2 | Transparent UCI over RPC client. 3 | 4 | @cstyle instance 5 | ]] 6 | module "luci.rpcc.ruci" 7 | 8 | ---[[ 9 | Create a new UCI over RPC proxy. 10 | 11 | @class function 12 | @name factory 13 | @param rpccl RPC client 14 | @return Network transparent UCI module 15 | ]] 16 | 17 | -------------------------------------------------------------------------------- /applications/luci-app-adblock/luasrc/view/adblock/config_css.htm: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /applications/luci-app-coovachilli/po/templates/coovachilli.pot: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "Content-Type: text/plain; charset=UTF-8" 3 | 4 | msgid "CoovaChilli" 5 | msgstr "" 6 | 7 | msgid "Network Configuration" 8 | msgstr "" 9 | 10 | msgid "RADIUS configuration" 11 | msgstr "" 12 | 13 | msgid "UAM and MAC Authentication" 14 | msgstr "" 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "LibreDNS (No Ads)", 3 | label = _("LibreDNS (No Ads)"), 4 | resolver_url = "https://doh.libredns.gr/ads", 5 | bootstrap_dns = "116.202.176.26", 6 | help_link = "https://libredns.gr/", 7 | help_link_text = "LibreDNS.gr" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@mjpg-streamer[-1] 5 | add ucitrack mjpg-streamer 6 | set ucitrack.@mjpg-streamer[-1].init=mjpg-streamer 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci -q batch <<-EOF >/dev/null 3 | delete ucitrack.@simple-adblock[-1] 4 | add ucitrack simple-adblock 5 | set ucitrack.@simple-adblock[-1].init=simple-adblock 6 | commit ucitrack 7 | EOF 8 | 9 | rm -f /tmp/luci-indexcache 10 | exit 0 11 | -------------------------------------------------------------------------------- /applications/luci-app-dnscrypt-proxy/root/etc/uci-defaults/60_luci-dnscrypt-proxy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@dnscrypt-proxy[-1] 5 | add ucitrack dnscrypt-proxy 6 | set ucitrack.@dnscrypt-proxy[-1].init=dnscrypt-proxy 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-pagekitec/luasrc/controller/pagekitec.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2018 Karl Palsson 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.pagekitec", package.seeall) 5 | 6 | function index() 7 | entry({"admin", "services", "pagekitec"}, cbi("pagekitec"), _("PageKite")) 8 | end 9 | -------------------------------------------------------------------------------- /applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@sqm[-1] 5 | add ucitrack sqm 6 | set ucitrack.@sqm[-1].init=sqm 7 | del_list ucitrack.@firewall[0].affects=sqm 8 | add_list ucitrack.@firewall[0].affects=sqm 9 | commit ucitrack 10 | EOF 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /applications/luci-app-travelmate/luasrc/view/travelmate/config_css.htm: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /applications/luci-app-udpxy/root/etc/uci-defaults/40_luci-udpxy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # needed for "Save and Apply" to restart udpxy 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@udpxy[-1] 6 | add ucitrack udpxy 7 | set ucitrack.@udpxy[-1].init="udpxy" 8 | commit ucitrack 9 | EOF 10 | 11 | rm -f /tmp/luci-indexcache 12 | exit 0 13 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/src/Makefile: -------------------------------------------------------------------------------- 1 | %.o: %.c 2 | $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $< 3 | 4 | clean: 5 | rm -f luci-bwc *.o 6 | 7 | luci-bwc: luci-bwc.o 8 | $(CC) $(LDFLAGS) -o $@ $^ -ldl 9 | 10 | compile: luci-bwc 11 | 12 | install: compile 13 | mkdir -p $(DESTDIR)/usr/bin 14 | cp luci-bwc $(DESTDIR)/usr/bin/luci-bwc 15 | -------------------------------------------------------------------------------- /applications/luci-app-dnscrypt-proxy/luasrc/view/dnscrypt-proxy/config_css.htm: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /applications/luci-app-privoxy/root/etc/uci-defaults/40_luci-privoxy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # no longer needed for "Save and Apply" to restart privoxy 4 | # luci-app-privoxy calls /etc/init.d/privoxy reload 5 | uci -q batch <<-EOF >/dev/null 6 | delete ucitrack.@privoxy[-1] 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/luasrc/view/olsr-viz/olsr-viz.htm: -------------------------------------------------------------------------------- 1 | <%+header%> 2 | 7 | 8 | 9 | 10 | <%+footer%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/40_luci-shadowsocks-libev: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@shadowsocks-libev[-1] 5 | add ucitrack shadowsocks-libev 6 | set ucitrack.@shadowsocks-libev[-1].init=shadowsocks-libev 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | exit 0 12 | -------------------------------------------------------------------------------- /applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm: -------------------------------------------------------------------------------- 1 | <%+header%> 2 |

<%=heading:pcdata()%>

3 |

<%=description:pcdata()%>

4 |
5 | 6 |
7 | <%+footer%> 8 | 9 | -------------------------------------------------------------------------------- /applications/luci-app-wireguard/luasrc/controller/wireguard.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2016-2017 Dan Luedtke 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.wireguard", package.seeall) 5 | 6 | function index() 7 | entry({"admin", "status", "wireguard"}, template("wireguard"), _("WireGuard Status"), 92) 8 | end 9 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/button.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | <% if self:cfgvalue(section) ~= false then %> 3 | " type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> /> 4 | <% else %> 5 | - 6 | <% end %> 7 | <%+cbi/valuefooter%> 8 | -------------------------------------------------------------------------------- /applications/luci-app-dump1090/root/etc/uci-defaults/40_luci-dump1090: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # needed for "Save and Apply" to restart dump1090 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@dump1090[-1] 6 | add ucitrack dump1090 7 | set ucitrack.@dump1090[-1].init="dump1090" 8 | commit ucitrack 9 | EOF 10 | 11 | rm -f /tmp/luci-indexcache 12 | exit 0 13 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns9.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Quad9-Secured", 3 | label = _("Quad 9 (Secured)"), 4 | resolver_url = "https://dns9.quad9.net/dns-query", 5 | bootstrap_dns = "9.9.9.9,149.112.112.9", 6 | help_link = "https://www.quad9.net/doh-quad9-dns-servers/", 7 | help_link_text = "Quad9.net" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # no longer needed for "Save and Apply" to restart radicale 4 | # luci-app-radicale calls /etc/init.d/radicale reload 5 | uci -q batch <<-EOF >/dev/null 6 | delete ucitrack.@radicale[-1] 7 | commit ucitrack 8 | EOF 9 | 10 | rm -f /tmp/luci-indexcache 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/NOTICE: -------------------------------------------------------------------------------- 1 | nixio - Linux I/O library for lua 2 | Copyright 2009 Steven Barth 3 | Licensed under the Apache License, Version 2.0. 4 | 5 | Contains code from: 6 | axTLS - Copyright 2008 Cameron Rich 7 | 8 | Thanks for testing, feedback and code snippets: 9 | John Crispin 10 | Jo-Philipp Wich -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Quad9-Recommended", 3 | label = _("Quad 9 (Recommended)"), 4 | resolver_url = "https://dns.quad9.net/dns-query", 5 | bootstrap_dns = "9.9.9.9,149.112.112.112", 6 | help_link = "https://www.quad9.net/doh-quad9-dns-servers/", 7 | help_link_text = "Quad9.net" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns10.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Quad9-Unsecured", 3 | label = _("Quad 9 (Unsecured)"), 4 | resolver_url = "https://dns10.quad9.net/dns-query", 5 | bootstrap_dns = "9.9.9.10,149.112.112.10", 6 | help_link = "https://www.quad9.net/doh-quad9-dns-servers/", 7 | help_link_text = "Quad9.net" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-shairplay/root/etc/uci-defaults/40_luci-shairplay: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # needed for "Save and Apply" to restart shairplay 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@shairplay[-1] 6 | add ucitrack shairplay 7 | set ucitrack.@shairplay[-1].init="shairplay" 8 | commit ucitrack 9 | EOF 10 | 11 | rm -f /tmp/luci-indexcache 12 | exit 0 13 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Asterisk 10 | 11 | include ../../luci.mk 12 | 13 | # call BuildPackage - OpenWrt buildroot signature 14 | -------------------------------------------------------------------------------- /applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # needed for "Save and Apply" to restart dynapoint 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@dynapoint[-1] 6 | add ucitrack dynapoint 7 | set ucitrack.@dynapoint[-1].init="dynapoint" 8 | commit dynapoint 9 | EOF 10 | 11 | rm -f /tmp/luci-indexcache 12 | exit 0 13 | 14 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns11.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Quad9-ECS", 3 | label = _("Quad 9 (Secured with ECS Support)"), 4 | resolver_url = "https://dns11.quad9.net/dns-query", 5 | bootstrap_dns = "9.9.9.11,149.112.112.11", 6 | help_link = "https://www.quad9.net/doh-quad9-dns-servers/", 7 | help_link_text = "Quad9.net" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "AdGuard-Standard", 3 | label = _("AdGuard (Standard)"), 4 | resolver_url = "https://dns.adguard.com/dns-query", 5 | bootstrap_dns = "176.103.130.130,176.103.130.131", 6 | help_link = "https://adguard.com/en/adguard-dns/overview.html", 7 | help_link_text = "AdGuard.com" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.cloudflare-dns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Cloudflare", 3 | label = _("Cloudflare"), 4 | resolver_url = "https://cloudflare-dns.com/dns-query", 5 | bootstrap_dns = "1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001", 6 | help_link = "https://one.one.one.one/family/", 7 | help_link_text = "Cloudflare" 8 | } 9 | -------------------------------------------------------------------------------- /themes/luci-theme-material/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Material Theme 10 | LUCI_DEPENDS:= 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | uci -q batch <<-EOF >/dev/null 4 | delete ucitrack.@olsrd[-1] 5 | add ucitrack olsrd 6 | set ucitrack.@olsrd[-1].init=olsrd 7 | delete ucitrack.@olsrd6[-1] 8 | add ucitrack olsrd6 9 | set ucitrack.@olsrd6[-1].init=olsrd6 10 | commit ucitrack 11 | EOF 12 | 13 | rm -f /tmp/luci-indexcache 14 | exit 0 15 | -------------------------------------------------------------------------------- /libs/luci-lib-px5g/src/px5g.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "polarssl/havege.h" 6 | #include "polarssl/bignum.h" 7 | #include "polarssl/x509.h" 8 | #include "polarssl/rsa.h" 9 | 10 | #define PX5G_KEY_META "px5g.key" 11 | 12 | typedef struct px5g_rsa { 13 | int stat; 14 | havege_state hs; 15 | rsa_context rsa; 16 | } px5g_rsa; 17 | -------------------------------------------------------------------------------- /protocols/luci-proto-3g/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for 3G 10 | LUCI_DEPENDS:=+comgt 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /protocols/luci-proto-qmi/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for QMI 10 | LUCI_DEPENDS:=+uqmi 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | LuCI - Lua Configuration Interface 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed under the Apache License, Version 2.0. 5 | 6 | Contains code from: 7 | coxpcall - Copyright 2005 - Kepler Project (www.keplerproject.org) 8 | ltn12/luasocket - Copyright 2004-2007 Diego Nehab 9 | axTLS - Copyright 2008 Cameron Rich 10 | -------------------------------------------------------------------------------- /libs/luci-lib-jsonc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Lua binding for JSON-C 10 | LUCI_DEPENDS:=+liblua +libjson-c 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-rpcc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for AHCPd 10 | LUCI_DEPENDS:=@BROKEN 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /protocols/luci-proto-ncm/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for NCM 10 | LUCI_DEPENDS:=+comgt-ncm 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-ahcp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for AHCPd 10 | LUCI_DEPENDS:=+ahcpd 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-ddns/luasrc/view/ddns/overview_doubleline.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%+cbi/valueheader%> 4 | 5 | <%=self:set_one(section)%> 6 |
7 | <%=self:set_two(section)%> 8 | 9 | <%+cbi/valuefooter%> 10 | 11 | -------------------------------------------------------------------------------- /applications/luci-app-udpxy/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for udpxy 10 | LUCI_DEPENDS:=+udpxy 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-adblock/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Dirk Brenken (dev@brenken.org) 2 | # This is free software, licensed under the Apache License, Version 2.0 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | LUCI_TITLE:=LuCI support for Adblock 7 | LUCI_DEPENDS:=+adblock +luci-lib-jsonc 8 | LUCI_PKGARCH:=all 9 | 10 | include ../../luci.mk 11 | 12 | # call BuildPackage - OpenWrt buildroot signature 13 | -------------------------------------------------------------------------------- /applications/luci-app-diag-core/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Diagnostics Tools (Core) 10 | LUCI_DEPENDS:= 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "AdGuard-Family", 3 | label = _("AdGuard (Family Protection)"), 4 | resolver_url = "https://dns-family.adguard.com/dns-query", 5 | bootstrap_dns = "176.103.130.132,176.103.130.134", 6 | help_link = "https://adguard.com/en/adguard-dns/overview.html", 7 | help_link_text = "AdGuard.com" 8 | } 9 | -------------------------------------------------------------------------------- /libs/luci-lib-iptparser/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Iptables listing parser class 10 | LUCI_DEPENDS:=+luci-base 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-dump1090/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for dump1090 10 | LUCI_DEPENDS:=+dump1090 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.doh.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "OpenDNS", 3 | label = _("OpenDNS"), 4 | resolver_url = "https://doh.opendns.com/dns-query", 5 | bootstrap_dns = "208.67.222.222,208.67.220.220", 6 | help_link = "https://support.opendns.com/hc/en-us/articles/360038086532-Using-DNS-over-HTTPS-DoH-with-OpenDNS", 7 | help_link_text = "OpenDNS" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/org.cleanbrowsing.doh-adult.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "CleanBrowsing-Adult", 3 | label = _("CleanBrowsing (Adult Filter)"), 4 | resolver_url = "https://doh.cleanbrowsing.org/doh/adult-filter/", 5 | bootstrap_dns = "185.228.168.168", 6 | help_link = "https://cleanbrowsing.org/guides/dnsoverhttps", 7 | help_link_text = "CleanBrowsing.org" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-minidlna/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for miniDLNA 10 | LUCI_DEPENDS:=+minidlna 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-p910nd/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=p910nd - Printer server module 10 | LUCI_DEPENDS:=+p910nd 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-siitwizard/luasrc/controller/siitwizard.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | module "luci.controller.siitwizard" 6 | 7 | function index() 8 | entry({"admin", "network", "siitwizard"}, form("siitwizard"), "SIIT 4over6 assistent", 99) 9 | end 10 | -------------------------------------------------------------------------------- /applications/luci-app-watchcat/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Watchcat 10 | LUCI_DEPENDS:=+watchcat 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-httpprotoutils/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=HTTP protocol utility functions 10 | LUCI_DEPENDS:=+luci-base 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-coovachilli/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Coova Chilli 10 | LUCI_DEPENDS:=@BROKEN 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-hd-idle/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Hard Disk Idle Spin-Down module 10 | LUCI_DEPENDS:=+hd-idle 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/org.cleanbrowsing.doh-family.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "CleanBrowsing-Family", 3 | label = _("CleanBrowsing (Family Filter)"), 4 | resolver_url = "https://doh.cleanbrowsing.org/doh/family-filter/", 5 | bootstrap_dns = "185.228.168.168", 6 | help_link = "https://cleanbrowsing.org/guides/dnsoverhttps", 7 | help_link_text = "CleanBrowsing.org" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-ltqtapi/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Lantiq Devices 10 | LUCI_DEPENDS:=@BROKEN 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-polipo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for the Polipo Proxy 10 | LUCI_DEPENDS:=+polipo 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-shairplay/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Shairplay 10 | LUCI_DEPENDS:=+shairplay 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-vnstat/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for VnStat 10 | LUCI_DEPENDS:=+vnstat +vnstati 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-wol/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Wake-on-LAN 10 | LUCI_DEPENDS:=+etherwake +wol 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-json/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI JSON library 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /libs/luci-lib-luaneightbl/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=neightbl - Lua lib for IPv6 neighbors 10 | LUCI_DEPENDS:=+liblua 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /protocols/luci-proto-relay/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for relayd pseudo bridges 10 | LUCI_DEPENDS:=+relayd 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-httpclient/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=HTTP(S) client library 10 | LUCI_DEPENDS:=+luci-base +luci-lib-nixio 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/lua/test_cookies.lp: -------------------------------------------------------------------------------- 1 | 8 | 9 |

Testing Cookies library

10 | 11 | <%= CL_COOKIE%> = <%= tostring(test)%>
12 | Assigning current date to cookie!
13 | Reload this script to check cookie's value! 14 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/header.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <% 8 | if not luci.dispatcher.context.template_header_sent then 9 | include("themes/" .. theme .. "/header") 10 | luci.dispatcher.context.template_header_sent = true 11 | end 12 | %> 13 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | module("luci.controller.admin.filebrowser", package.seeall) 6 | 7 | function index() 8 | entry( {"admin", "filebrowser"}, template("cbi/filebrowser") ).leaf = true 9 | end 10 | -------------------------------------------------------------------------------- /protocols/luci-proto-openconnect/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for OpenConnect VPN 10 | LUCI_DEPENDS:=+openconnect 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.cloudflare-dns.family.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Cloudflare-Family", 3 | label = _("Cloudflare (Family Protection)"), 4 | resolver_url = "https://family.cloudflare-dns.com/dns-query", 5 | bootstrap_dns = "1.1.1.3,1.0.0.3,2606:4700:4700::1113,2606:4700:4700::1003", 6 | help_link = "https://one.one.one.one/family/", 7 | help_link_text = "Cloudflare" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/org.cleanbrowsing.doh-security.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "CleanBrowsing-Security", 3 | label = _("CleanBrowsing (Security Filter)"), 4 | resolver_url = "https://doh.cleanbrowsing.org/doh/security-filter/", 5 | bootstrap_dns = "185.228.168.168", 6 | help_link = "https://cleanbrowsing.org/guides/dnsoverhttps", 7 | help_link_text = "CleanBrowsing.org" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-ocserv/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for OpenConnect VPN 10 | LUCI_DEPENDS:=+ocserv +certtool 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-samba/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Network Shares - Samba SMB/CIFS module 10 | LUCI_DEPENDS:=+samba36-server 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-tinyproxy/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Tinyproxy - HTTP(S)-Proxy configuration 10 | LUCI_DEPENDS:=+tinyproxy 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-travelmate/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2018 Dirk Brenken (dev@brenken.org) 2 | # This is free software, licensed under the Apache License, Version 2.0 3 | # 4 | 5 | include $(TOPDIR)/rules.mk 6 | 7 | LUCI_TITLE:=LuCI support for Travelmate 8 | LUCI_DEPENDS:=+travelmate +luci-lib-jsonc 9 | LUCI_PKGARCH:=all 10 | 11 | include ../../luci.mk 12 | 13 | # call BuildPackage - OpenWrt buildroot signature 14 | -------------------------------------------------------------------------------- /applications/luci-app-upnp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Universal Plug & Play configuration module 10 | LUCI_DEPENDS:=+miniupnpd 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/cs/asterisk.po: -------------------------------------------------------------------------------- 1 | # asterisk.pot 2 | # generated from ./applications/luci-asterisk/luasrc/i18n/asterisk.en.lua 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: PACKAGE VERSION\n" 6 | "Last-Translator: Automatically generated\n" 7 | "Language-Team: none\n" 8 | "Language: \n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | -------------------------------------------------------------------------------- /applications/luci-app-ntpc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=NTP time synchronisation configuration module 10 | LUCI_DEPENDS:=+ntpclient 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-siitwizard/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=SIIT IPv4-over-IPv6 configuration wizard 10 | LUCI_DEPENDS:=+kmod-siit 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/cacheloader.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | local config = require "luci.config" 6 | local ccache = require "luci.ccache" 7 | 8 | module "luci.cacheloader" 9 | 10 | if config.ccache and config.ccache.enable == "1" then 11 | ccache.cache_ondemand() 12 | end -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/root/bin/getcpu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ $(busybox ps -w | grep getcpu | grep -v grep | wc -l) -le 2 ]; then 4 | AT=$(cat /proc/stat | grep "^cpu " | awk '{print $2+$3+$4+$5+$6+$7+$8 " " $2+$3+$4+$7+$8}') 5 | sleep 1 6 | BT=$(cat /proc/stat | grep "^cpu " | awk '{print $2+$3+$4+$5+$6+$7+$8 " " $2+$3+$4+$7+$8}') 7 | printf "%.01f%%" $(echo $AT $BT | awk '{print (($4-$2)/($3-$1))*100}') >/tmp/cpuusage 8 | fi -------------------------------------------------------------------------------- /modules/luci-mod-failsafe/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Fail-Safe - Fail-Safe sysupgrade module 10 | LUCI_DEPENDS:=+luci-base 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | 16 | -------------------------------------------------------------------------------- /applications/luci-app-attendedsysupgrade/Makefile: -------------------------------------------------------------------------------- 1 | # See /LICENSE for more information. 2 | # This is free software, licensed under the GNU General Public License v2. 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | LUCI_TITLE:=LuCI support for attended sysupgrades 7 | LUCI_DEPENDS:=+luci-base +uhttpd-mod-ubus +attendedsysupgrade-common +cgi-io 8 | 9 | include ../../luci.mk 10 | 11 | # call BuildPackage - OpenWrt buildroot signature 12 | -------------------------------------------------------------------------------- /applications/luci-app-commands/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Shell Command Module 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.cloudflare-dns.security.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "Cloudflare-Security", 3 | label = _("Cloudflare (Security Protection)"), 4 | resolver_url = "https://security.cloudflare-dns.com/dns-query", 5 | bootstrap_dns = "1.1.1.2,1.0.0.2,2606:4700:4700::1112,2606:4700:4700::1002", 6 | help_link = "https://one.one.one.one/family/", 7 | help_link_text = "Cloudflare" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-viz/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=OLSR Visualisation 10 | LUCI_DEPENDS:=+luci-app-olsr +olsrd +olsrd-mod-txtinfo 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-openvpn/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for OpenVPN 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-unbound/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Unbound Recursive DNS Resolver Configuration 10 | LUCI_DEPENDS:=+unbound-daemon 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/browser.htm: -------------------------------------------------------------------------------- 1 | <% local v = self:cfgvalue(section) -%> 2 | <%+cbi/valueheader%> 3 | /> 4 | 7 | <%+cbi/valuefooter%> 8 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/tvalue.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | 5 | <%+cbi/valuefooter%> 6 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/error500.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

500 <%:Internal Server Error%>

9 |

<%:Sorry, the server encountered an unexpected error.%>

10 |
<%=message%>
11 | <%+footer%> 12 | -------------------------------------------------------------------------------- /modules/luci-base/root/etc/uci-defaults/luci-base: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | str1="cgi-bin/luci" 3 | str2=`uci get uhttpd.main.index_page` 4 | result=$(echo $str2 | grep "$str1") 5 | if [ -z "$result" ] 6 | then 7 | uci -q batch <<-EOF >/dev/null 8 | add_list uhttpd.main.index_page='cgi-bin/luci' 9 | commit uhttpd 10 | EOF 11 | fi 12 | uci -q batch <<-EOF >/dev/null 13 | set luci.main.lang=zh_cn 14 | commit luci 15 | EOF 16 | exit 0 17 | -------------------------------------------------------------------------------- /themes/luci-theme-bootstrap/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Bootstrap Theme (default) 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-mjpg-streamer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=MJPG-Streamer service configuration module 10 | LUCI_DEPENDS:=+mjpg-streamer 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-rp-pppoe-server/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=Roaring Penguing PPPoE Server 11 | LUCI_DEPENDS:=+rp-pppoe-server 12 | 13 | include ../../luci.mk 14 | 15 | # call BuildPackage - OpenWrt buildroot signature 16 | -------------------------------------------------------------------------------- /protocols/luci-proto-ppp/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for PPP/PPPoE/PPPoA/PPtP 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-shadowsocks-libev/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2017 Yousong Zhou 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for shadowsocks-libev 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/error404.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

404 <%:Not Found%>

9 |

<%:Sorry, the object you requested was not found.%>

10 | <%:Unable to dispatch%>: <%=luci.http.request.env.PATH_INFO%> 11 | <%+footer%> 12 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-mini/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Essentials - stripped down and user-friendly 10 | LUCI_DEPENDS:=+luci-base @BROKEN 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | 16 | -------------------------------------------------------------------------------- /modules/luci-mod-rpc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI RPC - JSON-RPC API 10 | LUCI_DEPENDS:=+luci-lib-json 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | 18 | -------------------------------------------------------------------------------- /applications/luci-app-noddos/root/etc/uci-defaults/40_luci-noddos: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright (C) 2017 Steven Hessing (steven.hessing@live.com) 4 | # This is free software, licensed under the GNU General Public License v3 5 | 6 | uci -q batch <<-EOF >/dev/null 7 | delete ucitrack.@noddos[-1] 8 | add ucitrack noddos 9 | set ucitrack.@noddos[-1].init=noddos 10 | commit ucitrack 11 | EOF 12 | 13 | rm -f /tmp/luci-indexcache 14 | exit 0 15 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | 11 | -------------------------------------------------------------------------------- /modules/luci-newapi/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 Jo-Philipp Wich 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | PKG_NAME:=luci-newapi 10 | 11 | LUCI_TYPE:=mod 12 | LUCI_BASENAME:=newapi 13 | 14 | LUCI_TITLE:=LuCI NewAPI 15 | LUCI_DEPENDS:=+luci-base 16 | 17 | include ../../luci.mk 18 | 19 | # call BuildPackage - OpenWrt buildroot signature -------------------------------------------------------------------------------- /applications/luci-app-dnscrypt-proxy/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Dirk Brenken (dev@brenken.org) 2 | # This is free software, licensed under the Apache License, Version 2.0 3 | # 4 | 5 | include $(TOPDIR)/rules.mk 6 | 7 | LUCI_TITLE:=LuCI support for DNSCrypt-Proxy 8 | LUCI_DEPENDS:=+uclient-fetch +dnscrypt-proxy +luci-lib-httpprotoutils 9 | LUCI_PKGARCH:=all 10 | 11 | include ../../luci.mk 12 | 13 | # call BuildPackage - OpenWrt buildroot signature 14 | -------------------------------------------------------------------------------- /applications/luci-app-watchcat/luasrc/controller/watchcat.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2012 Christian Gagneraud 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.watchcat", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/system") then 8 | return 9 | end 10 | entry({"admin", "services", "watchcat"}, cbi("watchcat/watchcat"), _("Watchcat"), 90) 11 | end 12 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/lua/test_cookies.lua: -------------------------------------------------------------------------------- 1 | local cookies = require"cgilua.cookies" 2 | CL_COOKIE = "cgilua_cookie" 3 | 4 | local test = cookies.get (CL_COOKIE) 5 | cookies.set (CL_COOKIE, os.date()) 6 | 7 | cgilua.htmlheader () 8 | cgilua.put ([[ 9 |

Testing Cookies library

10 | 11 | ]]..CL_COOKIE..' = '..tostring(test)..[[
12 | Assigning current date to cookie!
13 | Reload this script to check cookie's value! 14 | ]]) 15 | -------------------------------------------------------------------------------- /protocols/luci-proto-ipv6/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for DHCPv6/6in4/6to4/6rd/DS-Lite/aiccu 10 | LUCI_DEPENDS:= 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-firewall/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Firewall and Portforwarding application 10 | LUCI_DEPENDS:=+firewall 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-pagekitec/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 Karl Palsson 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for PageKite 10 | LUCI_DEPENDS:=+pagekitec 11 | 12 | PKG_MAINTAINER:=Karl Palsson 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-qos/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Quality of Service configuration module 10 | LUCI_DEPENDS:=+qos-scripts 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /applications/luci-app-qos/luasrc/controller/qos.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.qos", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/qos") then 8 | return 9 | end 10 | 11 | local page 12 | 13 | page = entry({"admin", "network", "qos"}, cbi("qos/qos"), _("QoS")) 14 | page.dependent = true 15 | end 16 | -------------------------------------------------------------------------------- /libs/luci-lib-ip/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Lua library for IP calculation and routing information 10 | LUCI_DEPENDS:=+liblua +libnl-tiny 11 | 12 | PKG_LICENSE:=Apache-2.0 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | 11 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.familyshield.doh.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "OpenDNS-FamilyShield", 3 | label = _("OpenDNS (Family Shield)"), 4 | resolver_url = "https://doh.familyshield.opendns.com/dns-query", 5 | bootstrap_dns = "208.67.222.123,208.67.220.123", 6 | help_link = "https://support.opendns.com/hc/en-us/articles/360038086532-Using-DNS-over-HTTPS-DoH-with-OpenDNS", 7 | help_link_text = "OpenDNS" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-siitwizard/root/etc/config/siit: -------------------------------------------------------------------------------- 1 | config siit ipv4 2 | option pool "77.87.52.0/22" 3 | option netsize "29" 4 | 5 | config siit ipv6 6 | option ula_prefix "fd00::" 7 | option ula_global "00ca:ffee:babe::" 8 | option ula_subnet "0000:0000:0000:dada::" 9 | option siit_prefix "::ffff:0000:0000" 10 | 11 | config siit wifi 12 | option essid "6mesh.freifunk.net" 13 | option bssid "02:25:c3:ca:ff:ee" 14 | option channel "1" 15 | -------------------------------------------------------------------------------- /applications/luci-app-transmission/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2016 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for Transmission 10 | LUCI_DEPENDS:=+transmission-daemon-openssl +transmission-web-control 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/docsrc/nixio.crypto.lua: -------------------------------------------------------------------------------- 1 | --- Cryptographical library. 2 | module "nixio.crypto" 3 | 4 | --- Create a hash object. 5 | -- @class function 6 | -- @name nixio.crypto.hash 7 | -- @param algo Algorithm ["sha1", "md5"] 8 | -- @return CryptoHash Object 9 | 10 | --- Create a HMAC object. 11 | -- @class function 12 | -- @name nixio.crypto.hmac 13 | -- @param algo Algorithm ["sha1", "md5"] 14 | -- @param key HMAC-Key 15 | -- @return CryptoHash Object -------------------------------------------------------------------------------- /modules/luci-compat/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 Jo-Philipp Wich 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | PKG_NAME:=luci-compat 10 | 11 | LUCI_TYPE:=mod 12 | LUCI_BASENAME:=compat 13 | 14 | LUCI_TITLE:=LuCI compatibility libraries 15 | LUCI_DEPENDS:=+luci-base 16 | 17 | include ../../luci.mk 18 | 19 | # call BuildPackage - OpenWrt buildroot signature -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "ZyXEL", 3 | deviceName = "NBG6817", 4 | boardNames = { "nbg6817" }, 5 | partition1MTD = "mmcblk0p4", 6 | partition2MTD = "mmcblk0p7", 7 | labelOffset = 32, 8 | bootEnv1 = nil, 9 | bootEnv1Partition1Value = 255, 10 | bootEnv1Partition2Value = 1, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-dynapoint/luasrc/view/dynapoint/cbi_color.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | 3 | 4 | <% 5 | if (self:cfgvalue(section) == translate("Disabled")) then 6 | %> 7 | 8 | <%=self:cfgvalue(section)%> 9 | 10 | <% 11 | else 12 | %> 13 | <%=self:cfgvalue(section)%> 14 | <% 15 | end 16 | %> 17 | 18 | <%+cbi/valuefooter%> 19 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=OLSR configuration and status module 10 | LUCI_DEPENDS:=+olsrd +olsrd-mod-jsoninfo +luci-lib-luaneightbl +luci-lib-json 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-udpxy/luasrc/controller/udpxy.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2014 Álvaro Fernández Rojas 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.udpxy", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/udpxy") then 8 | return 9 | end 10 | 11 | local page = entry({"admin", "services", "udpxy"}, cbi("udpxy"), _("udpxy")) 12 | page.dependent = true 13 | 14 | end 15 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/tr/asterisk.po: -------------------------------------------------------------------------------- 1 | # asterisk.pot 2 | # generated from ./applications/luci-asterisk/luasrc/i18n/asterisk.en.lua 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: PACKAGE VERSION\n" 6 | "Last-Translator: Automatically generated\n" 7 | "Language-Team: none\n" 8 | "Language: \n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "Plural-Forms: nplurals=1; plural=0;\n" 13 | -------------------------------------------------------------------------------- /applications/luci-app-cshark/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2017 Dan Luedtke 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Cloudshark capture tool Web UI 10 | LUCI_DEPENDS:=+cshark 11 | LUCI_PKGARCH:=all 12 | 13 | PKG_MAINTAINER:=Luka Perkov 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-services/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Show services announced with the nameservice plugin 10 | LUCI_DEPENDS:=+luci-app-olsr +olsrd +olsrd-mod-nameservice 11 | 12 | include ../../luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/no/asterisk.po: -------------------------------------------------------------------------------- 1 | # asterisk.pot 2 | # generated from ./applications/luci-asterisk/luasrc/i18n/asterisk.en.lua 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: PACKAGE VERSION\n" 6 | "Last-Translator: Automatically generated\n" 7 | "Language-Team: none\n" 8 | "Language: \n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA9500", 4 | boardName = "linksys-panamera", 5 | partition1MTD = "mtd3", 6 | partition2MTD = "mtd6", 7 | labelOffset = 28, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-diag-core/luasrc/view/diag/index.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2009 Daniel Dickinson 3 | Licensed to the public under the Apache License 2.0. 4 | -%> 5 | 6 | <%+header%> 7 |

<%:Diagnostics%>

8 |

<%:The entries in the menu allow you to perform diagnostic tests on your system to aid in troubleshooting.%>

9 |

<%:The diagnostics available under this menu depend on what modules you have installed on your device.%>

10 | <%+footer%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Yanira 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.hd_idle", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/hd-idle") then 8 | return 9 | end 10 | 11 | local page 12 | 13 | page = entry({"admin", "services", "hd_idle"}, cbi("hd_idle"), _("HDD Idle"), 60) 14 | page.dependent = true 15 | end 16 | -------------------------------------------------------------------------------- /applications/luci-app-olsr-services/luasrc/controller/services.lua: -------------------------------------------------------------------------------- 1 | module "luci.controller.services" 2 | 3 | function index() 4 | local uci = require "luci.model.uci".cursor() 5 | 6 | uci:foreach("olsrd", "LoadPlugin", function(s) 7 | if s.library == "olsrd_nameservice.so.0.3" then 8 | has_serv = true 9 | end 10 | end) 11 | 12 | if has_serv then 13 | entry({"freifunk", "services"}, template("freifunk-services/services"), _("Services"), 60) 14 | end 15 | end 16 | 17 | -------------------------------------------------------------------------------- /libs/luci-lib-px5g/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=RSA/X.509 Key Generator (required for LuCId SSL support) 10 | LUCI_DEPENDS:=+liblua 11 | 12 | PKG_USE_MIPS16:=0 13 | PKG_LICENSE:=LGPL-2.1 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/dvalue.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | <% if self.href then %><% end -%> 3 | <% 4 | local val = self:cfgvalue(section) or self.default or "" 5 | if not self.rawhtml then 6 | write(pcdata(val)) 7 | else 8 | write(val) 9 | end 10 | %> 11 | <%- if self.href then %><%end%> 12 | " /> 13 | <%+cbi/valuefooter%> 14 | -------------------------------------------------------------------------------- /applications/luci-app-dump1090/luasrc/controller/dump1090.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2014 Álvaro Fernández Rojas 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.dump1090", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/dump1090") then 8 | return 9 | end 10 | 11 | local page = entry({"admin", "services", "dump1090"}, cbi("dump1090"), _("dump1090")) 12 | page.dependent = true 13 | 14 | end 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/ca.cira.canadianshield.family.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "cira-canadian-shield-family", 3 | label = _("CIRA Canadian Shield (Family)"), 4 | resolver_url = "https://family.canadianshield.cira.ca/dns-query", 5 | bootstrap_dns = "149.112.121.30,149.112.122.30,2620:10A:80BB::30,2620:10A:80BC::30", 6 | help_link = "https://www.cira.ca/cybersecurity-services/canadian-shield/", 7 | help_link_text = "CIRA Canadian Shield" 8 | } 9 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/root/lib/upgrade/luci-add-conffiles.sh: -------------------------------------------------------------------------------- 1 | add_luci_conffiles() 2 | { 3 | local filelist="$1" 4 | 5 | # save ssl certs 6 | if [ -d /etc/nixio ]; then 7 | find /etc/nixio -type f >> $filelist 8 | fi 9 | 10 | # save uhttpd certs 11 | [ -f "/etc/uhttpd.key" ] && echo /etc/uhttpd.key >> $filelist 12 | [ -f "/etc/uhttpd.crt" ] && echo /etc/uhttpd.crt >> $filelist 13 | } 14 | 15 | sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_luci_conffiles" 16 | 17 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

<%:Kernel Log%>

9 |
10 | 11 |
12 | <%+footer%> 13 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

<%:System Log%>

9 |
10 | 11 |
12 | <%+footer%> 13 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA8500", 4 | boardNames = { "linksys-ea8500", "linksys,ea8500" }, 5 | partition1MTD = "mtd13", 6 | partition2MTD = "mtd15", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-diag-core/luasrc/view/diag/network_config_index.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2009 Daniel Dickinson 3 | Licensed to the public under the Apache License 2.0. 4 | -%> 5 | 6 | <%+header%> 7 |

<%:Diagnostics%>

8 |

<%:With this menu you can configure network diagnostics, such as network device scans and ping tests.%>

9 |

<%:The diagnostics available under this menu depend on what modules you have installed on your device.%>

10 | <%+footer%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/ca.cira.canadianshield.private.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "cira-canadian-shield-private", 3 | label = _("CIRA Canadian Shield (Private)"), 4 | resolver_url = "https://private.canadianshield.cira.ca/dns-query", 5 | bootstrap_dns = "149.112.121.10,149.112.122.10,2620:10A:80BB::10,2620:10A:80BC::10", 6 | help_link = "https://www.cira.ca/cybersecurity-services/canadian-shield/", 7 | help_link_text = "CIRA Canadian Shield" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-p910nd/luasrc/controller/p910nd.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Yanira 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.p910nd", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/p910nd") then 8 | return 9 | end 10 | 11 | local page 12 | 13 | page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), _("p910nd - Printer server"), 60) 14 | page.dependent = true 15 | end 16 | -------------------------------------------------------------------------------- /applications/luci-app-rp-pppoe-server/luasrc/controller/rp-pppoe-server.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Daniel Dickinson 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.rp-pppoe-server", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/pppoe") then 8 | return 9 | end 10 | 11 | entry({"admin", "services", "rp-pppoe-server"}, cbi("rp-pppoe-server"), _("RP PPPoE Server")) 12 | end 13 | 14 | -------------------------------------------------------------------------------- /protocols/luci-proto-ipip/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2016 Roger Pueyo Centelles 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for IPIP tunnels (IPv4-in-IPv4 RFC2003) 10 | LUCI_DEPENDS:=+ipip 11 | 12 | PKG_MAINTAINER:=Roger Pueyo Centelles 13 | 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | -------------------------------------------------------------------------------- /protocols/luci-proto-wireguard/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2016 Dan Luedtke 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for WireGuard VPN 10 | LUCI_DEPENDS:=+kmod-wireguard +wireguard-tools 11 | LUCI_PKGARCH:=all 12 | 13 | PKG_MAINTAINER:=Dan Luedtke 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA8300", 4 | boardNames = { "linksys-ea8300", "linksys,ea8300" }, 5 | partition1MTD = "mtd10", 6 | partition2MTD = "mtd12", 7 | labelOffset = 192, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "MR8300", 4 | boardNames = { "linksys-mr8300", "linksys,mr8300" }, 5 | partition1MTD = "mtd10", 6 | partition2MTD = "mtd12", 7 | labelOffset = 192, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-dnscrypt-proxy/luasrc/view/dnscrypt-proxy/res_options.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2017 Dirk Brenken (dev@brenken.org) 3 | This is free software, licensed under the Apache License, Version 2.0 4 | -%> 5 | 6 | <%+cbi/valueheader%> 7 | 8 | 9 | 10 | <%+cbi/valuefooter%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/ca.cira.canadianshield.protected.lua: -------------------------------------------------------------------------------- 1 | return { 2 | name = "cira-canadian-shield-protected", 3 | label = _("CIRA Canadian Shield (Protected)"), 4 | resolver_url = "https://protected.canadianshield.cira.ca/dns-query", 5 | bootstrap_dns = "149.112.121.20,149.112.122.20,2620:10A:80BB::20,2620:10A:80BC::20", 6 | help_link = "https://www.cira.ca/cybersecurity-services/canadian-shield/", 7 | help_link_text = "CIRA Canadian Shield" 8 | } 9 | -------------------------------------------------------------------------------- /applications/luci-app-shairplay/luasrc/controller/shairplay.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2014 Álvaro Fernández Rojas 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.shairplay", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/shairplay") then 8 | return 9 | end 10 | 11 | local page = entry({"admin", "services", "shairplay"}, cbi("shairplay"), _("Shairplay")) 12 | page.dependent = true 13 | 14 | end 15 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/config/makefile.post: -------------------------------------------------------------------------------- 1 | 2 | ifneq ($(MAKECMDGOALS), clean) 3 | ifndef CONFIG_PLATFORM_WIN32 4 | ifndef CONFIG_PLATFORM_SOLARIS 5 | # do dependencies 6 | -include .depend 7 | all : .depend 8 | .depend: $(wildcard *.c) 9 | @$(CC) $(CFLAGS) -MM $^ > $@ 10 | endif # 'not' solaris 11 | endif # 'not' win32 12 | 13 | ifdef CONFIG_PLATFORM_WIN32 14 | OBJ:=$(OBJ:.o=.obj) 15 | %.obj : %.c 16 | $(CC) $(CFLAGS) $< 17 | endif # win32 18 | 19 | endif # end of 'not' clean 20 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA6350v3", 4 | boardNames = { "linksys-ea6350v3", "linksys,ea6350v3" }, 5 | partition1MTD = "mtd10", 6 | partition2MTD = "mtd12", 7 | labelOffset = 192, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7500v1.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA7500v1", 4 | boardNames = { "linksys,ea7500-v1", "linksys,ea7500v1" }, 5 | partition1MTD = "mtd13", 6 | partition2MTD = "mtd15", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = nil, 12 | bootEnv2Partition1Value = nil, 13 | bootEnv2Partition2Value = nil 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/root/etc/uci-defaults/40_luci-statistics: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # register commit handler 4 | uci -q batch <<-EOF >/dev/null 5 | delete ucitrack.@luci_statistics[-1] 6 | add ucitrack luci_statistics 7 | set ucitrack.@luci_statistics[-1].init=luci_statistics 8 | commit ucitrack 9 | EOF 10 | 11 | # symlink for busybox httpd 12 | [ -x /usr/sbin/httpd ] && [ ! -h /www/rrdimg ] && \ 13 | ln -s /tmp/rrdimg /www/rrdimg 14 | 15 | rm -f /tmp/luci-indexcache 16 | exit 0 17 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300v1.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA7300v1", 4 | boardName = "linksys,ea7300-v1", 5 | partition1MTD = "mtd5", 6 | partition2MTD = "mtd7", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea7300v2.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA7300v2", 4 | boardName = "linksys,ea7300-v2", 5 | partition1MTD = "mtd5", 6 | partition2MTD = "mtd7", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-dynapoint/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2016 The LuCI Team 3 | # 4 | # This is free software, licensed under the GNU General Public License v3. 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Support for DynaPoint 10 | LUCI_DEPENDS:=+dynapoint 11 | 12 | PKG_LICENSE:=GPL-3.0+ 13 | PKG_MAINTAINER:=Tobias Ilte 14 | include ../../luci.mk 15 | 16 | # call BuildPackage - OpenWrt buildroot signature 17 | 18 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/www/lua/test_sql.lua: -------------------------------------------------------------------------------- 1 | local s = require"luasql.postgres" 2 | 3 | local env = assert (luasql.postgres ()) 4 | local conn = assert (env:connect ("luasql-test", "tomas")) 5 | local cur = assert (conn:execute ("select count(*) from fetch_test")) 6 | 7 | cgilua.htmlheader() 8 | cgilua.put ("Total lines at table fetch_test is "..cur:fetch()) 9 | cgilua.put (string.format ("
\n%s == %s
\n", tostring(s), tostring(luasql))) 10 | 11 | cur:close() 12 | conn:close() 13 | env:close() 14 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Administration - full-featured for full control 10 | LUCI_DEPENDS:=+luci-base 11 | 12 | PKG_BUILD_DEPENDS:=iwinfo 13 | PKG_LICENSE:=Apache-2.0 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | 19 | -------------------------------------------------------------------------------- /applications/luci-app-wireguard/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2016-2017 Dan Luedtke 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=WireGuard Status 10 | LUCI_DEPENDS:=+wireguard-tools +kmod-wireguard +luci-proto-wireguard 11 | LUCI_PKGARCH:=all 12 | 13 | PKG_MAINTAINER:=Dan Luedtke 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Jonathan Bennett 2 | -- Licensed to the public under the GNU General Public License v2. 3 | 4 | module("luci.controller.fwknopd", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/fwknopd") then 8 | return 9 | end 10 | 11 | local page 12 | 13 | page = entry({"admin", "services", "fwknopd"}, cbi("fwknopd"), _("Firewall Knock Daemon")) 14 | page.dependent = true 15 | end 16 | -------------------------------------------------------------------------------- /applications/luci-app-uhttpd/luasrc/controller/uhttpd/uhttpd.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Daniel Dickinson 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.uhttpd.uhttpd", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/uhttpd") then 8 | return 9 | end 10 | 11 | local page 12 | 13 | page = entry({"admin", "services", "uhttpd"}, cbi("uhttpd/uhttpd"), _("uHTTPd")) 14 | page.leaf = true 15 | 16 | end 17 | 18 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA4500", 4 | boardNames = { "linksys-e4500", "linksys,e4500" }, 5 | partition1MTD = "mtd3", 6 | partition2MTD = "mtd5", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/po/zh-tw/asterisk.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: PACKAGE VERSION\n" 4 | "Report-Msgid-Bugs-To: \n" 5 | "POT-Creation-Date: 2013-08-06 23:52+0200\n" 6 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 7 | "Last-Translator: FULL NAME \n" 8 | "Language-Team: LANGUAGE \n" 9 | "Language: \n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=utf-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Translate Toolkit 1.9.0\n" 14 | -------------------------------------------------------------------------------- /applications/luci-app-bcp38/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2010 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=BCP38 LuCI interface 11 | LUCI_DEPENDS:=+luci-mod-admin-full +bcp38 12 | 13 | PKG_MAINTAINER:=Toke Høiland-Jørgensen 14 | PKG_LICENSE:=Apache-2.0 15 | 16 | include ../../luci.mk 17 | 18 | # call BuildPackage - OpenWrt buildroot signature 19 | -------------------------------------------------------------------------------- /applications/luci-app-squid/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=Squid LuCI Interface 11 | LUCI_DEPENDS:=+luci-mod-admin-full +squid 12 | 13 | PKG_MAINTAINER:=Marko Ratkaj 14 | PKG_LICENSE:=Apache-2.0 15 | 16 | include ../../luci.mk 17 | 18 | # call BuildPackage - OpenWrt buildroot signature 19 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/tabcontainer.htm: -------------------------------------------------------------------------------- 1 | <% for tab, data in pairs(self.tabs) do %> 2 |
style="display:none"<% end %>> 3 | <% if data.description then %>
<%=data.description%>
<% end %> 4 | <% self:render_tab(tab, section, scope or {}) %> 5 |
6 | 7 | <% end %> 8 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "E4200v2", 4 | boardNames = { "linksys-e4200v2", "linksys,e4200v2" }, 5 | partition1MTD = "mtd3", 6 | partition2MTD = "mtd5", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "EA3500", 4 | boardNames = { "linksys-audi", "linksys,audi" }, 5 | partition1MTD = "mtd3", 6 | partition2MTD = "mtd5", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | 16 | -------------------------------------------------------------------------------- /applications/luci-app-clamav/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=ClamAV LuCI interface 11 | LUCI_DEPENDS:=+luci-mod-admin-full +clamav 12 | 13 | PKG_MAINTAINER:=Marko Ratkaj 14 | PKG_LICENSE:=Apache-2.0 15 | 16 | include ../../luci.mk 17 | 18 | # call BuildPackage - OpenWrt buildroot signature 19 | -------------------------------------------------------------------------------- /applications/luci-app-fwknopd/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 The LuCI Team 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Fwknopd config - web config for the firewall knock daemon 10 | LUCI_DEPENDS:=+fwknopd +qrencode 11 | PKG_LICENSE:=GPLv2 12 | PKG_MAINTAINER:=Jonathan Bennett 13 | include ../../luci.mk 14 | 15 | # call BuildPackage - OpenWrt buildroot signature 16 | -------------------------------------------------------------------------------- /applications/luci-app-noddos/luasrc/controller/noddos.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2017 Steven Hessing (steven.hessing@gmail.com) 2 | -- This is free software, licensed under the GNU General Public License v3. 3 | -- /usr/lib/lua/luci/controller/noddos.lua 4 | 5 | module("luci.controller.noddos", package.seeall) 6 | function index() 7 | entry({"admin", "status", "noddos"}, template("noddos/clients"), _("Noddos Clients"), 3) 8 | entry({"admin", "network", "noddos"}, cbi("noddos"), _("Noddos Client Tracking"), 55) 9 | end 10 | 11 | -------------------------------------------------------------------------------- /applications/luci-app-polipo/root/usr/sbin/polipo_purge: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DAEMON=/usr/sbin/polipo 4 | PIDFILE=`uci get polipo.daemon.pidFile` 5 | CFGFILE=/var/etc/polipo.conf 6 | 7 | [ -e "$PIDFILE" ] && { 8 | PID=`cat $PIDFILE` 9 | 10 | # send Polipo USR1 signal to write its in-memory cache to disk 11 | kill -USR1 $PID 12 | sleep 2 13 | # start polipo with -x flag to purge the on-disk cache 14 | polipo -c $CFGFILE -x 15 | # send Polipo USR2 signal to discard its in-memory cache 16 | kill -USR2 $PID 17 | } 18 | 19 | -------------------------------------------------------------------------------- /applications/luci-app-splash/htdocs/luci/splash/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | LuCI - Lua Configuration Interface 9 | 10 | 11 | -------------------------------------------------------------------------------- /libs/luci-lib-ip/src/Makefile: -------------------------------------------------------------------------------- 1 | IP_CFLAGS = -std=gnu99 -I$(STAGING_DIR)/usr/include/libnl-tiny/ 2 | IP_LDFLAGS = -llua -lm -lnl-tiny 3 | IP_OBJ = ip.o 4 | IP_LIB = ip.so 5 | 6 | %.o: %.c 7 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(IP_CFLAGS) $(FPIC) -c -o $@ $< 8 | 9 | compile: $(IP_OBJ) 10 | $(CC) $(LDFLAGS) -shared -o $(IP_LIB) $(IP_OBJ) $(IP_LDFLAGS) 11 | 12 | install: compile 13 | mkdir -p $(DESTDIR)/usr/lib/lua/luci 14 | cp $(IP_LIB) $(DESTDIR)/usr/lib/lua/luci/$(IP_LIB) 15 | 16 | clean: 17 | rm -f *.o *.so 18 | -------------------------------------------------------------------------------- /applications/luci-app-splash/luasrc/view/splash_splash/splash.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 | <%+splash/splash%> 9 | 10 |
11 |

12 | 13 | 14 |

15 |
16 | 17 | <%+footer%> 18 | -------------------------------------------------------------------------------- /protocols/luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2013 Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | local proto = luci.model.network:register_protocol("dhcpv6") 5 | 6 | function proto.get_i18n(self) 7 | return luci.i18n.translate("DHCPv6 client") 8 | end 9 | 10 | function proto.is_installed(self) 11 | return nixio.fs.access("/lib/netifd/proto/dhcpv6.sh") 12 | end 13 | 14 | function proto.opkg_package(self) 15 | return "odhcp6c" 16 | end 17 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "E4200v2/EA4500", 4 | boardNames = { "linksys-viper", "linksys,viper" }, 5 | partition1MTD = "mtd3", 6 | partition2MTD = "mtd5", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-e2guardian/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=E2Guardian LuCI Interface 11 | LUCI_DEPENDS:=+luci-mod-admin-full +e2guardian 12 | 13 | PKG_MAINTAINER:=Marko Ratkaj 14 | PKG_LICENSE:=Apache-2.0 15 | 16 | include ../../luci.mk 17 | 18 | # call BuildPackage - OpenWrt buildroot signature 19 | -------------------------------------------------------------------------------- /applications/luci-app-samba/luasrc/controller/samba.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | module("luci.controller.samba", package.seeall) 6 | 7 | function index() 8 | if not nixio.fs.access("/etc/config/samba") then 9 | return 10 | end 11 | 12 | local page 13 | 14 | page = entry({"admin", "services", "samba"}, cbi("samba"), _("Network Shares")) 15 | page.dependent = true 16 | end 17 | -------------------------------------------------------------------------------- /applications/luci-app-splash/root/etc/hotplug.d/iface/25-splash: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ "$ACTION" = ifup ] || exit 0 4 | 5 | /etc/init.d/firewall enabled || exit 0 6 | 7 | if [ -x /etc/init.d/luci_splash ]; then 8 | restart_splash() { 9 | local net="$1" 10 | if [ "$INTERFACE" = "$net" ]; then 11 | logger -t splash "Reloading splash firewall rules due to ifup of $INTERFACE ($DEVICE)" 12 | /etc/init.d/luci_splash restart 13 | fi 14 | } 15 | config_load luci_splash 16 | config_foreach restart_splash iface 17 | fi 18 | -------------------------------------------------------------------------------- /protocols/luci-proto-ipv6/luasrc/model/network/proto_hnet.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2014 Steven Barth 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | local proto = luci.model.network:register_protocol("hnet") 5 | 6 | function proto.get_i18n(self) 7 | return luci.i18n.translate("Automatic Homenet (HNCP)") 8 | end 9 | 10 | function proto.is_installed(self) 11 | return nixio.fs.access("/lib/netifd/proto/hnet.sh") 12 | end 13 | 14 | function proto.opkg_package(self) 15 | return "hnet-full" 16 | end 17 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT32X", 4 | boardNames = { "linksys-venom", "linksys,venom", "linksys,wrt32x" }, 5 | partition1MTD = "mtd5", 6 | partition2MTD = "mtd7", 7 | labelOffset = nil, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/status.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2017-2018 Dirk Brenken (dev@brenken.org) 3 | This is free software, licensed under the Apache License, Version 2.0 4 | -%> 5 | 6 | <%+cbi/valueheader%> 7 | 8 | 9 | 10 | <%+cbi/valuefooter%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/luasrc/view/status-olsr/error_olsr.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

<%:OLSR Daemon%>

9 |

<%:Unable to connect to the OLSR daemon!%>

10 |

<%:Make sure that OLSRd is running, the "jsoninfo" plugin is loaded, configured on port 9090 and accepts connections from "127.0.0.1".%>

11 | <%+footer%> 12 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/README: -------------------------------------------------------------------------------- 1 | Building: 2 | Use GNU Make. 3 | make or gmake depending on your system. 4 | 5 | Special make flags: 6 | 7 | OS Override Target OS [Linux|FreeBSD|SunOS|Windows] 8 | NIXIO_TLS TLS-Library [*openssl|axtls] 9 | NIXIO_CROSS_CC MinGW CC (Windows) `which i586-mingw32msvc-cc` 10 | LUA_CFLAGS Lua CFLAGS `pkg-config --cflags lua5.1` 11 | LUA_TARGET Lua compile target [*source|strip|compile] 12 | LUA_MODULEDIR Install LUA_PATH "/usr/share/lua/5.1" 13 | LUA_LIBRARYDIR Install LUA_CPATH "/usr/lib/lua/5.1" 14 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/fvalue.htm: -------------------------------------------------------------------------------- 1 | <%+cbi/valueheader%> 2 | /> 5 | /> 9 | > 10 | <%+cbi/valuefooter%> 11 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 |

<%:System%>

9 |
10 |

<% if msg then %><%=msg%><% else %><%:Changes applied.%><% end %>

11 |

<%:Please wait: Device rebooting...%>

12 | 13 | <%+footer%> -------------------------------------------------------------------------------- /applications/luci-app-adblock/luasrc/view/adblock/runtime.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2017-2018 Dirk Brenken (dev@brenken.org) 3 | This is free software, licensed under the Apache License, Version 2.0 4 | -%> 5 | 6 | <%+cbi/valueheader%> 7 | 8 | 9 | 10 | <%+cbi/valuefooter%> 11 | -------------------------------------------------------------------------------- /applications/luci-app-asterisk/luasrc/view/asterisk/cbi/cell.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+cbi/valueheader%> 8 | <% if self.href then %><% end -%> 9 | <%=self:cfgvalue(section)%> 10 | <%- if self.href then %><%end%> 11 |   12 | 13 | <%+cbi/valuefooter%> 14 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT1200AC", 4 | boardNames = { "linksys-caiman", "linksys,caiman", "linksys,wrt1200ac" }, 5 | partition1MTD = "mtd4", 6 | partition2MTD = "mtd6", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT1900ACv1", 4 | boardNames = { "linksys-mamba", "linksys,mamba", "linksys,wrt1900ac-v1" }, 5 | partition1MTD = "mtd4", 6 | partition2MTD = "mtd6", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT1900ACS", 4 | boardNames = { "linksys-shelby", "linksys,shelby", "linksys,wrt1900acs" }, 5 | partition1MTD = "mtd4", 6 | partition2MTD = "mtd6", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT3200ACM", 4 | boardNames = { "linksys-rango", "linksys,rango", "linksys,wrt3200acm" }, 5 | partition1MTD = "mtd5", 6 | partition2MTD = "mtd7", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-ddns/luasrc/view/ddns/detail_value.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%+cbi/valueheader%> 4 | /> 8 | 9 | 10 | -------------------------------------------------------------------------------- /applications/luci-app-sqm/Makefile: -------------------------------------------------------------------------------- 1 | # This is free software, licensed under the Apache License, Version 2.0 . 2 | # 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | LUCI_TITLE:=LuCI Support for SQM Scripts 7 | LUCI_DESCRIPTION:=Luci interface for the SQM scripts queue management package 8 | 9 | PKG_VERSION:=1.4.0 10 | PKG_RELEASE:=9 11 | 12 | PKG_MAINTAINER:=Toke Høiland-Jørgensen 13 | 14 | LUCI_DEPENDS:=+sqm-scripts 15 | LUCI_PKGARCH:=all 16 | 17 | include ../../luci.mk 18 | 19 | # call BuildPackage - OpenWrt buildroot signature 20 | -------------------------------------------------------------------------------- /applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2017-2018 Dirk Brenken (dev@brenken.org) 3 | This is free software, licensed under the Apache License, Version 2.0 4 | -%> 5 | 6 | <%+cbi/valueheader%> 7 | 8 | 9 | 10 | <%+cbi/valuefooter%> 11 | -------------------------------------------------------------------------------- /libs/luci-lib-luaneightbl/src/Makefile: -------------------------------------------------------------------------------- 1 | NEIGHTBL_CFLAGS = -std=gnu99 2 | NEIGHTBL_LDFLAGS = -llua -lm 3 | NEIGHTBL_OBJ = neightbl.o 4 | NEIGHTBL_LIB = neightbl.so 5 | 6 | %.o: %.c 7 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(NEIGHTBL_CFLAGS) $(FPIC) -c -o $@ $< 8 | 9 | compile: $(NEIGHTBL_OBJ) 10 | $(CC) $(LDFLAGS) -shared -o $(NEIGHTBL_LIB) $(NEIGHTBL_OBJ) $(NEIGHTBL_LDFLAGS) 11 | 12 | install: compile 13 | mkdir -p $(DESTDIR)/usr/lib/lua 14 | cp $(NEIGHTBL_LIB) $(DESTDIR)/usr/lib/lua/$(NEIGHTBL_LIB) 15 | 16 | clean: 17 | rm -f *.o *.so 18 | -------------------------------------------------------------------------------- /protocols/luci-proto-vpnc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Support for VPNC VPN 10 | LUCI_DEPENDS:=+vpnc 11 | LUCI_PKGARCH:=all 12 | 13 | PKG_MAINTAINER:=Daniel Dickinson 14 | PKG_LICENSE:=Apache-2.0 15 | 16 | LUA_TARGET:=source 17 | 18 | include ../../luci.mk 19 | 20 | # call BuildPackage - OpenWrt buildroot signature 21 | -------------------------------------------------------------------------------- /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua: -------------------------------------------------------------------------------- 1 | return { 2 | vendorName = "Linksys", 3 | deviceName = "WRT1900ACv2", 4 | boardNames = { "linksys-cobra", "linksys,cobra", "linksys,wrt1900ac-v2" }, 5 | partition1MTD = "mtd4", 6 | partition2MTD = "mtd6", 7 | labelOffset = 32, 8 | bootEnv1 = "boot_part", 9 | bootEnv1Partition1Value = 1, 10 | bootEnv1Partition2Value = 2, 11 | bootEnv2 = "bootcmd", 12 | bootEnv2Partition1Value = "run nandboot", 13 | bootEnv2Partition2Value = "run altnandboot" 14 | } 15 | -------------------------------------------------------------------------------- /applications/luci-app-lxc/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2017 Dan Luedtke 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LXC management Web UI 10 | LUCI_DEPENDS:=+luci-mod-admin-full +lxc +lxc-attach +lxc-console +lxc-create +liblxc +rpcd-mod-lxc +getopt 11 | LUCI_PKGARCH:=all 12 | 13 | PKG_MAINTAINER:=Petar Koretic 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/htdocs/cgi-bin-status.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | LuCI - Lua Configuration Interface 9 | 10 | 11 | -------------------------------------------------------------------------------- /applications/luci-app-polipo/luasrc/view/polipo_status.htm: -------------------------------------------------------------------------------- 1 | <% 2 | 3 | local uci = require "luci.model.uci".cursor() 4 | local addr = "127.0.0.1" 5 | local port = uci:get("polipo", "general", "proxyPort") or "8123" 6 | 7 | -%> 8 | 9 | <%+header%> 10 | 11 |
12 |

<%:Polipo Status%>

13 |
14 | 15 |
16 |
17 | 18 | <%+footer%> 19 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/entropy.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Hannu Nyman 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | m = Map("luci_statistics", 5 | translate("Entropy Plugin Configuration"), 6 | translate("The entropy plugin collects statistics about the available entropy.")) 7 | 8 | s = m:section( NamedSection, "collectd_entropy", "luci_statistics" ) 9 | 10 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 11 | enable.default = 0 12 | 13 | return m 14 | 15 | -------------------------------------------------------------------------------- /applications/luci-app-vpnbypass/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 Stan Grishin (stangri@melmac.net) 2 | # This is free software, licensed under the GNU General Public License v3. 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | PKG_LICENSE:=GPL-3.0+ 7 | PKG_MAINTAINER:=Stan Grishin 8 | 9 | LUCI_TITLE:=VPN Bypass Web UI 10 | LUCI_DESCRIPTION:=Provides Web UI for VPNBypass service. 11 | LUCI_DEPENDS:=+luci +vpnbypass 12 | LUCI_PKGARCH:=all 13 | PKG_RELEASE:=4 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /libs/luci-lib-jsonc/src/Makefile: -------------------------------------------------------------------------------- 1 | JSONC_CFLAGS = -std=gnu99 -I$(STAGING_DIR)/usr/include/json-c/ 2 | JSONC_LDFLAGS = -llua -lm -ljson-c 3 | JSONC_OBJ = jsonc.o 4 | JSONC_LIB = jsonc.so 5 | 6 | %.o: %.c 7 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(JSONC_CFLAGS) $(FPIC) -c -o $@ $< 8 | 9 | compile: $(JSONC_OBJ) 10 | $(CC) $(LDFLAGS) -shared -o $(JSONC_LIB) $(JSONC_OBJ) $(JSONC_LDFLAGS) 11 | 12 | install: compile 13 | mkdir -p $(DESTDIR)/usr/lib/lua/luci 14 | cp $(JSONC_LIB) $(DESTDIR)/usr/lib/lua/luci/$(JSONC_LIB) 15 | 16 | clean: 17 | rm -f *.o *.so 18 | -------------------------------------------------------------------------------- /modules/luci-base/root/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | LuCI - Lua Configuration Interface 10 | 11 | 12 | -------------------------------------------------------------------------------- /applications/luci-app-diag-core/luasrc/controller/luci_diag.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2009 Daniel Dickinson 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.luci_diag", package.seeall) 5 | 6 | function index() 7 | local e 8 | 9 | e = entry({"admin", "network", "diag_config"}, template("diag/network_config_index") , _("Configure Diagnostics"), 120) 10 | e.index = true 11 | e.dependent = true 12 | 13 | e = entry({"mini", "diag"}, template("diag/index"), _("Diagnostics"), 120) 14 | e.index = true 15 | e.dependent = true 16 | end 17 | -------------------------------------------------------------------------------- /applications/luci-app-uhttpd/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015 OpenWrt.org 3 | # 4 | # This is free software, licensed under the GNU General Public License v2. 5 | # See /LICENSE for more information. 6 | # 7 | 8 | include $(TOPDIR)/rules.mk 9 | 10 | LUCI_TITLE:=uHTTPd Webserver Configuration 11 | LUCI_DEPENDS:=+uhttpd 12 | LUCI_PKGARCH:=all 13 | 14 | PKG_LICENSE:=Apache-2.0 15 | PKG_MAINTAINER:=Daniel Dickinson 16 | 17 | LUA_TARGET:=source 18 | 19 | include ../../luci.mk 20 | 21 | # call BuildPackage - OpenWrt buildroot signature 22 | -------------------------------------------------------------------------------- /applications/luci-app-hd-idle/po/templates/hd_idle.pot: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "Content-Type: text/plain; charset=UTF-8" 3 | 4 | msgid "Disk" 5 | msgstr "" 6 | 7 | msgid "Enable" 8 | msgstr "" 9 | 10 | msgid "HDD Idle" 11 | msgstr "" 12 | 13 | msgid "" 14 | "HDD Idle is a utility program for spinning-down external disks after a " 15 | "period of idle time." 16 | msgstr "" 17 | 18 | msgid "Idle time" 19 | msgstr "" 20 | 21 | msgid "Idle time unit" 22 | msgstr "" 23 | 24 | msgid "Settings" 25 | msgstr "" 26 | 27 | msgid "h" 28 | msgstr "" 29 | 30 | msgid "min" 31 | msgstr "" 32 | -------------------------------------------------------------------------------- /applications/luci-app-transmission/luasrc/controller/transmission.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2012 Gabor Varga 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.transmission", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/transmission") then 8 | return 9 | end 10 | 11 | entry({"admin", "nas"}, firstchild(), "NAS", 44).dependent = false 12 | 13 | local page = entry({"admin", "nas", "transmission"}, cbi("transmission"), _("Transmission")) 14 | page.dependent = true 15 | 16 | end 17 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPQIBAAJBANE7MF+pAUI9hm1yvkBuUcFJf1d1oS025cE9DyAa0SNt+nTSPiOw 3 | cPygat7sQYiE/lQVa2HFFmK4k0HxTz3/Lr0CAwEAAQJBAJF5xO2ONajX3GK2+B8W 4 | VVO+BYNK71DfranJCX46BxXI/Ra7wOSY0UWZYHVsZGWJxx41os0UBTg5FRq4DwWW 5 | AQECIQDo69eo39iQqjwhpAQxatMh2CWYT7gokyu56V+5o2V3fQIhAOX2b+tQxDsB 6 | w0J9UDN6CdwI5XbzveoP5fHTPS9j4rhBAiEA3c+y6Zx6dZHYf8TdRV5QwDtB2iGY 7 | 4/L7Qimvwm6Lc1UCIQDDXWrVsocTTjsReJ6zLOHFcjVnqklU2W7T1E8tvKE3QQIh 8 | AMRpCFM7MrS2axuc8/HzGkqW/3AlIBqdZbilj5zHd2R0 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /applications/luci-app-simple-adblock/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2017 Stan Grishin (stangri@melmac.net) 2 | # This is free software, licensed under the GNU General Public License v3. 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | PKG_LICENSE:=GPL-3.0+ 7 | PKG_MAINTAINER:=Stan Grishin 8 | 9 | LUCI_TITLE:=Simple Adblock Web UI 10 | LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service. 11 | LUCI_DEPENDS:=+luci +simple-adblock 12 | LUCI_PKGARCH:=all 13 | PKG_RELEASE:=5 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpufreq.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | m = Map("luci_statistics", 4 | translate("CPU Frequency Plugin Configuration"), 5 | translate("This plugin collects statistics about the processor frequency scaling.")) 6 | 7 | -- collectd_cpufreq config section 8 | s = m:section( NamedSection, "collectd_cpufreq", "luci_statistics" ) 9 | 10 | -- collectd_cpufreq.enable 11 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 12 | enable.default = 0 13 | 14 | return m 15 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/config.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | local util = require "luci.util" 5 | module("luci.config", 6 | function(m) 7 | if pcall(require, "luci.model.uci") then 8 | local config = util.threadlocal() 9 | setmetatable(m, { 10 | __index = function(tbl, key) 11 | if not config[key] then 12 | config[key] = luci.model.uci.cursor():get_all("luci", key) 13 | end 14 | return config[key] 15 | end 16 | }) 17 | end 18 | end) 19 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/entropy.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Hannu Nyman 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.statistics.rrdtool.definitions.entropy", package.seeall) 5 | 6 | function rrdargs( graph, plugin, plugin_instance, dtype ) 7 | 8 | return { 9 | title = "%H: Available entropy", 10 | vlabel = "bits", 11 | number_format = "%4.0lf", 12 | data = { 13 | types = { "entropy" }, 14 | options = { entropy = { title = "Entropy %di" } } 15 | } 16 | } 17 | 18 | end 19 | 20 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/status-textarea.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2017-2019 Stan Grishin (stangri@melmac.net) 3 | This is free software, licensed under the Apache License, Version 2.0 4 | -%> 5 | 6 | <%+cbi/valueheader%> 7 | 8 | 12 | 13 | <%+cbi/valuefooter%> 14 | -------------------------------------------------------------------------------- /applications/luci-app-openvpn/luasrc/controller/openvpn.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | module("luci.controller.openvpn", package.seeall) 6 | 7 | function index() 8 | entry( {"admin", "services", "openvpn"}, cbi("openvpn"), _("OpenVPN") ) 9 | entry( {"admin", "services", "openvpn", "basic"}, cbi("openvpn-basic"), nil ).leaf = true 10 | entry( {"admin", "services", "openvpn", "advanced"}, cbi("openvpn-advanced"), nil ).leaf = true 11 | end 12 | -------------------------------------------------------------------------------- /applications/luci-app-coovachilli/po/sk/coovachilli.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Project-Id-Version: PACKAGE VERSION\n" 5 | "Last-Translator: Automatically generated\n" 6 | "Language-Team: none\n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Transfer-Encoding: 8bit\n" 9 | "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" 10 | 11 | msgid "CoovaChilli" 12 | msgstr "" 13 | 14 | msgid "Network Configuration" 15 | msgstr "" 16 | 17 | msgid "RADIUS configuration" 18 | msgstr "" 19 | 20 | msgid "UAM and MAC Authentication" 21 | msgstr "" 22 | -------------------------------------------------------------------------------- /applications/luci-app-squid/luasrc/controller/squid.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | 3 | LuCI Squid module 4 | 5 | Copyright (C) 2015, OpenWrt.org 6 | 7 | Licensed under the Apache License, Version 2.0 (the "License"); 8 | you may not use this file except in compliance with the License. 9 | You may obtain a copy of the License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Author: Marko Ratkaj 14 | 15 | ]]-- 16 | 17 | module("luci.controller.squid", package.seeall) 18 | 19 | function index() 20 | entry({"admin", "services", "squid"}, cbi("squid"), _("Squid")) 21 | end 22 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/irq.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.statistics.rrdtool.definitions.irq", package.seeall) 5 | 6 | function rrdargs( graph, plugin, plugin_instance, dtype ) 7 | 8 | return { 9 | title = "%H: Interrupts", vlabel = "Issues/s", 10 | number_format = "%5.0lf", data = { 11 | types = { "irq" }, 12 | options = { 13 | irq = { title = "IRQ %di", noarea = true } 14 | } 15 | } 16 | } 17 | 18 | end 19 | -------------------------------------------------------------------------------- /applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2014 Roger D 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.mjpg-streamer", package.seeall) 5 | 6 | function index() 7 | require("luci.i18n") 8 | luci.i18n.loadc("mjpg-streamer") 9 | if not nixio.fs.access("/etc/config/mjpg-streamer") then 10 | return 11 | end 12 | 13 | local page = entry({"admin", "services", "mjpg-streamer"}, cbi("mjpg-streamer"), _("MJPG-streamer")) 14 | page.i18n = "mjpg-streamer" 15 | page.dependent = true 16 | 17 | end 18 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/contextswitch.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | m = Map("luci_statistics", 4 | translate("CPU Context Switches Plugin Configuration"), 5 | translate("This plugin collects statistics about the processor context switches.")) 6 | 7 | -- collectd_contextswitch config section 8 | s = m:section( NamedSection, "collectd_contextswitch", "luci_statistics" ) 9 | 10 | -- collectd_contextswitch.enable 11 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 12 | enable.default = 0 13 | 14 | return m 15 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/view/cbi/full_valuefooter.htm: -------------------------------------------------------------------------------- 1 | <% if self.description and #self.description > 0 then -%> 2 | <% if not luci.util.instanceof(self, luci.cbi.DynamicList) and (not luci.util.instanceof(self, luci.cbi.Flag) or self.orientation == "horizontal") then -%> 3 |
4 | <%- end %> 5 |
6 | <%:help%> 7 | <%=self.description%> 8 |
9 | <%- end %> 10 | <%- if self.title and #self.title > 0 then -%> 11 |
12 | <%- end -%> 13 | 14 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/splash_leases.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2013 Freifunk Augsburg / Michael Wendland 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | m = Map("luci_statistics", 5 | translate("Splash Leases Plugin Configuration"), 6 | translate("The splash leases plugin uses libuci to collect statistics about splash leases.")) 7 | 8 | s = m:section( NamedSection, "collectd_splash_leases", "luci_statistics" ) 9 | 10 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 11 | enable.default = 1 12 | 13 | return m 14 | 15 | -------------------------------------------------------------------------------- /applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_delete.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2017 Dirk Brenken (dev@brenken.org) 2 | -- This is free software, licensed under the Apache License, Version 2.0 3 | 4 | local uci = require("luci.model.uci").cursor() 5 | local http = require("luci.http") 6 | local cfg = http.formvalue("cfg") 7 | 8 | if cfg ~= nil then 9 | uci:delete("wireless", cfg) 10 | uci:save("wireless") 11 | uci:commit("wireless") 12 | luci.sys.call("env -i /bin/ubus call network reload >/dev/null 2>&1") 13 | end 14 | http.redirect(luci.dispatcher.build_url("admin/services/travelmate/stations")) 15 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.unencrypted_pem.p8: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIIBVwIBADANBgkqhkiG9w0BAQEFAASCAUEwggE9AgEAAkEA0TswX6kBQj2GbXK+ 3 | QG5RwUl/V3WhLTblwT0PIBrRI236dNI+I7Bw/KBq3uxBiIT+VBVrYcUWYriTQfFP 4 | Pf8uvQIDAQABAkEAkXnE7Y41qNfcYrb4HxZVU74Fg0rvUN+tqckJfjoHFcj9FrvA 5 | 5JjRRZlgdWxkZYnHHjWizRQFODkVGrgPBZYBAQIhAOjr16jf2JCqPCGkBDFq0yHY 6 | JZhPuCiTK7npX7mjZXd9AiEA5fZv61DEOwHDQn1QM3oJ3AjldvO96g/l8dM9L2Pi 7 | uEECIQDdz7LpnHp1kdh/xN1FXlDAO0HaIZjj8vtCKa/CbotzVQIhAMNdatWyhxNO 8 | OxF4nrMs4cVyNWeqSVTZbtPUTy28oTdBAiEAxGkIUzsytLZrG5zz8fMaSpb/cCUg 9 | Gp1luKWPnMd3ZHQ= 10 | -----END PRIVATE KEY----- 11 | -------------------------------------------------------------------------------- /modules/luci-base/luasrc/sys/zoneinfo.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | local setmetatable, require, rawget, rawset = setmetatable, require, rawget, rawset 4 | 5 | module "luci.sys.zoneinfo" 6 | 7 | setmetatable(_M, { 8 | __index = function(t, k) 9 | if k == "TZ" and not rawget(t, k) then 10 | local m = require "luci.sys.zoneinfo.tzdata" 11 | rawset(t, k, rawget(m, k)) 12 | elseif k == "OFFSET" and not rawget(t, k) then 13 | local m = require "luci.sys.zoneinfo.tzoffset" 14 | rawset(t, k, rawget(m, k)) 15 | end 16 | 17 | return rawget(t, k) 18 | end 19 | }) 20 | -------------------------------------------------------------------------------- /applications/luci-app-mwan3/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2017 Dan Luedtke 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI support for the MWAN3 multiwan hotplug script 10 | LUCI_DEPENDS:=+mwan3 +libuci-lua +luci-mod-admin-full +luci-app-firewall +luci-lib-nixio 11 | LUCI_PKGARCH:=all 12 | PKG_LICENSE:=GPLv2 13 | 14 | PKG_MAINTAINER:=Aedan Renner \ 15 | Florian Eckert 16 | 17 | include ../../luci.mk 18 | 19 | # call BuildPackage - OpenWrt buildroot signature 20 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/thermal.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | module("luci.statistics.rrdtool.definitions.thermal",package.seeall) 4 | 5 | function rrdargs( graph, plugin, plugin_instance, dtype ) 6 | 7 | return { 8 | title = "%H: Temperature of %pi", 9 | alt_autoscale = true, 10 | vlabel = "Celsius", 11 | number_format = "%3.1lf%s", 12 | data = { 13 | types = { "temperature" }, 14 | options = { 15 | temperature = { color = "ff0000", title = "Temperature", noarea=true }, 16 | } 17 | } 18 | } 19 | end 20 | 21 | -------------------------------------------------------------------------------- /libs/luci-lib-px5g/root/usr/sbin/px5g-genkeys: -------------------------------------------------------------------------------- 1 | #!/usr/bin/lua 2 | local keyfile = "/etc/nixio/rsa_main.der" 3 | local certfile = "/etc/nixio/cert_main.der" 4 | 5 | local px5g = require "px5g" 6 | local nixio = require "nixio" 7 | local fs = require "nixio.fs" 8 | local os = require "os" 9 | nixio.umask(77) 10 | 11 | if not fs.access(certfile) then 12 | local key = px5g.genkey(2048) 13 | fs.writefile(keyfile, key:asn1()) 14 | 15 | local cert = key:create_selfsigned( 16 | {CN=nixio.uname().nodename, O="LuCI Keymaster"}, 17 | os.time(), os.time() + 3600 * 24 * 366 * 15) 18 | fs.writefile(certfile, cert) 19 | end 20 | -------------------------------------------------------------------------------- /modules/luci-mod-admin-full/root/etc/uci-defaults/50_luci-mod-admin-full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$(uci -q get luci.diag)" != "internal" ]; then 4 | host="" 5 | 6 | if [ -s /etc/os-release ]; then 7 | . /etc/os-release 8 | host="${HOME_URL:-${BUG_URL:-$LEDE_DEVICE_MANUFACTURER_URL}}" 9 | host="${host#*://}" 10 | host="${host%%/*}" 11 | fi 12 | 13 | uci -q batch <<-EOF >/dev/null 14 | set luci.diag=internal 15 | set luci.diag.dns='${host:-openwrt.org}' 16 | set luci.diag.ping='${host:-openwrt.org}' 17 | set luci.diag.route='${host:-openwrt.org}' 18 | commit luci 19 | EOF 20 | fi 21 | 22 | exit 0 23 | -------------------------------------------------------------------------------- /applications/luci-app-https-dns-proxy/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2018 Stan Grishin (stangri@melmac.net) 2 | # This is free software, licensed under the GNU General Public License v3. 3 | 4 | include $(TOPDIR)/rules.mk 5 | 6 | PKG_LICENSE:=GPL-3.0-or-later 7 | PKG_MAINTAINER:=Stan Grishin 8 | 9 | LUCI_TITLE:=DNS Over HTTPS Proxy Web UI 10 | LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy 11 | LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +https-dns-proxy 12 | LUCI_PKGARCH:=all 13 | PKG_RELEASE:=12 14 | 15 | include ../../luci.mk 16 | 17 | # call BuildPackage - OpenWrt buildroot signature 18 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | m = Map("luci_statistics", 5 | translate("CPU Plugin Configuration"), 6 | translate("The cpu plugin collects basic statistics about the processor usage.")) 7 | 8 | -- collectd_cpu config section 9 | s = m:section( NamedSection, "collectd_cpu", "luci_statistics" ) 10 | 11 | -- collectd_cpu.enable 12 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 13 | enable.default = 0 14 | 15 | return m 16 | -------------------------------------------------------------------------------- /applications/luci-app-coovachilli/po/ms/coovachilli.po: -------------------------------------------------------------------------------- 1 | # coovachilli.pot 2 | # generated from ./applications/luci-coovachilli/luasrc/i18n/coovachilli.en.lua 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: PACKAGE VERSION\n" 6 | "Last-Translator: Automatically generated\n" 7 | "Language-Team: none\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | 12 | msgid "CoovaChilli" 13 | msgstr "" 14 | 15 | msgid "Network Configuration" 16 | msgstr "" 17 | 18 | msgid "RADIUS configuration" 19 | msgstr "" 20 | 21 | msgid "UAM and MAC Authentication" 22 | msgstr "" 23 | -------------------------------------------------------------------------------- /applications/luci-app-mwan3/root/etc/uci-defaults/60_luci-mwan3: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # replace existing mwan ucitrack entry 4 | uci -q batch <<-EOF >/dev/null 5 | del ucitrack.@mwan3[-1] 6 | add ucitrack mwan3 7 | set ucitrack.@mwan3[-1].exec="/etc/init.d/mwan3 reload" 8 | commit ucitrack 9 | EOF 10 | 11 | uci -q get mwan3.globals >/dev/null || { 12 | uci -q add mwan3 globals >/dev/null 13 | uci -q rename mwan3.@globals[-1]="globals" >/dev/null 14 | uci -q set mwan3.globals.local_source="none" >/dev/null 15 | uci commit mwan3 16 | } 17 | 18 | # remove LuCI cache 19 | rm -rf /tmp/luci-indexcache /tmp/luci-modulecache 20 | 21 | exit 0 22 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/view/admin_statistics/index.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Copyright 2008 Steven Barth 3 | Copyright 2008 Jo-Philipp Wich 4 | Licensed to the public under the Apache License 2.0. 5 | -%> 6 | 7 | <%+header%> 8 | 9 |

<%:Statistics%>

10 | 11 |

<%_The statistics package uses Collectd 12 | to gather data and RRDtool to 13 | render diagram images.%>

14 | 15 |

<%_You can install additional collectd-mod-* plugins to enable more statistics.%>

16 | 17 | <%+footer%> 18 | -------------------------------------------------------------------------------- /libs/luci-lib-px5g/src/Makefile: -------------------------------------------------------------------------------- 1 | PX5G_CFLAGS = -I. -include polarssl/rsa.h -include polarssl/x509.h -std=gnu99 2 | PX5G_LDFLAGS = -llua -lm 3 | PX5G_OBJ = px5g.o library/bignum.o library/havege.o library/rsa.o library/sha1.o library/timing.o library/x509write.o 4 | PX5G_LIB = px5g.so 5 | 6 | %.o: %.c 7 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LUA_CFLAGS) $(PX5G_CFLAGS) $(FPIC) -c -o $@ $< 8 | 9 | compile: $(PX5G_OBJ) 10 | $(CC) $(LDFLAGS) -shared -o $(PX5G_LIB) $(PX5G_OBJ) $(PX5G_LDFLAGS) 11 | 12 | install: compile 13 | mkdir -p $(DESTDIR)/usr/lib/lua 14 | cp $(PX5G_LIB) $(DESTDIR)/usr/lib/lua/$(PX5G_LIB) 15 | 16 | clean: 17 | rm -f *.o *.so 18 | -------------------------------------------------------------------------------- /applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "attendedsysupgrade": { 3 | "description": "attended sysupgrade via rpcd and luci", 4 | "read": { 5 | "ubus": { 6 | "rpc-sys": [ 7 | "upgrade_start", 8 | "packagelist" 9 | ], 10 | "system": [ 11 | "board", 12 | "info" 13 | ], 14 | "uci": [ 15 | "get", "set", "commit" 16 | ] 17 | }, 18 | "uci": [ 19 | "attendedsysupgrade" 20 | ] 21 | }, 22 | "write": { 23 | "cgi-io": [ 24 | "upload" 25 | ], 26 | "uci": [ 27 | "attendedsysupgrade" 28 | ] 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /applications/luci-app-noddos/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2017 Steven Hessing (steven.hessing@gmail.com) 2 | # Based on initial implementation by Stan Grishin (stangri@melmac.net) 3 | # This is free software, licensed under the GNU General Public License v3. 4 | 5 | include $(TOPDIR)/rules.mk 6 | 7 | PKG_LICENSE:=GPLv3 8 | PKG_MAINTAINER:=Steven Hessing 9 | 10 | LUCI_TITLE:=Noddos Service Web UI 11 | LUCI_DESCRIPTION:=Provides Web UI for Noddos service. 12 | LUCI_DEPENDS:=+luci +noddos 13 | LUCI_PKGARCH:=all 14 | PKG_RELEASE:=1 15 | 16 | include ../../luci.mk 17 | 18 | # call BuildPackage - OpenWrt buildroot signature 19 | -------------------------------------------------------------------------------- /applications/luci-app-polipo/luasrc/controller/polipo.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Aleksandar Krsteski 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.controller.polipo", package.seeall) 5 | 6 | function index() 7 | if not nixio.fs.access("/etc/config/polipo") then 8 | return 9 | end 10 | 11 | entry({"admin", "services", "polipo"}, alias("admin", "services", "polipo", "config"), _("Polipo")) 12 | entry({"admin", "services", "polipo", "status"}, template("polipo_status"), _("Status")) 13 | entry({"admin", "services", "polipo", "config"}, cbi("polipo"), _("Configuration")) 14 | end 15 | 16 | -------------------------------------------------------------------------------- /applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | m = Map("coovachilli") 6 | 7 | -- general 8 | s = m:section(TypedSection, "general") 9 | s.anonymous = true 10 | 11 | s:option( Flag, "debug" ) 12 | s:option( Value, "interval" ) 13 | s:option( Value, "pidfile" ).optional = true 14 | s:option( Value, "statedir" ).optional = true 15 | s:option( Value, "cmdsock" ).optional = true 16 | s:option( Value, "logfacility" ).optional = true 17 | 18 | 19 | return m 20 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/load.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | m = Map("luci_statistics", 5 | translate("Load Plugin Configuration"), 6 | translate( 7 | "The load plugin collects statistics about the general system load." 8 | )) 9 | 10 | -- collectd_wireless config section 11 | s = m:section( NamedSection, "collectd_load", "luci_statistics" ) 12 | 13 | -- collectd_wireless.enable 14 | enable = s:option( Flag, "enable", translate("Enable this plugin") ) 15 | enable.default = 0 16 | 17 | return m 18 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/docsrc/nixio.CryptoHash.lua: -------------------------------------------------------------------------------- 1 | --- Cryptographical Hash and HMAC object. 2 | -- @cstyle instance 3 | module "nixio.CryptoHash" 4 | 5 | --- Add another chunk of data to be hashed. 6 | -- @class function 7 | -- @name CryptoHash.update 8 | -- @param chunk Chunk of data 9 | -- @return CryptoHash object (self) 10 | 11 | --- Finalize the hash and return the digest. 12 | -- @class function 13 | -- @name CryptoHash.final 14 | -- @usage You cannot call update on a hash object that was already finalized 15 | -- you can however call final multiple times to get the digest. 16 | -- @return hexdigest 17 | -- @return buffer containing binary digest -------------------------------------------------------------------------------- /applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme_settings.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2009 Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | cbimap = Map("asterisk", "MeetMe - Common Settings", 5 | "Common settings for MeetMe phone conferences.") 6 | 7 | meetme = cbimap:section(TypedSection, "meetmegeneral", "General MeetMe Options") 8 | meetme.addremove = false 9 | meetme.anonymous = true 10 | 11 | audiobuffers = meetme:option(ListValue, "audiobuffers", 12 | "Number of 20ms audio buffers to use for conferences") 13 | 14 | for i = 2, 32 do audiobuffers:value(i) end 15 | 16 | 17 | return cbimap 18 | -------------------------------------------------------------------------------- /applications/luci-app-splash/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Freifunk DHCP-Splash application 10 | LUCI_DEPENDS:=+luci-lib-nixio +tc +kmod-sched +iptables-mod-nat-extra +iptables-mod-ipopt 11 | 12 | define Package/luci-app-splash/conffiles 13 | /etc/config/luci_splash 14 | /usr/lib/luci-splash/splashtext.html 15 | /usr/lib/luci-splash/splashtextinclude.html 16 | endef 17 | 18 | include ../../luci.mk 19 | 20 | # call BuildPackage - OpenWrt buildroot signature 21 | -------------------------------------------------------------------------------- /applications/luci-app-clamav/luasrc/controller/clamav.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | 3 | LuCI ClamAV module 4 | 5 | Copyright (C) 2015, Itus Networks, Inc. 6 | 7 | Licensed under the Apache License, Version 2.0 (the "License"); 8 | you may not use this file except in compliance with the License. 9 | You may obtain a copy of the License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Author: Marko Ratkaj 14 | Luka Perkov 15 | 16 | ]]-- 17 | 18 | module("luci.controller.clamav", package.seeall) 19 | 20 | function index() 21 | entry({"admin", "services", "clamav"}, cbi("clamav"), _("ClamAV")) 22 | end 23 | -------------------------------------------------------------------------------- /applications/luci-app-diag-core/po/templates/diag_core.pot: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "Content-Type: text/plain; charset=UTF-8" 3 | 4 | msgid "Configure Diagnostics" 5 | msgstr "" 6 | 7 | msgid "Diagnostics" 8 | msgstr "" 9 | 10 | msgid "" 11 | "The diagnostics available under this menu depend on what modules you have " 12 | "installed on your device." 13 | msgstr "" 14 | 15 | msgid "" 16 | "The entries in the menu allow you to perform diagnostic tests on your system " 17 | "to aid in troubleshooting." 18 | msgstr "" 19 | 20 | msgid "" 21 | "With this menu you can configure network diagnostics, such as network device " 22 | "scans and ping tests." 23 | msgstr "" 24 | -------------------------------------------------------------------------------- /applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2011 Manuel Munz 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | m = Map("luci_olsr", translate("OLSR - Display Options")) 5 | 6 | s = m:section(TypedSection, "olsr") 7 | s.anonymous = true 8 | 9 | res = s:option(Flag, "resolve", translate("Resolve"), 10 | translate("Resolve hostnames on status pages. It is generally safe to allow this, but if you use public IPs and have unstable DNS-Setup then those pages will load really slow. In this case disable it here.")) 11 | res.default = "0" 12 | res.optional = true 13 | 14 | return m 15 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_aes128.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | Proc-Type: 4,ENCRYPTED 3 | DEK-Info: AES-128-CBC,B3A0D2BCEF4DE916D0BBA30A6885251B 4 | 5 | v8y74AGReaPLmDt6O8wir6hX1Ze8K4fVNkrLqfDMdW5E7jBXKO8riCMNmSjQ9fyh 6 | eTicej93+8krcIvSXKW18TdO+EWezQevgnLrAZQWaNPH2j4B+K5gm701uiiKFKVa 7 | 1zngAOByePYlN6z4JLbiCyJRhxSo5zCaUYkKC2eGh8mlE64QmokPSCAj0wcCDzGh 8 | hdhBg1vm0GmaQwIDVn+8zMfahscXVMtBmyQf5YP4PQW2nqOt7aZHjBNdg9qnBpGw 9 | b6YuY7eZ4FgQvYcsNCi34NroJb9pkTrrF2F9Meb6+3So7jtMFG/YaJdCuXtf01g/ 10 | Qm+XA5pJUtIUr/hLQjhkaOVUtXv/k0o/MR4k5CbAmboLt6YHf5V8+01vk0bvv5dI 11 | 70pVdXMmx26xDZOGmjYzd93PWc+75jak3GN2fbWryQs= 12 | -----END RSA PRIVATE KEY----- 13 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.key_aes256.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | Proc-Type: 4,ENCRYPTED 3 | DEK-Info: AES-256-CBC,F076229CDC2BCB3B8722E3865855B45C 4 | 5 | WFV9QWzr4tNmD+1OeQ7BceQg5LVQHp20Jo1Ax29lq8JTPzeObhtaU2MUHlcPKHUS 6 | vK4FyQxJ25CyMubbnaZqCCz9pNbseFuJ1tob9UqRmXkZ8HV3snRjJRbcctD+V9x+ 7 | Ymi1GreXoDQtMp0FtMiFjPvIYciBQnaRv2ChMAnGXNbZXCxWWA9E5S3a+yWzo+gd 8 | wEcowL+SUac1PEDGHokhKn7nctvI9cC4hE6JmKM1sD68/U3rRPXMGqmC7umqyT5P 9 | gjWBb1uu0iRjFC9eQUsaKPxey5Be710GFlyf/Ff/tep7RhkryIWEPvIzYCBf6rhk 10 | 3pysFgTjfiUuBYUNumjXr/q5hgdtb75788XUDxKwAoUx+m8gi0nJg35CN2nmQ054 11 | VJxcZlNv0wqnJ+GTTZeN6fiAhTpVtHsqHQomRSfaBiw= 12 | -----END RSA PRIVATE KEY----- 13 | -------------------------------------------------------------------------------- /modules/luci-base/src/mkversion.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cat < $1 4 | local pcall, dofile, _G = pcall, dofile, _G 5 | 6 | module "luci.version" 7 | 8 | if pcall(dofile, "/etc/openwrt_release") and _G.DISTRIB_DESCRIPTION then 9 | distname = "" 10 | distversion = _G.DISTRIB_DESCRIPTION 11 | if _G.DISTRIB_REVISION then 12 | distrevision = _G.DISTRIB_REVISION 13 | if not distversion:find(distrevision,1,true) then 14 | distversion = distversion .. " " .. distrevision 15 | end 16 | end 17 | else 18 | distname = "OpenWrt" 19 | distversion = "Development Snapshot" 20 | end 21 | 22 | luciname = "${3:-LuCI}" 23 | luciversion = "${2:-Git}" 24 | EOF 25 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/nut.lua: -------------------------------------------------------------------------------- 1 | -- Licensed to the public under the Apache License 2.0. 2 | 3 | m = Map("luci_statistics", 4 | translate("UPS Plugin Configuration"), 5 | translate("The NUT plugin reads information about Uninterruptible Power Supplies.")) 6 | 7 | s = m:section(NamedSection, "collectd_nut", "luci_statistics" ) 8 | 9 | enable = s:option(Flag, "enable", translate("Enable this plugin")) 10 | enable.default = 0 11 | 12 | host = s:option(Value, "UPS", translate("UPS"), translate("UPS name in NUT ups@host format")) 13 | host.placeholder = "myupsname" 14 | host.datatype = "string" 15 | host.rmempty = true 16 | 17 | return m 18 | -------------------------------------------------------------------------------- /modules/luci-base/src/Makefile: -------------------------------------------------------------------------------- 1 | %.o: %.c 2 | $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $< 3 | 4 | clean: 5 | rm -f po2lmo parser.so version.lua *.o 6 | 7 | po2lmo: po2lmo.o template_lmo.o 8 | $(CC) $(LDFLAGS) -o $@ $^ 9 | 10 | parser.so: template_parser.o template_utils.o template_lmo.o template_lualib.o 11 | $(CC) $(LDFLAGS) -shared -o $@ $^ 12 | 13 | version.lua: 14 | ./mkversion.sh $@ $(LUCI_VERSION) "$(LUCI_GITBRANCH)" 15 | 16 | compile: parser.so version.lua 17 | 18 | install: compile 19 | mkdir -p $(DESTDIR)/usr/lib/lua/luci/template 20 | cp parser.so $(DESTDIR)/usr/lib/lua/luci/template/parser.so 21 | cp version.lua $(DESTDIR)/usr/lib/lua/luci/version.lua 22 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=LuCI Statistics Application 10 | LUCI_DEPENDS:= \ 11 | +collectd +rrdtool1 +collectd-mod-rrdtool +collectd-mod-iwinfo \ 12 | +collectd-mod-cpu +collectd-mod-memory \ 13 | +collectd-mod-interface +collectd-mod-load +collectd-mod-network 14 | 15 | define Package/luci-app-statistics/conffiles 16 | /etc/config/luci_statistics 17 | endef 18 | 19 | include ../../luci.mk 20 | 21 | # call BuildPackage - OpenWrt buildroot signature 22 | -------------------------------------------------------------------------------- /collections/luci/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TYPE:=col 10 | LUCI_BASENAME:=luci 11 | 12 | LUCI_TITLE:=Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme 13 | LUCI_DEPENDS:= \ 14 | +uhttpd +uhttpd-mod-ubus +luci-mod-admin-full +luci-theme-bootstrap \ 15 | +luci-app-firewall +luci-proto-ppp +libiwinfo-lua \ 16 | +rpcd-mod-rrdns 17 | 18 | PKG_LICENSE:=Apache-2.0 19 | 20 | include ../../luci.mk 21 | 22 | # call BuildPackage - OpenWrt buildroot signature 23 | -------------------------------------------------------------------------------- /applications/luci-app-e2guardian/luasrc/controller/e2guardian.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | 3 | LuCI E2Guardian module 4 | 5 | Copyright (C) 2015, Itus Networks, Inc. 6 | 7 | Licensed under the Apache License, Version 2.0 (the "License"); 8 | you may not use this file except in compliance with the License. 9 | You may obtain a copy of the License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Author: Marko Ratkaj 14 | Luka Perkov 15 | 16 | ]]-- 17 | 18 | module("luci.controller.e2guardian", package.seeall) 19 | 20 | function index() 21 | entry({"admin", "services", "e2guardian"}, cbi("e2guardian"), _("E2Guardian")) 22 | end 23 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.encrypted_pem.p8: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIIBfTAcBgoqhkiG9w0BDAEBMA4ECN+YmhCv0ILdAgIIAASCAVu0QEfMkp0xUsNq 3 | 0Ek4Nsa/uxcs8N/2P7Ae7qCakkvsdRvvPPH0y+wuj5NgrG6WpPeeEx9fI2oNNTfC 4 | pwncH0Xm99ofVrgMX6XC45LDZtzXNSZd4TdBP6xvlYXbuGegp5GPJ8emzscHCFhC 5 | JfPHemRAcB7DhiWukPosuSUr5R8OluEMJrQLHuQtlDAvMjLEI98lSchPxF8LKCk3 6 | SS2uCcmc+4WiR0nHG9BOaGi38+PytHAnbfo1mfVSQzLfgLicMAVGysfQ9QOgpQOO 7 | ygYfM/s7Duwbl0rshyXVJP+7BpYJnPtHvO4BTiizU7ZEr4WBiEnnANDrupSdsxeH 8 | +cxZo70YJVdoPdgMd2ke6EIkUhp7HughFg+okldlEtJA4muKeEzwAxZu0TqxOtZ8 9 | UYRS4Ygk+rN7Y0qTKSYwSkrFBwUDkpctYjRUOeAZ/mYMKWmMn1ejAb5Is7bjEIxl 10 | tw== 11 | -----END ENCRYPTED PRIVATE KEY----- 12 | -------------------------------------------------------------------------------- /applications/luci-app-ntpc/luasrc/controller/ntpc.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2008 Steven Barth 2 | -- Copyright 2008 Jo-Philipp Wich 3 | -- Licensed to the public under the Apache License 2.0. 4 | 5 | module("luci.controller.ntpc", package.seeall) 6 | 7 | function index() 8 | if not nixio.fs.access("/etc/config/ntpclient") then 9 | return 10 | end 11 | 12 | local page 13 | 14 | page = entry({"admin", "system", "ntpc"}, cbi("ntpc/ntpc"), _("Time Synchronisation"), 50) 15 | page.dependent = true 16 | 17 | page = entry({"mini", "system", "ntpc"}, cbi("ntpc/ntpcmini", {autoapply=true}), _("Time Synchronisation"), 50) 18 | page.dependent = true 19 | end 20 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBkjCB/AIJAPHDh8DU9FfCMA0GCSqGSIb3DQEBBQUAMDQxMjAwBgNVBAoTKWF4 3 | VExTIFByb2plY3QgRG9kZ3kgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTA2MDYw 4 | NzExNDQzMloXDTMzMTAyMzExNDQzMlowLDEWMBQGA1UEChMNYXhUTFMgUHJvamVj 5 | dDESMBAGA1UEAxMJMTI3LjAuMC4xMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANE7 6 | MF+pAUI9hm1yvkBuUcFJf1d1oS025cE9DyAa0SNt+nTSPiOwcPygat7sQYiE/lQV 7 | a2HFFmK4k0HxTz3/Lr0CAwEAATANBgkqhkiG9w0BAQUFAAOBgQAKRT6LwFr1xedJ 8 | b4qrvjB+EwV/0p4TNNXUS9S30rMSFvRar7VxvLP1lpYj9PR1JGSZMG/B6hR4yumF 9 | Rjwel9FPgNcWCW4DXAWqz3UQF7oZtJL6K+XJpQ0gwC+Nxc+RRGNLMlK7dLiqFh/V 10 | qZLej5Xy93M0JyZBiLV88P+c08gd7A== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/sensors.lua: -------------------------------------------------------------------------------- 1 | -- Copyright 2015 Jo-Philipp Wich 2 | -- Licensed to the public under the Apache License 2.0. 3 | 4 | module("luci.statistics.rrdtool.definitions.sensors", package.seeall) 5 | 6 | function rrdargs( graph, plugin, plugin_instance ) 7 | return { 8 | { 9 | per_instance = true, 10 | title = "%H: %pi - %di", 11 | vlabel = "\176C", 12 | number_format = "%4.1lf\176C", 13 | data = { 14 | types = { "temperature" }, 15 | options = { 16 | temperature__value = { 17 | color = "ff0000", 18 | title = "Temperature" 19 | } 20 | } 21 | } 22 | } 23 | } 24 | end 25 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_aes128.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBkjCB/AIJAPHDh8DU9FfHMA0GCSqGSIb3DQEBBQUAMDQxMjAwBgNVBAoTKWF4 3 | VExTIFByb2plY3QgRG9kZ3kgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTA2MDYw 4 | NzExNDQzMloXDTMzMTAyMzExNDQzMlowLDEWMBQGA1UEChMNYXhUTFMgUHJvamVj 5 | dDESMBAGA1UEAxMJMTI3LjAuMC4xMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMDo 6 | g6K2iXFftW+Qk+rrzkMGWrtfY6YSxPstPRrI7akluUEoyWGITXbK6L3QfERrf2eu 7 | CnWyciQiHVRoHC0EgZUCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBT6YhR8x/bBteK 8 | lr8E0l4mATOnYlsmge+z/SFYs4bDBofqlwQCVJXNSBA4ZsEjgP9qIWTu/85QrVGq 9 | LrkewSM6Oeh95LGnE+uhJVtIX++O+Hsex3H1UL067dCG99XmDhqbEU9AI6YSZu2p 10 | cjoSowFELtOoG667+id9QObfV3EQoQ== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_aes256.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBkjCB/AIJAPHDh8DU9FfIMA0GCSqGSIb3DQEBBQUAMDQxMjAwBgNVBAoTKWF4 3 | VExTIFByb2plY3QgRG9kZ3kgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTA2MDYw 4 | NzExNDQzMloXDTMzMTAyMzExNDQzMlowLDEWMBQGA1UEChMNYXhUTFMgUHJvamVj 5 | dDESMBAGA1UEAxMJMTI3LjAuMC4xMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANAW 6 | 9PdXa5u4gWi5VB5p/eQmOtteRq9/54JkiEs8cVNrTQgZsjjU1LGedE3JwBqZ1EIW 7 | HGPjcGg5dVxFjkn7RekCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBmJMt0Crdd/BPn 8 | EdmzsVXou0zTizTC8wyUPMVpg/KzzP7fhZux/ZIrH9/RVcJd9y+B2/mXc3C+K99+ 9 | TXQoYKsLGArfDPzmpy1wPrdEcB1A9gkWDl1Uq6xRyvrVm3gX8NTITRuGKL9njgWx 10 | 2SrApIBtOOUOinYtfH3745cVVl5HOA== 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /libs/luci-lib-nixio/axTLS/ssl/test/axTLS.x509_bad_after.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBkjCB/AIJAPHDh8DU9FfKMA0GCSqGSIb3DQEBBQUAMDQxMjAwBgNVBAoTKWF4 3 | VExTIFByb2plY3QgRG9kZ3kgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTA2MDYw 4 | NzExNDQzMloXDTA1MDYwNzExNDQzMlowLDEWMBQGA1UEChMNYXhUTFMgUHJvamVj 5 | dDESMBAGA1UEAxMJMTI3LjAuMC4xMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANE7 6 | MF+pAUI9hm1yvkBuUcFJf1d1oS025cE9DyAa0SNt+nTSPiOwcPygat7sQYiE/lQV 7 | a2HFFmK4k0HxTz3/Lr0CAwEAATANBgkqhkiG9w0BAQUFAAOBgQCmPSs9EceViMZD 8 | ZTXDZpQWJFcXaeInrXWgYWyVgnHBY/eSuqNCxkV/ehv/Wc5pWBGnrX+4cSvQ+TpQ 9 | FdZegeOjvgipjtJb/0TJCcvgcdHTntEM0h7VXjfbsJXAHwJPFzWIKxV4jeFXnaaw 10 | W+YHrj9GQ8PnFmapPuh4h/y6LyHAcg== 11 | -----END CERTIFICATE----- 12 | --------------------------------------------------------------------------------