Commit graph

891 commits

Author SHA1 Message Date
Bill Zimmerman
793bbfac53
Bugfix: rewrite selected wlan dhcpcd cfg 2022-01-04 19:02:12 +01:00
billz
6905dd36bd Update release version 2022-01-01 22:53:19 +00:00
billz
c06bd30fed Added Romainian language support - thx Drago! 2021-12-31 14:59:55 +00:00
billz
031df3195c Update release version 2021-12-31 13:12:38 +00:00
billz
acb9fb270e Merge branch 'billz/insiders-merge' of https://github.com/RaspAP/raspap-webgui into billz/insiders-merge 2021-12-31 13:10:41 +00:00
billz
0af3e7a7c6 Update wg logging facility 2021-12-31 13:10:27 +00:00
Bill Zimmerman
90470cbaf9
Merge branch 'master' into billz/insiders-merge 2021-12-29 17:04:09 +01:00
billz
0c5ecb549d Update release version - First Insiders Edition 2021-12-29 13:27:34 +00:00
billz
c2665ae528 Resolve merge conflict 2021-12-29 12:41:35 +00:00
billz
2ca5f25dff Merge First Edition of RaspAP/raspap-insiders 2021-12-29 12:35:57 +00:00
billz
730c3c3cc8 Update release version 2021-11-28 09:07:16 +00:00
Bill Zimmerman
d0564ec946
Merge pull request #49 from RaspAP/feature-firewall
Feature: firewall settings
2021-11-26 22:48:14 +01:00
billz
6b777ff8c2 Update release version 2021-11-25 09:02:59 +00:00
billz
4d00bd9e94 Update default getColorOpt() 2021-11-25 08:06:17 +00:00
billz
37bc68c91a Update default getColorOpt() 2021-11-25 08:05:38 +00:00
zbchristian
4408940a3d Improve detection of escaped hex bytes in ssid name 2021-11-24 23:02:07 +00:00
zbchristian
db9f76eb5c only lower case hex sequences in non-ASCII SSID 2021-11-24 22:52:59 +00:00
zbchristian
634eb72760 Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
2021-11-24 22:49:05 +00:00
zbchristian
5cbb785529 Handle non-ASCII SSID
Non-ASCII SSID has to be stored in wpa_supplicant.conf identical to the string given by wpa_cli scan. This includes the escaped special chars (e.g. ö = \xc3\xb9 ), with a prescript "P".
To obtain a valid psk from wpa_passphrase, the UTF8 string is passed (ssid2utf8 replaces the \x bytes by their binary value) to the exec(). For this to work the shell locale has to be UTF8 (via putenv()). Otherwise the string is converted to the shell encoding.
2021-11-24 22:49:05 +00:00
zbchristian
74b6a15a75 Correct non-ASCII SSID read from wpa_supplicant 2021-11-24 22:47:39 +00:00
zbchristian
d8626bd790 Zbchristian fix wifi client connect #53 2021-11-24 19:50:06 +00:00
Bill Zimmerman
b90777b550
Merge pull request #54 from RaspAP/workaround-nonASCII-ssid-names
Fix handling of non ASCII ssid names
2021-11-24 16:59:18 +01:00
Bill Zimmerman
872d76e9c4
Merge pull request #53 from RaspAP/zbchristian-fix-wifi-client-connect
Zbchristian fix wifi client connect
2021-11-24 00:13:00 +01:00
billz
83373cf1c8 Update release version 2021-11-18 16:57:44 +00:00
billz
63ec96dde3 Update release version 2021-11-18 16:39:30 +00:00
billz
f35663f0aa Minor: typo fixes 2021-11-17 21:39:21 +00:00
billz
fc4fe6ea58 Update release version 2021-11-17 18:21:06 +00:00
billz
e75333e29d Define RASPI_DHCPCD_LOG 2021-11-17 18:20:03 +00:00
billz
816f760dad Update release version 2021-11-17 18:07:47 +00:00
billz
f077aedde0 Define RASPI_DHCPCD_LOG. Resolves #1058 2021-11-17 18:06:43 +00:00
billz
8cef08cc81 Update release version 2021-11-15 22:15:16 +00:00
billz
a2e1b4bb68 Update release version 2021-11-15 17:48:09 +00:00
billz
84bd141025 Update release version 2021-11-04 09:50:21 +00:00
billz
921d5a0c5f Update release version 2021-10-13 21:56:33 +01:00
smurphy
6c0b2d8b82 Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:32:07 -04:00
smurphy
43088d3d1d Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:31:28 -04:00
zbchristian
45bd02ecb7 Improve detection of escaped hex bytes in ssid name 2021-09-08 14:46:19 +02:00
zbchristian
d07fd0a327 Implement update firewall function
- cleanup firewall.php
- add function updateFirewall
- add standalone script update_firewall.sh to update the firewall rules
2021-09-08 10:59:58 +02:00
billz
a634e0dfaa Merge from upstream master: Pass $upstreamServers to template 2021-09-07 17:05:58 +01:00
billz
c24104008a Pass $upstreamServers to template, resolves #994 thx @SephGER 2021-09-07 17:04:00 +01:00
zbchristian
98fe68e2d3 Fix numbering of nearby nextworks 2021-09-02 11:03:35 +02:00
zbchristian
7344c323ee Fix display of non-ASCII SSID 2021-09-02 09:39:32 +02:00
zbchristian
3aa564cdec only lower case hex sequences in non-ASCII SSID 2021-09-02 09:37:34 +02:00
zbchristian
077a9cd675 Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
2021-09-02 09:37:33 +02:00
zbchristian
d478bf5362 Handle non-ASCII SSID
Non-ASCII SSID has to be stored in wpa_supplicant.conf identical to the string given by wpa_cli scan. This includes the escaped special chars (e.g. ö = \xc3\xb9 ), with a prescript "P".
To obtain a valid psk from wpa_passphrase, the UTF8 string is passed (ssid2utf8 replaces the \x bytes by their binary value) to the exec(). For this to work the shell locale has to be UTF8 (via putenv()). Otherwise the string is converted to the shell encoding.
2021-09-02 09:37:33 +02:00
zbchristian
5630258d9a Fix SSID name of wifi client 2021-09-01 18:37:36 +02:00
zbchristian
433434f4b7 Correct non-ASCII SSID read from wpa_supplicant 2021-09-01 18:37:36 +02:00
zbchristian
9aa94a4d22
Add network index to network array 2021-08-31 17:00:08 +02:00
zbchristian
0adbf9f215
Fix system info class creation
Hostapd.php is throwing an error.
Two problems found:
1) the class System is not existing. Its actually called Sysinfo
2) the namespace of the class is RaspAP\System
2021-08-31 16:43:44 +02:00
billz
b01e383e43 Instantiate system class w/ namespace 2021-08-09 06:25:41 +01:00
billz
93db1347cb Instantiate system class w/ namespace 2021-08-09 06:24:29 +01:00
billz
9405297662 Renamed constant for consistency 2021-08-05 20:29:46 +01:00
billz
307256d96e Function comment block stubs 2021-08-05 18:15:12 +01:00
billz
99577938f6 Formatting: processed w/ phpcbf 2021-08-05 18:05:31 +01:00
billz
cca40f287c Merge branch 'feature-firewall' of https://github.com/RaspAP/raspap-insiders into feature-firewall 2021-08-05 15:18:24 +01:00
billz
fa849e55de Merge with upstream master 2021-08-03 17:42:56 +01:00
Bill Zimmerman
9b72d7f3db
Merge pull request #969 from fareg/master
DHCP static leases w/ optional comment
2021-08-03 16:43:20 +02:00
billz
4e62413e11 Instantiate system class w/ namespace 2021-08-03 15:18:36 +01:00
Fabrice Colas
17597cd2cc DHCP static leases w/ optional comment
* Ability to add an optional Comment to DHCP  static Leases
    * Sort DHCP static leases by IP (more human readable)
2021-07-27 18:33:00 +02:00
Christian Zeitnitz
f572fdd39e Improve search for tun and wg device 2021-07-27 11:25:42 +02:00
Christian Zeitnitz
3d4b710492 Allow IPv6 addresses for VPN server 2021-07-27 10:09:36 +02:00
Christian Zeitnitz
0886999055 Improve active VPN detection 2021-07-26 15:42:14 +02:00
Christian Zeitnitz
882535b130 Get VPN state from active tun/wg device 2021-07-25 17:27:31 +02:00
Christian Zeitnitz
2f1a6af0ba Add IPv6 to Firewall 2021-07-25 15:42:46 +02:00
Christian Zeitnitz
0a6e48a953 Fix display of VPN IPs 2021-07-21 17:56:01 +02:00
Christian Zeitnitz
393292f872 Add VPN server IPs to Firewall GUI 2021-07-21 16:02:21 +02:00
Christian Zeitnitz
e049dd6d45 Add excelusion option to firewall GUI 2021-07-20 21:56:00 +02:00
Christian Zeitnitz
721e576779 Fix writing of the firewall config 2021-07-20 18:13:35 +02:00
Christian Zeitnitz
3059dd1fb8 Define firewall constants 2021-07-19 17:28:49 +02:00
Christian Zeitnitz
b770b89d73 Add openvpn udp rules to firewall 2021-07-18 22:09:59 +02:00
Christian Zeitnitz
59abc641d6 Implement firewall
- settings in iptables_rules.json
- creates a script under /tmp/iptables_raspap.sh and executes it
- no installer yet
- to do: deal with Bridge and VPN settings
2021-07-16 21:40:28 +02:00
billz
98533c3ee8 Update release version 2021-07-15 08:49:35 +01:00
Bill Zimmerman
78c4dff40b
Merge pull request #45 from RaspAP/feature/wg-extended
Extend WG functionality
2021-07-13 14:03:35 +02:00
billz
2ccce60189 Simplify template, update save actions 2021-07-08 11:22:17 +01:00
billz
8374d032b3 Update w/ common public_ip function 2021-07-07 23:25:23 +01:00
billz
84fcedc203 Added get_public_ip() 2021-07-07 23:24:49 +01:00
billz
225bff59b6 Upload wg config, set postup/down rules, move to destination 2021-07-07 23:01:47 +01:00
billz
8c3531e6d2 Work in progress: SaveWireGuardUpload() 2021-07-06 23:13:32 +01:00
billz
84d5584150 Move file upload validation class to functions 2021-07-06 23:10:10 +01:00
Bill Zimmerman
4d4fac2a8f
Merge pull request #43 from RaspAP/feature/zbchristian-clients-mods
Feature/zbchristian clients mods
2021-07-05 10:07:51 +02:00
billz
87352b8b42 Update w/ namespace, fix configauth for client.conf 2021-07-04 11:15:50 +01:00
billz
699f9ff397 Bugfix + remove debug output 2021-07-04 10:47:45 +01:00
billz
b7a9c6254e Refactor w/ file upload class 2021-07-03 23:03:14 +01:00
billz
815e4639a1 Update release version 2021-06-15 16:03:45 +01:00
zbchristian
4c79f1f362
Insert determination of the default config 2021-06-12 16:21:20 +02:00
billz
5f7df3accb Update release version 2021-06-08 20:16:34 +01:00
billz
1647aa3c73 Refactor config handling w/ symbolic links 2021-06-06 20:50:20 +01:00
billz
234f22117f Remove file_move_config (deprecated) 2021-06-06 20:49:09 +01:00
billz
43e9a093c4 Add RASPI_OPENVPN_CLIENT_PATH 2021-06-06 20:47:30 +01:00
billz
06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
billz
04fc73326b Update release version 2021-06-05 08:10:43 +01:00
glaszig
807a591504 remove unnecessary function calls 2021-06-01 03:02:04 +01:00
glaszig
9dc1f14ccb separate connected from known from nearby wifi stations in ui 2021-06-01 03:02:04 +01:00
billz
a4d5cc1af6 Remove extended ASCII ISO Latin-1 printable chars from filter 2021-05-31 10:49:02 +01:00
glaszig
fe3b8a108e properly exclude raspap station from found wifi stations 2021-05-30 21:58:38 +01:00
glaszig
92e154fa64 interpret hex sequences in ssid station names
resolves #917
2021-05-30 21:49:48 +01:00
Christian Zeitnitz
26a50993b9 Fix hilink login 2021-05-21 22:07:04 +02:00
Christian Zeitnitz
b99752c4cd Implement login for Hilink devices 2021-05-21 14:57:14 +02:00
Bill Zimmerman
fabc48c7da
Merge pull request #884 from RaspAP/feature/reinitialize-wpa
Feature: reinitialize wpa_supplicant
2021-05-10 11:13:04 +02:00
glaszig
45a50edc41 use special multibyte shell escaping to support unicode ssid names with qr code 2021-05-08 14:24:36 -03:00
billz
3969db61b0 Validate wpa_passphrase w/ ctype_print 2021-05-07 11:33:17 +01:00
billz
90aea4ca93 Set locale for utf-8 support, remove mb_escapeshellarg (deprecated) 2021-05-02 07:02:30 +01:00
billz
6bfb3a3c9d Add escapeshellarg() for iwgetid interface 2021-05-01 17:46:53 +01:00
billz
e5024c4c19 Minor: fix labels + update en_US locale 2021-04-30 17:24:45 +01:00
billz
8873735d7f Add status msg, update shell cmds 2021-04-30 08:37:41 +01:00
Bill Zimmerman
3451efe132
Create reinitializeWPA() 2021-04-29 23:58:46 +02:00
Bill Zimmerman
c8a9c05d3e
Add handler for wpa_reinit 2021-04-29 23:56:40 +02:00
zbchristian
422ce9dd3b
Fix unknown device type for mobile modems (ppp) 2021-04-23 18:04:11 +02:00
billz
6ac7642c33 Update release version 2021-04-23 12:45:28 +01:00
billz
6d3966dd8a Update release version 2021-04-22 08:28:07 +01:00
billz
643afe09e8 Set txpower w/ iw, persist value in UI 2021-04-20 17:53:09 +01:00
billz
6c674537bb WIP: txpower feature 2021-04-20 15:19:00 +01:00
billz
6c6722ae88 Update release version 2021-04-15 18:48:45 +01:00
Bill Zimmerman
0c9152fff3
Merge branch 'master' into feature/zbchristian-clients 2021-04-15 09:00:48 +02:00
Bill Zimmerman
0f333bd261
Merge pull request #19 from RaspAP/zbchristian-mods-openvpn
Allow to configure OpenVPN with a client certificate
2021-04-06 14:22:09 +02:00
billz
594c5dad1c Merge with upstream master 2021-04-05 10:06:44 +01:00
glaszig
6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
root
b10ee7a98f sort interface list for hostapd 2021-04-02 00:13:35 +01:00
Christian Zeitnitz
300f2c2457 Cleanup and fix for udev rules written for clients
Fix device type in client table
2021-03-29 15:16:23 +02:00
Christian Zeitnitz
f7cef44b06 Add code for PPP and TUN devices 2021-03-28 16:35:19 +02:00
Christian Zeitnitz
6eb51a2d63 Add flag for client configuration 2021-03-28 14:44:05 +02:00
Christian Zeitnitz
34f46007bd fix coding standard violations 2021-03-27 18:39:42 +01:00
Christian Zeitnitz
f583a3eeae modified text in case of unconfigured client 2021-03-27 18:00:40 +01:00
Christian Zeitnitz
5b9d4ca814 Add unconfigured client state to dashboard.php
Add tun device as client_udev_prototypes.json
2021-03-27 17:43:15 +01:00
billz
43043d48e4 Processed with phpcbf 2021-03-27 14:38:03 +00:00
Christian Zeitnitz
720e6c3e77 Add certificate option to openvpn GUI
add JS code to display options and selected ovpn file
2021-03-27 10:29:09 +01:00
zbchristian
e16844294b
Merge branch 'master' into feature/zbchristian-clients 2021-03-21 18:00:40 +01:00
Christian Zeitnitz
68ec5f7db5 Fix name of internal wlan interface 2021-03-20 10:24:19 +01:00
Christian Zeitnitz
ac16d67609 Handling of USB tethering (Android phone) improved 2021-03-18 18:20:52 +01:00
Christian Zeitnitz
f77fb660bf Fix missing mobiledata.ini and some cleanup 2021-03-16 19:11:40 +01:00
Christian Zeitnitz
3b64697b4a Switch client on: wait for connection w/ timeout
add new switchClientState.sh to be used in hilink service (calls the php getClients code)
2021-03-15 14:03:34 +01:00
Christian Zeitnitz
11e2724afa Dashboard: show correct status after switching the client state
fix huawei hilink service (udev rule)
2021-03-15 13:29:16 +01:00
Christian Zeitnitz
c87253a06b Fix SSID consisting of multiple words 2021-03-14 19:53:08 +01:00
Christian Zeitnitz
2b4c9472e6 Replace switchClientState.sh by php function in get_clients.php
Cleanup display of client on dashboard
2021-03-12 12:20:34 +01:00
Christian Zeitnitz
76e2eecaec Correct internet device GUI and udev config 2021-03-10 23:45:04 +01:00
billz
9a770329db Update release version 2021-03-09 17:54:30 +00:00
billz
cb58e31089 Handle server/peer enable states 2021-03-09 15:35:48 +00:00
billz
dd46f6d483 Update release version 2021-03-09 13:26:30 +00:00
Bill Zimmerman
6d9eaceef7
Merge branch 'master' into feature/wireguard 2021-03-09 12:11:21 +01:00
billz
50901948e0 Added wg strings to en_US locale 2021-03-08 08:44:17 +00:00
billz
1e7438da23 Code cleanup, update Endpoint default value 2021-03-07 19:06:53 +00:00
Christian Zeitnitz
8b0383dd20 Implement Client configuration
- add mobile date network devices and configuration
- add client configuration via udev
- add GUI under networking tab
- add scripts to handle mobile data devices
2021-03-07 18:36:48 +01:00
billz
7c1ef85bb8 Update wg-quick w/ systemd start/stop 2021-03-07 13:22:26 +00:00
billz
cbab3f2825 Update peer input handling, write wg configs 2021-03-07 10:27:08 +00:00
billz
406ff39ef8 Update release version 2021-03-05 19:24:18 +00:00
billz
333d447c6b Add defaults for wg server PostUp/Down 2021-03-05 08:32:00 +00:00
billz
0e89de2066 Remove private keys from payload 2021-03-04 23:50:16 +00:00
billz
4515ac95fb Improved private key handling (security) 2021-03-04 23:44:45 +00:00
billz
0dbfb5c44f Create SaveWireGuardConfig() 2021-03-04 23:06:27 +00:00
billz
6b484d383c Progress commit: wg-qr-code 2021-03-02 23:15:47 +00:00
billz
9eadd28df1 Save client.conf 2021-03-02 14:16:43 +00:00
billz
3ec81ba085 Get/set pub+priv keys, create wg0.conf 2021-02-24 18:07:19 +00:00
billz
796ed558f7 Handle peer defaults 2021-02-24 09:12:31 +00:00
billz
6076e277c8 Disambiguate var names 2021-02-24 08:48:07 +00:00
billz
c80ad85214 Update wireguard constants 2021-02-24 08:46:41 +00:00
billz
cc1c8d594a Update w/ fallback default values 2021-02-23 23:21:02 +00:00
billz
9c2cd82562 Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard 2021-02-23 20:17:38 +00:00
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