Software Inventory Message and Attributes for PA-TNC (SWIMA) » History » Version 21
Version 20 (Andreas Steffen, 22.06.2017 13:27) → Version 21/27 (Andreas Steffen, 22.06.2017 13:45)
h1. Software Inventory Message and Attributes for PA-TNC (SWIMA)
{{>toc}}
h2. Starting PT-TLS Server Daemon
The PT-TLS server based on the strongSwan systemd daemon is usually started automatically at boot time with the command
<pre>
systemctl start strongswan-swanctl
</pre>
First all the PA-TNC attribute definitions from the IETF, TCG, ITA-HSR and PWG namespaces are loaded. The IMVs to by dynamically loaded are read from _/etc/tnc_config_.
<pre>
Jun 22 12:31:28 koala systemd[1]: Starting strongSwan IPsec IKEv1/IKEv2 daemon using swanctl...
Jun 22 12:31:28 koala charon-systemd[12088]: TNC recommendation policy is 'default'
Jun 22 12:31:28 koala charon-systemd[12088]: loading IMVs from '/etc/tnc_config'
Jun 22 12:31:28 koala charon-systemd[12088]: added IETF attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added ITA-HSR attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added PWG attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added TCG attributes
Jun 22 12:31:28 koala charon-systemd[12088]: libimcv initialized
</pre>
The OS IMV is loaded as a dynamic library and attached to the TNC server.
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 "OS" initialized
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 supports 1 message type: 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 "OS" loaded from '/usr/lib/ipsec/imcvs/imv-os.so'
</pre>
The SWIMA IMV is loaded as a dynamic library and attached to the TNC server.
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 "SWIMA" initialized
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 supports 1 message type: 'IETF/Software' 0x000000/0x00000009
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 "SWIMA" loaded from '/usr/lib/ipsec/imcvs/imv-swima.so'
</pre>
The strongSwan daemon loads all required plugins and goes into multi-threading mode so that multiple PT-TLS connections can be handled
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded plugins: charon-systemd charon-systemd random nonce x509 tpm openssl revocation constraints pubkey pkcs1 pkcs8 pkcs12 pem tnc-imv tnc-pdp tnc-tnccs tnccs-20 kernel-netlink socket-default sqlite curl vici
Jun 22 12:31:28 koala charon-systemd[12088]: spawning 16 worker threads
</pre>
Multiple PT-TLS server and CA certificates are loaded into the daemon
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=mse2.strongswan.org'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=koala.strongsec.com'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=koala.strongsec.com'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=MSE CA'
</pre>
The actual loading is done by the *swanctl* command line tool which transfers the certificates to the daemon via a Unix socket.
<pre>
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/MSE2_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/koala_AIK_ECC_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/koala_AIK_RSA_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509ca/strongsecCaCert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509ca/MSE_CA_Cert.pem'
</pre>
The first server certificate has a matching ECDSA private key loaded from file
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded ECDSA private key
</pre>
The second server certificate has a matching ECDSA key protected by a TPM 2.0
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 - algorithms: RSA SHA1 HMAC AES MGF1 KEYEDHASH XOR SHA256 RSASSA RSAES RSAPSS OAEP ECDSA ECDH SM2 ECMQV KDF1_SP800_108 ECC SYMCIPHER CTR OFB CBC CFB ECB
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 - ECC curves: NIST_P256 BN_P256
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 via TSS2 available
Jun 22 12:31:29 koala charon-systemd[12088]: AIK signature algorithm is ECDSA with SHA256 hash
Jun 22 12:31:29 koala charon-systemd[12088]: loaded ECDSA private key from token
</pre>
The third server certificate has a matching RSA key protected by a TPM 2.0
<pre>
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 - algorithms: RSA SHA1 HMAC AES MGF1 KEYEDHASH XOR SHA256 RSASSA RSAES RSAPSS OAEP ECDSA ECDH SM2 ECMQV KDF1_SP800_108 ECC SYMCIPHER CTR OFB CBC CFB ECB
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 - ECC curves: NIST_P256 BN_P256
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 via TSS2 available
Jun 22 12:31:29 koala charon-systemd[12088]: AIK signature algorithm is RSASSA with SHA256 hash
Jun 22 12:31:29 koala charon-systemd[12088]: loaded RSA private key from token
</pre>
Again it is the *swanctl* tool which loads the private keys or determines the IDs of keys residing on smartcard or TPM devices.
<pre>
Jun 22 12:31:29 koala swanctl[12107]: loaded ecdsa key from '/etc/swanctl/ecdsa/MSE2_Key.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded key token_ak_ecc from token [keyid: 8e70ca6665cd2e6c7893e407cb9a7cd6264d714f]
Jun 22 12:31:29 koala swanctl[12107]: loaded key token_ak_rsa from token [keyid: ce431f647d549f759267422f4097c874e2eca547]
</pre>
The PT-TLS server is now up and ready to accept connections on the default TCP port 271.
<pre>
Jun 22 12:31:29 koala systemd[1]: Started strongSwan IPsec IKEv1/IKEv2 daemon using swanctl.
</pre>
h2. Accepting PT-TLS Client Connection
A PT-TLS client connects to the PT-TLS server and does a TLS 1.2 handshake to establish a secure socket
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: accepting PT-TLS stream from 46.126.238.39
Jun 22 12:34:56 koala charon-systemd[12088]: entering PT-TLS negotiation phase
Jun 22 12:34:56 koala charon-systemd[12088]: negotiated TLS 1.2 using suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS server certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=mse2.strongswan.org'
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS cert request for 'C=CH, O=MSE, OU=TSM_ITSec, CN=MSE CA'
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS cert request for 'C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA'
Jun 22 12:34:56 koala charon-systemd[12088]: received TLS peer certificate 'C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com'
Jun 22 12:34:56 koala charon-systemd[12088]: using certificate "C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com"
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted ca certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: checking certificate status of "C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com"
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl correctly signed by "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl is valid: until Jun 25 10:00:01 2017
Jun 22 12:34:56 koala charon-systemd[12088]: using cached crl
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl correctly signed by "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl is valid: until Jun 23 10:00:01 2017
Jun 22 12:34:56 koala charon-systemd[12088]: using cached crl
Jun 22 12:34:56 koala charon-systemd[12088]: certificate status is good
Jun 22 12:34:56 koala charon-systemd[12088]: reached self-signed root ca with a path length of 0
</pre>
The PT-TLS protocol is started skipping SASL-based client authentication because the client already authenticated itself during the TLS handshake.
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: received PT-TLS message #0 of type 'Version Request' (20 bytes)
Jun 22 12:34:56 koala charon-systemd[12088]: sending PT-TLS message #0 of type 'Version Response' (20 bytes)
Jun 22 12:34:56 koala charon-systemd[12088]: negotiated PT-TLS version 1
Jun 22 12:34:56 koala charon-systemd[12088]: doing SASL client authentication
Jun 22 12:34:56 koala charon-systemd[12088]: skipping SASL, client already authenticated by TLS certificate
Jun 22 12:34:56 koala charon-systemd[12088]: sending PT-TLS message #1 of type 'SASL Mechanisms' (16 bytes)
</pre>
The PT-TLS protocol switches to the data transport phase and a TNCCS (PB-TNC) connection is instantiated
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: entering PT-TLS data transport phase
Jun 22 12:34:57 koala charon-systemd[12088]: received PT-TLS message #1 of type 'PB-TNC Batch' (337 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: assigned TNCCS Connection ID 1
</pre>
An OS IMV instance is created for this PB-TNC connection
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" created a state for IF-TNCCS 2.0 Connection ID 1: +long +excl -soh
Jun 22 12:34:57 koala charon-systemd[12088]: over IF-T for TLS 2.0 with maximum PA-TNC message size of 131024 bytes
Jun 22 12:34:57 koala charon-systemd[12088]: user AR identity 'C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com' of type X.500 DN authenticated by certificate
Jun 22 12:34:57 koala charon-systemd[12088]: machine AR identity '46.126.238.39' of type IPv4 address authenticated by unknown method
</pre>
A SWIMA IMV instance is created for this PB-TNC connection
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" created a state for IF-TNCCS 2.0 Connection ID 1: +long +excl -soh
Jun 22 12:34:57 koala charon-systemd[12088]: over IF-T for TLS 2.0 with maximum PA-TNC message size of 131024 bytes
</pre>
The PB-TNC connection is now initialized and goes into Handshake mode
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" changed state of Connection ID 1 to 'Handshake'
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" changed state of Connection ID 1 to 'Handshake'
</pre>
The first PB-TNC client batch is received containing two PA-TNC messages
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: received TNCCS batch (321 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: TNC server is handling inbound connection
Jun 22 12:34:57 koala charon-systemd[12088]: processing PB-TNC CDATA batch for Connection ID 1
Jun 22 12:34:57 koala charon-systemd[12088]: PB-TNC state transition from 'Init' to 'Server Working'
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-Language-Preference message (31 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-PA message (230 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-PA message (52 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: setting language preference to 'en'
</pre>
The first PA-TNC message is of type *IETF / Operating System* and contains some IETF standard attributes sent by the OS IMC
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: handling PB-PA message type 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" received message for Connection ID 1 from IMC 1
Jun 22 12:34:57 koala charon-systemd[12088]: => 206 bytes @ 0x7ff810004f10
0: 01 00 00 00 6F 69 67 01 00 00 00 00 00 00 00 02 ....oig.........
16: 00 00 00 17 00 71 32 00 00 55 62 75 6E 74 75 00 .....q2..Ubuntu.
32: 00 00 00 00 00 00 04 00 00 00 1B 0C 31 36 2E 30 ............16.0
48: 34 20 78 38 36 5F 36 34 00 00 00 00 00 00 00 00 4 x86_64........
64: 00 03 00 00 00 1C 00 00 00 10 00 00 00 04 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 ................
96: 00 24 03 01 00 00 32 30 31 37 2D 30 36 2D 31 39 .$....2017-06-19
112: 54 31 34 3A 31 38 3A 33 35 5A 00 00 00 00 00 00 T14:18:35Z......
128: 00 0B 00 00 00 10 00 00 00 01 00 00 00 00 00 00 ................
144: 00 0C 00 00 00 10 00 00 00 00 00 00 90 2A 00 00 .............*..
160: 00 08 00 00 00 34 35 64 39 35 30 32 31 33 39 36 .....45d95021396
176: 64 32 34 31 35 65 35 63 35 33 63 61 32 64 65 61 d2415e5c53ca2dea
192: 36 66 62 63 31 63 32 33 38 37 63 35 36 61 6fbc1c2387c56a
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC message with ID 0x6f696701
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Product Information' 0x000000/0x00000002
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/String Version' 0x000000/0x00000004
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Numeric Version' 0x000000/0x00000003
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Operational Status' 0x000000/0x00000005
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Forwarding Enabled' 0x000000/0x0000000b
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Factory Default Password Enabled' 0x000000/0x0000000c
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'ITA-HSR/Device ID' 0x00902a/0x00000008
</pre>
This is the OS information contained in the PA-TNC attributes
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: operating system name is 'Ubuntu' from vendor Canonical
Jun 22 12:34:57 koala charon-systemd[12088]: operating system version is '16.04 x86_64'
Jun 22 12:34:57 koala charon-systemd[12088]: operating system numeric version is 16.4
Jun 22 12:34:57 koala charon-systemd[12088]: operational status: operational, result: successful
Jun 22 12:34:57 koala charon-systemd[12088]: last boot: Jun 19 14:18:35 UTC 2017
Jun 22 12:34:57 koala charon-systemd[12088]: IPv4 forwarding is enabled
Jun 22 12:34:57 koala charon-systemd[12088]: factory default password is disabled
Jun 22 12:34:57 koala charon-systemd[12088]: device ID is 5d95021396d2415e5c53ca2dea6fbc1c2387c56a
</pre>
The second PA-TNC message is of type *IETF / Software* and contains a PA-TNC segmentation contract request
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2
Jun 22 12:34:57 koala charon-systemd[12088]: => 28 bytes @ 0x7ff810005860
0: 01 00 00 00 19 74 B7 4E 00 00 55 97 00 00 00 21 .....t.N..U....!
16: 00 00 00 14 00 98 96 80 00 01 FF B8 ............
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC message with ID 0x1974b74e
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'TCG/Max Attribute Size Request' 0x005597/0x00000021
</pre>
This is the decoded segmentation contract request
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 received a segmentation contract request from IMC 2 for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC message with ID 0xa41e0787
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'TCG/Max Attribute Size Response' 0x005597/0x00000022
Jun 22 12:34:57 koala charon-systemd[12088]: created PA-TNC message: => 28 bytes @ 0x7ff810000a00
0: 01 00 00 00 A4 1E 07 87 00 00 55 97 00 00 00 22 ..........U...."
16: 00 00 00 14 00 98 96 80 00 01 FF B8 ............
Jun 22 12:34:57 koala charon-systemd[12088]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
</pre>
The OS IMV also sends a segmentation contract request for PA message type *IETF / Operating System*
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 requests a segmentation contract for PA message type 'IETF/Operating System' 0x000000/0x00000001
maximum attribute size of 100000000 bytes with maximum segment size of 131000 bytes
</pre>
The strongTNC policy manager assigns a session ID and issues a single SWIDT workitem
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: assigned session ID 2 to Connection ID 1
Jun 22 12:34:57 koala charon-systemd[12088]: running policy script: 2>&1 ipsec imv_policy_manager start 2
Jun 22 12:34:57 koala charon-systemd[12088]: policy: imv_policy_manager start successful
Jun 22 12:34:57 koala charon-systemd[12088]: SWIDT workitem 9
</pre>
The OS IMV has not been assigned received any work items by from the policy manager and therefore terminates gracefully
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 has no workitems - no evaluation requested
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC message with ID 0x916d188f
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'IETF/Assessment Result' 0x000000/0x00000009
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'IETF/Remediation Instructions' 0x000000/0x0000000a
Jun 22 12:34:57 koala charon-systemd[12088]: created PA-TNC message: => 117 bytes @ 0x7ff810004f20
0: 01 00 00 00 91 6D 18 8F 00 00 00 00 00 00 00 09 .....m..........
16: 00 00 00 10 00 00 00 04 00 00 00 00 00 00 00 0A ................
32: 00 00 00 5D 00 00 00 00 00 00 00 02 00 00 00 42 ...]...........B
48: 49 50 20 50 61 63 6B 65 74 20 46 6F 72 77 61 72 IP Packet Forwar
64: 64 69 6E 67 0A 20 20 50 6C 65 61 73 65 20 64 69 ding. Please di
80: 73 61 62 6C 65 20 74 68 65 20 66 6F 72 77 61 72 sable the forwar
96: 64 69 6E 67 20 6F 66 20 49 50 20 70 61 63 6B 65 ding of IP packe
112: 74 73 02 65 6E ts.en
Jun 22 12:34:57 koala charon-systemd[12088]: creating PB-PA message type 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 provides recommendation 'allow' and evaluation 'don't know'
</pre>
The SWIMA IMV sends a segmentation contract request for PA message type *IETF / Software* as well
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 requests a segmentation contract for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
h2. Sending IETF SW Request Attribute
The SWIMA IMV is responsible for the SWIDT workitem and issues an *IETF / SW Request* attribute
<pre>
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 handles SWIDT workitem 9 251
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 issues sw request 9 251
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC message with ID 0xeaeacdc3 0x6c940091
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC attribute type 'TCG/Max Attribute Size Request' 0x005597/0x00000021
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC attribute type 'IETF/SW Request' 0x000000/0x00000011
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: created PA-TNC message: => 52 bytes @ 0x7ff810005550 0x7f2258027be0
0: 01 00 00 00 EA EA CD C3 6C 94 00 91 00 00 55 97 00 00 00 21 ..........U....! ....l.....U....!
16: 00 00 00 14 00 98 96 80 00 01 FF B8 00 00 00 00 ................
32: 00 00 00 11 00 00 00 18 20 00 00 00 00 00 00 09 FB ........ .......
48: 00 00 00 00 ....
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
</pre>
The first Server DATA batch is sent to the TNC Client
<pre>
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: TNC server is handling outbound connection
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: sending PB-TNC SDATA batch (277 bytes) for Connection ID 1
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: sending PT-TLS message #2 of type 'PB-TNC Batch' (293 bytes)
</pre>
h2. Receiving IETF SW Identity Inventory Attribute
A Client DATA batch has been received
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received PT-TLS message #2 of type 'PB-TNC Batch' (131072 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received TNCCS batch (131056 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: TNC server is handling inbound connection
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing IETF/PB-PA message (131048 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: => 131024 bytes @ 0x7ff820090960 0x7f225008ca00
0: 01 00 00 00 AC 4D 42 7A DC 50 E6 C6 00 00 55 97 00 00 00 22 .....MBz..U...." .....P....U...."
16: 00 00 00 14 00 98 96 80 00 01 FF B8 00 00 55 97 ..............U.
32: 00 00 00 23 00 01 FF B4 C0 00 00 01 00 00 00 00 ...#............
48: 00 00 00 12 00 02 88 84 7F B7 00 00 08 01 07 FF 00 00 00 09 FB ................
64: 3B 8A 77 A3 11 22 33 44 00 00 00 A1 01 00 00 0A CF 00 00 00 00 00 01 ;.w............. ."3D............
80: 01 00 00 52 51 73 74 72 6F 6E 67 73 77 61 6E 2E 6F ...Rstrongswan.o ...Qstrongswan.o
96: 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D rg__Ubuntu_16.04 rg_Ubuntu_16.04-
112: 2D 78 38 36 5F 36 34 2D 61 31 31 79 2D 70 72 6F 66 -x86_64-a11y-pro x86_64-a11y-prof
128: 66 69 6C 65 2D 6D 61 6E 61 67 65 72 2D 69 6E 64 69 file-manager-ind ile-manager-indi
144: 69 63 61 74 6F 72 2D 30 2E 31 2E 31 30 2D 30 75 62 icator-0.1.10-0u cator-0.1.10-0ub
160: 62 75 6E 74 75 33 00 00 00 00 0A D0 00 00 00 00 00 01 01 buntu3.......... untu3...........
176: 01 00 00 58 57 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 ...Xstrongswan.o ..Wstrongswan.or
192: 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 rg__Ubuntu_16.04 g_Ubuntu_16.04-x
208: 2D 78 38 36 5F 36 34 2D 61 63 63 6F 75 6E 74 2D 70 6C -x86_64-account- 86_64-account-pl
224: 70 6C 75 67 69 6E 2D 66 61 63 65 62 6F 6F 6B 2D 30 2E plugin-facebook- ugin-facebook-0.
240: 30 2E 31 32 7E 31 36 2E 30 34 2E 32 30 31 36 30 31 32 0.12~16.04.20160 12~16.04.2016012
256: 31 32 36 2D 30 75 62 75 6E 74 75 31 00 00 00 00 00 00 126-0ubuntu1.... 6-0ubuntu1......
272: 0A D1 00 00 00 01 01 00 00 56 55 73 74 72 6F 6E 67 73 77 .........Vstrong .......Ustrongsw
288: 73 77 61 6E 2E 6F 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 swan.org__Ubuntu an.org_Ubuntu_16
304: 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 61 63 63 6F 75 _16.04-x86_64-ac .04-x86_64-accou
320: 63 6F 75 6E 74 2D 70 6C 75 67 69 6E 2D 66 6C 69 63 6B 72 count-plugin-fli nt-plugin-flickr
336: 63 6B 72 2D 30 2E 31 32 7E 31 36 2E 30 34 2E 32 30 31 36 ckr-0.12~16.04.2 -0.12~16.04.2016
352: 30 31 36 30 31 32 36 2D 30 75 62 75 6E 74 75 31 00 00 00 0160126-0ubuntu1 0126-0ubuntu1...
368: 00 00 00 00 0A D2 00 00 00 01 01 00 00 56 55 73 74 72 6F 6E .............Vst ..........Ustron
384: 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 5F 55 62 rongswan.org__Ub
400: 75 6E 74 75 gswan.org_Ubuntu
400: 5F 31 36 2E 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
416: 34 2D 61 63 _16.04-x86_64-ac
416: 63 6F 75 6E 74 2D 70 6C 75 67 69 6E 4-account-plugin
432: 2D 67 6F 6F count-plugin-goo
432: 67 6C 65 2D 30 2E 31 32 7E 31 36 2E -google-0.12~16.
448: 30 34 2E 32 gle-0.12~16.04.2
448: 30 31 36 30 31 32 36 2D 30 75 62 75 04.20160126-0ubu
464: 6E 74 75 31 00 00 00 00 06 2E 00 00 00 01 01 00 ntu1............ 0160126-0ubuntu1
...
130656: 00 00 00 01 01 00 00 4A 40 73 74 72 6F 6E 67 73 77 .......Jstrongsw .......@strongsw
130672: 61 6E 2E 6F 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 an.org__Ubuntu_1 an.org_Ubuntu_16
130688: 36 2E 30 34 2D 78 38 36 5F 36 34 2D 70 72 69 6E 79 74 68 6F 6.04-x86_64-prin .04-x86_64-pytho
130704: 74 65 72 6E 2D 64 70 6B 67 2D 72 69 76 65 73 6F 75 72 63 65 73 2D 68 70 63 75 70 ter-driver-hpcup n-pkg-resources-
130720: 73 2D 33 32 30 2E 31 36 37 2E 33 7E 72 65 70 61 63 6B 30 s-3.16.3~repack0
130736: 2D 31 00 00 00 00 0E D8 00 00 00 00 20.7.0-1........
130736: 00 01 01 00 00 43 -1.............C
130752: 3D 73 74 72 6F 6E 67 73 77 61 6E .....=strongswan
130752: 2E 6F 72 67 5F 5F strongswan.org__
130768: 55 62 75 6E 74 75 5F 31 36 2E 30 .org_Ubuntu_16.0
130768: 34 2D 78 38 36 Ubuntu_16.04-x86
130784: 5F 36 34 2D 70 72 69 79 74 68 6F 6E 74 65 72 2D 64 72 69 76 _64-printer-driv 4-x86_64-python-
130800: 130784: 73 65 72 74 75 70 74 6F 6F 6C 73 2D 6D 69 6E 31 32 78 78 77 2D 30 2E 30 37 2E er-min12xxw-0.0. setuptools-20.7.
130816: 39 130800: 30 2D 39 31 00 00 00 00 0E D9 00 00 00 00 00 01 01 00 00 9-9............. 0-1.............
130832: 4F 130816: 38 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Ostrongswan.org_ 8strongswan.org_
130848: 5F 130832: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 _Ubuntu_16.04-x8 Ubuntu_16.04-x86
130864: 36 130848: 5F 36 34 2D 70 72 69 79 74 68 6F 6E 2D 74 65 72 2D 64 72 69 61 6C 6C 6F 6_64-printer-dri _64-python-tallo
130880: 76 65 72 130864: 63 2D 70 6E 6D 32 70 70 61 2D 2E 31 2E 31 33 ver-pnm2ppa-1.13
130896: 7E 6E 6F 6E 64 62 73 35 2D 30 75 62 75 6E 74 75 35 ~nondbs-0ubuntu5
130912: 32 00 00 00 00 0E DA 00 00 00 c-2.1.5-2.......
130880: 00 00 01 01 00 00 51 38 73 74 .............Qst
130928: 72 6F 6E 67 73 77 61 ......8strongswa
130896: 6E 2E 6F 72 67 5F 5F 55 62 rongswan.org__Ub
130944: 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
130912: 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
130960: 34 2D 70 72 69 79 74 68 6F 6E 74 65 72 2D 64 72 69 76 65 72 4-printer-driver 04-x86_64-python
130976: 130928: 2D 70 6F 73 74 73 63 72 69 70 74 2D 77 68 70 65 65 6C 2D 33 -postscript-hp-3
130992: 30 2E 31 36 32 39 2E 33 7E 72 65 70 61 63 6B 30 2D 31 00 .16.3~repack0-1. -wheel-0.29.0-1.
131008: 130944: 00 00 00 0E DB 00 00 00 00 00 01 01 00 00 3F 44 73 74 72 ............?str ............Dstr
130960: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
130976: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
130992: 70 79 74 68 6F 6E 32 2E 37 2D 32 2E 37 2E 31 32 python2.7-2.7.12
131008: 2D 31 75 62 75 6E 74 75 30 7E 31 36 2E 30 34 2E -1ubuntu0~16.04.
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC message with ID 0xac4d427a 0xdc50e6c6
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Max Attribute Size Response' 0x005597/0x00000022
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Attribute Segment Envelope' 0x005597/0x00000023
</pre>
The SWIMA IMC accepted the segmentation contract
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 received a segmentation contract response from IMC 2 for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
The first 128k segment of the *IETF / Software Identifier Inventory* attribute has been received
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received first segment for base attribute ID 1 (130980 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'IETF/SW Identifier Inventory' 0x000000/0x00000012
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: 3 charon-systemd[27680]: 67 bytes insufficient to parse 63 68 bytes of data
</pre>
1646 complete software identifiers including their record ID were received in the first segment
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received software identity inventory with 1625 1646 items for request 9 251 at eid 161 1 of epoch 0x3b8a77a3, 424 0x11223344, 401 items to follow
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2767: strongswan.org__Ubuntu_16.04-x86_64-a11y-profile-manager-indicator-0.1.10-0ubuntu3 strongswan.org_Ubuntu_16.04-x86_64-a11y-profile-manager-indicator-0.1.10-0ubuntu3
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2768: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-facebook-0.12~16.04.20160126-0ubuntu1 strongswan.org_Ubuntu_16.04-x86_64-account-plugin-facebook-0.12~16.04.20160126-0ubuntu1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2769: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-flickr-0.12~16.04.20160126-0ubuntu1 strongswan.org_Ubuntu_16.04-x86_64-account-plugin-flickr-0.12~16.04.20160126-0ubuntu1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2770: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-google-0.12~16.04.20160126-0ubuntu1
strongswan.org_Ubuntu_16.04-x86_64-account-plugin-google-0.12~16.04.20160126-0ubuntu1
...
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3799: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-hpcups-3.16.3~repack0-1 strongswan.org_Ubuntu_16.04-x86_64-python-pkg-resources-20.7.0-1
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3800: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-min12xxw-0.0.9-9 strongswan.org_Ubuntu_16.04-x86_64-python-setuptools-20.7.0-1
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3801: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-pnm2ppa-1.13~nondbs-0ubuntu5 strongswan.org_Ubuntu_16.04-x86_64-python-talloc-2.1.5-2
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3802: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-postscript-hp-3.16.3~repack0-1 strongswan.org_Ubuntu_16.04-x86_64-python-wheel-0.29.0-1
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC message with ID 0xeb46af13
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC attribute type 'TCG/Next Segment Request' 0x005597/0x00000024
Jun 13 14:47:16 koala charon-systemd[27680]: created PA-TNC message: => 24 bytes @ 0x7f2250158500
0: 01 00 00 00 EB 46 AF 13 00 00 55 97 00 00 00 24 .....F....U....$
16: 00 00 00 10 00 00 00 01 ........
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling outbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 13 14:47:16 koala charon-systemd[27680]: adding IETF/PB-PA message
Jun 13 14:47:16 koala charon-systemd[27680]: sending PB-TNC SDATA batch (56 bytes) for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: sending PT-TLS message #3 of type 'PB-TNC Batch' (72 bytes)
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: received PT-TLS message #3 of type 'PB-TNC Batch' (32859 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: received TNCCS batch (32843 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling inbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 13 14:47:16 koala charon-systemd[27680]: processing IETF/PB-PA message (32835 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 13 14:47:16 koala charon-systemd[27680]: => 32811 bytes @ 0x7f2270027540
0: 01 00 00 00 B7 BA 96 5B 00 00 55 97 00 00 00 23 .......[..U....#
16: 00 00 80 23 00 00 00 01 31 00 00 00 00 00 00 00 ...#....1.......
32: 00 00 01 01 00 00 48 73 74 72 6F 6E 67 73 77 61 ......Hstrongswa
48: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
64: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
80: 32 2E 37 2D 64 65 76 2D 32 2E 37 2E 31 32 2D 31 2.7-dev-2.7.12-1
96: 75 62 75 6E 74 75 30 7E 31 36 2E 30 34 2E 31 00 ubuntu0~16.04.1.
112: 00 00 00 00 00 00 00 00 01 01 00 00 4C 73 74 72 ............Lstr
128: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
144: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
160: 70 79 74 68 6F 6E 32 2E 37 2D 6D 69 6E 69 6D 61 python2.7-minima
176: 6C 2D 32 2E 37 2E 31 32 2D 31 75 62 75 6E 74 75 l-2.7.12-1ubuntu
192: 30 7E 31 36 2E 30 34 2E 31 00 00 00 00 00 00 00 0~16.04.1.......
208: 00 00 01 01 00 00 32 73 74 72 6F 6E 67 73 77 61 ......2strongswa
224: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
240: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
256: 33 2D 33 2E 35 2E 31 2D 33 00 00 00 00 00 00 00 3-3.5.1-3.......
272: 00 00 01 01 00 00 43 73 74 72 6F 6E 67 73 77 61 ......Cstrongswa
288: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
304: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
320: 33 2D 61 70 70 6F 72 74 2D 32 2E 32 30 2E 31 2D 3-apport-2.20.1-
336: 30 75 62 75 6E 74 75 32 2E 36 00 00 00 00 00 00 0ubuntu2.6......
...
32448: 00 00 00 01 01 00 00 42 73 74 72 6F 6E 67 73 77 .......Bstrongsw
32464: 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 an.org_Ubuntu_16
32480: 2E 30 34 2D 78 38 36 5F 36 34 2D 7A 65 6E 69 74 .04-x86_64-zenit
32496: 79 2D 63 6F 6D 6D 6F 6E 2D 33 2E 31 38 2E 31 2E y-common-3.18.1.
32512: 31 2D 31 75 62 75 6E 74 75 32 00 00 00 00 00 00 1-1ubuntu2......
32528: 00 00 00 01 01 00 00 2D 73 74 72 6F 6E 67 73 77 .......-strongsw
32544: 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 an.org_Ubuntu_16
32560: 2E 30 34 2D 78 38 36 5F 36 34 2D 7A 69 70 2D 33 .04-x86_64-zip-3
32576: 2E 30 2D 31 31 00 00 00 00 00 00 00 00 00 01 01 .0-11...........
32592: 00 00 41 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 ..Astrongswan.or
32608: 67 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 g_Ubuntu_16.04-x
32624: 38 36 5F 36 34 2D 7A 6C 69 62 31 67 2D 31 7E 31 86_64-zlib1g-1~1
32640: 2E 32 2E 38 2E 64 66 73 67 2D 32 75 62 75 6E 74 .2.8.dfsg-2ubunt
32656: 75 34 2E 31 00 00 00 00 00 00 00 00 00 01 01 00 u4.1............
32672: 00 45 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 .Estrongswan.org
32688: 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 _Ubuntu_16.04-x8
32704: 36 5F 36 34 2D 7A 6C 69 62 31 67 2D 64 65 76 2D 6_64-zlib1g-dev-
32720: 31 7E 31 2E 32 2E 38 2E 64 66 73 67 2D 32 75 62 1~1.2.8.dfsg-2ub
32736: 75 6E 74 75 34 2E 31 00 00 00 00 00 00 00 00 00 untu4.1.........
32752: 01 02 00 00 1F 73 74 72 6F 6E 67 73 77 61 6E 2E .....strongswan.
32768: 6F 72 67 5F 73 74 72 6F 6E 67 53 77 61 6E 2D 35 org_strongSwan-5
32784: 2D 35 2D 33 00 15 2F 75 73 72 2F 73 68 61 72 65 -5-3../usr/share
32800: 2F 73 74 72 6F 6E 67 73 77 61 6E /strongswan
Jun 13 14:47:16 koala charon-systemd[27680]: processing PA-TNC message with ID 0xb7ba965b
Jun 13 14:47:16 koala charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Attribute Segment Envelope' 0x005597/0x00000023
Jun 13 14:47:16 koala charon-systemd[27680]: received last segment for base attribute ID 1 (32787 bytes)
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: received software identity inventory with 401 items for request 251 at eid 1 of epoch 0x11223344, 0 items to follow
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-dev-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-minimal-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python3-3.5.1-3
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python3-apport-2.20.1-0ubuntu2.6
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zenity-common-3.18.1.1-1ubuntu2
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zip-3.0-11
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zlib1g-1~1.2.8.dfsg-2ubuntu4.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zlib1g-dev-1~1.2.8.dfsg-2ubuntu4.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_strongSwan-5-5-3
</pre>
h2. Sending IETF [Targeted] SW Request Attribute
<pre>
un 13 14:47:16 koala charon-systemd[27680]: 12 SWID tag targets
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5core5a-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5dbus5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5gui5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5network5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5opengl5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5printsupport5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5sql5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5sql5-sqlite-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5test5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5widgets5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5xml5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_strongSwan-5-5-3
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC message with ID 0x5f558479
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC attribute type 'IETF/SW Request' 0x000000/0x00000011
Jun 13 14:47:16 koala charon-systemd[27680]: created PA-TNC message: => 866 bytes @ 0x7f2270179190
0: 01 00 00 00 5F 55 84 79 00 00 00 00 00 00 00 11 ...._U.y........
16: 00 00 03 5A 00 00 00 0C 00 00 00 FB 00 00 00 00 ...Z............
32: 00 46 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 .Fstrongswan.org
48: 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 _Ubuntu_16.04-x8
64: 36 5F 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 6_64-libqt5core5
80: 61 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 a-5.5.1~dfsg-16u
96: 62 75 6E 74 75 37 2E 35 00 45 73 74 72 6F 6E 67 buntu7.5.Estrong
112: 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F swan.org_Ubuntu_
128: 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 16.04-x86_64-lib
144: 71 74 35 64 62 75 73 35 2D 35 2E 35 2E 31 7E 64 qt5dbus5-5.5.1~d
160: 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 fsg-16ubuntu7.5.
176: 44 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Dstrongswan.org_
192: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 Ubuntu_16.04-x86
208: 5F 36 34 2D 6C 69 62 71 74 35 67 75 69 35 2D 35 _64-libqt5gui5-5
224: 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 6E .5.1~dfsg-16ubun
240: 74 75 37 2E 35 00 48 73 74 72 6F 6E 67 73 77 61 tu7.5.Hstrongswa
256: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
272: 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 71 74 35 04-x86_64-libqt5
288: 6E 65 74 77 6F 72 6B 35 2D 35 2E 35 2E 31 7E 64 network5-5.5.1~d
304: 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 fsg-16ubuntu7.5.
320: 47 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Gstrongswan.org_
336: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 Ubuntu_16.04-x86
352: 5F 36 34 2D 6C 69 62 71 74 35 6F 70 65 6E 67 6C _64-libqt5opengl
368: 35 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 5-5.5.1~dfsg-16u
384: 62 75 6E 74 75 37 2E 35 00 4D 73 74 72 6F 6E 67 buntu7.5.Mstrong
400: 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F swan.org_Ubuntu_
416: 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 16.04-x86_64-lib
432: 71 74 35 70 72 69 6E 74 73 75 70 70 6F 72 74 35 qt5printsupport5
448: 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 -5.5.1~dfsg-16ub
464: 75 6E 74 75 37 2E 35 00 44 73 74 72 6F 6E 67 73 untu7.5.Dstrongs
480: 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 wan.org_Ubuntu_1
496: 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 71 6.04-x86_64-libq
512: 74 35 73 71 6C 35 2D 35 2E 35 2E 31 7E 64 66 73 t5sql5-5.5.1~dfs
528: 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 4B 73 g-16ubuntu7.5.Ks
544: 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 trongswan.org_Ub
560: 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
576: 34 2D 6C 69 62 71 74 35 73 71 6C 35 2D 73 71 6C 4-libqt5sql5-sql
592: 69 74 65 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 ite-5.5.1~dfsg-1
608: 36 75 62 75 6E 74 75 37 2E 35 00 45 73 74 72 6F 6ubuntu7.5.Estro
624: 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 ngswan.org_Ubunt
640: 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C u_16.04-x86_64-l
656: 69 62 71 74 35 74 65 73 74 35 2D 35 2E 35 2E 31 ibqt5test5-5.5.1
672: 7E 64 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E ~dfsg-16ubuntu7.
688: 35 00 48 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 5.Hstrongswan.or
704: 67 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 g_Ubuntu_16.04-x
720: 38 36 5F 36 34 2D 6C 69 62 71 74 35 77 69 64 67 86_64-libqt5widg
736: 65 74 73 35 2D 35 2E 35 2E 31 7E 64 66 73 67 2D ets5-5.5.1~dfsg-
752: 31 36 75 62 75 6E 74 75 37 2E 35 00 44 73 74 72 16ubuntu7.5.Dstr
768: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
784: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
800: 6C 69 62 71 74 35 78 6D 6C 35 2D 35 2E 35 2E 31 libqt5xml5-5.5.1
816: 7E 64 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E ~dfsg-16ubuntu7.
832: 35 00 1F 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 5..strongswan.or
848: 67 5F 73 74 72 6F 6E 67 53 77 61 6E 2D 35 2D 35 g_strongSwan-5-5
864: 2D 33 -3
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling outbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 13 14:47:16 koala charon-systemd[27680]: adding IETF/PB-PA message
Jun 13 14:47:16 koala charon-systemd[27680]: sending PB-TNC SDATA batch (898 bytes) for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: sending PT-TLS message #4 of type 'PB-TNC Batch' (914 bytes)
</pre>
h2. Receiving IETF SW Inventory Attribute
<pre>
Jun 13 14:47:18 koala charon-systemd[27680]: received PT-TLS message #4 of type 'PB-TNC Batch' (6892 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: received TNCCS batch (6876 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: TNC server is handling inbound connection
Jun 13 14:47:18 koala charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 13 14:47:18 koala charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 13 14:47:18 koala charon-systemd[27680]: processing IETF/PB-PA message (6868 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:18 koala charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 13 14:47:18 koala charon-systemd[27680]: => 6844 bytes @ 0x7f226800cde0
0: 01 00 00 00 6D 84 09 75 00 00 00 00 00 00 00 14 ....m..u........
16: 00 00 1A B4 00 00 00 0C 00 00 00 FB 11 22 33 44 ............."3D
32: 00 00 00 01 00 00 00 00 00 00 00 01 01 00 00 46 ...............F
48: 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 strongswan.org_U
64: 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F buntu_16.04-x86_
80: 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 61 2D 64-libqt5core5a-
96: 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 5.5.1~dfsg-16ubu
112: 6E 74 75 37 2E 35 00 00 00 00 01 EA 3C 3F 78 6D ntu7.5......<?xm
128: 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 l version="1.0"
144: 65 6E 63 6F 64 69 6E 67 3D 22 75 74 66 2D 38 22 encoding="utf-8"
160: 3F 3E 3C 53 6F 66 74 77 61 72 65 49 64 65 6E 74 ?><SoftwareIdent
176: 69 74 79 20 6E 61 6D 65 3D 22 6C 69 62 71 74 35 ity name="libqt5
192: 63 6F 72 65 35 61 22 20 74 61 67 49 64 3D 22 55 core5a" tagId="U
208: 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F buntu_16.04-x86_
224: 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 61 2D 64-libqt5core5a-
240: 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 5.5.1~dfsg-16ubu
256: 6E 74 75 37 2E 35 22 20 76 65 72 73 69 6F 6E 3D ntu7.5" version=
272: 22 35 2E 35 2E 31 2B 64 66 73 67 2D 31 36 75 62 "5.5.1+dfsg-16ub
288: 75 6E 74 75 37 2E 35 22 20 76 65 72 73 69 6F 6E untu7.5" version
304: 53 63 68 65 6D 65 3D 22 61 6C 70 68 61 6E 75 6D Scheme="alphanum
320: 65 72 69 63 22 20 78 6D 6C 6E 73 3D 22 68 74 74 eric" xmlns="htt
336: 70 3A 2F 2F 73 74 61 6E 64 61 72 64 73 2E 69 73 p://standards.is
352: 6F 2E 6F 72 67 2F 69 73 6F 2F 31 39 37 37 30 2F o.org/iso/19770/
368: 2D 32 2F 32 30 31 35 2F 73 63 68 65 6D 61 2E 78 -2/2015/schema.x
384: 73 64 22 20 78 6D 6C 6E 73 3A 6E 38 30 36 30 3D sd" xmlns:n8060=
400: 22 68 74 74 70 3A 2F 2F 63 73 72 63 2E 6E 69 73 "http://csrc.nis
416: 74 2E 67 6F 76 2F 73 63 68 65 6D 61 2F 73 77 69 t.gov/schema/swi
432: 64 2F 32 30 31 35 2D 65 78 74 65 6E 73 69 6F 6E d/2015-extension
448: 73 2F 73 77 69 64 2D 32 30 31 35 2D 65 78 74 65 s/swid-2015-exte
464: 6E 73 69 6F 6E 73 2D 31 2E 30 2E 78 73 64 22 3E nsions-1.0.xsd">
480: 3C 45 6E 74 69 74 79 20 6E 61 6D 65 3D 22 73 74 <Entity name="st
496: 72 6F 6E 67 53 77 61 6E 20 50 [ Incomplete diff, document too large... ]
{{>toc}}
h2. Starting PT-TLS Server Daemon
The PT-TLS server based on the strongSwan systemd daemon is usually started automatically at boot time with the command
<pre>
systemctl start strongswan-swanctl
</pre>
First all the PA-TNC attribute definitions from the IETF, TCG, ITA-HSR and PWG namespaces are loaded. The IMVs to by dynamically loaded are read from _/etc/tnc_config_.
<pre>
Jun 22 12:31:28 koala systemd[1]: Starting strongSwan IPsec IKEv1/IKEv2 daemon using swanctl...
Jun 22 12:31:28 koala charon-systemd[12088]: TNC recommendation policy is 'default'
Jun 22 12:31:28 koala charon-systemd[12088]: loading IMVs from '/etc/tnc_config'
Jun 22 12:31:28 koala charon-systemd[12088]: added IETF attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added ITA-HSR attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added PWG attributes
Jun 22 12:31:28 koala charon-systemd[12088]: added TCG attributes
Jun 22 12:31:28 koala charon-systemd[12088]: libimcv initialized
</pre>
The OS IMV is loaded as a dynamic library and attached to the TNC server.
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 "OS" initialized
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 supports 1 message type: 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 1 "OS" loaded from '/usr/lib/ipsec/imcvs/imv-os.so'
</pre>
The SWIMA IMV is loaded as a dynamic library and attached to the TNC server.
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 "SWIMA" initialized
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 supports 1 message type: 'IETF/Software' 0x000000/0x00000009
Jun 22 12:31:28 koala charon-systemd[12088]: IMV 2 "SWIMA" loaded from '/usr/lib/ipsec/imcvs/imv-swima.so'
</pre>
The strongSwan daemon loads all required plugins and goes into multi-threading mode so that multiple PT-TLS connections can be handled
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded plugins: charon-systemd charon-systemd random nonce x509 tpm openssl revocation constraints pubkey pkcs1 pkcs8 pkcs12 pem tnc-imv tnc-pdp tnc-tnccs tnccs-20 kernel-netlink socket-default sqlite curl vici
Jun 22 12:31:28 koala charon-systemd[12088]: spawning 16 worker threads
</pre>
Multiple PT-TLS server and CA certificates are loaded into the daemon
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=mse2.strongswan.org'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=koala.strongsec.com'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=koala.strongsec.com'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA'
Jun 22 12:31:28 koala charon-systemd[12088]: loaded certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=MSE CA'
</pre>
The actual loading is done by the *swanctl* command line tool which transfers the certificates to the daemon via a Unix socket.
<pre>
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/MSE2_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/koala_AIK_ECC_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509/koala_AIK_RSA_Cert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509ca/strongsecCaCert.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded certificate from '/etc/swanctl/x509ca/MSE_CA_Cert.pem'
</pre>
The first server certificate has a matching ECDSA private key loaded from file
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: loaded ECDSA private key
</pre>
The second server certificate has a matching ECDSA key protected by a TPM 2.0
<pre>
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 - algorithms: RSA SHA1 HMAC AES MGF1 KEYEDHASH XOR SHA256 RSASSA RSAES RSAPSS OAEP ECDSA ECDH SM2 ECMQV KDF1_SP800_108 ECC SYMCIPHER CTR OFB CBC CFB ECB
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 - ECC curves: NIST_P256 BN_P256
Jun 22 12:31:28 koala charon-systemd[12088]: TPM 2.0 via TSS2 available
Jun 22 12:31:29 koala charon-systemd[12088]: AIK signature algorithm is ECDSA with SHA256 hash
Jun 22 12:31:29 koala charon-systemd[12088]: loaded ECDSA private key from token
</pre>
The third server certificate has a matching RSA key protected by a TPM 2.0
<pre>
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 - algorithms: RSA SHA1 HMAC AES MGF1 KEYEDHASH XOR SHA256 RSASSA RSAES RSAPSS OAEP ECDSA ECDH SM2 ECMQV KDF1_SP800_108 ECC SYMCIPHER CTR OFB CBC CFB ECB
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 - ECC curves: NIST_P256 BN_P256
Jun 22 12:31:29 koala charon-systemd[12088]: TPM 2.0 via TSS2 available
Jun 22 12:31:29 koala charon-systemd[12088]: AIK signature algorithm is RSASSA with SHA256 hash
Jun 22 12:31:29 koala charon-systemd[12088]: loaded RSA private key from token
</pre>
Again it is the *swanctl* tool which loads the private keys or determines the IDs of keys residing on smartcard or TPM devices.
<pre>
Jun 22 12:31:29 koala swanctl[12107]: loaded ecdsa key from '/etc/swanctl/ecdsa/MSE2_Key.pem'
Jun 22 12:31:29 koala swanctl[12107]: loaded key token_ak_ecc from token [keyid: 8e70ca6665cd2e6c7893e407cb9a7cd6264d714f]
Jun 22 12:31:29 koala swanctl[12107]: loaded key token_ak_rsa from token [keyid: ce431f647d549f759267422f4097c874e2eca547]
</pre>
The PT-TLS server is now up and ready to accept connections on the default TCP port 271.
<pre>
Jun 22 12:31:29 koala systemd[1]: Started strongSwan IPsec IKEv1/IKEv2 daemon using swanctl.
</pre>
h2. Accepting PT-TLS Client Connection
A PT-TLS client connects to the PT-TLS server and does a TLS 1.2 handshake to establish a secure socket
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: accepting PT-TLS stream from 46.126.238.39
Jun 22 12:34:56 koala charon-systemd[12088]: entering PT-TLS negotiation phase
Jun 22 12:34:56 koala charon-systemd[12088]: negotiated TLS 1.2 using suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS server certificate 'C=CH, O=MSE, OU=TSM_ITSec, CN=mse2.strongswan.org'
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS cert request for 'C=CH, O=MSE, OU=TSM_ITSec, CN=MSE CA'
Jun 22 12:34:56 koala charon-systemd[12088]: sending TLS cert request for 'C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA'
Jun 22 12:34:56 koala charon-systemd[12088]: received TLS peer certificate 'C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com'
Jun 22 12:34:56 koala charon-systemd[12088]: using certificate "C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com"
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted ca certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: checking certificate status of "C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com"
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl correctly signed by "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl is valid: until Jun 25 10:00:01 2017
Jun 22 12:34:56 koala charon-systemd[12088]: using cached crl
Jun 22 12:34:56 koala charon-systemd[12088]: using trusted certificate "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl correctly signed by "C=CH, O=strongSec GmbH, CN=strongSec 2016 Root CA"
Jun 22 12:34:56 koala charon-systemd[12088]: crl is valid: until Jun 23 10:00:01 2017
Jun 22 12:34:56 koala charon-systemd[12088]: using cached crl
Jun 22 12:34:56 koala charon-systemd[12088]: certificate status is good
Jun 22 12:34:56 koala charon-systemd[12088]: reached self-signed root ca with a path length of 0
</pre>
The PT-TLS protocol is started skipping SASL-based client authentication because the client already authenticated itself during the TLS handshake.
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: received PT-TLS message #0 of type 'Version Request' (20 bytes)
Jun 22 12:34:56 koala charon-systemd[12088]: sending PT-TLS message #0 of type 'Version Response' (20 bytes)
Jun 22 12:34:56 koala charon-systemd[12088]: negotiated PT-TLS version 1
Jun 22 12:34:56 koala charon-systemd[12088]: doing SASL client authentication
Jun 22 12:34:56 koala charon-systemd[12088]: skipping SASL, client already authenticated by TLS certificate
Jun 22 12:34:56 koala charon-systemd[12088]: sending PT-TLS message #1 of type 'SASL Mechanisms' (16 bytes)
</pre>
The PT-TLS protocol switches to the data transport phase and a TNCCS (PB-TNC) connection is instantiated
<pre>
Jun 22 12:34:56 koala charon-systemd[12088]: entering PT-TLS data transport phase
Jun 22 12:34:57 koala charon-systemd[12088]: received PT-TLS message #1 of type 'PB-TNC Batch' (337 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: assigned TNCCS Connection ID 1
</pre>
An OS IMV instance is created for this PB-TNC connection
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" created a state for IF-TNCCS 2.0 Connection ID 1: +long +excl -soh
Jun 22 12:34:57 koala charon-systemd[12088]: over IF-T for TLS 2.0 with maximum PA-TNC message size of 131024 bytes
Jun 22 12:34:57 koala charon-systemd[12088]: user AR identity 'C=CH, O=strongSec GmbH, CN=brisbane.strongsec.com' of type X.500 DN authenticated by certificate
Jun 22 12:34:57 koala charon-systemd[12088]: machine AR identity '46.126.238.39' of type IPv4 address authenticated by unknown method
</pre>
A SWIMA IMV instance is created for this PB-TNC connection
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" created a state for IF-TNCCS 2.0 Connection ID 1: +long +excl -soh
Jun 22 12:34:57 koala charon-systemd[12088]: over IF-T for TLS 2.0 with maximum PA-TNC message size of 131024 bytes
</pre>
The PB-TNC connection is now initialized and goes into Handshake mode
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" changed state of Connection ID 1 to 'Handshake'
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" changed state of Connection ID 1 to 'Handshake'
</pre>
The first PB-TNC client batch is received containing two PA-TNC messages
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: received TNCCS batch (321 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: TNC server is handling inbound connection
Jun 22 12:34:57 koala charon-systemd[12088]: processing PB-TNC CDATA batch for Connection ID 1
Jun 22 12:34:57 koala charon-systemd[12088]: PB-TNC state transition from 'Init' to 'Server Working'
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-Language-Preference message (31 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-PA message (230 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: processing IETF/PB-PA message (52 bytes)
Jun 22 12:34:57 koala charon-systemd[12088]: setting language preference to 'en'
</pre>
The first PA-TNC message is of type *IETF / Operating System* and contains some IETF standard attributes sent by the OS IMC
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: handling PB-PA message type 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 "OS" received message for Connection ID 1 from IMC 1
Jun 22 12:34:57 koala charon-systemd[12088]: => 206 bytes @ 0x7ff810004f10
0: 01 00 00 00 6F 69 67 01 00 00 00 00 00 00 00 02 ....oig.........
16: 00 00 00 17 00 71 32 00 00 55 62 75 6E 74 75 00 .....q2..Ubuntu.
32: 00 00 00 00 00 00 04 00 00 00 1B 0C 31 36 2E 30 ............16.0
48: 34 20 78 38 36 5F 36 34 00 00 00 00 00 00 00 00 4 x86_64........
64: 00 03 00 00 00 1C 00 00 00 10 00 00 00 04 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 ................
96: 00 24 03 01 00 00 32 30 31 37 2D 30 36 2D 31 39 .$....2017-06-19
112: 54 31 34 3A 31 38 3A 33 35 5A 00 00 00 00 00 00 T14:18:35Z......
128: 00 0B 00 00 00 10 00 00 00 01 00 00 00 00 00 00 ................
144: 00 0C 00 00 00 10 00 00 00 00 00 00 90 2A 00 00 .............*..
160: 00 08 00 00 00 34 35 64 39 35 30 32 31 33 39 36 .....45d95021396
176: 64 32 34 31 35 65 35 63 35 33 63 61 32 64 65 61 d2415e5c53ca2dea
192: 36 66 62 63 31 63 32 33 38 37 63 35 36 61 6fbc1c2387c56a
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC message with ID 0x6f696701
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Product Information' 0x000000/0x00000002
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/String Version' 0x000000/0x00000004
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Numeric Version' 0x000000/0x00000003
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Operational Status' 0x000000/0x00000005
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Forwarding Enabled' 0x000000/0x0000000b
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'IETF/Factory Default Password Enabled' 0x000000/0x0000000c
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'ITA-HSR/Device ID' 0x00902a/0x00000008
</pre>
This is the OS information contained in the PA-TNC attributes
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: operating system name is 'Ubuntu' from vendor Canonical
Jun 22 12:34:57 koala charon-systemd[12088]: operating system version is '16.04 x86_64'
Jun 22 12:34:57 koala charon-systemd[12088]: operating system numeric version is 16.4
Jun 22 12:34:57 koala charon-systemd[12088]: operational status: operational, result: successful
Jun 22 12:34:57 koala charon-systemd[12088]: last boot: Jun 19 14:18:35 UTC 2017
Jun 22 12:34:57 koala charon-systemd[12088]: IPv4 forwarding is enabled
Jun 22 12:34:57 koala charon-systemd[12088]: factory default password is disabled
Jun 22 12:34:57 koala charon-systemd[12088]: device ID is 5d95021396d2415e5c53ca2dea6fbc1c2387c56a
</pre>
The second PA-TNC message is of type *IETF / Software* and contains a PA-TNC segmentation contract request
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2
Jun 22 12:34:57 koala charon-systemd[12088]: => 28 bytes @ 0x7ff810005860
0: 01 00 00 00 19 74 B7 4E 00 00 55 97 00 00 00 21 .....t.N..U....!
16: 00 00 00 14 00 98 96 80 00 01 FF B8 ............
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC message with ID 0x1974b74e
Jun 22 12:34:57 koala charon-systemd[12088]: processing PA-TNC attribute type 'TCG/Max Attribute Size Request' 0x005597/0x00000021
</pre>
This is the decoded segmentation contract request
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 received a segmentation contract request from IMC 2 for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC message with ID 0xa41e0787
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'TCG/Max Attribute Size Response' 0x005597/0x00000022
Jun 22 12:34:57 koala charon-systemd[12088]: created PA-TNC message: => 28 bytes @ 0x7ff810000a00
0: 01 00 00 00 A4 1E 07 87 00 00 55 97 00 00 00 22 ..........U...."
16: 00 00 00 14 00 98 96 80 00 01 FF B8 ............
Jun 22 12:34:57 koala charon-systemd[12088]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
</pre>
The OS IMV also sends a segmentation contract request for PA message type *IETF / Operating System*
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 requests a segmentation contract for PA message type 'IETF/Operating System' 0x000000/0x00000001
maximum attribute size of 100000000 bytes with maximum segment size of 131000 bytes
</pre>
The strongTNC policy manager assigns a session ID and issues a single SWIDT workitem
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: assigned session ID 2 to Connection ID 1
Jun 22 12:34:57 koala charon-systemd[12088]: running policy script: 2>&1 ipsec imv_policy_manager start 2
Jun 22 12:34:57 koala charon-systemd[12088]: policy: imv_policy_manager start successful
Jun 22 12:34:57 koala charon-systemd[12088]: SWIDT workitem 9
</pre>
The OS IMV has not been assigned received any work items by from the policy manager and therefore terminates gracefully
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 has no workitems - no evaluation requested
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC message with ID 0x916d188f
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'IETF/Assessment Result' 0x000000/0x00000009
Jun 22 12:34:57 koala charon-systemd[12088]: creating PA-TNC attribute type 'IETF/Remediation Instructions' 0x000000/0x0000000a
Jun 22 12:34:57 koala charon-systemd[12088]: created PA-TNC message: => 117 bytes @ 0x7ff810004f20
0: 01 00 00 00 91 6D 18 8F 00 00 00 00 00 00 00 09 .....m..........
16: 00 00 00 10 00 00 00 04 00 00 00 00 00 00 00 0A ................
32: 00 00 00 5D 00 00 00 00 00 00 00 02 00 00 00 42 ...]...........B
48: 49 50 20 50 61 63 6B 65 74 20 46 6F 72 77 61 72 IP Packet Forwar
64: 64 69 6E 67 0A 20 20 50 6C 65 61 73 65 20 64 69 ding. Please di
80: 73 61 62 6C 65 20 74 68 65 20 66 6F 72 77 61 72 sable the forwar
96: 64 69 6E 67 20 6F 66 20 49 50 20 70 61 63 6B 65 ding of IP packe
112: 74 73 02 65 6E ts.en
Jun 22 12:34:57 koala charon-systemd[12088]: creating PB-PA message type 'IETF/Operating System' 0x000000/0x00000001
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 1 provides recommendation 'allow' and evaluation 'don't know'
</pre>
The SWIMA IMV sends a segmentation contract request for PA message type *IETF / Software* as well
<pre>
Jun 22 12:34:57 koala charon-systemd[12088]: IMV 2 requests a segmentation contract for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
h2. Sending IETF SW Request Attribute
The SWIMA IMV is responsible for the SWIDT workitem and issues an *IETF / SW Request* attribute
<pre>
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 handles SWIDT workitem 9 251
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 issues sw request 9 251
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC message with ID 0xeaeacdc3 0x6c940091
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC attribute type 'TCG/Max Attribute Size Request' 0x005597/0x00000021
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PA-TNC attribute type 'IETF/SW Request' 0x000000/0x00000011
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: created PA-TNC message: => 52 bytes @ 0x7ff810005550 0x7f2258027be0
0: 01 00 00 00 EA EA CD C3 6C 94 00 91 00 00 55 97 00 00 00 21 ..........U....! ....l.....U....!
16: 00 00 00 14 00 98 96 80 00 01 FF B8 00 00 00 00 ................
32: 00 00 00 11 00 00 00 18 20 00 00 00 00 00 00 09 FB ........ .......
48: 00 00 00 00 ....
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
</pre>
The first Server DATA batch is sent to the TNC Client
<pre>
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: TNC server is handling outbound connection
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: adding IETF/PB-PA message
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: sending PB-TNC SDATA batch (277 bytes) for Connection ID 1
Jun 22 12:34:57 13 14:47:14 koala charon-systemd[12088]: charon-systemd[27680]: sending PT-TLS message #2 of type 'PB-TNC Batch' (293 bytes)
</pre>
h2. Receiving IETF SW Identity Inventory Attribute
A Client DATA batch has been received
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received PT-TLS message #2 of type 'PB-TNC Batch' (131072 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received TNCCS batch (131056 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: TNC server is handling inbound connection
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing IETF/PB-PA message (131048 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: => 131024 bytes @ 0x7ff820090960 0x7f225008ca00
0: 01 00 00 00 AC 4D 42 7A DC 50 E6 C6 00 00 55 97 00 00 00 22 .....MBz..U...." .....P....U...."
16: 00 00 00 14 00 98 96 80 00 01 FF B8 00 00 55 97 ..............U.
32: 00 00 00 23 00 01 FF B4 C0 00 00 01 00 00 00 00 ...#............
48: 00 00 00 12 00 02 88 84 7F B7 00 00 08 01 07 FF 00 00 00 09 FB ................
64: 3B 8A 77 A3 11 22 33 44 00 00 00 A1 01 00 00 0A CF 00 00 00 00 00 01 ;.w............. ."3D............
80: 01 00 00 52 51 73 74 72 6F 6E 67 73 77 61 6E 2E 6F ...Rstrongswan.o ...Qstrongswan.o
96: 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D rg__Ubuntu_16.04 rg_Ubuntu_16.04-
112: 2D 78 38 36 5F 36 34 2D 61 31 31 79 2D 70 72 6F 66 -x86_64-a11y-pro x86_64-a11y-prof
128: 66 69 6C 65 2D 6D 61 6E 61 67 65 72 2D 69 6E 64 69 file-manager-ind ile-manager-indi
144: 69 63 61 74 6F 72 2D 30 2E 31 2E 31 30 2D 30 75 62 icator-0.1.10-0u cator-0.1.10-0ub
160: 62 75 6E 74 75 33 00 00 00 00 0A D0 00 00 00 00 00 01 01 buntu3.......... untu3...........
176: 01 00 00 58 57 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 ...Xstrongswan.o ..Wstrongswan.or
192: 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 rg__Ubuntu_16.04 g_Ubuntu_16.04-x
208: 2D 78 38 36 5F 36 34 2D 61 63 63 6F 75 6E 74 2D 70 6C -x86_64-account- 86_64-account-pl
224: 70 6C 75 67 69 6E 2D 66 61 63 65 62 6F 6F 6B 2D 30 2E plugin-facebook- ugin-facebook-0.
240: 30 2E 31 32 7E 31 36 2E 30 34 2E 32 30 31 36 30 31 32 0.12~16.04.20160 12~16.04.2016012
256: 31 32 36 2D 30 75 62 75 6E 74 75 31 00 00 00 00 00 00 126-0ubuntu1.... 6-0ubuntu1......
272: 0A D1 00 00 00 01 01 00 00 56 55 73 74 72 6F 6E 67 73 77 .........Vstrong .......Ustrongsw
288: 73 77 61 6E 2E 6F 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 swan.org__Ubuntu an.org_Ubuntu_16
304: 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 61 63 63 6F 75 _16.04-x86_64-ac .04-x86_64-accou
320: 63 6F 75 6E 74 2D 70 6C 75 67 69 6E 2D 66 6C 69 63 6B 72 count-plugin-fli nt-plugin-flickr
336: 63 6B 72 2D 30 2E 31 32 7E 31 36 2E 30 34 2E 32 30 31 36 ckr-0.12~16.04.2 -0.12~16.04.2016
352: 30 31 36 30 31 32 36 2D 30 75 62 75 6E 74 75 31 00 00 00 0160126-0ubuntu1 0126-0ubuntu1...
368: 00 00 00 00 0A D2 00 00 00 01 01 00 00 56 55 73 74 72 6F 6E .............Vst ..........Ustron
384: 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 5F 55 62 rongswan.org__Ub
400: 75 6E 74 75 gswan.org_Ubuntu
400: 5F 31 36 2E 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
416: 34 2D 61 63 _16.04-x86_64-ac
416: 63 6F 75 6E 74 2D 70 6C 75 67 69 6E 4-account-plugin
432: 2D 67 6F 6F count-plugin-goo
432: 67 6C 65 2D 30 2E 31 32 7E 31 36 2E -google-0.12~16.
448: 30 34 2E 32 gle-0.12~16.04.2
448: 30 31 36 30 31 32 36 2D 30 75 62 75 04.20160126-0ubu
464: 6E 74 75 31 00 00 00 00 06 2E 00 00 00 01 01 00 ntu1............ 0160126-0ubuntu1
...
130656: 00 00 00 01 01 00 00 4A 40 73 74 72 6F 6E 67 73 77 .......Jstrongsw .......@strongsw
130672: 61 6E 2E 6F 72 67 5F 5F 55 62 75 6E 74 75 5F 31 36 an.org__Ubuntu_1 an.org_Ubuntu_16
130688: 36 2E 30 34 2D 78 38 36 5F 36 34 2D 70 72 69 6E 79 74 68 6F 6.04-x86_64-prin .04-x86_64-pytho
130704: 74 65 72 6E 2D 64 70 6B 67 2D 72 69 76 65 73 6F 75 72 63 65 73 2D 68 70 63 75 70 ter-driver-hpcup n-pkg-resources-
130720: 73 2D 33 32 30 2E 31 36 37 2E 33 7E 72 65 70 61 63 6B 30 s-3.16.3~repack0
130736: 2D 31 00 00 00 00 0E D8 00 00 00 00 20.7.0-1........
130736: 00 01 01 00 00 43 -1.............C
130752: 3D 73 74 72 6F 6E 67 73 77 61 6E .....=strongswan
130752: 2E 6F 72 67 5F 5F strongswan.org__
130768: 55 62 75 6E 74 75 5F 31 36 2E 30 .org_Ubuntu_16.0
130768: 34 2D 78 38 36 Ubuntu_16.04-x86
130784: 5F 36 34 2D 70 72 69 79 74 68 6F 6E 74 65 72 2D 64 72 69 76 _64-printer-driv 4-x86_64-python-
130800: 130784: 73 65 72 74 75 70 74 6F 6F 6C 73 2D 6D 69 6E 31 32 78 78 77 2D 30 2E 30 37 2E er-min12xxw-0.0. setuptools-20.7.
130816: 39 130800: 30 2D 39 31 00 00 00 00 0E D9 00 00 00 00 00 01 01 00 00 9-9............. 0-1.............
130832: 4F 130816: 38 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Ostrongswan.org_ 8strongswan.org_
130848: 5F 130832: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 _Ubuntu_16.04-x8 Ubuntu_16.04-x86
130864: 36 130848: 5F 36 34 2D 70 72 69 79 74 68 6F 6E 2D 74 65 72 2D 64 72 69 61 6C 6C 6F 6_64-printer-dri _64-python-tallo
130880: 76 65 72 130864: 63 2D 70 6E 6D 32 70 70 61 2D 2E 31 2E 31 33 ver-pnm2ppa-1.13
130896: 7E 6E 6F 6E 64 62 73 35 2D 30 75 62 75 6E 74 75 35 ~nondbs-0ubuntu5
130912: 32 00 00 00 00 0E DA 00 00 00 c-2.1.5-2.......
130880: 00 00 01 01 00 00 51 38 73 74 .............Qst
130928: 72 6F 6E 67 73 77 61 ......8strongswa
130896: 6E 2E 6F 72 67 5F 5F 55 62 rongswan.org__Ub
130944: 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
130912: 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
130960: 34 2D 70 72 69 79 74 68 6F 6E 74 65 72 2D 64 72 69 76 65 72 4-printer-driver 04-x86_64-python
130976: 130928: 2D 70 6F 73 74 73 63 72 69 70 74 2D 77 68 70 65 65 6C 2D 33 -postscript-hp-3
130992: 30 2E 31 36 32 39 2E 33 7E 72 65 70 61 63 6B 30 2D 31 00 .16.3~repack0-1. -wheel-0.29.0-1.
131008: 130944: 00 00 00 0E DB 00 00 00 00 00 01 01 00 00 3F 44 73 74 72 ............?str ............Dstr
130960: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
130976: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
130992: 70 79 74 68 6F 6E 32 2E 37 2D 32 2E 37 2E 31 32 python2.7-2.7.12
131008: 2D 31 75 62 75 6E 74 75 30 7E 31 36 2E 30 34 2E -1ubuntu0~16.04.
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC message with ID 0xac4d427a 0xdc50e6c6
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Max Attribute Size Response' 0x005597/0x00000022
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Attribute Segment Envelope' 0x005597/0x00000023
</pre>
The SWIMA IMC accepted the segmentation contract
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: IMV 2 received a segmentation contract response from IMC 2 for PA message type 'IETF/Software' 0x000000/0x00000009
maximum attribute size of 10000000 bytes with maximum segment size of 131000 bytes
</pre>
The first 128k segment of the *IETF / Software Identifier Inventory* attribute has been received
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received first segment for base attribute ID 1 (130980 bytes)
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: processing PA-TNC attribute type 'IETF/SW Identifier Inventory' 0x000000/0x00000012
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: 3 charon-systemd[27680]: 67 bytes insufficient to parse 63 68 bytes of data
</pre>
1646 complete software identifiers including their record ID were received in the first segment
<pre>
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: received software identity inventory with 1625 1646 items for request 9 251 at eid 161 1 of epoch 0x3b8a77a3, 424 0x11223344, 401 items to follow
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2767: strongswan.org__Ubuntu_16.04-x86_64-a11y-profile-manager-indicator-0.1.10-0ubuntu3 strongswan.org_Ubuntu_16.04-x86_64-a11y-profile-manager-indicator-0.1.10-0ubuntu3
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2768: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-facebook-0.12~16.04.20160126-0ubuntu1 strongswan.org_Ubuntu_16.04-x86_64-account-plugin-facebook-0.12~16.04.20160126-0ubuntu1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2769: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-flickr-0.12~16.04.20160126-0ubuntu1 strongswan.org_Ubuntu_16.04-x86_64-account-plugin-flickr-0.12~16.04.20160126-0ubuntu1
Jun 22 12:34:57 13 14:47:15 koala charon-systemd[12088]: charon-systemd[27680]: 2770: strongswan.org__Ubuntu_16.04-x86_64-account-plugin-google-0.12~16.04.20160126-0ubuntu1
strongswan.org_Ubuntu_16.04-x86_64-account-plugin-google-0.12~16.04.20160126-0ubuntu1
...
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3799: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-hpcups-3.16.3~repack0-1 strongswan.org_Ubuntu_16.04-x86_64-python-pkg-resources-20.7.0-1
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3800: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-min12xxw-0.0.9-9 strongswan.org_Ubuntu_16.04-x86_64-python-setuptools-20.7.0-1
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3801: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-pnm2ppa-1.13~nondbs-0ubuntu5 strongswan.org_Ubuntu_16.04-x86_64-python-talloc-2.1.5-2
Jun 22 12:34:57 13 14:47:16 koala charon-systemd[12088]: charon-systemd[27680]: 3802: strongswan.org__Ubuntu_16.04-x86_64-printer-driver-postscript-hp-3.16.3~repack0-1 strongswan.org_Ubuntu_16.04-x86_64-python-wheel-0.29.0-1
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC message with ID 0xeb46af13
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC attribute type 'TCG/Next Segment Request' 0x005597/0x00000024
Jun 13 14:47:16 koala charon-systemd[27680]: created PA-TNC message: => 24 bytes @ 0x7f2250158500
0: 01 00 00 00 EB 46 AF 13 00 00 55 97 00 00 00 24 .....F....U....$
16: 00 00 00 10 00 00 00 01 ........
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling outbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 13 14:47:16 koala charon-systemd[27680]: adding IETF/PB-PA message
Jun 13 14:47:16 koala charon-systemd[27680]: sending PB-TNC SDATA batch (56 bytes) for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: sending PT-TLS message #3 of type 'PB-TNC Batch' (72 bytes)
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: received PT-TLS message #3 of type 'PB-TNC Batch' (32859 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: received TNCCS batch (32843 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling inbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 13 14:47:16 koala charon-systemd[27680]: processing IETF/PB-PA message (32835 bytes)
Jun 13 14:47:16 koala charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 13 14:47:16 koala charon-systemd[27680]: => 32811 bytes @ 0x7f2270027540
0: 01 00 00 00 B7 BA 96 5B 00 00 55 97 00 00 00 23 .......[..U....#
16: 00 00 80 23 00 00 00 01 31 00 00 00 00 00 00 00 ...#....1.......
32: 00 00 01 01 00 00 48 73 74 72 6F 6E 67 73 77 61 ......Hstrongswa
48: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
64: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
80: 32 2E 37 2D 64 65 76 2D 32 2E 37 2E 31 32 2D 31 2.7-dev-2.7.12-1
96: 75 62 75 6E 74 75 30 7E 31 36 2E 30 34 2E 31 00 ubuntu0~16.04.1.
112: 00 00 00 00 00 00 00 00 01 01 00 00 4C 73 74 72 ............Lstr
128: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
144: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
160: 70 79 74 68 6F 6E 32 2E 37 2D 6D 69 6E 69 6D 61 python2.7-minima
176: 6C 2D 32 2E 37 2E 31 32 2D 31 75 62 75 6E 74 75 l-2.7.12-1ubuntu
192: 30 7E 31 36 2E 30 34 2E 31 00 00 00 00 00 00 00 0~16.04.1.......
208: 00 00 01 01 00 00 32 73 74 72 6F 6E 67 73 77 61 ......2strongswa
224: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
240: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
256: 33 2D 33 2E 35 2E 31 2D 33 00 00 00 00 00 00 00 3-3.5.1-3.......
272: 00 00 01 01 00 00 43 73 74 72 6F 6E 67 73 77 61 ......Cstrongswa
288: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
304: 30 34 2D 78 38 36 5F 36 34 2D 70 79 74 68 6F 6E 04-x86_64-python
320: 33 2D 61 70 70 6F 72 74 2D 32 2E 32 30 2E 31 2D 3-apport-2.20.1-
336: 30 75 62 75 6E 74 75 32 2E 36 00 00 00 00 00 00 0ubuntu2.6......
...
32448: 00 00 00 01 01 00 00 42 73 74 72 6F 6E 67 73 77 .......Bstrongsw
32464: 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 an.org_Ubuntu_16
32480: 2E 30 34 2D 78 38 36 5F 36 34 2D 7A 65 6E 69 74 .04-x86_64-zenit
32496: 79 2D 63 6F 6D 6D 6F 6E 2D 33 2E 31 38 2E 31 2E y-common-3.18.1.
32512: 31 2D 31 75 62 75 6E 74 75 32 00 00 00 00 00 00 1-1ubuntu2......
32528: 00 00 00 01 01 00 00 2D 73 74 72 6F 6E 67 73 77 .......-strongsw
32544: 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 an.org_Ubuntu_16
32560: 2E 30 34 2D 78 38 36 5F 36 34 2D 7A 69 70 2D 33 .04-x86_64-zip-3
32576: 2E 30 2D 31 31 00 00 00 00 00 00 00 00 00 01 01 .0-11...........
32592: 00 00 41 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 ..Astrongswan.or
32608: 67 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 g_Ubuntu_16.04-x
32624: 38 36 5F 36 34 2D 7A 6C 69 62 31 67 2D 31 7E 31 86_64-zlib1g-1~1
32640: 2E 32 2E 38 2E 64 66 73 67 2D 32 75 62 75 6E 74 .2.8.dfsg-2ubunt
32656: 75 34 2E 31 00 00 00 00 00 00 00 00 00 01 01 00 u4.1............
32672: 00 45 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 .Estrongswan.org
32688: 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 _Ubuntu_16.04-x8
32704: 36 5F 36 34 2D 7A 6C 69 62 31 67 2D 64 65 76 2D 6_64-zlib1g-dev-
32720: 31 7E 31 2E 32 2E 38 2E 64 66 73 67 2D 32 75 62 1~1.2.8.dfsg-2ub
32736: 75 6E 74 75 34 2E 31 00 00 00 00 00 00 00 00 00 untu4.1.........
32752: 01 02 00 00 1F 73 74 72 6F 6E 67 73 77 61 6E 2E .....strongswan.
32768: 6F 72 67 5F 73 74 72 6F 6E 67 53 77 61 6E 2D 35 org_strongSwan-5
32784: 2D 35 2D 33 00 15 2F 75 73 72 2F 73 68 61 72 65 -5-3../usr/share
32800: 2F 73 74 72 6F 6E 67 73 77 61 6E /strongswan
Jun 13 14:47:16 koala charon-systemd[27680]: processing PA-TNC message with ID 0xb7ba965b
Jun 13 14:47:16 koala charon-systemd[27680]: processing PA-TNC attribute type 'TCG/Attribute Segment Envelope' 0x005597/0x00000023
Jun 13 14:47:16 koala charon-systemd[27680]: received last segment for base attribute ID 1 (32787 bytes)
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: received software identity inventory with 401 items for request 251 at eid 1 of epoch 0x11223344, 0 items to follow
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-dev-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python2.7-minimal-2.7.12-1ubuntu0~16.04.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python3-3.5.1-3
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-python3-apport-2.20.1-0ubuntu2.6
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zenity-common-3.18.1.1-1ubuntu2
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zip-3.0-11
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zlib1g-1~1.2.8.dfsg-2ubuntu4.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-zlib1g-dev-1~1.2.8.dfsg-2ubuntu4.1
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_strongSwan-5-5-3
</pre>
h2. Sending IETF [Targeted] SW Request Attribute
<pre>
un 13 14:47:16 koala charon-systemd[27680]: 12 SWID tag targets
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5core5a-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5dbus5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5gui5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5network5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5opengl5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5printsupport5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5sql5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5sql5-sqlite-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5test5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5widgets5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_Ubuntu_16.04-x86_64-libqt5xml5-5.5.1~dfsg-16ubuntu7.5
Jun 13 14:47:16 koala charon-systemd[27680]: strongswan.org_strongSwan-5-5-3
</pre>
<pre>
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC message with ID 0x5f558479
Jun 13 14:47:16 koala charon-systemd[27680]: creating PA-TNC attribute type 'IETF/SW Request' 0x000000/0x00000011
Jun 13 14:47:16 koala charon-systemd[27680]: created PA-TNC message: => 866 bytes @ 0x7f2270179190
0: 01 00 00 00 5F 55 84 79 00 00 00 00 00 00 00 11 ...._U.y........
16: 00 00 03 5A 00 00 00 0C 00 00 00 FB 00 00 00 00 ...Z............
32: 00 46 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 .Fstrongswan.org
48: 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 _Ubuntu_16.04-x8
64: 36 5F 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 6_64-libqt5core5
80: 61 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 a-5.5.1~dfsg-16u
96: 62 75 6E 74 75 37 2E 35 00 45 73 74 72 6F 6E 67 buntu7.5.Estrong
112: 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F swan.org_Ubuntu_
128: 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 16.04-x86_64-lib
144: 71 74 35 64 62 75 73 35 2D 35 2E 35 2E 31 7E 64 qt5dbus5-5.5.1~d
160: 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 fsg-16ubuntu7.5.
176: 44 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Dstrongswan.org_
192: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 Ubuntu_16.04-x86
208: 5F 36 34 2D 6C 69 62 71 74 35 67 75 69 35 2D 35 _64-libqt5gui5-5
224: 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 6E .5.1~dfsg-16ubun
240: 74 75 37 2E 35 00 48 73 74 72 6F 6E 67 73 77 61 tu7.5.Hstrongswa
256: 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 36 2E n.org_Ubuntu_16.
272: 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 71 74 35 04-x86_64-libqt5
288: 6E 65 74 77 6F 72 6B 35 2D 35 2E 35 2E 31 7E 64 network5-5.5.1~d
304: 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 fsg-16ubuntu7.5.
320: 47 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F Gstrongswan.org_
336: 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 Ubuntu_16.04-x86
352: 5F 36 34 2D 6C 69 62 71 74 35 6F 70 65 6E 67 6C _64-libqt5opengl
368: 35 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 5-5.5.1~dfsg-16u
384: 62 75 6E 74 75 37 2E 35 00 4D 73 74 72 6F 6E 67 buntu7.5.Mstrong
400: 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F swan.org_Ubuntu_
416: 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 16.04-x86_64-lib
432: 71 74 35 70 72 69 6E 74 73 75 70 70 6F 72 74 35 qt5printsupport5
448: 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 -5.5.1~dfsg-16ub
464: 75 6E 74 75 37 2E 35 00 44 73 74 72 6F 6E 67 73 untu7.5.Dstrongs
480: 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 75 5F 31 wan.org_Ubuntu_1
496: 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C 69 62 71 6.04-x86_64-libq
512: 74 35 73 71 6C 35 2D 35 2E 35 2E 31 7E 64 66 73 t5sql5-5.5.1~dfs
528: 67 2D 31 36 75 62 75 6E 74 75 37 2E 35 00 4B 73 g-16ubuntu7.5.Ks
544: 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 trongswan.org_Ub
560: 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 untu_16.04-x86_6
576: 34 2D 6C 69 62 71 74 35 73 71 6C 35 2D 73 71 6C 4-libqt5sql5-sql
592: 69 74 65 2D 35 2E 35 2E 31 7E 64 66 73 67 2D 31 ite-5.5.1~dfsg-1
608: 36 75 62 75 6E 74 75 37 2E 35 00 45 73 74 72 6F 6ubuntu7.5.Estro
624: 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E 74 ngswan.org_Ubunt
640: 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D 6C u_16.04-x86_64-l
656: 69 62 71 74 35 74 65 73 74 35 2D 35 2E 35 2E 31 ibqt5test5-5.5.1
672: 7E 64 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E ~dfsg-16ubuntu7.
688: 35 00 48 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 5.Hstrongswan.or
704: 67 5F 55 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 g_Ubuntu_16.04-x
720: 38 36 5F 36 34 2D 6C 69 62 71 74 35 77 69 64 67 86_64-libqt5widg
736: 65 74 73 35 2D 35 2E 35 2E 31 7E 64 66 73 67 2D ets5-5.5.1~dfsg-
752: 31 36 75 62 75 6E 74 75 37 2E 35 00 44 73 74 72 16ubuntu7.5.Dstr
768: 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 62 75 6E ongswan.org_Ubun
784: 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F 36 34 2D tu_16.04-x86_64-
800: 6C 69 62 71 74 35 78 6D 6C 35 2D 35 2E 35 2E 31 libqt5xml5-5.5.1
816: 7E 64 66 73 67 2D 31 36 75 62 75 6E 74 75 37 2E ~dfsg-16ubuntu7.
832: 35 00 1F 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 5..strongswan.or
848: 67 5F 73 74 72 6F 6E 67 53 77 61 6E 2D 35 2D 35 g_strongSwan-5-5
864: 2D 33 -3
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:16 koala charon-systemd[27680]: TNC server is handling outbound connection
Jun 13 14:47:16 koala charon-systemd[27680]: PB-TNC state transition from 'Server Working' to 'Client Working'
Jun 13 14:47:16 koala charon-systemd[27680]: creating PB-TNC SDATA batch
Jun 13 14:47:16 koala charon-systemd[27680]: adding IETF/PB-PA message
Jun 13 14:47:16 koala charon-systemd[27680]: sending PB-TNC SDATA batch (898 bytes) for Connection ID 1
Jun 13 14:47:16 koala charon-systemd[27680]: sending PT-TLS message #4 of type 'PB-TNC Batch' (914 bytes)
</pre>
h2. Receiving IETF SW Inventory Attribute
<pre>
Jun 13 14:47:18 koala charon-systemd[27680]: received PT-TLS message #4 of type 'PB-TNC Batch' (6892 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: received TNCCS batch (6876 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: TNC server is handling inbound connection
Jun 13 14:47:18 koala charon-systemd[27680]: processing PB-TNC CDATA batch for Connection ID 1
Jun 13 14:47:18 koala charon-systemd[27680]: PB-TNC state transition from 'Client Working' to 'Server Working'
Jun 13 14:47:18 koala charon-systemd[27680]: processing IETF/PB-PA message (6868 bytes)
Jun 13 14:47:18 koala charon-systemd[27680]: handling PB-PA message type 'IETF/Software' 0x000000/0x00000009
Jun 13 14:47:18 koala charon-systemd[27680]: IMV 2 "SWIMA" received message for Connection ID 1 from IMC 2 to IMV 2
Jun 13 14:47:18 koala charon-systemd[27680]: => 6844 bytes @ 0x7f226800cde0
0: 01 00 00 00 6D 84 09 75 00 00 00 00 00 00 00 14 ....m..u........
16: 00 00 1A B4 00 00 00 0C 00 00 00 FB 11 22 33 44 ............."3D
32: 00 00 00 01 00 00 00 00 00 00 00 01 01 00 00 46 ...............F
48: 73 74 72 6F 6E 67 73 77 61 6E 2E 6F 72 67 5F 55 strongswan.org_U
64: 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F buntu_16.04-x86_
80: 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 61 2D 64-libqt5core5a-
96: 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 5.5.1~dfsg-16ubu
112: 6E 74 75 37 2E 35 00 00 00 00 01 EA 3C 3F 78 6D ntu7.5......<?xm
128: 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 l version="1.0"
144: 65 6E 63 6F 64 69 6E 67 3D 22 75 74 66 2D 38 22 encoding="utf-8"
160: 3F 3E 3C 53 6F 66 74 77 61 72 65 49 64 65 6E 74 ?><SoftwareIdent
176: 69 74 79 20 6E 61 6D 65 3D 22 6C 69 62 71 74 35 ity name="libqt5
192: 63 6F 72 65 35 61 22 20 74 61 67 49 64 3D 22 55 core5a" tagId="U
208: 62 75 6E 74 75 5F 31 36 2E 30 34 2D 78 38 36 5F buntu_16.04-x86_
224: 36 34 2D 6C 69 62 71 74 35 63 6F 72 65 35 61 2D 64-libqt5core5a-
240: 35 2E 35 2E 31 7E 64 66 73 67 2D 31 36 75 62 75 5.5.1~dfsg-16ubu
256: 6E 74 75 37 2E 35 22 20 76 65 72 73 69 6F 6E 3D ntu7.5" version=
272: 22 35 2E 35 2E 31 2B 64 66 73 67 2D 31 36 75 62 "5.5.1+dfsg-16ub
288: 75 6E 74 75 37 2E 35 22 20 76 65 72 73 69 6F 6E untu7.5" version
304: 53 63 68 65 6D 65 3D 22 61 6C 70 68 61 6E 75 6D Scheme="alphanum
320: 65 72 69 63 22 20 78 6D 6C 6E 73 3D 22 68 74 74 eric" xmlns="htt
336: 70 3A 2F 2F 73 74 61 6E 64 61 72 64 73 2E 69 73 p://standards.is
352: 6F 2E 6F 72 67 2F 69 73 6F 2F 31 39 37 37 30 2F o.org/iso/19770/
368: 2D 32 2F 32 30 31 35 2F 73 63 68 65 6D 61 2E 78 -2/2015/schema.x
384: 73 64 22 20 78 6D 6C 6E 73 3A 6E 38 30 36 30 3D sd" xmlns:n8060=
400: 22 68 74 74 70 3A 2F 2F 63 73 72 63 2E 6E 69 73 "http://csrc.nis
416: 74 2E 67 6F 76 2F 73 63 68 65 6D 61 2F 73 77 69 t.gov/schema/swi
432: 64 2F 32 30 31 35 2D 65 78 74 65 6E 73 69 6F 6E d/2015-extension
448: 73 2F 73 77 69 64 2D 32 30 31 35 2D 65 78 74 65 s/swid-2015-exte
464: 6E 73 69 6F 6E 73 2D 31 2E 30 2E 78 73 64 22 3E nsions-1.0.xsd">
480: 3C 45 6E 74 69 74 79 20 6E 61 6D 65 3D 22 73 74 <Entity name="st
496: 72 6F 6E 67 53 77 61 6E 20 50 [ Incomplete diff, document too large... ]