OSDN Git Service
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:30 +0000 (18:57 +0000)]
am
84300120: am
051c2907: Make the test more robust with an unreachable rule
* commit '
843001203ecf95ce403bc5e9154087fe77f404b6':
Make the test more robust with an unreachable rule
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:29 +0000 (18:57 +0000)]
am
c815686a: am
0df6a62a: Make it easier to test IPv4 ping on IPv6 sockets.
* commit '
c815686a2fdbfa5447c57667bd01fd7725d37347':
Make it easier to test IPv4 ping on IPv6 sockets.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:29 +0000 (18:57 +0000)]
am
5b64bbd0: am
d74629e0: Separate the reflect and accept tests.
* commit '
5b64bbd06221ec56e480ffd019342a2cadba211d':
Separate the reflect and accept tests.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:28 +0000 (18:57 +0000)]
am
61aabf56: am
71f0b621: Test raw sockets as well, using GRE packets.
* commit '
61aabf56c0f7b5d6cfadfd889254f146614046cd':
Test raw sockets as well, using GRE packets.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:27 +0000 (18:57 +0000)]
am
ba2b609f: am
82be6b94: Use a DNS query instead of "hello" as UDP payload
* commit '
ba2b609f8ccd9c4df3b839f7305de08d3b0b2b4a':
Use a DNS query instead of "hello" as UDP payload
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:27 +0000 (18:57 +0000)]
am
fee9477e: am
05a6d74c: Apparently setting don\'t fragment is unnecessary.
* commit '
fee9477eaa1054a92650752d8c2ccd726d9fe775':
Apparently setting don't fragment is unnecessary.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:26 +0000 (18:57 +0000)]
am
693f6a33: am
90d3fc65: Simplify putting sockets onto networks.
* commit '
693f6a330a30373f85d6f1e2522a1f52bd87a306':
Simplify putting sockets onto networks.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:25 +0000 (18:57 +0000)]
am
3159dd16: am
186aaaf3: Test IPv4 PMTU as well.
* commit '
3159dd168044bb8c4c723190957dcb5cf3d2e0d5':
Test IPv4 PMTU as well.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:25 +0000 (18:57 +0000)]
am
d05ebb75: am
2595a2ae: Improve iproute attribute decoding documentation.
* commit '
d05ebb7569de035f0cea38a2883fa3dbc454ac89':
Improve iproute attribute decoding documentation.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:24 +0000 (18:57 +0000)]
am
64c739b3: am
cf0ff157: Add outgoing packet tests using IP{,V6}_UNICAST_IF
* commit '
64c739b3b0fce2292dff5ca8356d3c6f80330576':
Add outgoing packet tests using IP{,V6}_UNICAST_IF
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:23 +0000 (18:57 +0000)]
am
92220cd9: am
2a139c9b: Add more checks to the ping code.
* commit '
92220cd9d7cc739510f0899b5bb925cb1deeab07':
Add more checks to the ping code.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:23 +0000 (18:57 +0000)]
am
f287d504: am
df9b9bf5: Test looking up routes with UIDs from userspace.
* commit '
f287d50499ba9e03899cce6b6573405c86fa5c90':
Test looking up routes with UIDs from userspace.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:22 +0000 (18:57 +0000)]
am
76e55c47: am
f3b5413c: Add a test for UID routing configuration.
* commit '
76e55c4758172a55bf941f8fff15275f83705c49':
Add a test for UID routing configuration.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:21 +0000 (18:57 +0000)]
am
2a995b04: am
7a799dc4: Better support for rule attributes.
* commit '
2a995b04efda5e317bf59dc5efac67716215df03':
Better support for rule attributes.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:21 +0000 (18:57 +0000)]
am
3656321f: am
355dbf5f: Clear CROSS_COMPILE when running tests.
* commit '
3656321f91117ed5c9ed863814bac7ca5ddd1f43':
Clear CROSS_COMPILE when running tests.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:20 +0000 (18:57 +0000)]
am
090e1dfd: am
ac57df5a: Fix flowlabel test, now it\'s working in the kernel
* commit '
090e1dfd89b9b05250f40ff86b10124a1a254743':
Fix flowlabel test, now it's working in the kernel
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:19 +0000 (18:57 +0000)]
am
b8a45a1d: am
9e66bfb4: Replace shelling out to ip with netlink code.
* commit '
b8a45a1d7f4330c94e53381b402d4808859f191a':
Replace shelling out to ip with netlink code.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:19 +0000 (18:57 +0000)]
am
89c24b71: am
ec753c46: Check that remarking a socket works as expected.
* commit '
89c24b718b854ccaaf7edd382af2ef98509c6dec':
Check that remarking a socket works as expected.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:18 +0000 (18:57 +0000)]
am
16ad210f: am
b4088c2a: Change from UID routing to UID range routing.
* commit '
16ad210fa942ed69a4f78d8ad372d3cbd45eca2c':
Change from UID routing to UID range routing.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:17 +0000 (18:57 +0000)]
am
e8604935: am
85447142: Test that local IPv6 connectivity goes direct.
* commit '
e8604935f93e3bc2e295c29d996e260e79a420f9':
Test that local IPv6 connectivity goes direct.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:17 +0000 (18:57 +0000)]
am
4cc1c555: am
97d1b15c: Test outgoing oif routing.
* commit '
4cc1c555cb704360c56fcf00b7ae08f643e9026f':
Test outgoing oif routing.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:16 +0000 (18:57 +0000)]
am
18036dec: am
71324fb4: Really disable DAD, and get rid of the sleeps.
* commit '
18036dece7ef90ceb1218f5dce3b0026be2f4ebf':
Really disable DAD, and get rid of the sleeps.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:15 +0000 (18:57 +0000)]
am
dbb66852: am
98eb6fdc: Deflakify the PMTU test.
* commit '
dbb6685249ab3c0607053982fc002c9a1774ed33':
Deflakify the PMTU test.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:15 +0000 (18:57 +0000)]
am
a754ea9b: am
0a3a775f: Change the error messages.
* commit '
a754ea9b4a5d9013991c262a32380fa2e2907759':
Change the error messages.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:14 +0000 (18:57 +0000)]
am
3e69c0cc: am
7a743f13: Test the oif rules using SO_BINDTODEVICE.
* commit '
3e69c0cc30ad832004205199decf19fa41a676b2':
Test the oif rules using SO_BINDTODEVICE.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:13 +0000 (18:57 +0000)]
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:13 +0000 (18:57 +0000)]
am
b81f9983: am
455a2a69: Fixes to iproute.
* commit '
b81f99834b290e124cd7e32bcdbf0058107eee06':
Fixes to iproute.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:12 +0000 (18:57 +0000)]
am
2dc786c2: am
d6d303df: Support adding outgoing interface rules.
* commit '
2dc786c25474e2ea5744bb30ad38c8cf9a43d247':
Support adding outgoing interface rules.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:11 +0000 (18:57 +0000)]
am
531b835b: am
460fefc3: Refactor setup and common code into a superclass.
* commit '
531b835b28def455f4955a3f7660c2f48f6fdefd':
Refactor setup and common code into a superclass.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:10 +0000 (18:57 +0000)]
am
f155520f: am
cabf6eb8: Updates to mark_test.
* commit '
f155520fb74e9d601009a6192e9863b194f5b6dc':
Updates to mark_test.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:10 +0000 (18:57 +0000)]
am
03aadee7: am
15654338: Add support for reading routing rules.
* commit '
03aadee76b6a33aca717da133c934ba0e82ae24a':
Add support for reading routing rules.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:09 +0000 (18:57 +0000)]
am
33393652: am
2466e38e: Add a module for dealing with C-style structs.
* commit '
33393652318f18e32dfc6b7f5e767a79c82562a0':
Add a module for dealing with C-style structs.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:08 +0000 (18:57 +0000)]
am
678d9ce9: am
d2dab451: Support setting the priority of rules.
* commit '
678d9ce93a569cc4a6ec701f276c9913b728f4b4':
Support setting the priority of rules.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:08 +0000 (18:57 +0000)]
am
63f8e91f: am
9c53e8a6: Move ip rule functionality to Python.
* commit '
63f8e91fa671f8131be93585303b140db1c6aa1b':
Move ip rule functionality to Python.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:07 +0000 (18:57 +0000)]
am
606f26c7: am
124b5aae: Fix lint warnings.
* commit '
606f26c78bb59ec3132106ded5f85e62cc036402':
Fix lint warnings.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:06 +0000 (18:57 +0000)]
am
c9b4a450: am
a25ebd97: Improve MarkTest.
* commit '
c9b4a450e25100c6ee9cc10139dbd11c26ed26a6':
Improve MarkTest.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:05 +0000 (18:57 +0000)]
am
7b1a16f4: am
717357af: Test mark-based routing for outgoing packets.
* commit '
7b1a16f4e0c49024abe24a68e587c293c2b805bf':
Test mark-based routing for outgoing packets.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:04 +0000 (18:57 +0000)]
am
a2d22663: am
ebb4d67d: Don\'t export ARCH and SUBARCH, set them explicitly
* commit '
a2d22663d69b33aa481f9ab09785737a8030c5f3':
Don't export ARCH and SUBARCH, set them explicitly
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:02 +0000 (18:57 +0000)]
am
29af476c: am
b6b1fc33: Add a README file.
* commit '
29af476c281c2bcfcc4eba59557a1a3b3a1cfaf3':
Add a README file.
Lorenzo Colitti [Wed, 4 Feb 2015 18:57:01 +0000 (18:57 +0000)]
am
5d0fd290: am
6ef3e4fd: Kernel networking test scripts using UML.
* commit '
5d0fd290142522e2eed98eb80b616e8e67f29e3f':
Kernel networking test scripts using UML.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:40 +0000 (03:29 +0000)]
am
051c2907: Make the test more robust with an unreachable rule
* commit '
051c29078188c01d5c451b60a003ba9ec00a2822':
Make the test more robust with an unreachable rule
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:39 +0000 (03:29 +0000)]
am
0df6a62a: Make it easier to test IPv4 ping on IPv6 sockets.
* commit '
0df6a62a65f2ed142732a0da57965fe7bfbfde9c':
Make it easier to test IPv4 ping on IPv6 sockets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:39 +0000 (03:29 +0000)]
am
d74629e0: Separate the reflect and accept tests.
* commit '
d74629e02cfade2561e6698c2f7f7c0310575257':
Separate the reflect and accept tests.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:38 +0000 (03:29 +0000)]
am
71f0b621: Test raw sockets as well, using GRE packets.
* commit '
71f0b6211d9550ae267af2603a61789aa680cd28':
Test raw sockets as well, using GRE packets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:37 +0000 (03:29 +0000)]
am
82be6b94: Use a DNS query instead of "hello" as UDP payload
* commit '
82be6b9451bfa9e131e5a7f9e5eaf40236a3a2fa':
Use a DNS query instead of "hello" as UDP payload
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:37 +0000 (03:29 +0000)]
am
05a6d74c: Apparently setting don\'t fragment is unnecessary.
* commit '
05a6d74cece5bea71c1c1e13e715ac091033ab04':
Apparently setting don't fragment is unnecessary.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:36 +0000 (03:29 +0000)]
am
90d3fc65: Simplify putting sockets onto networks.
* commit '
90d3fc65dc3160a269a4d31312db90b0c33b5705':
Simplify putting sockets onto networks.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:35 +0000 (03:29 +0000)]
am
186aaaf3: Test IPv4 PMTU as well.
* commit '
186aaaf3781e3fddc575d2351ac36ff78f2382d1':
Test IPv4 PMTU as well.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:35 +0000 (03:29 +0000)]
am
2595a2ae: Improve iproute attribute decoding documentation.
* commit '
2595a2ae2e62ca29569aeb18f7f7857659cd78b5':
Improve iproute attribute decoding documentation.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:34 +0000 (03:29 +0000)]
am
cf0ff157: Add outgoing packet tests using IP{,V6}_UNICAST_IF
* commit '
cf0ff1578d3a29663c10251f0975b1b4844146b7':
Add outgoing packet tests using IP{,V6}_UNICAST_IF
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:33 +0000 (03:29 +0000)]
am
2a139c9b: Add more checks to the ping code.
* commit '
2a139c9bbc93ec3e81312f795e8f0528783c6beb':
Add more checks to the ping code.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:33 +0000 (03:29 +0000)]
am
df9b9bf5: Test looking up routes with UIDs from userspace.
* commit '
df9b9bf57c755bc6ad234baa6d5a4454be1307bd':
Test looking up routes with UIDs from userspace.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:32 +0000 (03:29 +0000)]
am
f3b5413c: Add a test for UID routing configuration.
* commit '
f3b5413c600aadb8b56dbbfdb761ffb582166eb0':
Add a test for UID routing configuration.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:31 +0000 (03:29 +0000)]
am
7a799dc4: Better support for rule attributes.
* commit '
7a799dc4db3d08e3308af6fc1e7a1fa1e404442c':
Better support for rule attributes.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:25 +0000 (03:29 +0000)]
am
355dbf5f: Clear CROSS_COMPILE when running tests.
* commit '
355dbf5fbbeff6c6b2a42fb5a5df673951cb2b17':
Clear CROSS_COMPILE when running tests.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:25 +0000 (03:29 +0000)]
am
ac57df5a: Fix flowlabel test, now it\'s working in the kernel
* commit '
ac57df5a25e37f9fe2c6ec62d4d6a25f8b39c7ce':
Fix flowlabel test, now it's working in the kernel
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:24 +0000 (03:29 +0000)]
am
9e66bfb4: Replace shelling out to ip with netlink code.
* commit '
9e66bfb4888ca59a38aeb8a0952b03a022187b88':
Replace shelling out to ip with netlink code.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:24 +0000 (03:29 +0000)]
am
ec753c46: Check that remarking a socket works as expected.
* commit '
ec753c46447602f2befffa34c04273c43820d1c7':
Check that remarking a socket works as expected.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:23 +0000 (03:29 +0000)]
am
b4088c2a: Change from UID routing to UID range routing.
* commit '
b4088c2ad97e03c4e56f031c2df181df7d36c3b0':
Change from UID routing to UID range routing.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:22 +0000 (03:29 +0000)]
am
85447142: Test that local IPv6 connectivity goes direct.
* commit '
85447142cdf078670357a5239f98a3ad6261709c':
Test that local IPv6 connectivity goes direct.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:22 +0000 (03:29 +0000)]
am
97d1b15c: Test outgoing oif routing.
* commit '
97d1b15c8e0962de1579bc1705bf45424aea1165':
Test outgoing oif routing.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:21 +0000 (03:29 +0000)]
am
71324fb4: Really disable DAD, and get rid of the sleeps.
* commit '
71324fb493cb2225ec4f957033240af1a827f0a7':
Really disable DAD, and get rid of the sleeps.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:20 +0000 (03:29 +0000)]
am
98eb6fdc: Deflakify the PMTU test.
* commit '
98eb6fdc5f8dc40f3923680cb6a5f38d96b15816':
Deflakify the PMTU test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:20 +0000 (03:29 +0000)]
am
0a3a775f: Change the error messages.
* commit '
0a3a775f4e7fec0c3326a88f9cf709e2ba665e7b':
Change the error messages.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:19 +0000 (03:29 +0000)]
am
7a743f13: Test the oif rules using SO_BINDTODEVICE.
* commit '
7a743f133a5f6e2a658d82dbcddb88820e03b555':
Test the oif rules using SO_BINDTODEVICE.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:18 +0000 (03:29 +0000)]
am
d1d32975: Add more tests.
* commit '
d1d32975b8a3da041cea5ee322fe3c99cd313d4a':
Add more tests.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:17 +0000 (03:29 +0000)]
am
455a2a69: Fixes to iproute.
* commit '
455a2a6964ec6408d8f7cb2c629a65a34bc43f08':
Fixes to iproute.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:16 +0000 (03:29 +0000)]
am
d6d303df: Support adding outgoing interface rules.
* commit '
d6d303df685e53f93d2a9e15496d2fc083928b74':
Support adding outgoing interface rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:15 +0000 (03:29 +0000)]
am
460fefc3: Refactor setup and common code into a superclass.
* commit '
460fefc3d5298acaec30377aef26b9f06472d53d':
Refactor setup and common code into a superclass.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:14 +0000 (03:29 +0000)]
am
cabf6eb8: Updates to mark_test.
* commit '
cabf6eb8a9816682c90d11cd84cb59d0f2d7f4c9':
Updates to mark_test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:14 +0000 (03:29 +0000)]
am
15654338: Add support for reading routing rules.
* commit '
15654338bcd6d12f8d360007d38d2e71056da29f':
Add support for reading routing rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:13 +0000 (03:29 +0000)]
am
2466e38e: Add a module for dealing with C-style structs.
* commit '
2466e38ed01367dd81b1f9b5251040c202e94d0e':
Add a module for dealing with C-style structs.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:12 +0000 (03:29 +0000)]
am
d2dab451: Support setting the priority of rules.
* commit '
d2dab4516b902bdaef56a00c14e0121fd5bc18a9':
Support setting the priority of rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:12 +0000 (03:29 +0000)]
am
9c53e8a6: Move ip rule functionality to Python.
* commit '
9c53e8a60125235f0c2263a06ba9a9d2b5419f2c':
Move ip rule functionality to Python.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:11 +0000 (03:29 +0000)]
am
124b5aae: Fix lint warnings.
* commit '
124b5aae8ca65731b363d898e2da7a543e4b0e3e':
Fix lint warnings.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:10 +0000 (03:29 +0000)]
am
a25ebd97: Improve MarkTest.
* commit '
a25ebd97dd121c7f89e59fa440b86ffc9822d012':
Improve MarkTest.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:09 +0000 (03:29 +0000)]
am
717357af: Test mark-based routing for outgoing packets.
* commit '
717357af1ea56f3474a17fb909efc0f86db31e15':
Test mark-based routing for outgoing packets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:08 +0000 (03:29 +0000)]
am
ebb4d67d: Don\'t export ARCH and SUBARCH, set them explicitly
* commit '
ebb4d67dbf10140dd48675bc8726013ce3e514f4':
Don't export ARCH and SUBARCH, set them explicitly
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:07 +0000 (03:29 +0000)]
am
b6b1fc33: Add a README file.
* commit '
b6b1fc335e4a82f7b2d22ce2f7243649f2fbe13d':
Add a README file.
Lorenzo Colitti [Wed, 4 Feb 2015 03:23:25 +0000 (03:23 +0000)]
am
6ef3e4fd: Kernel networking test scripts using UML.
* commit '
6ef3e4fdfd823b08aca5ea2c2368e956b5e0eaea':
Kernel networking test scripts using UML.
Lorenzo Colitti [Thu, 1 May 2014 08:02:59 +0000 (17:02 +0900)]
Make the test more robust with an unreachable rule
This ensures that even if the system has a default route, sends
will return an error unless the socket has explicitly selected
an interface.
Change-Id: I3f0ddd88a1b679fa3fb47ab7b78616fe7bf3ca9f
Lorenzo Colitti [Thu, 1 May 2014 07:59:52 +0000 (16:59 +0900)]
Make it easier to test IPv4 ping on IPv6 sockets.
Change-Id: I39c3b403553a42ec0ea2cfdb6924ce6b315c6dd4
Lorenzo Colitti [Thu, 24 Apr 2014 08:56:55 +0000 (17:56 +0900)]
Separate the reflect and accept tests.
This will allow testing accepting connections in various routing
modes (uid, SO_BINDTODEVICE, mark, etc.). Currently we only test
mark and SO_BINDTODEVICE.
Change-Id: Ic93ae839e56ae70ecf2c878661ab4f60a8a2440e
Lorenzo Colitti [Thu, 24 Apr 2014 01:27:38 +0000 (10:27 +0900)]
Test raw sockets as well, using GRE packets.
Change-Id: Ifaa8adee811d952570cb8d8ae6ce2f6fad6dad00
Lorenzo Colitti [Wed, 23 Apr 2014 12:50:26 +0000 (21:50 +0900)]
Use a DNS query instead of "hello" as UDP payload
Change-Id: I4fa323f72736749ddab0d369a19c4774f8dbdd39
Lorenzo Colitti [Wed, 23 Apr 2014 08:46:32 +0000 (17:46 +0900)]
Apparently setting don't fragment is unnecessary.
Change-Id: Ib97704d8533e188f518e66805b4994769b850109
Lorenzo Colitti [Wed, 23 Apr 2014 08:36:05 +0000 (17:36 +0900)]
Simplify putting sockets onto networks.
Change-Id: Ibc82cdf3c8dd80f8bcab84b5a76f1e4d36069c89
Lorenzo Colitti [Wed, 23 Apr 2014 03:14:49 +0000 (12:14 +0900)]
Test IPv4 PMTU as well.
Change-Id: I98d7b1a4003886a08c98167da96c8851e0900f0c
Lorenzo Colitti [Tue, 22 Apr 2014 08:44:22 +0000 (17:44 +0900)]
Improve iproute attribute decoding documentation.
This reverts commit
a54a9b1046a738d645c2aa1add5c26a348a517b8.
Change-Id: I9d6566b4ed1f3723523745692bac0ed61e2775aa
Lorenzo Colitti [Tue, 22 Apr 2014 08:43:21 +0000 (17:43 +0900)]
Add outgoing packet tests using IP{,V6}_UNICAST_IF
Change-Id: I4973626e05a838704a10959a21837e22a2d41bab
Lorenzo Colitti [Tue, 22 Apr 2014 08:30:48 +0000 (17:30 +0900)]
Add more checks to the ping code.
Change-Id: Idcf6f54f102dbc7589033b9ce961dcb65e385b88
Lorenzo Colitti [Mon, 21 Apr 2014 05:13:06 +0000 (14:13 +0900)]
Test looking up routes with UIDs from userspace.
This checks that the kernel properly parses the RTA_UID
attribute when looking up a route from userspace.
Change-Id: Ib43506f3143ca05a7d7245c54bb27a42b29fcd24
Lorenzo Colitti [Mon, 21 Apr 2014 05:13:06 +0000 (14:13 +0900)]
Add a test for UID routing configuration.
Change-Id: I79914799c653ccd5326368652a93d441f0565a3c
Lorenzo Colitti [Mon, 21 Apr 2014 05:12:28 +0000 (14:12 +0900)]
Better support for rule attributes.
1. Make attributes into a dict so we can find them.
2. Add a function to decode some attributes to Python types.
Change-Id: I8d52a203818f5b24cf691cd2e86d52744d2ee191
Lorenzo Colitti [Mon, 21 Apr 2014 05:11:22 +0000 (14:11 +0900)]
Clear CROSS_COMPILE when running tests.
Change-Id: Ife7ea26b8695a7eb74485d24beb214a92abc33dd
Lorenzo Colitti [Fri, 18 Apr 2014 07:43:35 +0000 (16:43 +0900)]
Fix flowlabel test, now it's working in the kernel
Change-Id: Iad67073f303b611bba5d19b8d0ead768450118e7
Lorenzo Colitti [Thu, 17 Apr 2014 07:33:17 +0000 (16:33 +0900)]
Replace shelling out to ip with netlink code.
This reduces test setup time by about 50%.
Change-Id: I079bd29e5366eb7b23e63b2f4f3dbd9267376cca
Lorenzo Colitti [Thu, 17 Apr 2014 06:30:31 +0000 (15:30 +0900)]
Check that remarking a socket works as expected.
Change-Id: I3d554508b35fbe2084cd6c8c40e31734dd5294d5
Lorenzo Colitti [Thu, 17 Apr 2014 06:29:40 +0000 (15:29 +0900)]
Change from UID routing to UID range routing.
Change-Id: Iafa5857827841a5dca2442e46ebd6a77ec3780a1
Lorenzo Colitti [Tue, 15 Apr 2014 11:03:12 +0000 (20:03 +0900)]
Test that local IPv6 connectivity goes direct.
Change-Id: Ia7f78b040358d787a1cdd183c0517927b14c4054