]> git.ipfire.org Git - thirdparty/strongswan.git/log
thirdparty/strongswan.git
5 years agoandroid: Change format for error strings
Tobias Brunner [Wed, 13 Jun 2018 14:42:24 +0000 (16:42 +0200)] 
android: Change format for error strings

Place the dot in the main message not the descriptions of the individual
errors.

5 years agoandroid: Collapse Quick Settings drawer if password entry is required
Tobias Brunner [Wed, 13 Jun 2018 14:07:28 +0000 (16:07 +0200)] 
android: Collapse Quick Settings drawer if password entry is required

5 years agoandroid: Initiate configured default profile when triggered as Always-on VPN
Tobias Brunner [Tue, 12 Jun 2018 15:46:08 +0000 (17:46 +0200)] 
android: Initiate configured default profile when triggered as Always-on VPN

With Android 8.1 this isn't triggered after a reboot until the device
has been unlocked once (solving the issue with the key store) and traffic
may optionally be blocked by the user until the VPN is established.

There are still some issues (e.g. password prompts and fatal errors), and we
might need some workaround for older Android releases.

5 years agoandroid: Just reconnect if the tile is clicked even if there was an error
Tobias Brunner [Tue, 12 Jun 2018 15:06:28 +0000 (17:06 +0200)] 
android: Just reconnect if the tile is clicked even if there was an error

A long press click on the tile (or a click on the notification) will open
the main activity if more information about the error are necessary.

5 years agoandroid: Allow reconnecting without confirmation in case of an error
Tobias Brunner [Tue, 12 Jun 2018 15:05:00 +0000 (17:05 +0200)] 
android: Allow reconnecting without confirmation in case of an error

5 years agoandroid: Show connection errors as banner, not as modal dialog
Tobias Brunner [Fri, 8 Jun 2018 13:41:46 +0000 (15:41 +0200)] 
android: Show connection errors as banner, not as modal dialog

5 years agoandroid: Add Quick Settings tile to toggle VPN state
Tobias Brunner [Fri, 8 Jun 2018 12:22:52 +0000 (14:22 +0200)] 
android: Add Quick Settings tile to toggle VPN state

Only if there is no currently active (or previously active) profile does
this currently operate on the configured (or stored most recently used)
profile.  This way it's possible to use a different connection and
quickly disable and re-enable it again.  When unlocked the profile name
is shown, when locked a generic text is used (this detection doesn't seem
to work 100% reliably).  To disconnect, the user is forced to unlock the
device, connecting is possible without, if the credentials are available
and no fatal error occurs (it even works with the system credential store,
at least on Android 8.1).

Note that the tile is not available right after a reboot.  It seems that
the system has to be unlocked once to activate third-party tiles (will
be interesting to see how this works together with Always-on VPN).

5 years agoandroid: Store the ID of the most recently used profile as preference
Tobias Brunner [Fri, 8 Jun 2018 11:54:46 +0000 (13:54 +0200)] 
android: Store the ID of the most recently used profile as preference

5 years agoandroid: Add settings activity and default profile selection
Tobias Brunner [Fri, 8 Jun 2018 09:57:38 +0000 (11:57 +0200)] 
android: Add settings activity and default profile selection

The default profile can then be used for a Quick Settings tile or the
Always-on VPN feature.

5 years agoandroid: Reset error state after user confirmed it
Tobias Brunner [Fri, 8 Jun 2018 09:23:05 +0000 (11:23 +0200)] 
android: Reset error state after user confirmed it

This allows other listeners to change their display.

5 years agoandroid: Use specific icon when connecting to the VPN
Tobias Brunner [Fri, 8 Jun 2018 09:22:21 +0000 (11:22 +0200)] 
android: Use specific icon when connecting to the VPN

5 years agoandroid: Use a handler to show/remove notification from main UI thread
Tobias Brunner [Fri, 8 Jun 2018 09:17:26 +0000 (11:17 +0200)] 
android: Use a handler to show/remove notification from main UI thread

