Age | Commit message (Collapse) | Author |
|
|
|
* changes:
Implement KEY ID type of IKE Identification
Implement RFC 822 Address Identification
Refactor IkeIdentification
|
|
|
|
* changes:
Implement Config Attribute for DHCPv4 server
Add interfaces for requesting DNS server and subnet
Refactor IkeConfigPayload
|
|
This commit:
- Creates a new class that represents KEY ID
- Supports decoding ID payload using KEY ID
- Adds tests to verify decoding and encoding
Bug: 142139930
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: I35c9c6509fd82df75ced7f5382d0a7ff6a90266a
|
|
|
|
This commit:
- Creates IkeSessionConfiguration interface
- Passes IkeSessionConfiguration to IkeSessionCallback
Bug: 140644755
Test: atest FramworksIkeTests(all passed)
Change-Id: Id31a9e01f608c1408bb9cae2c1b0b5bae4e42dc5
|
|
This class:
- Creates a new class that represents RFC822 address IKE
Identification
- Supports decoding ID payload with this ID type
- Adds tests for decoding and encoding
Bug: 142139930
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: Ied38696ae658a998383f8321e1fba22ecadf3a4c
|
|
This commit moves all subclasses of IkeIdentification to separate
files.
Bug: 142139930
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: Ic89a432df601f851345371c8dda4df6ebd24addf
|
|
* changes:
Fix bug in IKE fragment authentication
Decrypt IKE message with AEAD
Support AEAD decryption and encryption
|
|
|
|
Bug: 140644912
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I63d76d2863382d3b992092cb7cae90fab8066f2e
|
|
This commit allows users to add requests for DNS server
and internal subnet when negotiating tunnel mode Child Session.
Bug: 140644654
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: I02ac09c7958c90d1f0c9d6d4c6a692aa5bb9c3c1
|
|
This commit:
- Adds support for constructing an DNS attribute with specific
DNS server address
- Removes constructors that construct IPv4 and IPv6 subnet
attribute with specific address and related tests
- Makes construtors for inbound config attributes package private
Bug: 140644912
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I7da5e6c5747b3da32eeda51e00f3010931c044f6
|
|
Bug: 122676270
Test: atest FrameworksIkeTests(new tests added)
Change-Id: Ic2d97c36bf261d5dd7eff3e2088d027649ea38c3
|
|
This commit fixes the bug in generating checksum of an outbound
IKE fragment, which is caused by omitting the fragment header.
Bug: 142504816
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I285f1590bdb5ea371f382ce2a310c426c8c6aadc
|
|
Bug: 122676270
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I3e3106644fe178e6f6be88631d6fc267dd4228f5
|
|
Bug: 122676479
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I149c69e2eb139b3ca3be063f81ad47ec68735332
|
|
This commit adds support to request internal address and return
the address to users through callback
Bug: 140644912
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I116519381c3fb06bc513546bb3bba704f643f508
|
|
This commit makes IkeCipher abstract and create IkeNormalModeCipher
and IkeCombinedModeCipher that represents different modes encryption
algorithms
Bug: 122676479
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: I64d1836898ec4f2b04fe24e130d8ff41d8f7c119
|
|
Bug: 122685769
Test: atest FrameworksIkeTests(new tests passed)
Change-Id: Icadb710f4728d86515413f47b5f9367661a691c3
|
|
* changes:
Decode and validate configure payload
Create ChildSessionConfiguration
|
|
* changes:
Authenticate remote side using digital signature
Validate received digital signature
Validate received certificates
|
|
Bug: 140644755
Test: atest FramworksIkeTests(new tests added)
Change-Id: I410191180ea009a0e0bd07d839614e20102af61d
|
|
Bug: 140644654
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I650b5add045a56888f6e49c3e94efb63e356c3f9
|
|
Bug: 140644654
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I124575be73dc73381fe38c72beceb3176777807c
|
|
This commit creates separate classes for transport and tunnel
mode ChildSessionOptions and make ChildSessionOptions abstract
Bug: 140644654
Test: atest FrameworksIkeTests(all tests passed)
Change-Id: I6822568301be5dbc91f138cf242d264a200461ba
|
|
Make SaProposal abstract and create subclasses IkeSaProposal and
ChildProposal for IKE and Child negotiation separately.
Bug: 142139930
Test: atest FrameworksIkeTests(all passed)
Change-Id: I3bb7ad679228ff6f88e42b18a80ecc9db0576e3e
|
|
Bug: 124233517
Test: atest FrameworksIkeTests(new tests passed)
Change-Id: Icf0f64a69b3349967ccd59ae52ecbdb4dd7b4e58
|
|
Bug: 124233517
Test: atest FrameworksIkeTests(new tests passed)
Change-Id: I149c5d73ffa0562374f009ec2f3e7da2db33f4aa
|
|
Bug: 122685769
Test: atest FrameworksIkeTests(new tests passed)
Change-Id: I7574fdfe6b8581702632bf2df094794f9d51a526
|
|
|
|
|
|
Currently #testConstructFromDifferentThreads is
flaky because the CountDownLatch timeout is only
100ms and is easy to hit. By setting a longer
timeout we can make this test less flaky.
Bug: 141112803
Test: atest FrameworksIkeTests(all passed)
Change-Id: I7a14ea31b2df12949502f059f84c313e93799b8c
|
|
This commit creates testutils folder and move MockIpSecTestUtils
to that folder
Bug: 122685769
Test: atest FrameworksIkeTests(all passed)
Change-Id: I363e170dfdb10364ee7a67fced60bb5b26d21620
|
|
|
|
|
|
|
|
Bug: 140644755
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I3fa49eb79c38eb8e8283e4241c1f4433f35f702e
|
|
Bug: 140644755
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I1f787d7542fc1d8e548c3eb5ad2eca71225758aa
|
|
* changes:
Support IPv4 DNS attribute
Support IPv6 subnet
Support IPv6 address attribute
|
|
This commit caches last sent response and last received request in
IkeSaRecord instead of in state machine. Reason is there might be
more than one IKE SA in the state machine and retransmission is
done based on each SA
Bug: 140429499
Test: atest FrameworksIkeTests(all passed)
Change-Id: I2f32b9b0226e92a47c6be6ad35886648ba2fd267
|
|
These tests were flaky because we tried to verify IKE packet was sent
out exactly once but when time-based retransmission was fired,
additional sending would be done and caused the test to fail. To
fix that we set longer waiting time for triggering retransmission in
tests.
Bug: 141218974
Test: Ran the test for 20 times and all passed
Change-Id: I665fc8643757bc8f05fa512304068058b95d7251
|
|
Bug: 140644755
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I6d6511df1c01f35557e31d2114df060e25d211e3
|
|
Bug: 140644755
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I03e46b6c8c594d690fe2fe721411f12e94f24380
|
|
Bug: 140644755
Test: atest FrameworksIkeTests(new tests added)
Change-Id: I936a6ad74604989cda3e17b3c60269ab01b840bc
|
|
|
|
|
|
* changes:
Log StateMachine command as String
Extract shared commands and exceptionhandlerState
|
|
Bug: 139304905i
Test: atest FrameworksIkeTests
Change-Id: I87e402d89d04a06ac1088888022c5ccec846dfe8
|