Comments (6)
fixed by using "sudo"
from raspap-webgui.
same for ddnsclient config:
tch@raspberrypi:/etc $ ls -al |grep ddclient.conf
-rw------- 1 root root 199 Jan 27 17:19 ddclient.conf
from raspap-webgui.
Thanks for providing insider access btw!
just a question not related to this issue: how do i list the connected clients in bash? i can list DHCP leases, but i have tried anything in the php files without any luck.
the only method i can come up with is:
flowchart TD
A["cat /var/log/dnsmasq.log | grep DHCPACK"] -->|"where time is less then leasetime"| B(Active clients)
but this is not a list of active clients, but a list of active leases...
from raspap-webgui.
Thanks for providing insider access btw!
@NL-TCH you betcha :)
Good question re: active leases. Check out the related discussions in #538 and #302
Instead of using dnsmasq leases, I'm leaning towards using iw station dump to collect MAC addresses, then cross referencing them with wlan0's arp table. Then some more awk/sed/grep magic to get the relevant data.
from raspap-webgui.
/tmp/hostapd.log cannot be accessed by a normal user (and API) as well
from raspap-webgui.
/etc/wireguard is privileged, so the API cannot read the configs without privilege (which is not ideal).
I might be wrong, but modifying wg permissions likely opens some big security holes. Defaults are:
700 for the /etc/wireguard directory
600 for the contents of /etc/wireguard
$ ls -ld /etc/wireguard
drwx------ 2 root root 4096 Sep 19 2022 /etc/wireguard
/etc/ddclient.conf also contains passwords.
Exposing these to an API is an open invitation to 'security researchers' looking for their first CVE.
from raspap-webgui.
Related Issues (20)
- cannot start quick installer HOT 4
- Add option to configure the firewall for IPTables or NFTables HOT 3
- [Bug]: RaspAP has no internet. Raspberry Pi Bookworm now has NFTables not IPTables HOT 2
- Invalid default DHCP configuration for wlan0 interface HOT 4
- [Bug]: Can't connect to 5Ghz AP HOT 1
- Insider repo not found HOT 4
- [Bug]: Wireless LAN is not working. HOT 1
- [Bug]: Cant save any Configurations HOT 1
- [Bug]: Critical security fixes, PR available https://github.com/RaspAP/raspap-webgui/pull/1546 HOT 1
- [Bug]: Night mode switch is not obeyed when changing themes
- [Bug]: Bridge-Mode breaking access to SSH / WebUI HOT 1
- [Bug]: Saving any settings triggers password manager extention to update password for the portal HOT 3
- Manage WLAN, LAN, WWAN and WAN subnets and routing table in the UI
- Implement NetworkManager or NMCLI backend to RaspAP
- [Bug]: iptables: Failed to initialize nft: Protocol not supported HOT 1
- [Bug]: Default configuration with wlan0 AP + eth0 connected to home broadband but no internet HOT 1
- problem with AVM fritzbox wiregurad config [Bug]: HOT 7
- [Bug]: Attempting to connect to unsecured network results in failed connection.
- [Bug]: DHCP Server Static Lease show nothing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspap-webgui.