da3aa4c1e092b6cddc2e3b64ddde24777fedd931 |
|
06-Jan-2016 |
Lorenzo Colitti <lorenzo@google.com> |
Make getsockopt(SO_BINDTODEVICE) actually work. Also change "16" to "IFNAMSIZ" in various places. Change-Id: Ib22c419e77dabf3bc6b1137b774daf5313b5ffeb
/system/extras/tests/net_test/net_test.py
|
f2dffc46c435e1260185eb525f237e862525c2be |
|
14-Dec-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Don't create TIME-WAIT sockets in CreateSocketPair. Some tests create lots of socket pairs, and the resulting TIME-WAIT sockets can cause subsequent tests to fail when binding. Change-Id: Ib0ab1722cfa9891d177a805a84807c6f58550dd4
/system/extras/tests/net_test/net_test.py
|
68e30d38f69f0a94df886a57b334e836cc48050e |
|
10-Nov-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Move CreateSocketPair to net_test.py so we can use it elsewhere. Change-Id: Ic46e1b9ffb9d1d6082c0453baaad71a3d43b432f
/system/extras/tests/net_test/net_test.py
|
a213cb48c593f34544da80d0462572b2410e36b1 |
|
10-Nov-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to netlink code. 1. Remove IpRoute._Debug, since it's identical to the superclass version. 2. Add some setsockopt constants to netlink.py. 3. Do the right thing if the kernel returns an error in a dump request. Change-Id: I37e49b35f1366760a408c7c4a73f95164d796a2e
/system/extras/tests/net_test/net_test.py
|
d2344168138814630764df3da6b23dc839b4890d |
|
16-Oct-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Support reading /proc/net/tcp[6]. Support the two different TCP socket formats, and move the parsing code to net_test.py so it can be used for other things apart from ping. Change-Id: Iaa10cc323d11834b6ac9429d42708f6cdf89f404
/system/extras/tests/net_test/net_test.py
|
6a61dfe8cbcf331e5a4ed92581c7d781a803ed25 |
|
01-Sep-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Annotate a few tests with the relevant kernel commits. Also fix a couple of lint warnings, a few spurious newlines, and a syntax error in currently-unused debug code. Change-Id: I192eb730d48443ee050ca7702bc3735cd6ff6553
/system/extras/tests/net_test/net_test.py
|
8236c75d0492e37a2925fdcb2b3d3636a9c615df |
|
30-Jun-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Add a test for ND cache behaviour. Bug: 21909622 Change-Id: I2c38b6220ac8d021785901d775f23ad30aa38242
/system/extras/tests/net_test/net_test.py
|
334a05a24a5e4c27d9318967987fb181530deaff |
|
17-Dec-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Clean up code in preparation for AOSP. 1. Include copyright headers in all files. 2. Clean up all lint messages except "bad header", which doesn't like our copyright statement, but which I do not seem to be able to disable. Change-Id: I33b44eb7f942f0ce03c001e674377f193fb66def
/system/extras/tests/net_test/net_test.py
|
105bda9ccf001b11ca15ea48863df44ace2f5ba4 |
|
17-Dec-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Move all setup code to a new multinetwork_base.py Change-Id: I4874829bb10bdd1a84ec6485a8f36e5441fc510f
/system/extras/tests/net_test/net_test.py
|
cbcbda6d3d8b0c208590cd769bdcf044396ee68a |
|
17-Dec-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Skip ping tests instead of failing if the VM has no connectivity. Change-Id: I8cf39e2409fd9521e89e73c5080b79159718965e
/system/extras/tests/net_test/net_test.py
|
610743878821c018ac1918b280ecfa097b77d6f0 |
|
20-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
When changing UID, become a member of AID_INET. Otherwise we can't open any sockets, which is not very useful. Change-Id: I4a7def277f1d14232cfc4486011935e608571fd6
/system/extras/tests/net_test/net_test.py
|
71f0b6211d9550ae267af2603a61789aa680cd28 |
|
24-Apr-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Test raw sockets as well, using GRE packets. Change-Id: Ifaa8adee811d952570cb8d8ae6ce2f6fad6dad00
/system/extras/tests/net_test/net_test.py
|
ac57df5a25e37f9fe2c6ec62d4d6a25f8b39c7ce |
|
18-Apr-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Fix flowlabel test, now it's working in the kernel Change-Id: Iad67073f303b611bba5d19b8d0ead768450118e7
/system/extras/tests/net_test/net_test.py
|
9c53e8a60125235f0c2263a06ba9a9d2b5419f2c |
|
01-Apr-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Move ip rule functionality to Python. This allows us to experiment with ip rules without having to compile a modified ip binary for the VM architecture. Change-Id: Ibb0bc510fc2b1686712b94fffae6f1cea26a82bf
/system/extras/tests/net_test/net_test.py
|
124b5aae8ca65731b363d898e2da7a543e4b0e3e |
|
31-Mar-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Fix lint warnings. Change-Id: I1eb3d3b5e182c77e77f33860fe48003ed4cb85cd
/system/extras/tests/net_test/net_test.py
|
a25ebd97dd121c7f89e59fa440b86ffc9822d012 |
|
31-Mar-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Improve MarkTest. 1. Add TCP SYN+ACK tests including syncookies and checks that accepting connections succeeids and that the sockets returned by accept() are marked. 2. Mark the tests more robust with respect to extra packets by always explicitly expecting packets (including when testing outgoing kernel-generated packets) and looking for them anywhere in the queue instead of insisting they're the first packet in the queue. 3. Make the tests more robust by using random source port, disabling ICMP rate limits, setting SO_REUSEADDR, and clearing queues more reliably. 4. Move from 2 to 4 interfaces (mostly made possible by the robustness improvements above). 5. Use named constants instead of repeating the numbers in multiple places. Change-Id: I596e557a7eea02ccf603c812a9b8ea6f5b2f95da
/system/extras/tests/net_test/net_test.py
|
717357af1ea56f3474a17fb909efc0f86db31e15 |
|
28-Mar-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Test mark-based routing for outgoing packets. Change-Id: Ifd696803f22a29bae162ab1d21d7b3552b9b80d3
/system/extras/tests/net_test/net_test.py
|
6ef3e4fdfd823b08aca5ea2c2368e956b5e0eaea |
|
27-Mar-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Kernel networking test scripts using UML. Change-Id: I28a9901e01a53e3dde551b6c8abf6391fe4354a4
/system/extras/tests/net_test/net_test.py
|