1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

584 Commits

Author SHA1 Message Date
Bill Zimmerman
f9c2bccc3a
Merge pull request #5 from RaspAP/feature/dhcp-ignore
Limit network access to static clients
2021-02-23 07:31:12 +01:00
billz
54b9d7ec5e Update release version 2021-02-22 12:02:12 +00:00
billz
1eec097b80 Bugfix: Parse dhcp-host entries 2021-02-22 09:47:25 +00:00
billz
effed56169 Bugfix: update br0 dhcpcd sequence 2021-02-22 09:41:37 +00:00
billz
f156fbceae Add tag set:known to dhcp-host 2021-02-22 08:00:50 +00:00
billz
16eace63e7 Add dhcp-ignore handling 2021-02-21 23:51:20 +00:00
billz
871d5353a5 Update br0 dhcpcd sequence, thx @lifros 2021-02-21 10:28:55 +00:00
billz
c16d48d2fe Update DisplayThemeConfig() 2021-02-15 22:07:34 +00:00
billz
4378ff7add Implement night mode toggle in top navbar 2021-02-15 19:02:13 +00:00
billz
e2a526ef81 Update release version 2021-02-10 17:13:34 +00:00
billz
72515b0734 Update release version 2021-02-10 16:23:56 +00:00
billz
0ffe0ecd4b Persist log-openvpn option 2021-02-10 11:27:24 +00:00
billz
04edc3a185 Implement openvpn logging 2021-02-09 21:57:15 +00:00
billz
f48e77da6c Update w/ file_move_config + permissions 2021-02-07 11:54:57 +00:00
billz
ef09dd0f60 Add file utility functions 2021-02-07 11:53:57 +00:00
billz
dc03d9ea00 Prepend .ovpn filename to client + login 2021-02-06 11:03:30 +00:00
billz
b21ea0d28d Transfer template logic to includes, see #749 thx @mp035 2021-02-02 12:26:14 +00:00
billz
3d2d608477 Fix warning: check for RASPI_CACHE_PATH 2021-02-02 11:15:08 +00:00
billz
5c4b84f826 Disambiguate iface overrides for ap-sta & bridged modes, thx @mp035 2021-02-02 07:36:28 +00:00
billz
62a5e42393 Update release version 2.6 2021-01-25 17:16:57 +00:00
billz
f1c85c993e Move getHumanReadableDatasize() to functions 2021-01-21 11:54:10 +00:00
billz
0bbf03cc95 Set WifiManaged value from $_POST. Resolves #767 2021-01-17 10:41:12 +00:00
billz
a4636b2902 Bugfix: typo. Thx @mp035 2021-01-06 07:48:46 +00:00
billz
c3bdc60c48 Update pre-release version 2.6-beta 2020-12-26 10:18:27 +00:00
billz
31e3afa4a4 Create getDefaultNetOpts() 2020-12-24 12:29:52 +00:00
billz
910122838d Handle dhcp log options w/ 090_raspap.conf 2020-12-24 10:20:52 +00:00
billz
3db9717b27 Bugfix: set AP-STA/bridged mode in hostapd.conf 2020-12-20 16:46:57 +00:00
Bill Zimmerman
f43083fec8
Merge branch 'master' into feature/dhcp-eth0 2020-12-15 23:01:23 +01:00
Mark Pointing
12b69590da Removed some band-aid fixes of incorrect client/ap interface identification function. 2020-12-15 10:45:27 +00:00
Mark Pointing
ed09f9b9da Cleaned up some debugging code identified when comparing PR. 2020-12-15 19:02:33 +10:00
Mark Pointing
c5f692263d Fixed function getWifiInterface for rpi0W. The old version would get 'wifi_client_interface' and 'ap_interface' reversed when rpi0W is used in AP-STA mode. This commit fixes the issue. 2020-12-15 18:05:07 +10:00
billz
0cd278f040 Create 090_raspap.conf w/ dnsmasq log-facility 2020-12-12 19:29:43 +00:00
billz
04b0e8ac53 Set log-facility for dnsmasq 2020-12-12 16:53:58 +00:00
Bill Zimmerman
16f4c47f00
Merge branch 'master' into feature/dhcp-eth0 2020-12-12 17:41:41 +01:00
billz
c0e5625ae1 Update release verison 2.5.2 2020-12-07 12:45:19 +00:00
billz
5eae4bd086 Handle default subnet mask values 2020-12-06 17:31:03 +00:00
billz
4bb2597bff Fix: pass required param 2020-12-06 09:04:40 +00:00
billz
d35397f09e Remove hardcoded default values, implement defaults.json 2020-12-05 09:14:07 +00:00
billz
9f85daaa86 Added getDefaultNetValue() 2020-12-05 09:12:47 +00:00
billz
e77b0fead1 Minor: camelCase + docblocks 2020-12-04 22:44:27 +00:00
billz
e3f36158bb Added updateHostapdConfig() 2020-12-04 22:36:54 +00:00
billz
bcab63bb30 Bugfix + documentation 2020-12-04 21:41:10 +00:00
billz
de787c424a Create functions from procedural code 2020-12-04 14:40:54 +00:00
billz
1c6d837a80 Bugfix: handle subnetmask null value 2020-12-03 10:29:11 +00:00
billz
8420bbb0da Read/apply dhcp settings from json 2020-12-01 22:52:15 +00:00
billz
15fb1b714c Minor: cleanup 2020-12-01 22:51:00 +00:00
billz
160c47defe Create network.json + RASPI_CONFIG_NETWORK 2020-12-01 19:48:59 +00:00
billz
66bd5d5927 Added getNetConfig() 2020-12-01 18:38:57 +00:00
billz
5b1325803a Added cidr2mask() 2020-11-30 12:09:56 +00:00
billz
5cc7794cb0 Update fallback static profile, subnet mask 2020-11-30 12:09:22 +00:00
billz
2ff8f6f179 Bugfix: add/update/delete config 2020-11-27 16:28:37 +00:00
billz
5045cbfd33 Fixup dhcp cfg save/update 2020-11-26 17:20:12 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
a0a8ff0734 Cleanup: procedural code into functions 2020-11-20 07:35:36 +00:00
billz
eca6c5ae2f Bugfix: set preg_replace limit 2020-11-20 07:32:52 +00:00
billz
3c7eab702c enable log-facility + conf-dir on default iface 2020-11-19 12:35:38 +00:00
billz
fc4c8867f4 Update constant, saf merge dhcp config 2020-11-19 12:34:55 +00:00
billz
70efa660e0 Remove RASPI_DNSMASQ_CONFIG (deprecated) 2020-11-19 12:32:38 +00:00
billz
ebbd6f4399 Refactor, create SaveDHCPConfig() 2020-11-17 11:21:04 +00:00
billz
209d741363 Remove parse DHCP, moved to AJAX handler 2020-11-16 18:21:31 +00:00
billz
daa6b877e6 Enable DHCP option for all interfaces 2020-11-15 10:55:33 +00:00
billz
e54e8b5bc0 Update const RASPI_DNSMASQ_PREFIX 2020-11-15 10:51:09 +00:00
billz
e5f1d4ed0e Safe write dhcpcd.conf, validate static IP, handle revert cfg 2020-11-11 12:40:22 +00:00
billz
6d14cbaee5 Handle dhcp for eth0, udpdate dhcpcd + dnsmasq.conf 2020-11-09 17:48:32 +00:00
billz
a20877c377 Add RASPI_DNSMASQ_ETH0 to default config 2020-11-06 09:04:22 +00:00
billz
2c60b34084 Added RASPI_5GHZ_MAX_CHANNEL to defaults 2020-10-25 08:00:17 +00:00
billz
b095073043 Validate channel w/ RASPI_5GHZ_MAX_CHANNEL, addresses #450 2020-10-25 07:48:41 +00:00
billz
09f65e0252 Merge branch 'feature/wireguard' of https://github.com/billz/raspap-webgui into feature/wireguard 2020-10-15 10:46:07 +01:00
Bill Zimmerman
0ba767c387 Merge branch 'master' into feature/wireguard 2020-10-15 11:40:45 +02:00
billz
cbee0996b8 Added Polish language support, thx Patryk Kubiak 2020-10-01 07:54:40 +01:00
billz
31edb21a76 Fix merge error 2020-09-23 09:10:44 +01:00
billz
f8b5f8fdfc Merge branch 'master' into feature/wireguard 2020-09-22 18:23:36 +01:00
Robert Duncan
2108d5b79f
Update dashboard.php 2020-09-22 11:25:24 -04:00
billz
3c5737224e Check for empty strings 2020-09-20 09:42:13 +01:00
billz
9b02fc5b27 Remove debug output 2020-09-20 07:38:21 +01:00
billz
24eb3afc59 Merge branch 'master' into feature/wireguard 2020-09-19 22:51:15 +01:00
billz
3644109cec Validate/handle custom hosts input 2020-09-19 22:26:52 +01:00
billz
5189853c19 Added validate_host() 2020-09-19 22:24:15 +01:00
billz
4b1c5b802c Implement beacon_int + disassoc_low_ack hostapd options. Addresses #666😈 2020-09-11 19:03:14 +01:00
billz
7286173438 Add rudimentary logging 2020-09-05 19:27:38 +01:00
zbchristian
46946ecebc
Update to list of default routes
Add the default route entries, which are done via a "scope link" to a network device.
2020-09-03 08:46:57 +02:00
billz
af0721e021 Save wg config, template fixes 2020-08-28 23:42:55 +01:00
billz
34b5b4c1b2 Add validateCidr() 2020-08-28 23:40:46 +01:00
billz
4f7784215d Merge branch 'master' into feature/wireguard 2020-08-27 23:20:32 +01:00
billz
04d8433d1c Update release version 2020-08-27 15:15:54 +01:00
billz
aff035122b Validate, save & display wg config 2020-08-26 23:54:49 +01:00
billz
22651a86b7 Simplify wg config handling 2020-08-25 22:11:57 +01:00
billz
543791f723 WIP: handle input 2020-08-25 22:11:27 +01:00
billz
dd5ab7bdc2 Remove webconsole, fixes RCE via json-rpc. Thanks @lb0x 2020-08-22 23:23:06 +01:00
billz
5be1ad5844 Merge billz/raspap-webgui master 2020-08-22 14:43:26 +01:00
billz
44e9ae75ae Remove webconsole, fixes RCE via json-rpc. Thanks @lunchb0x 2020-08-22 11:41:33 +01:00
billz
b0ebd7bf00 Add validate serverBind, save settings 2020-08-05 18:57:42 +01:00
billz
eeccb19b35 WIP: enable bind-addr control 2020-07-29 15:52:31 +01:00
billz
04f62b9f0d Templatize system 2020-07-29 08:37:27 +01:00
billz
3d901ae5f9 Set country_code from iw reg if undefined 2020-07-10 18:28:28 +01:00
billz
b02660d5ff Update release version 2020-07-03 12:43:47 +01:00
billz
ed7ed04475 Create RASPI_BRAND_TEXT 2020-07-01 09:13:38 +01:00
billz
29be22a8d3 Create dashboard functions 2020-06-30 23:35:46 +01:00
billz
2916bd1998 Dynamic theme color support 2020-06-30 16:54:30 +01:00
billz
9fef770143 Create getThemeOpt 2020-06-30 16:53:52 +01:00