This avoids races that were previously seen (e.g. when disconnecting
while connecting, which sometimes showed a "Disconnecting..."
notification).

5 years agoandroid: Use separate activity to control VPN connections
Tobias Brunner [Thu, 7 Jun 2018 16:00:16 +0000 (18:00 +0200)] 
android: Use separate activity to control VPN connections

This way we don't have to open the main window, but only show a dialog
if necessary (or nothing in many cases).

5 years agoandroid: Migrate onAttach() from deprecated version
Tobias Brunner [Thu, 7 Jun 2018 15:57:41 +0000 (17:57 +0200)] 
android: Migrate onAttach() from deprecated version

5 years agoandroid: Make certificate import activity properly transparent
Tobias Brunner [Thu, 7 Jun 2018 15:12:56 +0000 (17:12 +0200)] 
android: Make certificate import activity properly transparent

5 years agoandroid: Remove deprecated progress indicator in MainActivity
Tobias Brunner [Thu, 7 Jun 2018 12:44:22 +0000 (14:44 +0200)] 
android: Remove deprecated progress indicator in MainActivity

Support for this was already removed with API level 21. On modern
devices loading CA certs should be quick enough anyway.

5 years agoandroid: Replace deprecated ProgressDialog during profile import
Tobias Brunner [Thu, 7 Jun 2018 12:42:40 +0000 (14:42 +0200)] 
android: Replace deprecated ProgressDialog during profile import

5 years agoandroid: Add notification channel for API level 26+
Tobias Brunner [Wed, 6 Jun 2018 16:55:45 +0000 (18:55 +0200)] 
android: Add notification channel for API level 26+

Unfortunately, setLockscreenVisibility() doesn't seem to have any
effect. So the full notification is shown unless the user manually
configures the notification settings.

5 years agoandroid: Set compile-/targetSdkVersion to 26
Tobias Brunner [Wed, 6 Jun 2018 14:57:31 +0000 (16:57 +0200)] 
android: Set compile-/targetSdkVersion to 26

This allows us to add tiles to Quick Settings and enabling the Always-on
VPN feature in the VPN settings (both require API level 24, but 26 will
be required as targetSdkVersion later this year).

5 years agoandroid: Show profile ID at bottom of advanced settings
Tobias Brunner [Wed, 6 Jun 2018 14:38:26 +0000 (16:38 +0200)] 
android: Show profile ID at bottom of advanced settings

Can be selected and copied to the clipboard to use in automation
software that doesn't support the shortcut.

5 years agoandroid: Accept a profile's UUID when initiating
Tobias Brunner [Wed, 6 Jun 2018 14:29:02 +0000 (16:29 +0200)] 
android: Accept a profile's UUID when initiating

5 years agoandroid: Add additional Intent filter for import Activity with MIME type mask
Tobias Brunner [Wed, 6 Jun 2018 13:35:00 +0000 (15:35 +0200)] 
android: Add additional Intent filter for import Activity with MIME type mask

Chrome creates such an Intent when opening downloaded files (not when
directly opening them), a MIME type is set, but apparently not ours.

5 years agoandroid: UUID is now mandatory
Tobias Brunner [Tue, 5 Jun 2018 13:42:09 +0000 (15:42 +0200)] 
android: UUID is now mandatory

Unless there are profiles created with old versions of the app (< 1.8.0)
that were never updated since, all profiles should already have a UUID
assigned.  If not, we do that now with a DB migration.

5 years agoandroid: Show an error dialog if we can't get permission for VPNs
Tobias Brunner [Mon, 4 Jun 2018 14:46:25 +0000 (16:46 +0200)] 
android: Show an error dialog if we can't get permission for VPNs

This is either because a third-party VPN app has the always-on feature
enabled, or because the user denied the permission in the system's confirmation
dialog.

