[Bug 1451091] Re: new upstream version 5.2.2

2016-02-18 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 1535951 ***
https://bugs.launchpad.net/bugs/1535951

This bug was fixed in the package strongswan - 5.3.5-1ubuntu1

---
strongswan (5.3.5-1ubuntu1) xenial; urgency=medium

  * debian/{rules,control,libstrongswan-extra-plugins.install}
Enable bliss plugin
  * debian/{rules,control,libstrongswan-extra-plugins.install}
Enable chapoly plugin
  * debian/patches/dont-load-kernel-libipsec-plugin-by-default.patch
Upstream suggests to not load this plugin by default as it has
some limitations.
https://wiki.strongswan.org/projects/strongswan/wiki/Kernel-libipsec
  * debian/patches/increase-bliss-test-timeout.patch
Under QEMU/KVM for autopkgtest bliss test takes a bit longer then default
  * Update Apparmor profiles
- usr.lib.ipsec.charon
  - add capability audit_write for xauth-pam (LP: #1470277)
  - add capability dac_override (needed by agent plugin)
  - allow priv dropping (LP: #1333655)
  - allow caching CRLs (LP: #1505222)
  - allow rw access to /dev/net/tun for kernel-libipsec (LP: #1309594)
- usr.lib.ipsec.stroke
  - allow priv dropping (LP: #1333655)
  - add local include
- usr.lib.ipsec.lookip
  - add local include
  * Merge from Debian, which includes fixes for all previous CVEs
Fixes (LP: #1330504, #1451091, #1448870, #1470277)
Remaining changes:
  * debian/control
- Lower dpkg-dev to 1.16.1 from 1.16.2 to enable backporting to Precise
- Update Maintainer for Ubuntu
- Add build-deps
  - dh-apparmor
  - iptables-dev
  - libjson0-dev
  - libldns-dev
  - libmysqlclient-dev
  - libpcsclite-dev
  - libsoup2.4-dev
  - libtspi-dev
  - libunbound-dev
- Drop build-deps
  - libfcgi-dev
  - clearsilver-dev
- Create virtual packages for all strongswan-plugin-* for dist-upgrade
- Set XS-Testsuite: autopkgtest
  * debian/rules:
- Enforcing DEB_BUILD_OPTIONS=nostrip for library integrity checking.
- Set TESTS_REDUCED_KEYLENGTHS to one generate smallest key-lengths in
  tests.
- Change init/systemd program name to strongswan
- Install AppArmor profiles
- Removed pieces on 'patching ipsec.conf' on build.
- Enablement of features per Ubuntu current config suggested from
  upstream recommendation
- Unpack and sort enabled features to one-per-line
- Disable duplicheck as per
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718291#10
- Disable libfast (--disable-fast):
  Requires dropping medsrv, medcli plugins which depend on libfast
- Add configure options
  --with-tss=trousers
- Remove configure options:
  --enable-ha (requires special kernel)
  --enable-unit-test (unit tests run by default)
- Drop logcheck install
  * debian/tests/*
- Add DEP8 test for strongswan service and plugins
  * debian/strongswan-starter.strongswan.service
- Add new systemd file instead of patching upstream
  * debian/strongswan-starter.links
- removed, use Ubuntu systemd file instead of linking to upstream
  * debian/usr.lib.ipsec.{charon, lookip, stroke}
- added AppArmor profiles for charon, lookip and stroke
  * debian/libcharon-extra-plugins.install
- Add plugins
  - kernel-libipsec.{so, lib, conf, apparmor}
- Remove plugins
  - libstrongswan-ha.so
- Relocate plugins
  - libstrongswan-tnc-tnccs.so (strongswan-tnc-base.install)
  * debian/libstrongswan-extra-plugins.install
- Add plugins (so, lib, conf)
  - acert
  - attr-sql
  - coupling
  - dnscert
  - fips-prf
  - gmp
  - ipseckey
  - load-tester
  - mysql
  - ntru
  - radattr
  - soup
  - sqlite
  - sql
  - systime-fix
  - unbound
  - whitelist
- Relocate plugins (so, lib, conf)
  - ccm (libstrongswan.install)
  - test-vectors (libstrongswan.install)
  * debian/libstrongswan.install
- Sort sections
- Add plugins (so, lib, conf)
  - libchecksum
  - ccm
  - eap-identity
  - md4
  - test-vectors
  * debian/strongswan-charon.install
- Add AppArmor profile for charon
  * debian/strongswan-starter.install
- Add tools, manpages, conf
  - openac
  - pool
  - _updown_espmark
- Add AppArmor profile for stroke
  * debian/strongswan-tnc-base.install
- Add new subpackage for TNC
- remove non-existent (dropped in 5.2.1) libpts library files
  * debian/strongswan-tnc-client.install
- Add new subpackage for TNC
  * debian/strongswan-tnc-ifmap.install
- Add new subp

[Bug 1451091] Re: new upstream version 5.2.2

2016-01-20 Thread Simon Déziel
*** This bug is a duplicate of bug 1535951 ***
https://bugs.launchpad.net/bugs/1535951

Marking this bug as a duplicate of LP: #1535951 since Strongswan 5.3.5
should land in Xenial thus addressing the issues mentioned here.

** This bug has been marked a duplicate of bug 1535951
   Please merge strongswan 5.3.5-1 (main) from Debian unstable (main)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-07-20 Thread Eric Heydrick
Strongswan 5.3.2 is out now. What would it take to pull it in?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-29 Thread Tobias Brunner
Thanks for the example config.

The client will encode the identity as FQDN and the server is forced to
encode it as keyid (the content will be the same but the type is
different). So there won't be a match. Looking at the screenshot I'm not
sure how to configure a FQDN in the pfSense GUI, perhaps "Distinguished
name" even though the DN in FQDN stands for "domain name". Additionally,
the identity in ipsec.secrets on the server is also encoded as FQDN as
the prefix is missing (should probably be reported to pfSense). Also,
rightid is missing on the server, so authentication will fail anyway as
the server will default to the client's IP address, which won't match
the client's leftid (omnicon-5900).

Selecting the identity type could make sense, but the identities would
have to be encoded properly (e.g. parse the configured string according
to the type and binary encode it, then prefix it), otherwise the result
will not be what the user intended (e.g. leftid=ipv4:192.168.0.1 is not
the same thing as leftid=192.168.0.1 or leftid=ipv4:#c0a80001).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
I have attached an example configuration where the pfSense server leftid
is configured with keyid:-prefix and therefor in unable to authenticate
an IPsec connection from a client where rightid does not contain
keyid:-prefix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
** Attachment added: "ipsec_client.secrets"
   
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+attachment/4420801/+files/ipsec_client.secrets

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
** Attachment added: "ipsec_sever.secrets"
   
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+attachment/4420802/+files/ipsec_sever.secrets

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
When using PSK in pfSense you are required to select identifier type.
Looking at it from a security perspective it seems better to explicit
define identifier type rather then auto detect type.

** Attachment added: "pfsense_ipsec_keyid.png"
   
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+attachment/4420798/+files/pfsense_ipsec_keyid.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
** Attachment added: "ipsec_server.conf"
   
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+attachment/4420800/+files/ipsec_server.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
** Attachment added: "ipsec_client.conf"
   
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+attachment/4420799/+files/ipsec_client.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Tobias Brunner
> The current version of Strongswan (5.1.2) does not work with newer versions 
> of pfSense (Strongswan 5.3.2 based).
> When using IPsec IKEv2/PSK the identity type is now prefixed leftid and 
> rightid for better matching.

Hm, could you elaborate on that? For instance, provide example configs?
At a first glance I'd say what pfSense does is wrong, as it seems to
send incorrectly encoded identity payloads. As described in the man/wiki
page, you can't just prefix a string with a prefix and expect that to
work correctly. These prefixes are really mostly useful in special
situations (e.g. to encode a FQDN as keyid).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
The current version of Strongswan (5.1.2) does not work with newer versions of 
pfSense (Strongswan 5.3.2 based).
When using IPsec IKEv2/PSK the identity type is now prefixed leftid and rightid 
for better matching.
The change requires at least Strongswan 5.2.2 but newest upstream is 5.3.2.

Source: https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection

left|rightid = 

Since 5.2.2 it is possible to enforce a specific identity type. For this a 
prefix may be used, followed by a colon (:).
If the number sign (#) follows the colon, the remaining data is interpreted as 
hex encoding, otherwise the string is used as-is
as the identification data. Note that this implies that no conversion is 
performed for non-string identities.
For example, ipv4:10.0.0.1 does not create a valid ID_IPV4_ADDR IKE identity, 
as it does not get converted to binary
0x0a01. Instead, one could use ipv4:#0a01 to get a valid identity, but 
just using the implicit type with automatic
conversion is usually simpler. The same applies to the ASN.1 encoded types.
The following prefixes are known: ipv4, ipv6, rfc822, email, userfqdn, fqdn, 
dns, asn1dn, asn1gn and keyid.
Custom type prefixes may be specified by surrounding the numerical type value 
with curly brackets.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1451091] Re: new upstream version 5.2.2

2015-06-26 Thread Bruno Thomsen
** Summary changed:

- new upstream version 5.2.1
+ new upstream version 5.2.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451091

Title:
  new upstream version 5.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1451091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs