billz
b1da175ea7
Fix: dhcpcd default-route status check
1 year ago
zbchristian
c33cf5f81a
Fix display of non-ASCII SSID
2 years ago
zbchristian
7344c323ee
Fix display of non-ASCII SSID
2 years ago
glaszig
9dc1f14ccb
separate connected from known from nearby wifi stations in ui
2 years ago
Christian Zeitnitz
b99752c4cd
Implement login for Hilink devices
2 years ago
glaszig
e76c31c9c6
revert part of 3a41b52c
to respect http method's purpose
2 years ago
billz
4baac6eae2
Escape constant, arg + extension
2 years ago
billz
3a41b52c1d
Update method to POST + escapeshellarg()
2 years ago
zbchristian
29c4c5a833
Fix default device name numbering in UDEV rule
2 years ago
glaszig
6196bcd311
add 'default route' toggle to network interface configuration ui
2 years ago
Christian Zeitnitz
d7428be2ec
Fix json format of client udev prototypes
limit device name length to 20
2 years ago
Christian Zeitnitz
300f2c2457
Cleanup and fix for udev rules written for clients
Fix device type in client table
2 years ago
Christian Zeitnitz
11e2724afa
Dashboard: show correct status after switching the client state
fix huawei hilink service (udev rule)
2 years ago
billz
ee634c4b50
Initial commit: ajax fetch wg client.conf
2 years ago
Christian Zeitnitz
76e2eecaec
Correct internet device GUI and udev config
2 years ago
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
2 years ago
billz
4515ac95fb
Improved private key handling (security)
2 years ago
billz
3ec81ba085
Get/set pub+priv keys, create wg0.conf
2 years ago
billz
d871e271ef
Initial commit: wgkey gen
2 years ago
billz
b21ea0d28d
Transfer template logic to includes, see #749 thx @mp035
2 years ago
billz
1c6d837a80
Bugfix: handle subnetmask null value
2 years ago
billz
b09d61619a
Bugfix: typo
2 years ago
billz
a21009e049
Remove networking dhcp config (deprecated)
2 years ago
billz
495f33eaa3
Added subnet mask display/edit
2 years ago
billz
2ff8f6f179
Bugfix: add/update/delete config
2 years ago
billz
d3e842f6db
Update ajax w/ dhcpcd settings
2 years ago
billz
e4856484d9
Add advanced fields to JSON response
2 years ago
billz
3b5c7805cb
Initial commit: AJAX get_netcfg
2 years ago
billz
602c2a2a7f
Return iface name in absence of cfgFile
3 years ago
billz
deaf393a2f
Expose metric for network interfaces
3 years ago
billz
b128c4106c
Applied patches from #581
3 years ago
billz
15032a3f44
Apply zbchristian patch
3 years ago
billz
457da91008
Processed with phpcbf
3 years ago
billz
9fc2b9d91e
Use defaults in absence of user config. Resolves #486
3 years ago
billz
b6cd2e0fa1
Initial commit: ajax get channel
3 years ago
glaszig
1c8931c63b
restore configuration of multiple networks
fucked up in 993dc633a9
4 years ago
billz
9cb564a15f
Processed with phpcs for PSR-2 coding standard
4 years ago
glaszig
63c3fc57f0
parse interface config ini the same as in 6e33e4c
( #348 )
when showing network config. this makes the proper
radio button be checked.
4 years ago
glaszig
993dc633a9
load wifi stations via ajax, cache the scan result
until the "rescan" button is pressed. speeds up
"configure client" page massively.
4 years ago
glaszig
1fddad190f
fix require paths
4 years ago
glaszig
da69d3d768
send CSRF token in a response header,
update the page's CSRF tokens with the new token
from the response header,
verify csrf token in ajax endpoints,
initialize a session for every endpoint
4 years ago
glaszig
87fe8948b8
remove splattered, duplicated csrf validation code
since we do that always and early, now.
4 years ago
glaszig
3db99c7d21
* escape html entities in network interface settings
the command `ip address show eth0` returns
special characters like "<" and ">" which, if left
unescaped and shown on the page, will create
arbitrary html elements and hide information.
* show interface settings inside unstyled pre block
interface properties should be parsed and displayed
in a proprietary and pretty manner. until then, give
use the raw output of `ip address show`
4 years ago
Jon van Noort
6e33e4c882
changed call to parse_ini_file() to use INI_SCANNER_RAW, so that ini values are parsed as expected
4 years ago
D9ping
182a6509e9
Don't allow to read ini file everywhere on filesystem.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
5 years ago
D9ping
2b03fa316d
Escape client input, console output etc. before doing any echo.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
5 years ago
Lawrence
7845c8908b
Initial commit to enable logging for hostapd
5 years ago
Lawrence
8d77295fd3
Updated sudoers to accomodate restarting dhcpcd to apply network settings.
Updated installer to insert new lines
Created files to generate / modify / save dhcpcd files and networking configuration
5 years ago
Lawrence
7749b79e2f
Implemented start of web interface to update Static IP addresses or use DHCP.
Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
5 years ago