If the always-on feature is enabled for a connection of the built-in VPN
client we get an IllegalStateException, for which we show an updated and
clearer error message.

5 years agoandroid: Suppress self-assign warnings with clang
Tobias Brunner [Mon, 4 Jun 2018 13:39:25 +0000 (15:39 +0200)] 
android: Suppress self-assign warnings with clang

These are triggered by the little endian functions in byteorder.h.

5 years agoatomics: Use type of destination in CAS implementation
Tobias Brunner [Fri, 22 Jun 2018 08:25:25 +0000 (10:25 +0200)] 
atomics: Use type of destination in CAS implementation

The type of the value was incorrect (void**) if NULL was passed to cas_ptr()
as expected value, which caused a compiler warning with Clang because
__atomic_compare_exchange_n() expects the types of the first two arguments
to be the same.

5 years agoatomics: Define HAVE_GCC_ATOMIC_OPERATIONS when building with clang
Tobias Brunner [Tue, 5 Jun 2018 13:58:08 +0000 (15:58 +0200)] 
atomics: Define HAVE_GCC_ATOMIC_OPERATIONS when building with clang

We should probably check for stdatomic.h and use the c11 functions if
available.

5 years agoandroid: Build native libraries for all non-deprecated ABIs
Tobias Brunner [Mon, 4 Jun 2018 13:36:20 +0000 (15:36 +0200)] 
android: Build native libraries for all non-deprecated ABIs

armeabi has been superseded by armeabi-v7a and the MIPS ABIs were removed
with the latest NDK (r17), after being marked deprecated for a while.
By not specifying APP_ABI we build for all non-deprecated ABIs.

5 years agoandroid: Update Gradle plugin and wrapper
Tobias Brunner [Mon, 4 Jun 2018 10:09:32 +0000 (12:09 +0200)] 
android: Update Gradle plugin and wrapper

5 years agoike: Include length of reassembled IKE message in log message
Tobias Brunner [Mon, 2 Jul 2018 10:18:18 +0000 (12:18 +0200)] 
ike: Include length of reassembled IKE message in log message

Also simplify wording a bit when fragmenting.

5 years agodhcp: Only use DHCP server port if explicitly configured
Tobias Brunner [Tue, 26 Jun 2018 13:48:07 +0000 (15:48 +0200)] 
dhcp: Only use DHCP server port if explicitly configured

If a DHCP server is running on the same host it isn't necessary to
bind the server port and might even cause conflicts.

5 years agokernel-pfkey: Avoid updating policies if nothing significant changed
Tobias Brunner [Fri, 1 Jun 2018 09:15:22 +0000 (11:15 +0200)] 
kernel-pfkey: Avoid updating policies if nothing significant changed

The FreeBSD kernel doesn't update policies atomically, causing
unnecessary traffic loss during simple rekeyings.

Fixes #2677.

5 years agosettings: Fix compilation with newer versions of Clang
Tobias Brunner [Fri, 29 Jun 2018 09:30:31 +0000 (11:30 +0200)] 
settings: Fix compilation with newer versions of Clang

Depending on the actual va_list definition it's not valid to compare it
directly or assign NULL.

5 years agoMerge branch 'ike-proposal-switch'
Tobias Brunner [Thu, 28 Jun 2018 16:47:15 +0000 (18:47 +0200)] 
Merge branch 'ike-proposal-switch'

This allows switching the originally selected IKE config (based on the
IPs and IKE version) to a different one if no matching proposal is found.

This way we don't rely that much on the order of configs anymore and it's
possible to configure separate configs for clients that require weak
algorithms.

5 years agotesting: Fix IKE proposal in swanctl/net2net-gw scenario
Tobias Brunner [Thu, 28 Jun 2018 16:03:57 +0000 (18:03 +0200)] 
testing: Fix IKE proposal in swanctl/net2net-gw scenario

Also simplify config by using references.

5 years agobackend-manager: Change how IKE/peer config matches are logged
Tobias Brunner [Wed, 27 Jun 2018 15:59:54 +0000 (17:59 +0200)] 
backend-manager: Change how IKE/peer config matches are logged

Instead of logging the search parameters for IKE configs (which were already
before starting the lookup) we log the configured settings.

The peer config lookup is also changed slightly by doing the IKE config
match first and skipping some checks if that or the local peer identity
doesn't match.

5 years agoReplace 'inacceptable' with the more common 'unacceptable'
Tobias Brunner [Tue, 29 May 2018 16:27:16 +0000 (18:27 +0200)] 
Replace 'inacceptable' with the more common 'unacceptable'

5 years agochild-cfg: Allow suppressing log messages when selecting traffic selectors
Tobias Brunner [Tue, 29 May 2018 16:12:16 +0000 (18:12 +0200)] 
child-cfg: Allow suppressing log messages when selecting traffic selectors

Although being already logged on level 2, these messages are usually just
confusing if they pop up randomly in the log when e.g. querying the configs
or installing traps.  So after this the log messages will only be logged when
actually proposing or selecting traffic selectors during IKE.

5 years agoike-init: Switch to an alternative config if proposals don't match
Tobias Brunner [Tue, 29 May 2018 15:04:12 +0000 (17:04 +0200)] 
ike-init: Switch to an alternative config if proposals don't match

This way we don't rely on the order of equally matching configs as
heavily anymore (which is actually tricky in vici) and this also doesn't
require repeating weak algorithms in all configs that might potentially be
selected if there are some clients that require them.

There is currently no ordering, so an explicitly configured exactly matching
proposal isn't a better match than e.g. the default proposal that also
contains the proposed algorithms.

5 years agoike-auth: Consider negotiated IKE proposal when selecting peer configs
Tobias Brunner [Tue, 29 May 2018 14:57:49 +0000 (16:57 +0200)] 
ike-auth: Consider negotiated IKE proposal when selecting peer configs

In some scenarios we might find multiple usable peer configs with different
IKE proposals.  This is a problem if we use a config with non-matching
proposals that later causes IKE rekeying to fail.  It might even be a problem
already when creating the CHILD_SA if the proposals of IKE and CHILD_SA
are consistent.

5 years agoike-cfg: Add method to check if config contains matching proposal
Tobias Brunner [Tue, 29 May 2018 14:51:48 +0000 (16:51 +0200)] 
ike-cfg: Add method to check if config contains matching proposal

This way we can check whether the config should be considered or not if
we have a selected proposal.

5 years agoproposal: Add method to check if two proposals match
Tobias Brunner [Tue, 29 May 2018 14:02:21 +0000 (16:02 +0200)] 
proposal: Add method to check if two proposals match

Similar to select() but does not return a proposal and does not log
anything.

5 years agochild-cfg: Log the selected proposal on level 1
Tobias Brunner [Tue, 29 May 2018 13:39:38 +0000 (15:39 +0200)] 
child-cfg: Log the selected proposal on level 1

5 years agoike-cfg: Log the selected proposal on level 1
Tobias Brunner [Tue, 29 May 2018 13:39:19 +0000 (15:39 +0200)] 
ike-cfg: Log the selected proposal on level 1

5 years agobackend-manager: Add enumerator over all matching IKE configs
Tobias Brunner [Tue, 29 May 2018 10:44:12 +0000 (12:44 +0200)] 
backend-manager: Add enumerator over all matching IKE configs

5 years agobackend-manager: Simplify sorting peer configs
Tobias Brunner [Tue, 29 May 2018 10:24:02 +0000 (12:24 +0200)] 
backend-manager: Simplify sorting peer configs

5 years agotesting: Add wrapper for systemctl to collect leaks from charon-systemd
Tobias Brunner [Thu, 28 Jun 2018 14:29:22 +0000 (16:29 +0200)] 
testing: Add wrapper for systemctl to collect leaks from charon-systemd

Similar to the wrapper around `service` added with 71d59af58aea, this
sets the variable only when running the automated tests.

5 years agoMerge branch 'settings-references'
Tobias Brunner [Wed, 27 Jun 2018 12:31:50 +0000 (14:31 +0200)] 
Merge branch 'settings-references'

This adds the ability to reference existing sections to the settings parser.
Mainly for swanctl.conf, where this could simplify complex configs a lot
as redundant information has only to be specified once and may then be
included in other sections (there is an example in the man page and
there are some in the unit tests).

Also added is a new setting in filelog sections to specify the path of
the log file (in case it contains characters that are not allowed in section
names). We should encourage people to configure their log files that way
which might allow use to prohibit dots in section names in the future.

5 years agodaemon: Allow configuration of logfile path as value
Tobias Brunner [Thu, 31 May 2018 09:36:15 +0000 (11:36 +0200)] 
daemon: Allow configuration of logfile path as value

Some characters are not allowed in section names, this way they can
still be used in paths of log files.

5 years agoconf: Document reference syntax
Tobias Brunner [Thu, 31 May 2018 09:29:37 +0000 (11:29 +0200)] 
conf: Document reference syntax

5 years agosettings: Properly lock when extending sections or adding fallbacks
Tobias Brunner [Tue, 22 May 2018 08:51:50 +0000 (10:51 +0200)] 
settings: Properly lock when extending sections or adding fallbacks

There was a potential chance for a race condition if the ensured section
was purged for some reason before using it later.

This also changes the behavior for NULL/empty strings via load_string*
with merge == FALSE, which now purges the config/section.

5 years agosettings-test: Add option to use the frontend to display the settings
Tobias Brunner [Tue, 15 May 2018 15:04:23 +0000 (17:04 +0200)] 
settings-test: Add option to use the frontend to display the settings

This resolves references and redefined values. It currently doesn't work
properly if section names contain dots.

5 years agosettings: Add reference feature
Tobias Brunner [Tue, 15 May 2018 12:10:32 +0000 (14:10 +0200)] 
settings: Add reference feature

Similar to the `also` keyword in ipsec.conf, the new syntax allows adding
one or more references to other sections, which means all the settings and
subsections defined there are inherited (values may be overridden, even
with an empty value to clear it).

It's important to note that all subsections are inherited, so if this is
used to reference a connection in swanctl.conf all auth rounds and
children are inherited.  There is currently no syntax to limit the
inclusion level or clear inherited sections (but as mentioned, settings
in those inherited sections may be overridden).

Another property is that inherited settings or sections always follow
explicitly defined entries in the current section when they are enumerated.
This is relevant if the order is important (e.g. for auth rounds if `round`
is not specified).

References are evaluated dynamically at runtime, so referring to
sections later in the config file or included via other files is no
problem.

The colon used as separator to reference other sections may be used in
section names by writing :: (e.g. for Windows log file paths).

This is based on a patch originally written in 2016.

5 years agocharon-systemd: Register journal logger as custom logger
Tobias Brunner [Tue, 5 Jun 2018 09:52:32 +0000 (11:52 +0200)] 
charon-systemd: Register journal logger as custom logger

This way we get early log messages during plugin loading (including
integrity check results).

Instead of the fallback we could also remove the `customlog` namespace,
which was added to avoid conflicts with other settings/sections.

5 years agolinked-list: Order of insert_before/remove_at calls doesn't matter anymore
Tobias Brunner [Mon, 28 May 2018 17:09:02 +0000 (19:09 +0200)] 
linked-list: Order of insert_before/remove_at calls doesn't matter anymore

This was quite confusing previously:  While calling insert_before()
and then remove_at() properly replaced the current item, calling them the
other way around inserted the new item before the previous item because
remove_at() changed the enumerator's position to the previous item.

The behavior in corner cases (calling the methods before or after
enumeration) is also changed slightly.

