| #
61bf830c
|
| 05-Dec-2024 |
Damjan Jovanovic <damjan.jov@gmail.com> |
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from a particular internal address:port leave via the same NAT address:port, regardless of their destination.
Add some libalias tests and supporting defines.
Reviewed by: igoro, thj Differential Revision: https://reviews.freebsd.org/D46689D
show more ...
|
| #
dba02df3
|
| 12-Feb-2022 |
John Baldwin <jhb@FreeBSD.org> |
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the required alignment to 4 and then raising a -Waddress-of-packed-member error when casting to struct udphdr.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D31941
show more ...
|
| #
f1462ab0
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: http
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30412
show more ...
|
| #
7b8696bf
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add missing copyright statements
|
| #
33c1bdfc
|
| 21-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. A
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. Accumulate all tests in a single instance, so make it complicated over the time. If you wait long enough, you will notice the expiry of old flows.
Reviewed by: kp (earlier version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30379
show more ...
|
| #
c1fbb54f
|
| 17-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data structure in order to check for performance improvements.
Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30335
show more ...
|
| #
61bf830c
|
| 05-Dec-2024 |
Damjan Jovanovic <damjan.jov@gmail.com> |
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from a particular internal address:port leave via the same NAT address:port, regardless of their destination.
Add some libalias tests and supporting defines.
Reviewed by: igoro, thj Differential Revision: https://reviews.freebsd.org/D46689D
show more ...
|
| #
dba02df3
|
| 12-Feb-2022 |
John Baldwin <jhb@FreeBSD.org> |
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the required alignment to 4 and then raising a -Waddress-of-packed-member error when casting to struct udphdr.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D31941
show more ...
|
| #
f1462ab0
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: http
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30412
show more ...
|
| #
7b8696bf
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add missing copyright statements
|
| #
33c1bdfc
|
| 21-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. A
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. Accumulate all tests in a single instance, so make it complicated over the time. If you wait long enough, you will notice the expiry of old flows.
Reviewed by: kp (earlier version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30379
show more ...
|
| #
c1fbb54f
|
| 17-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data structure in order to check for performance improvements.
Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30335
show more ...
|
| #
61bf830c
|
| 05-Dec-2024 |
Damjan Jovanovic <damjan.jov@gmail.com> |
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from
libalias: Add support for EIM NAT
Add support for endpoint-independent mapping ("full cone NAT") in Libalias's UDP NAT.
This conforms to RFC 4787 requirements 1 and 3. All UDP packets sent out from a particular internal address:port leave via the same NAT address:port, regardless of their destination.
Add some libalias tests and supporting defines.
Reviewed by: igoro, thj Differential Revision: https://reviews.freebsd.org/D46689D
show more ...
|
| #
dba02df3
|
| 12-Feb-2022 |
John Baldwin <jhb@FreeBSD.org> |
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the
Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the cast from struct ip to a uint32_t pointer confused GCC 9 into raising the required alignment to 4 and then raising a -Waddress-of-packed-member error when casting to struct udphdr.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D31941
show more ...
|
| #
f1462ab0
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: http
tests/libalias: Factor out common primitives
Rework the tests to check the correct layer in a single test. Factor out tests for reuse in other modules.
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30412
show more ...
|
| #
7b8696bf
|
| 24-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add missing copyright statements
|
| #
33c1bdfc
|
| 21-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. A
tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure performance by counting opertions and the runtime of each operation over the time. Accumulate all tests in a single instance, so make it complicated over the time. If you wait long enough, you will notice the expiry of old flows.
Reviewed by: kp (earlier version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30379
show more ...
|
| #
c1fbb54f
|
| 17-May-2021 |
Lutz Donnerhacke <donner@FreeBSD.org> |
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data
test/libalias: Tests for outgoing NAT
Testing LibAliasOut functionality. This concentrates the typical use case of initiating data transfers from the inside. Provide a exhaustive test for the data structure in order to check for performance improvements.
Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30335
show more ...
|