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

762 Commits

Author SHA1 Message Date
billz
c7ba2e1ec5 Fix handling of infinite lease time. 2023-01-17 18:10:13 +01:00
billz
4c4b3bae53 Update regex for optional src attribute 2023-01-05 22:36:09 +01:00
billz
43c9997f07 Improve handling of wpa_cli output 2022-12-29 06:27:32 +01:00
billz
d76984517c Add RASPI_AUTH_ENABLED flag to config #280 2022-12-12 12:44:20 +01:00
billz
a87d5829f3 Update release version 2022-10-24 09:52:02 +02:00
Megan Howell
78156484bf
Update to not freak out over vlans
https://www.reddit.com/r/RaspAP/comments/w0mm0v/how_to_configure_dhcp_on_vlan_interfaces/
2022-07-16 16:07:39 -07:00
billz
f0ef11bcf5 Update release version 2022-06-24 06:25:11 +01:00
Bill Zimmerman
e6b6e8eafc
Merge pull request #1183 from RaspAP/feature/ubuntu20-armbian22
Extend support to Ubuntu 20.04 / Armbian 22
2022-06-23 18:12:10 +02:00
billz
7f593bfe31 Add timeout to wget to extract public IP, thx @zbchristian 2022-06-22 14:04:53 +01:00
billz
7674feaf61 Add operatingSystem check to bridge option 2022-06-22 11:50:00 +01:00
billz
a4960f89ac Get system->operatingSystem() 2022-06-08 17:29:23 +00:00
billz
affc0396f1 Display os + kernel info on system > basic tab 2022-06-08 17:22:52 +00:00
billz
f0d1fe9b84 Implement routing table raw output 2022-04-21 09:52:09 +01:00
billz
0aad7c8f0e Fix: filter dhcdpcd.log for ad block 2022-03-31 10:47:55 +01:00
billz
4299d4d7cc Update release version 2022-01-25 08:42:09 +00:00
billz
4b6db8bb1b Apply zbchristian/fix-wireguard conf 2022-01-25 08:36:14 +00:00
billz
f549a3735d Update release version 2022-01-05 12:52:18 +00:00
Bill Zimmerman
95d9cbd65d
Update wireguard.php 2022-01-05 13:17:07 +01:00
Bill Zimmerman
21da37712b
Fix: assign iw reg cc value if empty 2022-01-05 11:19:40 +01:00
billz
d10e963845 Merge branch 'master' of https://github.com/RaspAP/raspap-webgui 2022-01-04 20:48:02 +00:00
billz
b44bc01644 Update release version 2022-01-04 20:47:22 +00:00
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