5 years agovici: Maintain connection order when replacing one
Tobias Brunner [Mon, 28 May 2018 15:36:03 +0000 (17:36 +0200)] 
vici: Maintain connection order when replacing one

5 years agoeap-radius: Document station_id_with_port option
Tobias Brunner [Mon, 25 Jun 2018 08:42:17 +0000 (10:42 +0200)] 
eap-radius: Document station_id_with_port option

5 years agoVersion bump to 5.7.0dr4 5.7.0dr4
Andreas Steffen [Fri, 22 Jun 2018 09:21:02 +0000 (11:21 +0200)] 
Version bump to 5.7.0dr4

5 years agovici: list cert_policy parameter
Andreas Steffen [Fri, 22 Jun 2018 08:39:36 +0000 (10:39 +0200)] 
vici: list cert_policy parameter

5 years agotesting: Added swanctl/rw-ed25519-certpol scenario
Andreas Steffen [Fri, 22 Jun 2018 07:59:04 +0000 (09:59 +0200)] 
testing: Added swanctl/rw-ed25519-certpol scenario

5 years agoike-mobike: Always use this task for DPDs even if not behind a NAT
Tobias Brunner [Tue, 22 May 2018 16:04:00 +0000 (18:04 +0200)] 
ike-mobike: Always use this task for DPDs even if not behind a NAT

This allows switching to probing mode if the client is on a public IP
and this is the active task and connectivity gets restored.  We only add
NAT-D payloads if we are currently behind a NAT (to detect changed NAT
mappings), a MOBIKE update that might follow will add them in case we
move behind a NAT.

5 years agounit-tests: Add mock implementation of kernel_net_t
Tobias Brunner [Wed, 23 May 2018 08:13:56 +0000 (10:13 +0200)] 
unit-tests: Add mock implementation of kernel_net_t

This is required for DPDs via ike-mobike task to work (it does a source
address lookup).

5 years agovici: Fixed crash when parsing cert_policy parameter
Andreas Steffen [Fri, 22 Jun 2018 06:52:09 +0000 (08:52 +0200)] 
vici: Fixed crash when parsing cert_policy parameter

5 years agolibimcv: Prevent integer overflow in time conversion
Andreas Steffen [Mon, 18 Jun 2018 09:04:53 +0000 (11:04 +0200)] 
libimcv: Prevent integer overflow in time conversion

5 years agoVersion bumpt to 5.7.0dr3 5.7.0dr3
Andreas Steffen [Thu, 14 Jun 2018 15:07:59 +0000 (17:07 +0200)] 
Version bumpt to 5.7.0dr3

5 years agolibtpmtss: Query maximum TPM data transmission size
Andreas Steffen [Thu, 14 Jun 2018 13:46:35 +0000 (15:46 +0200)] 
libtpmtss: Query maximum TPM data transmission size

5 years agotesting: Print command output if test fails
Tobias Brunner [Fri, 1 Jun 2018 13:26:45 +0000 (15:26 +0200)] 
testing: Print command output if test fails

This is quite helpful to debug why a pattern didn't match.

As it could produce quite a lot of output if something is not found in a
log file, the complete output is only printed in verbose mode, otherwise,
`head` is used to print the first 10 lines of output.

We only get stdout from SSH, so the stderr redirection is only really
for errors ssh itself produces.

5 years agotesting: Fixed evaltest of tnc/tnccs-20-pdp-pt-tls scenario 5.7.0dr2
Andreas Steffen [Wed, 13 Jun 2018 15:57:10 +0000 (17:57 +0200)] 
testing: Fixed evaltest of tnc/tnccs-20-pdp-pt-tls scenario

5 years agoVersion bump to 5.7.0dr2
Andreas Steffen [Wed, 13 Jun 2018 15:07:58 +0000 (17:07 +0200)] 
Version bump to 5.7.0dr2

5 years agotesting: Renewed ECDSA certificates
Andreas Steffen [Wed, 13 Jun 2018 15:07:25 +0000 (17:07 +0200)] 
testing: Renewed ECDSA certificates

5 years agoMerge branch 'swima-reserved'
Andreas Steffen [Tue, 12 Jun 2018 19:49:54 +0000 (21:49 +0200)] 
Merge branch 'swima-reserved'

5 years agolibimcv: Implementation of RFC 8412 SWIMA
Andreas Steffen [Tue, 12 Jun 2018 16:09:12 +0000 (18:09 +0200)] 
libimcv: Implementation of RFC 8412 SWIMA

5 years agolibimcv: Added reserved field in SWIMA Inventory encoding
Andreas Steffen [Mon, 21 May 2018 08:55:08 +0000 (10:55 +0200)] 
libimcv: Added reserved field in SWIMA Inventory encoding

5 years agofuzz: Added PB-TNC fuzzer
Andreas Steffen [Fri, 9 Mar 2018 13:40:00 +0000 (14:40 +0100)] 
fuzz: Added PB-TNC fuzzer

5 years agolibimcv: Fixed processing of PTS Request File Metadata
Andreas Steffen [Sat, 3 Mar 2018 20:06:42 +0000 (21:06 +0100)] 
libimcv: Fixed processing of PTS Request File Metadata

5 years agolibimcv: Removed whitespace
Andreas Steffen [Sat, 3 Mar 2018 19:56:47 +0000 (20:56 +0100)] 
libimcv: Removed whitespace

5 years agolibimcv: Fixed processing of PTS Simple Component Evidence
Andreas Steffen [Sat, 3 Mar 2018 18:30:55 +0000 (19:30 +0100)] 
libimcv: Fixed processing of PTS Simple Component Evidence

5 years agobio_reader: Fix read_uint24
Andreas Steffen [Fri, 2 Mar 2018 13:45:28 +0000 (14:45 +0100)] 
bio_reader: Fix read_uint24

5 years agofuzz: Added PA-TNC fuzzer
Andreas Steffen [Fri, 2 Mar 2018 12:35:30 +0000 (13:35 +0100)] 
fuzz: Added PA-TNC fuzzer

5 years agotesting: Removed TCG SWID IMC/IMV scenarios
Andreas Steffen [Mon, 5 Mar 2018 10:31:27 +0000 (11:31 +0100)] 
testing: Removed TCG SWID IMC/IMV scenarios

5 years agolibimcv: Removed TCG SWID IMC/IMV support
Andreas Steffen [Thu, 1 Mar 2018 16:33:49 +0000 (17:33 +0100)] 
libimcv: Removed TCG SWID IMC/IMV support

5 years agolibimcv: SWIMA SW locator must be file URI
Andreas Steffen [Mon, 5 Mar 2018 19:56:25 +0000 (20:56 +0100)] 
libimcv: SWIMA SW locator must be file URI

5 years agolibimcv: Updated IANA numbers assigned to SWIMA
Andreas Steffen [Wed, 28 Feb 2018 18:23:59 +0000 (19:23 +0100)] 
libimcv: Updated IANA numbers assigned to SWIMA

5 years agoAllow charon to change group on files before dropping caps
Micah Morton [Fri, 8 Jun 2018 18:55:30 +0000 (11:55 -0700)] 
Allow charon to change group on files before dropping caps

Allow charon to start as a non-root user without CAP_CHOWN and still be
able to change the group on files that need to be accessed by charon
after capabilities have been dropped. This requires the user charon starts
as to have access to socket/pidfile directory as well as belong to the
group that charon will run as after dropping capabilities.

Closes strongswan/strongswan#105.

5 years agostarter: Reset action before handling it
Markus Sattler [Tue, 5 Jun 2018 06:20:52 +0000 (08:20 +0200)] 
starter: Reset action before handling it

Stater will lose update/reload commands when there is a second signal
coming in when the previous is still processed. This can happen more
easily with big configurations.

Closes strongswan/strongswan#101.

