1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-08-01 18:59:27 +02:00

3501 Commits

Author SHA1 Message Date
billz
384e1df1b7 Minor: echo output 2025-04-28 00:58:24 -07:00
billz
0ad82da51c Default to interface value in /etc/raspap/hostapd.ini 2025-04-28 00:47:16 -07:00
billz
5d8b71b768 Delegate raspap-network-activity@*.service control to raspapd.service 2025-04-28 00:14:04 -07:00
billz
12c28f3f60 Update to stop/start raspap-network-activity@.service 2025-04-28 00:12:59 -07:00
billz
89dfa02d96 Minor: comments 2025-04-27 09:12:17 -07:00
billz
b34f96d351 Update ExecStart path to /usr/local/bin/raspap-network-monitor %i 2025-04-27 09:09:43 -07:00
billz
f30ff24ed4 Update _enable_network_activity_monitor() compile raspap-network-monitor.c 2025-04-27 09:08:51 -07:00
billz
b900c401fe Initial commit 2025-04-27 09:07:58 -07:00
billz
de7e36cb8c Add app/net_activity to .gitignore 2025-04-27 01:36:01 -07:00
billz
cc215530d3 Stop raspap-network-activity@*.service, start service template w/ iface 2025-04-27 01:35:21 -07:00
billz
d7428e40e3 Create _enable_network_activity_monitor() + _symlink_net_activity() 2025-04-27 01:34:22 -07:00
billz
2d7d521501 Add start/stop raspap-network-activity@*.service 2025-04-27 01:33:52 -07:00
billz
1bf91277da Rename systemd unit file template @.service 2025-04-27 01:33:19 -07:00
billz
08528c8843 Merge branch 'master' into feat/net-activity-led 2025-04-25 00:40:23 -07:00
Bill Zimmerman
36610ac519
Merge pull request #1833 from no-sec-marko/fix/rce-hostapd
Add interface validation and improve shell argument escaping
2025-04-25 08:45:37 +02:00
Bill Zimmerman
eda490e452
Merge pull request #1835 from RaspAP/feat/wg-iptables-iface
Feature: User-configurable interface for WG PostUp/PostDown rules
2025-04-25 08:44:24 +02:00
billz
f614fa80dc Update wg messages + compile .mo 2025-04-24 04:51:18 -07:00
billz
a09550bf73 Update template w/ interface select for PostUp/PostDown rules 2025-04-24 04:47:43 -07:00
billz
6899389a81 Read/set wgInterface, update SaveWireGuardUpload(), enumerate interfaces 2025-04-24 04:46:41 -07:00
Marko Winkler
52a4acced8 Add interface validation and improve shell argument escaping
- Introduced validateInterface() to ensure only existing network interfaces are used
- Used escapeshellarg() for user-supplied interfaces in shell commands (iw, iwgetid)
- Replaced direct usage of $_POST['interface'] with validated fallback to RASPI_WIFI_AP_INTERFACE
- Improved code readability by reducing redundant assignments
2025-04-23 21:31:38 +02:00
billz
3cb2e67387 Cleanup unused classes + setAttribute defs 2025-04-20 03:38:45 -07:00
billz
5c7ccfb64f Remove --interface wlan0 arugment (set by default) 2025-04-20 03:36:39 -07:00
billz
1ab3906632 Initial commit 2025-04-19 06:07:08 -07:00
billz
73df916184 Add hostapd-led to fas class in template 2025-04-19 06:06:28 -07:00
billz
97b846b2b6 Revise updateActivityLED() to handle multiple hostapd-led classes 2025-04-19 06:04:59 -07:00
billz
12b343b570 Added led-pulse animation + keyframes, #hostapd-led 2025-04-19 06:04:01 -07:00
billz
03e2b853be Remove debug output, format comments 2025-04-18 12:37:50 -07:00
billz
6fe48d0e4e Update status panel w/ hostapd-led ID 2025-04-18 12:33:14 -07:00
billz
1d80b5090d Create updateActivityLED() 2025-04-18 12:32:02 -07:00
billz
658e931aa6 Initial commit 2025-04-18 12:30:59 -07:00
billz
c3175459ab Update release version 2025-04-17 05:44:30 -07:00
Bill Zimmerman
3bf682d752
Merge pull request #1811 from RaspAP/feat/csrf-tokenizer
Feature: CSRF tokenizer class
2025-04-17 14:32:58 +02:00
Bill Zimmerman
9e0801aa0c
Merge pull request #1825 from RaspAP/fix/custom-blocklists
Fix: Check for presence of custom blocklist
2025-04-17 10:07:12 +02:00
billz
a21b0a8f99 Check for presence of custom blocklist in RASPI_ADBLOCK_LISTPATH 2025-04-16 23:33:13 -07:00
billz
5f1b16bc74 Remove instantiation of $token 2025-03-26 11:19:00 -07:00
billz
deba5e1e74 When session token expires, redirect instead of returning a 500 error 2025-03-26 09:51:39 -07:00
billz
0960e8bac9 Add CSRF protection include 2025-03-26 04:05:39 -07:00
billz
4a4506a913 Update with CSRF::hiddenField() 2025-03-26 04:03:37 -07:00
billz
bfab3d7441 Revise CSRFValidate() 2025-03-26 04:02:48 -07:00
billz
47d7c121de Generate new session id on logout() 2025-03-26 04:01:09 -07:00
billz
484b89718a Add validateRequest(), token check outside class 2025-03-26 04:00:34 -07:00
billz
d6c8ac32a7 Fix call to class method 2025-03-25 14:05:34 -07:00
billz
3d6b4e1f15 Simplify getVpnManaged check with ternary operator 2025-03-25 14:04:29 -07:00
billz
8d482845b0 Replace explicit token instantiation w/ includes/CSRF.php 2025-03-25 14:02:51 -07:00
billz
a1550d8049 Refactor templates to use CSRF facade 2025-03-25 14:00:24 -07:00
billz
5584e3b72c Initial commit 2025-03-25 13:58:52 -07:00
billz
b0ba029c66 Revert "Accept $token object, pass to renderTemplate()"
This reverts commit b3c61782749559ae710b2bcc608ecf6f000650f5.
2025-03-25 13:23:58 -07:00
billz
48e492bf10 Ensure a CSRF token exists in session 2025-03-25 06:49:18 -07:00
billz
821ac9c1f8 Numerous fixes to class methods 2025-03-25 05:26:53 -07:00
billz
49cb3911b8 Fixup misnamed method getVpnManged -> getVpnManaged 2025-03-25 05:25:11 -07:00