From: Michael Tremer <michael.tremer@ipfire.org>
To: network@lists.ipfire.org
Subject: Re: [PATCH 3/3] IPsec: Log the content of all PLUTO variables in debug mode
Date: Sat, 24 Feb 2018 11:54:42 +0000 [thread overview]
Message-ID: <1519473282.5664.12.camel@ipfire.org> (raw)
In-Reply-To: <1519383935-3556-3-git-send-email-jonatan.schlag@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
*thumbs up*
On Fri, 2018-02-23 at 11:05 +0000, Jonatan Schlag via network wrote:
> Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
> ---
> src/helpers/ipsec-updown | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/helpers/ipsec-updown b/src/helpers/ipsec-updown
> index e4d704d..12ead03 100644
> --- a/src/helpers/ipsec-updown
> +++ b/src/helpers/ipsec-updown
> @@ -29,6 +29,13 @@ network_settings_read
> # Make sure we are called by strongSwan
> assert isset PLUTO_VERSION
>
> +if enabled DEBUG; then
> + while read line; do
> + [[ ${line} =~ ^PLUTO_ ]] || continue
> + log DEBUG " ${line}"
> + done <<< "$(printenv | sort)"
> +fi
> +
> CONNECTION="${PLUTO_CONNECTION}"
>
> if ! ipsec_connection_read_config "${CONNECTION}"; then
next prev parent reply other threads:[~2018-02-24 11:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 11:05 [PATCH 1/3] Add new function: device_get_by_assigned_ip_address() Jonatan Schlag
2018-02-23 11:05 ` [PATCH 2/3] Add new function ip_get__assigned_addresses_from_net() Jonatan Schlag
2018-02-24 11:53 ` Michael Tremer
2018-02-23 11:05 ` [PATCH 3/3] IPsec: Log the content of all PLUTO variables in debug mode Jonatan Schlag
2018-02-24 11:54 ` Michael Tremer [this message]
2018-02-24 11:50 ` [PATCH 1/3] Add new function: device_get_by_assigned_ip_address() Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1519473282.5664.12.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=network@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox