Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
1cf7b00b
Commit
1cf7b00b
authored
Aug 16, 2019
by
Paul Cammish
Browse files
Fixes
#261
- Adds detection of NAT64 environments.
parent
8f279985
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/debian/changelog
View file @
1cf7b00b
sympl-core (10.0.190816.0) stable; urgency=medium
* Adds detection of NAT64 environments for sympl-ssl wrapper.
-- Paul Cammish <sympl@kelduum.net> Fri, 16 Aug 2019 18:11:00 +0100
sympl-core (10.0.190729.0) stable; urgency=medium
* Copy root users authorized_keys to Sympl user on first install.
...
...
core/debian/control
View file @
1cf7b00b
...
...
@@ -14,7 +14,7 @@ Depends: lsb-base (>= 3.0-6),
ruby
|
ruby
-
interpreter
,
ruby
-
json
-
jwt
,
ruby
-
password
,
ruby
-
diffy
,
ruby
-
erubis
,
ruby
-
mocha
,
ruby
-
webmock
,
ruby
-
test
-
unit
,
ruby
-
faraday
,
python
,
python
-
apt
,
gnutls
-
bin
,
gcc
,
libpam
-
tmpdir
,
wbritish
|
wordlist
,
libpam
-
cracklib
,
dnsutils
,
${
misc
:
Depends
}
libpam
-
cracklib
,
dnsutils
,
libc
-
bin
,
${
misc
:
Depends
}
Recommends
:
sympl
-
backup
,
sympl
-
cron
,
sympl
-
mail
,
sympl
-
firewall
,
sympl
-
ftp
,
sympl
-
web
,
sympl
-
monit
,
sympl
-
mysql
,
sympl
-
phpmyadmin
,
sympl
-
dns
,
sympl
-
webmail
,
sympl
-
updater
,
...
...
core/sbin/sympl-ssl
View file @
1cf7b00b
#!/bin/bash -e
# Workaround rapper script for sympl-ssl to fix a bug in IPv6 only resolution of the LE API DNS.
# Workaround
w
rapper script for sympl-ssl to fix a bug in IPv6 only resolution of the LE API DNS.
# If theres no IPv4 address assigned...
if
[
$(
sympl-ip
-a
|
grep
-c
'\.'
)
==
0
]
;
then
if
[
$(
sympl-ip
-a
|
grep
-c
'\.'
)
==
0
]
||
[
$(
getent hosts ipv4only.arpa |
grep
-c
':'
)
!=
0
]
;
then
if
[[
$@
==
*
'--verbose'
*
]]
;
then
echo
'Applying IPv6 only workaround...'
;
fi
# Do a DNS lookup for acme-v01.api.letsencrypt.org...
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment