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
billz
04f62b9f0d
Templatize system
2020-07-29 08:37:27 +01:00
billz
3d901ae5f9
Set country_code from iw reg if undefined
2020-07-10 18:28:28 +01:00
billz
b02660d5ff
Update release version
2020-07-03 12:43:47 +01:00
billz
ed7ed04475
Create RASPI_BRAND_TEXT
2020-07-01 09:13:38 +01:00
billz
29be22a8d3
Create dashboard functions
2020-06-30 23:35:46 +01:00
billz
2916bd1998
Dynamic theme color support
2020-06-30 16:54:30 +01:00
billz
9fef770143
Create getThemeOpt
2020-06-30 16:53:52 +01:00
billz
3603e099fe
Update extraFooterScripts
2020-06-30 16:50:21 +01:00
zbchristian
42032e0df0
Typo corrected
2020-06-29 13:36:38 +02:00
zbchristian
4623060f08
Simplify and cleanup handling of return values of system calls
...
Handling of return values done in a single line.
Determine only, if access is possible not not (true, false). The actual displayed text has to be determined, when displaying the result of the access check.
2020-06-29 13:12:29 +02:00
billz
36141d1e9c
Update defaults w/ new constants
2020-06-28 17:08:29 +01:00
billz
e5f2c218e1
Processed with phpcbf, removed tabs
2020-06-28 16:58:42 +01:00
zbchristian
90e5f50da6
reset input vars to exec before call
2020-06-25 17:18:23 +02:00
zbchristian
dc790b246b
fix failed copy/paste lines
2020-06-25 16:55:25 +02:00
zbchristian
850f52e128
Create internetRoute.php
2020-06-25 15:54:56 +02:00
zbchristian
e6652c025d
Remove check on existing SESSION variable
2020-06-14 18:22:51 +02:00
zbchristian
417e9489bb
disable check on existing session variable
2020-06-14 17:40:50 +02:00
billz
b9ba2946a5
Fix: display AP interface stats
2020-06-10 09:09:10 +01:00
christian Zeitnitz
656ba9234b
Fix intial assignment of $_SESSION['ap_interface']
2020-06-09 20:53:11 +02:00
christian Zeitnitz
f8a094134b
Add Session variable "wifi_client_interface"
2020-06-09 20:25:19 +02:00
billz
1a85237d15
Rename var for clarity
2020-06-09 17:01:58 +01:00
billz
9d1659b97b
Document getWifiInterface
2020-06-09 15:44:21 +01:00
billz
8ae1e5a8f2
Rename constant for clarity
2020-06-09 15:34:19 +01:00
billz
2ca9bf5b6f
Rename ambiguous variable for clarity
2020-06-09 15:32:49 +01:00
billz
e9470aaf7f
Get 1st wireless iface, fixes client dashboard widget
2020-06-09 13:09:58 +01:00
zbchristian
633f389f4e
Check for second wifi interface as wifi client
2020-06-09 10:15:21 +02:00
billz
2814ab5d55
Bugfix: typo
2020-06-08 09:16:10 +01:00
billz
43819ddfd2
Fix require path
2020-06-07 19:12:00 +01:00
billz
9fb59918cf
Fix: Update session var when saving cfg
2020-06-07 18:46:14 +01:00
billz
e2c82168fb
Add includes/config
2020-06-07 17:25:11 +01:00
billz
9c2ae296d3
Merge branch 'zbchristian-wlan-switch' of https://github.com/billz/raspap-webgui into zbchristian-wlan-switch
2020-06-07 17:20:09 +01:00
billz
a6a92235f9
Add include wifi_functions getWifiInterface()
2020-06-07 17:17:16 +01:00
billz
e3c378427b
Added getWifiInterface
2020-06-07 17:13:43 +01:00
Bill Zimmerman
5c88aafbec
Merge branch 'master' into zbchristian-wlan-switch
2020-06-07 15:29:28 +02:00
billz
b14175ab0c
Replace interface constant with _SESSION value
2020-06-07 14:25:28 +01:00
billz
677a6c52b0
Get/set wireless iface from ini, store in _SESSION
2020-06-07 14:23:40 +01:00
zbchristian
d13c77bd2f
Write required options to dhcpcd.conf
2020-06-03 23:32:32 +02:00
billz
7cc196f4f5
Update release version
2020-05-27 09:40:44 +01:00
billz
7410b45c05
Return model info for non-Pi devices
2020-05-27 08:31:54 +01:00
Bill Zimmerman
8c6f0bd5fc
Merge pull request #589 from billz/zbchristian/wifi-sorting
...
Sort and filter available client networks
2020-05-26 09:52:51 +02:00
billz
4b7262a98b
Remove 802.11w option from UI
2020-05-26 07:49:04 +01:00
billz
eb6f2c5db7
Fix build error
2020-05-24 08:30:32 +01:00
billz
1a8ffd94fc
Replaced tabs w/ spaces, applied PSR-2 code standard
2020-05-24 08:24:42 +01:00
billz
b128c4106c
Applied patches from #581
2020-05-24 08:14:07 +01:00
billz
0c5e93e9d8
Added 802.11.w MFP support, addresses #484
2020-05-19 17:28:48 +01:00
billz
14508ee773
Remove duplicate $config[] block
2020-05-12 09:16:04 +01:00
billz
dabec46511
Minor: untabify
2020-05-12 08:10:54 +01:00
billz
15032a3f44
Apply zbchristian patch
2020-05-12 07:50:28 +01:00
billz
a20db9185b
Fix wifi client connect button. Resolves #572 , thx @zbchristian
2020-04-30 12:42:31 +01:00
billz
7c7b8941cb
Update stop/start, status
2020-04-22 10:01:31 +01:00
billz
db497de7d0
Initial commit: wg templates
2020-04-20 12:53:46 +01:00
billz
2bedbad71a
Add wireguard constants
2020-04-20 11:05:15 +01:00
billz
486425d389
Update with 正體中文 (Chinese traditional), thx Mike Hsiao
2020-04-15 09:37:08 +01:00
billz
3874a15a29
Update release version
2020-04-13 09:16:52 +01:00
billz
540d7f2403
Reorder locale list
2020-04-11 08:58:41 +01:00
billz
9e87bc8452
Added Danish language support, thx skipperskip
2020-04-10 22:27:48 +01:00
billz
dd54c0a5db
Minor: fix indents
2020-04-03 06:22:45 +00:00
billz
3fa5215449
Added blocklist last updated
2020-04-01 09:09:52 +00:00
Bill Zimmerman
8fd1677974
Merge branch 'master' into feature/notracking
2020-04-01 00:28:22 +02:00
billz
26dc8d92da
Ad block installer option (beta)
2020-03-31 21:54:46 +00:00
billz
92051c1090
Update release version
2020-03-29 21:49:35 +01:00
Bill Zimmerman
b922f380ba
Merge pull request #537 from billz/armbian-buster
...
Extend installer to Debian-based distros
2020-03-29 22:40:49 +02:00
billz
0b475ff56d
save cnf to 090_adblock.conf, start/restart actions
2020-03-29 00:15:25 +00:00
billz
d66639eaef
update dsnmasq_conf constant
2020-03-27 22:36:43 +00:00
billz
46213b90b0
Added contant adblock_listpath
2020-03-27 14:32:27 +00:00
billz
b1d26b0296
Save adblock settings
2020-03-27 13:02:21 +00:00
billz
ae26f948a4
WIP
2020-03-26 19:45:39 +00:00
billz
a4c594beff
Update release version
2020-03-25 16:54:06 +00:00
billz
422a46e92c
Fix PHP notices
2020-03-24 18:48:35 +00:00
Taikuh
80b0634d2d
corrected hostapd toggle display
2020-03-23 20:41:06 +08:00
billz
c56a48234f
Update dnsmasq.d path
2020-03-20 17:43:46 +00:00
Taikuh
8082430c30
ovpn, uap0 compatibility; readme
2020-03-15 19:02:20 +08:00
Taikuh
5e44aae1c5
Disable incompatible settings when bridged
2020-03-13 05:02:26 +08:00
Taikuh
8823c0602e
Add bridged-routed toggle to webgui
2020-03-10 19:07:15 +08:00
Bill Zimmerman
33b6a42aa0
Merge pull request #519 from glaszig/fix/markup
...
dhcp page maintenance
2020-03-06 20:05:25 +01:00
billz
88f0859955
Terminal theme => Lights Out
2020-03-06 18:40:47 +00:00
glaszig
29d4653524
prevent variable name collision in renderTemplate() function
2020-03-06 16:54:48 +01:00
billz
90b922c432
Update with dnsmasq logfile output
2020-03-05 10:35:40 +00:00
Bill Zimmerman
3ba6c135a8
Merge pull request #506 from glaszig/feature/dhcp-upstream-server
...
[WIP] added ui to manage upstream dns servers
2020-03-04 23:07:35 +01:00
glaszig
cfa3f9cfd3
added selectable hosted dns servers
2020-03-04 19:43:22 +01:00
glaszig
e037bd92e7
prevent empty upstream server field if non is set
2020-03-04 18:23:51 +01:00
glaszig
6bb4abac56
added checkbox for no-resolv option in dnsmasq.conf
2020-02-29 18:33:51 +01:00
glaszig
a3c8def120
added ui to manage upstream dns servers
2020-02-28 23:41:56 +01:00
glaszig
3cc2720a35
respect common dhcpcd config options in ap mode
...
resolves #502
2020-02-28 17:51:33 +00:00
glaszig
ad1ca08de3
escape qrencode arguments in multibyte-safe way
2020-02-27 23:52:35 +00:00
glaszig
409adb0c05
add conf-dir option to dnsmasq.conf, closes #403
...
this allows custom configuration stored
in files in /etc/dnsmasq.d. raspap does not
touch them and they'll always be loaded.
also creates /etc/dnsmasq.d if it doesn't exist.
2020-02-26 02:13:19 +00:00
billz
8e29570d07
Enable restart when hostapd is active. Addresses #495
2020-02-18 21:01:38 +00:00
billz
457da91008
Processed with phpcbf
2020-02-15 17:57:46 +00:00
John
8fe0e9e59a
fully locked down the back-end in monitoring mode
2020-02-13 23:08:46 -03:30
John Karabudak
c7785ce672
fixed security hole that allowed web console in monitor mode
2020-02-13 21:59:58 -03:30
billz
90fe706fba
Update release version
2020-02-11 07:12:14 +00:00
billz
7180501272
Added cputemp + memuse led values
2020-02-03 09:32:16 +00:00
billz
b37221b55b
Update SSID label
2020-02-03 09:28:06 +00:00
billz
49cb572069
Update w/ hostapd svc indicator
2020-02-02 12:40:24 +00:00
billz
857ffb15d4
Fix indents
2020-02-02 11:57:31 +00:00
billz
8b0c4d7308
Added hostapd status
2020-02-02 11:55:10 +00:00
billz
298bec2465
Removed unused system class
2020-02-02 11:35:55 +00:00
billz
82db0a34b9
WIP: dashboard redesign
2020-02-02 08:37:15 +00:00
billz
2056236c42
Get hostapdStatus from System
2020-02-01 11:07:54 +00:00
billz
7f12ef1cee
Added support for Greek. Thanks Chris K!
2020-01-14 09:23:13 +00:00
billz
6325f4dd02
Update dnsmasq with bind-dynamic. Addresses #429
2020-01-13 09:42:05 +00:00
billz
ff2c91fe8d
Bugfix, resolves #457
2020-01-06 18:00:07 +00:00
Bill Zimmerman
bc8ed88d93
Merge pull request #465 from billz/802.11ac
...
802.11ac config
2020-01-01 10:58:22 -08:00
billz
a596568fbc
Revert "Allow channel input up to 64 (testing)"
...
This reverts commit 40bc21a04b
.
2019-12-30 04:39:37 +00:00
billz
40bc21a04b
Allow channel input up to 64 (testing)
2019-12-28 00:05:59 +00:00
billz
3292bc580b
Added disabled param to SelectorOptions()
2019-12-27 03:08:51 +00:00
billz
f8ac55da6f
Added missing 4B models
2019-12-27 00:50:53 +00:00
billz
597f2ebdb9
Added support for wireless mode AC
2019-12-26 06:17:27 +00:00
billz
6d7aa1b401
Added optional $event param to SelectorOptions()
2019-12-26 06:16:13 +00:00
billz
5462e26d95
Add detect managedModeEnabled state with iwgetid
2019-12-13 14:05:41 +00:00
billz
aeaa6432d6
Update release version
2019-12-01 11:14:08 +00:00
billz
07ca2900a1
Omit wpa_pasphrase is sec type = none. Resolves #439
2019-11-26 13:14:14 +00:00
billz
e4e3089a82
Update openvpn paths
2019-11-17 18:22:55 +00:00
billz
5c8b18a0ac
Allow empty credentials in case of client key auth. Thanks @r45635
2019-11-17 18:16:14 +00:00
billz
81db069626
Resolve public_ip
2019-11-17 12:00:30 +00:00
billz
ebcdd4d47b
Minor: mode change
2019-11-17 10:16:55 +00:00
billz
5ddad7e39c
Update tmp paths, parameterize control script
2019-11-17 10:16:10 +00:00
billz
d10d349e9a
Handle .ovpn file upload, auth-user-pass config, client svc start/stop
2019-11-16 10:10:25 +00:00
billz
a15ed37adc
Update svc control init.d w/ systemd
2019-11-15 09:02:37 +00:00
billz
11955a9641
Update svc control init.d w/ systemd
2019-11-15 09:00:36 +00:00
billz
23d40b138d
Added OPENVPN_CLIENT_LOGIN
2019-11-15 08:44:29 +00:00
billz
25d1ddeed6
Templatized Tor proxy config
2019-11-12 21:05:21 +00:00
billz
2c9f135389
Templatized OpenVPN config
2019-11-12 16:03:26 +00:00
billz
e4225086e1
Moved DisplayOpenVPNConfig() to new file
2019-11-12 16:02:05 +00:00
billz
4e4a937ccd
Handler for restart lighttpd
2019-11-11 13:35:48 +00:00
billz
eb0442b130
Added support for lighttpd server port. Resolves #146
2019-11-10 22:10:49 +00:00
billz
7e6a8f35af
Added lighttpd conf
2019-11-10 22:09:16 +00:00
billz
3c93fe4d6f
Update supported locales
2019-11-08 17:20:50 +00:00
billz
f8b1f407f7
Added option to disable system tab. Thanks @sedgett
2019-11-08 08:20:47 +00:00
glaszig
313852a698
handle configuration in a conflict-free way
...
* config defaults in includes/defaults.php
* removed includes/config.php, added to gitignore
* during installation copy config/config.php
to includes/config.php
2019-11-05 15:30:08 +01:00
billz
bcdadd3d43
Parse/set static ip_address value for uap0. #329
2019-11-04 10:04:11 +00:00
billz
fdef2a3d7a
Parse/set dhcp-range & dhcp-option values from system config. #329
2019-11-04 09:40:23 +00:00
billz
0b9f7d232e
Replace empty values with placeholder
2019-11-03 09:45:55 +00:00
Bill Zimmerman
b1f9312175
Merge pull request #416 from billz/bootstrap4
...
Bootstrap 4 / SB Admin 2 v4 update
2019-11-01 18:30:32 +01:00
billz
7f384e9ff1
Abbreviate serviceStatus for small devices
2019-11-01 09:10:24 +00:00
billz
23c60010b3
Update release version
2019-10-31 09:14:10 +00:00
Bill Zimmerman
253b3cddc4
Added support for Indonesian, 한국어, 日本語 & Tiếng Việt
2019-10-28 21:18:40 +01:00
billz
9d38e6a806
Update OpenVPN + Tor to bootstrap4. Todo: templatize
2019-10-24 23:35:59 +01:00
Bill Zimmerman
093080cb49
Merge branch 'master' into bootstrap4
2019-10-20 22:33:09 +02:00
billz
b29bbf4f11
Replace HTML linebreaks in ConvertToSecurity()
2019-10-15 21:07:21 +01:00
billz
f0ab44a9fe
Minor: update comment
2019-10-15 21:06:07 +01:00
billz
ce944f92bb
Rebase master
2019-10-14 23:33:41 +01:00
billz
40e408dd98
Work in progress
2019-10-12 23:04:27 +01:00
Yusnel Rojas Garcia
4d45afa27b
support dns options in dnsmasq configuration
2019-10-11 13:24:22 -04:00
billz
976ae2a6bb
Update release version
2019-10-10 18:17:39 +01:00
billz
3fa1be1cd6
Update include path
2019-10-08 19:10:18 +01:00
billz
d1558413d4
Update paths to reflect gulp build
2019-10-08 18:36:31 +01:00
billz
7d8cce9fb1
Update release version
2019-10-06 12:43:45 +01:00
billz
f9afd96280
Fix: update tmp/dnsmasqdata to match sudoers. Resolves #407
2019-10-04 18:57:58 +01:00
billz
009f51c20c
Parse/set dhcpcd & dnsmasq values from system config #329
2019-09-08 16:28:01 +01:00
billz
7938069841
Minor: mode change
2019-09-08 16:13:45 +01:00
billz
e399450cef
Minor: mode change
2019-09-08 16:13:31 +01:00
billz
b641e963a9
Minor: mode change
2019-09-08 16:13:25 +01:00
billz
8be24381a8
Processed with phpcbf for PSR-2 coding standard
2019-09-07 16:42:31 +01:00
billz
bfc0dba6ad
Added monitor option. Resolves #378
2019-09-07 09:53:37 +01:00
Bill Zimmerman
f59faabf1d
Merge branch 'master' into feature/templates
2019-08-27 15:16:56 +02:00
glaszig
452ad764d9
fix panel heading style in network config
2019-08-20 22:32:18 +02:00
billz
595a7eafcd
Updated version
2019-08-20 10:18:25 +01:00
glaszig
259d3838b5
improved theme dropdown, selected theme detection
2019-08-19 22:37:22 +02:00
glaszig
2c64ff0b3e
removed logic from system template
2019-08-19 22:37:22 +02:00
glaszig
df429064c6
fixed up dhcp template
2019-08-19 22:37:22 +02:00
glaszig
89f3330606
use template for network page
2019-08-19 22:37:22 +02:00
glaszig
33b99c0ae7
use template for hostapd page
2019-08-19 22:37:22 +02:00
glaszig
9defff1cf4
use template for dhcp page
2019-08-19 22:37:22 +02:00
glaszig
c1f75a696a
use template for data usage page
2019-08-19 22:37:22 +02:00
glaszig
7fcdd5e89c
use template for dashboard
2019-08-19 22:37:22 +02:00
glaszig
d7ee29aeee
use template for configure client page
2019-08-19 22:37:22 +02:00
glaszig
e4e9b5c5c1
use template for admin page
2019-08-19 22:35:30 +02:00
glaszig
2215b11c21
use template for themes page
2019-08-19 22:35:29 +02:00
glaszig
0608b6cb22
use template for system page
2019-08-19 22:35:29 +02:00
glaszig
10dd214b17
add class for system information
2019-08-19 22:35:29 +02:00
glaszig
76f905fe9d
use template for about page
2019-08-19 22:35:29 +02:00
glaszig
5a49768614
fix renderTemplate() function to allow data-less rendering
2019-08-19 22:35:29 +02:00
Bill Zimmerman
6985322ca0
Merge pull request #387 from glaszig/fix/wifi-stations
...
restore configuration of multiple networks
2019-08-19 18:50:58 +02:00
glaszig
1c8931c63b
restore configuration of multiple networks
...
fucked up in 993dc633a9
2019-08-19 18:06:15 +02:00
glaszig
20d9e919c3
generate only one csrf token per session
...
some pages issue xhr which lead to new
tokens in the session and a future check
is garuanteed to fail.
2019-08-19 03:12:37 +01:00
Bill Zimmerman
5858971762
Merge pull request #372 from glaszig/ui/xhr-load-cached-wifi-stations
...
load wifi stations via ajax, cache the scan result
2019-08-17 09:53:13 +02:00
glaszig
d2bb1b02b5
move CSRFTokenFieldTag up to the opening form tag
...
for style and discoverability
2019-08-14 02:44:13 +02:00
glaszig
f5e3b717ff
add missing CSRFTokenFieldTag's
2019-08-14 02:41:58 +02:00
Bill Zimmerman
d124e68275
Processed with phpcs for PSR-2
2019-08-12 11:22:06 +02:00
Bill Zimmerman
6d347f9a52
Merge pull request #374 from glaszig/feature/rpi4b
...
add RPI 4
2019-08-12 11:12:26 +02:00
Bill Zimmerman
e2f07044b4
Merge pull request #362 from glaszig/feature/ap-client-limit
...
make hostapd's max_num_sta configurable
2019-08-10 12:13:30 +02:00
sunnybank101
f3e3beb0ce
add RPI 4
2019-08-10 12:09:04 +02:00
glaszig
3f9d176793
show current nax_num_sta as input value,
...
make field description translatable
2019-08-10 11:57:10 +02:00
Bill Zimmerman
6286595898
Merge pull request #369 from glaszig/fix/arp-speed
...
speed up dashboard
2019-08-09 18:02:54 +02:00
Bill Zimmerman
b878e87cae
Merge pull request #371 from glaszig/ui/layout-fixes
...
layout improvements
2019-08-09 16:34:14 +02:00
glaszig
916072f7fd
bootstrap panel-footer goes directly after panel-body
...
https://getbootstrap.com/docs/3.3/components/#panels-footer
2019-08-09 16:21:58 +02:00
Bill Zimmerman
a00f1be009
Merge pull request #366 from glaszig/feature/improved-service-status-indicator
...
improved service status display
2019-08-08 20:55:04 +02:00
glaszig
993dc633a9
load wifi stations via ajax, cache the scan result
...
until the "rescan" button is pressed. speeds up
"configure client" page massively.
2019-08-08 03:44:28 +02:00
glaszig
56097d5629
send proper csrf header
2019-08-08 00:14:12 +02:00
glaszig
1fddad190f
fix require paths
2019-08-07 23:51:22 +02:00
glaszig
c1da509053
remove superfluous, overly nested html (mainly bootstrap panels)
2019-08-07 23:16:56 +02:00
sunnybank101
62c7e99465
arp can take for ever
...
added -n to the arp command to speed it up!
2019-08-07 22:48:59 +02:00
billz
b5f875cce7
Updated CSRFTokenFieldTag
2019-08-07 21:01:05 +01:00
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
2019-08-06 21:34:58 +02:00
glaszig
8f3489cd4a
remove id attribute from csrf token field due to obsolescence
...
and if there's multiple form's on the page it would lead to
multiple elements with the same id which is illegal in html
2019-08-06 20:55:16 +02:00
glaszig
f36b08c10a
rename CSRFToken() to the more apt CSRFTokenFieldTag()
2019-08-06 20:55:16 +02:00
glaszig
0a255e8b49
don't write the csrf token field to the output buffer
...
but return and echo it
2019-08-06 20:55:16 +02:00
glaszig
6f1ae104f3
improve CSRFToken() implementation
2019-08-06 20:55:16 +02:00
glaszig
2f6dc2cc05
remove superfluous semi-colon
2019-08-06 20:55:16 +02:00
glaszig
964dc00fab
generate a new csrf token for each request
2019-08-06 20:55:16 +02:00
glaszig
7898dc24c8
mcrypt_create_iv is deprecated, openssl_random_pseudo_bytes
...
depends on openssl. php7 has the platform-independent
`random_bytes` to generate "cryptographically secure"
random data. use that for csrf token.
2019-08-06 20:55:16 +02:00
glaszig
490cb14acd
removing superfluous call to CSRFToken() which
...
just put the hidden input onto the page for js
to have access to it. this is now handled with
a meta tag.
2019-08-06 20:55:16 +02:00
glaszig
b9e9b7fe39
move csrf token initialization into function
2019-08-06 20:55:16 +02:00
glaszig
0967a53152
validate token value from csrf token header
...
if supplied and not overridden by post request param
2019-08-06 20:55:16 +02:00
glaszig
20bb9fe42f
add csrf meta tag (for use with xhr, for example)
2019-08-06 20:55:16 +02:00
glaszig
87fe8948b8
remove splattered, duplicated csrf validation code
...
since we do that always and early, now.
2019-08-06 20:55:16 +02:00
glaszig
f989b8060b
always verify csrf token for resource-modifying requests,
...
that is post, put, patch, delete
2019-08-06 20:55:16 +02:00
Bill Zimmerman
93b458197a
Merge pull request #365 from glaszig/feature/connect-hidden-ssid
...
enable wifi client to connect to hidden ssid
2019-08-05 16:04:29 +02:00
Bill Zimmerman
9b66c2cd03
Merge pull request #363 from glaszig/fix/hostapd-wmm
...
properly enable wmm by fixing a typo
2019-08-05 15:46:10 +02:00
billz
c0cfcfa117
Bugfix, resolves #367
2019-08-05 14:26:55 +01:00
glaszig
1152637120
puts service status as label into panel heading
2019-08-02 23:40:06 +02:00
Bill Zimmerman
ff21343751
Merge branch 'master' into ui/escape-interface-settings
2019-08-02 18:18:19 +02:00
Bill Zimmerman
fe35742519
Merge pull request #361 from glaszig/feature/static-dhcp-hosts
...
static dhcp leases
2019-08-02 17:49:29 +02:00
glaszig
493269e061
enable wifi client to connect to hidden ssid
...
according to the docs:
For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211.
and
scan_ssid:
0 = do not scan this SSID with specific Probe Request frames (default)
1 = scan with SSID-specific Probe Request frames (this can be used to
find APs that do not accept broadcast SSID or use multiple SSIDs;
this will add latency to scanning, so enable this only when needed)
https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf
see billz/raspap-webgui#345
2019-08-02 14:42:15 +02:00
glaszig
b52f290020
improved 802.11 standard select option labels in hostapd ui
2019-08-01 23:01:31 +02:00
glaszig
0e9ed7d833
make hostapd's max_num_sta configurable
2019-08-01 22:42:52 +02:00
glaszig
ab7f990d13
properly enable wmm by fixing a typo
...
if `ieee80211n=1`, `wmm_enabled=1` should be configured as well
according to the docs, quote:
# ieee80211n: Whether IEEE 802.11n (HT) is enabled
# 0 = disabled (default)
# 1 = enabled
# Note: You will also need to enable WMM for full HT functionality.
# Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band.
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
2019-08-01 22:19:46 +02:00
glaszig
afbc50d1ee
click the "add" button on the static dhcp lease form
...
for people that forgot to click that button to add their lease
2019-08-01 18:15:32 +02:00
glaszig
d18dbd7def
add ui to manage static dhcp leases
...
* add support to parse duplicate options in ParseConfig()
* add logic, html and js to edit dhcp leases
2019-08-01 18:15:32 +02:00
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`
2019-07-31 04:04:38 +02:00
Bill Zimmerman
1b32ed53d6
Merge pull request #358 from glaszig/fix/dashboard-ipv6-addresses
...
fix display of ip addresses in dashboard
2019-07-30 19:03:32 -07:00
glaszig
c2ed6c6e02
fix display of multiple ipv4 addresses, netmasks on dashboard
2019-07-30 23:15:08 +02:00
glaszig
4a5a39c2bc
fix display of ipv6 addresses
2019-07-30 22:49:35 +02:00
glaszig
81a67c0121
better filename
2019-07-30 21:21:16 +02:00
glaszig
a6d3336212
fix command injection issue. fixes #354 .
2019-07-30 21:21:16 +02:00
Bill Zimmerman
f5e3b0dd31
Updated minor version
2019-06-12 21:14:12 +02:00
billz
679051b219
Added locale support for Türkçe. Thanks Cuqer!
2019-06-10 09:27:42 +00:00
billz
6866cfb266
Added locale support for Türkçe. Thanks Cuqer!
2019-06-10 09:27:17 +00:00
billz
445ba5c36c
Fix for auth protocols, thanks @furest. Fixed open wifi network form element. Resolves #326
2019-05-05 11:08:47 +00:00
billz
3f9b422f5f
Update safefilerewrite with PHP_EOL
2019-04-30 22:57:12 +00:00
billz
1008f83cc4
Update write_php_ini
2019-04-30 22:36:35 +00:00
billz
ce93faa277
Update write_php_ini
2019-04-30 22:18:44 +00:00
billz
1a23316abd
Write wifi managed interface to config
2019-04-30 18:29:09 +00:00
billz
c07a41fc61
Connected devices not shown for uap0. Fixes #312
2019-04-13 21:49:48 +00:00
billz
dd63294a37
Updated version number
2019-04-13 15:19:13 +00:00
billz
c0570b616e
Processed with phpcs for PSR-2 coding standard
2019-04-10 08:37:35 +00:00
Bill Zimmerman
96717deea1
Merge pull request #297 from billz/wificlient-ap
...
Wifi client AP mode
2019-04-08 20:22:02 +02:00
Bill Zimmerman
8b4a4842af
Merge pull request #302 from BenjiLeblond08/master
...
Connected Devices list on Dashboard
2019-03-18 16:58:21 +01:00
billz
10be910657
Bugfix: replaced wlan0 with constant
2019-03-17 20:14:08 +00:00
Benjamin LEBLOND
3d561b1925
Change hard "wlan0" to RASPI_WIFI_CLIENT_INTERFACE
2019-03-17 14:19:13 +01:00
Benjamin LEBLOND
24cb51d2b9
connected device list on dashboard
...
Display a list of connected devices on dashboard, and update some html
2019-03-17 13:38:08 +01:00
Benjamin LEBLOND
2bcee2145f
Update table raw html markup
2019-03-17 13:33:24 +01:00
billz
cbb37ff7f5
Initial commit
2019-03-15 12:31:02 +00:00
billz
8267c9b10a
Bugfix
2019-03-12 07:32:17 +00:00
billz
b012bae759
bugfix
2019-03-12 00:11:29 +00:00
billz
7d98d12e3b
WIP, rewite configs
2019-03-12 00:03:18 +00:00
billz
113f3bfcb8
WIP, config rewriting
2019-03-11 23:47:09 +00:00
billz
96ffbf8374
Added constant for dhcpcd.conf
2019-03-11 23:44:18 +00:00
billz
9abf79b23c
Merge branch 'master' into wificlient-ap
2019-03-09 21:11:54 +00:00
billz
6cf96fd65d
Increased sleep value
2019-03-07 22:12:38 +00:00
Bill Zimmerman
61d2aa534f
Merge pull request #293 from BenjiLeblond08/data-usage-hourly
...
Data Usage : Hourly
2019-03-07 19:20:56 +01:00
billz
192a849cd5
Update default dnsmasq settings
2019-03-07 18:11:58 +00:00
billz
1df86a78a9
Updated with paramaterized servicestart
2019-03-07 10:13:40 +00:00
billz
8a41731513
Added todo for restarting hostapd
2019-03-06 20:07:54 +00:00
billz
b9ed8c472e
Service renamed
2019-03-06 19:12:32 +00:00
billz
9e95863cce
Persist WifiAPEnable to ini, enable uap0 interface in dnsmasq.conf
2019-03-06 18:42:13 +00:00
billz
d6bd7d2c4a
WIP: WifiAPEnable handling
2019-03-06 13:24:51 +00:00
billz
0dbfa71a96
WIP: Advanced options
2019-03-06 10:44:43 +00:00
billz
b758ac161d
Added support for Finnish & Sinhala locales
2019-03-04 23:12:01 +00:00
billz
b0c4e54aec
Added support for Finnish & Sinhala locales
2019-03-04 23:11:31 +00:00
billz
36da039a01
Update minor version number
2019-03-01 10:44:34 +00:00
billz
6a01eed166
(re)fix of #188 . Resolves #290
2019-03-01 09:49:15 +00:00
Benjamin Leblond
a295cf87c0
new feature data usage hourly
2019-02-27 20:42:36 +01:00
Matheus Dal Mago
d9306443f3
Updating revision code list
2019-02-04 15:08:14 -02:00
billz
b00b71e2e3
Added constant to toggle availability of wifi client config. Resolves #279
2019-01-27 20:22:49 +00:00
billz
5f9ed542f8
Added support for Español, thanks @lafm1990
2019-01-13 08:53:16 +00:00
billz
7b604a99a7
Added support for Español, thanks @lafm1990
2019-01-13 08:52:29 +00:00
billz
1b1aa4b6d9
Added support for Russian, thanks Betep
2018-11-19 16:44:44 +00:00
billz
d512219fb0
Added support for Russian, thanks Betep
2018-11-19 16:44:15 +00:00
billz
6a9ffa36a6
Minor corrections to messages
2018-11-15 22:21:55 +00:00
billz
d2fc5e4213
Several enhancements, thanks @PRO2XY & @njkeng. Resolves #168 , Resolves #261
2018-11-13 22:32:41 +00:00
billz
211208e7a7
Mode change for consistency
2018-11-13 11:20:03 +00:00
Bill Zimmerman
940194107c
Merge pull request #254 from D9ping/dashboard-fixes
...
Dashboard use of ip & iw instead of ifconfig & iwconfig.
2018-11-05 14:56:39 +05:30
billz
4a7f3cc7cd
Added locale support for Czech, thanks @rvallo
2018-11-04 08:59:01 +00:00
billz
8e22f8857d
Added messages for Czech, thanks @rvallo
2018-11-04 08:58:25 +00:00
Bill Zimmerman
b8db06e4f5
Updated RASPI_VERSION to latest release
2018-11-02 13:19:43 +01:00
D9ping
54e55775ea
Fix incorrect escaping break lines of WPA and WPA2 secured networks.
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-24 01:42:47 +02:00
D9ping
6b05989498
Showing multiple IPv4/IPv6 addresses.
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-23 11:57:55 +02:00
D9ping
f81bae5f35
Don't use ifconfig for checking interface state.
...
Made several strings translatable in dashboard.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-20 14:41:58 +02:00
D9ping
25f362dc19
Use ip and iw instead of ipconfig and iwconfig. #152 #249
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-20 00:15:16 +02:00
billz
fca391b7c5
Added locale support for Chinese simplified, thanks @BANKA2017
2018-10-17 15:51:59 +00:00
billz
5e374f3b84
Added locale support for Chinese simplified, thanks @BANKA2017
2018-10-17 15:51:27 +00:00
D9ping
9f5cf8a069
Allow empty passphrase to be entered on no security. #208
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-14 03:22:54 +02:00
D9ping
2104f620bc
Allow creating not secured wi-fi. Fixes #208
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-12 13:05:15 +02:00