Commit graph

818 commits

Author SHA1 Message Date
MichaIng
8797b60374
Add missing leading slash
Introduced with: https://github.com/pivpn/pivpn/pull/1362

Signed-off-by: MichaIng <micha@dietpi.com>
2021-10-11 16:27:07 +02:00
4s3ti
090642fd7d
Merge pull request #1362 from MichaIng/patch-1
Fix errors on logging configuration
2021-10-11 15:40:22 +02:00
MichaIng
2848a6baea
Fix errors on logging configuration
rsyslog and/or logrotate may not be installed on the system, in which case creating the configurations may fail. As rsyslog and logrotate may be installed later on, it makes sense to pre-create those directories so that then OpenVPN logs are handled as expected.

Also, if the rsyslog service is not installed or not active, it should not and does not need to be restarted. Since there is not `-e` flag, ` || true` has not effect, but also, when using that flag it makes sense to exit if for some reason the running service couldn't be restarted, which may then be caused by the added configuration.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-10-11 15:29:48 +02:00
4s3ti
226722f632
Merge pull request #1358 from kaihoffman/master
Fix grammar in uninstall.sh
2021-09-20 12:32:39 +02:00
Kai Hoffman
1423f97376
Fix grammar
Update "simpling" to "simply".
2021-09-17 16:05:45 +01:00
Orazio
50798ccd42 Important change to custom MTU handling (mainly to fix issue #1357)
- When NOT providing a custom MTU, 1420 is used for both clients and server.
    Using such value for clients can break WireGuard connections on some networks,
    so iOS and Android clients have logic in place to select a proper MTU value
    when not specified. Now "pivpnMTU" with only be used to set the MTU value for
    the PiVPN installation but not for profile creation.
2021-09-15 17:52:17 +02:00
4s3ti
027f257931 Latest Changes update.
Updated LatestUpdate.md with info about last pivpn updates
2021-08-05 15:12:33 +02:00
4s3ti
78cf44156b Markdown and logo
Fixed markdown syntax
Changed logo to include pivpn logo
2021-08-05 14:54:58 +02:00
4s3ti
9005fde563 Update README
Updated readme, updated dead links, added new badges
Fix #1345
2021-08-05 13:51:28 +02:00
Orazio
c002031ce3
Merge pull request #1321 from DerDanilo/add_wireguard_persistentkeepalive
Add wireguard persistentkeepalive
2021-06-23 10:17:47 +02:00
DerDanilo
6efd6a47d7 change persistentkeepalive to official suggestion 2021-06-21 22:37:34 +02:00
DerDanilo
fd15e62b4e remove inline comment 2021-06-07 23:31:29 +02:00
DerDanilo
88a701c16a add PERSISTENTKEEPALIVE support 2021-06-06 01:10:43 +02:00
DerDanilo
96102d009c
Merge pull request #1 from pivpn/master
update to current state
2021-06-06 00:57:32 +02:00
4s3ti
5aa0de636f IRC From freenode to libera.chat
Changed info about IRC Chanel,
Chanel moved from freenode to libera.chat
2021-05-31 21:02:44 +02:00
4s3ti
fb4df6d7bc IRC From freenode to libera.chat
Changed info about IRC Chanel,
Chanel moved from freenode to libera.chat
2021-05-31 21:01:46 +02:00
4s3ti
5179168c84
Merge pull request #1313 from orazioedoardo/remove-kernel-check
Remove kernel version check on Raspbian
2021-05-24 22:41:56 +02:00
Orazio
8c030c5e15
Merge pull request #1312 from orazioedoardo/debug-update
Debug update
2021-05-24 15:43:57 +02:00
Orazio
ba4ef93297 More compact commit log
- Do not show the full commit body
  - Show the branch
2021-05-12 18:17:35 +02:00
Orazio
88f6fca36e Changed link for the FAQ to https://docs.pivpn.io/faq 2021-05-11 15:22:52 +02:00
Orazio
82677135f8 Remove kernel version check on Raspbian
- Raspbian images have been shipping with kernel 5.10.17 since March 4.
    This kernel version has the WireGuard module built in which means we
    don't need to check if the user has updated, neither to install the
    module via DKMS.
2021-05-11 13:38:55 +02:00
4s3ti
4a5804a24c Multiple fixes and Shellcheck complaiance
fixes for Issue #1306, qrcode now defaults to ansiutf8,
added flag -a256 or --ansi256 if their fonts are having trouble

Shellcheck compliance #1233 for qrcodeCONF.sh,
LIST array is now created with mapfile instead
quoted multiple variables.

fixes for Issue #1307, User creation won't allow user creation with name
starting with "-", qrcodeCONF.sh won't accept wrong options or users starting with "-"
and exit with error code 1
2021-05-08 15:51:27 +02:00
4s3ti
9de9f84ff0 Update pivpn status page link
uptimerobot is no longer supporting custom domains on their free
offering, updated link to status page to use their regular link.
2021-05-07 22:24:29 +02:00
4s3ti
ec75c44f92 Pre-merge commit
Updated latestUpdate.md with changes going into next merge to master
2021-05-07 21:09:59 +02:00
4s3ti
18c115da48
Merge pull request #1305 from GHPS/master
Fix corrupted QR code image in various fonts
2021-05-07 01:31:56 +02:00
GHPS
615c2a41f4
Fix corrupted QR code image in various fonts
(affected fonts include Ubuntu Mono, Mitra Mono, InconsolataGo Nerd Mono)
2021-05-06 16:52:25 +02:00
4s3ti
bf7c4593d0
Merge pull request #1279 from DerDanilo/support_setupvars_for_wg_net_and_allowed_ips
Support setupVars for pivpnNET, subnetClass and ALLOWED_IPS via unattended setup
2021-04-21 23:52:56 +02:00
DerDanilo
70ebefdb78
Merge branch 'test' into support_setupvars_for_wg_net_and_allowed_ips 2021-04-16 21:37:07 +02:00
4s3ti
8a17b55ff7
Merge pull request #1272 from mkoester/patch-2
ufw: add comment
2021-03-29 11:47:49 +02:00
4s3ti
dcd852e02e
Merge pull request #1278 from DerDanilo/add_mtu_support
add Wireguard MTU support via setupVARS.conf
2021-03-29 11:46:21 +02:00
4s3ti
9ba27efa33
Merge pull request #1280 from codacy-badger/codacy-badge
Add a Codacy badge to README.md
2021-03-16 13:05:09 +01:00
Orazio
ba92faa15d
Merge pull request #1276 from orazioedoardo/disable-progress-bar
Disable progress bar when running unattended
2021-03-16 12:25:39 +01:00
Mirko Köster
73eb1c501d
requested change
see comment https://github.com/pivpn/pivpn/pull/1272/files#r595064063
2021-03-16 12:06:15 +01:00
The Codacy Badger
8569ef35b5 Add Codacy badge 2021-03-16 08:43:33 +00:00
DerDanilo
a3d652755c support ALLOWED_IPS from setupVARs.conf 2021-03-15 18:33:47 +01:00
DerDanilo
d3e009d171 support pivpnNET from setupVARs.conf 2021-03-15 18:33:21 +01:00
DerDanilo
805de5f77f support subnetClass from setupVARs.conf 2021-03-15 18:32:40 +01:00
DerDanilo
3c7175a41c remove uncessary vars from wireguard example file 2021-03-15 18:26:23 +01:00
DerDanilo
94744c77a9 add Wireguard MTU support via setupVARS.conf 2021-03-15 18:03:05 +01:00
Orazio
931b742862 Disable progress bar when running unattended 2021-03-15 13:54:56 +01:00
Mirko Köster
12d0efcea6
ufw: add comment
if you have a lot of ufw rules and look at them via `sudo ufw status` it would be beneficial to have comments indicating the purpose of a rule
2021-03-08 17:26:20 +01:00
4s3ti
cd54260733
Merge pull request #1256 from DundarGoc/SC2027
Fixed shellcheck warning SC2027
2021-02-14 19:11:22 +01:00
4s3ti
6406fcfafd
Merge pull request #1254 from DundarGoc/SC2178
Fixed shellcheck warnings SC2178 and SC2128.
2021-02-14 19:10:44 +01:00
4s3ti
c37b0cf2eb
Merge pull request #1253 from DundarGoc/SC2034
Fixed shellcheck warning SC2034
2021-02-14 19:09:29 +01:00
4s3ti
3a1fc8c9a1
Merge pull request #1252 from DundarGoc/SC2148
Fixed shellcheck issue SC2148
2021-02-14 19:06:40 +01:00
Dundar Göc
ba1040f13e Fixed shellcheck warning SC2027:
SC2027: The surrounding quotes actually unquote this. Remove or escape them.
2021-02-14 15:31:44 +01:00
Dundar Göc
9cdca47689 Fixed shellcheck warnings SC2178 and SC2128.
SC2178: Variable was used as an array but is now assigned a string.
SC2128: Expanding an array without an index only gives the first element.

It's apparently a known bug that shellcheck can't both declare a
variable local and assign a value to it without raising this issue.
https://github.com/koalaman/shellcheck/wiki/SC2178
2021-02-14 14:23:01 +01:00
Dundar Göc
c0131f2a17 Fixed shellcheck warning SC2034
SC2034: ___ appears unused. Verify use (or export if used externally).

I opted to remove the variables since they didn't seem to be used
anywhere.
2021-02-14 14:07:56 +01:00
Dundar Göc
7438b49961 Fixed shellcheck issue SC2148
SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
2021-02-14 13:43:35 +01:00
Orazio
58af83b882
Merge pull request #1250 from DundarGoc/test
Fixed wrong path to script in the travis file.
2021-02-14 09:49:06 +01:00