5 years agoVersion bump to 5.7.0dr1 5.7.0dr1
Andreas Steffen [Wed, 30 May 2018 21:02:27 +0000 (23:02 +0200)] 
Version bump to 5.7.0dr1

5 years agolibstrongswan: xmppaddr prefix designates an xmppAddr otherName ID type
Andreas Steffen [Wed, 30 May 2018 13:41:01 +0000 (15:41 +0200)] 
libstrongswan: xmppaddr prefix designates an xmppAddr otherName ID type

5 years agoVersion bump to 5.6.3 5.6.3
Andreas Steffen [Mon, 28 May 2018 13:38:58 +0000 (15:38 +0200)] 
Version bump to 5.6.3

5 years agoNEWS: Add info about CVE-2018-10811
Tobias Brunner [Thu, 24 May 2018 13:52:06 +0000 (15:52 +0200)] 
NEWS: Add info about CVE-2018-10811

5 years agoikev2: Initialize variable in case set_key() or allocate_bytes() fails
Tobias Brunner [Mon, 19 Mar 2018 16:03:05 +0000 (17:03 +0100)] 
ikev2: Initialize variable in case set_key() or allocate_bytes() fails

In case the PRF's set_key() or allocate_bytes() method failed, skeyseed
was not initialized and the chunk_clear() call later caused a crash.

This could have happened with OpenSSL in FIPS mode when MD5 was
negotiated (and test vectors were not checked, in which case the PRF
couldn't be instantiated as the test vectors would have failed).
MD5 is not included in the default proposal anymore since 5.6.1, so
with recent versions this could only happen with configs that are not
valid in FIPS mode anyway.

Fixes: CVE-2018-10811
5 years agoNEWS: Some minor updates
Tobias Brunner [Thu, 24 May 2018 10:03:45 +0000 (12:03 +0200)] 
NEWS: Some minor updates

5 years agoswanctl: Document new HW offload options/behavior
Tobias Brunner [Thu, 24 May 2018 08:49:19 +0000 (10:49 +0200)] 
swanctl: Document new HW offload options/behavior

5 years agoVersion bump to 5.6.3rc1 5.6.3rc1
Andreas Steffen [Wed, 23 May 2018 20:36:39 +0000 (22:36 +0200)] 
Version bump to 5.6.3rc1

5 years agoNEWS: Added some news for 5.6.3
Tobias Brunner [Wed, 23 May 2018 18:25:18 +0000 (20:25 +0200)] 
NEWS: Added some news for 5.6.3

5 years agosw-collector: Proper cleanup if DB query fails in check operation
Tobias Brunner [Wed, 23 May 2018 17:08:45 +0000 (19:08 +0200)] 
sw-collector: Proper cleanup if DB query fails in check operation

5 years agokernel-netlink: Use strncpy to copy interface name when configuring HW offload
Tobias Brunner [Wed, 23 May 2018 17:06:02 +0000 (19:06 +0200)] 
kernel-netlink: Use strncpy to copy interface name when configuring HW offload

5 years agoFixed some typos, courtesy of codespell
Tobias Brunner [Wed, 23 May 2018 14:06:45 +0000 (16:06 +0200)] 
Fixed some typos, courtesy of codespell

5 years agoUnify format of HSR copyright statements
Tobias Brunner [Wed, 23 May 2018 14:04:50 +0000 (16:04 +0200)] 
Unify format of HSR copyright statements

5 years agosettings: Parse assigned values in a different context
Tobias Brunner [Mon, 7 May 2018 16:24:48 +0000 (18:24 +0200)] 
settings: Parse assigned values in a different context

This allows us to accept characters like = or { without having to use
quoted strings.  And we can also properly warn about unexpected quoted
strings.

5 years agosettings: Support CRLF in settings parser
Tobias Brunner [Mon, 13 Jul 2015 09:58:21 +0000 (11:58 +0200)] 
settings: Support CRLF in settings parser