summaryrefslogtreecommitdiff
path: root/auto_tests/network_test.c
AgeCommit message (Collapse)Author
2014-09-26Removed now useless network sturct size tests.irungentoo
2014-08-09Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitionspyruvate
2014-04-15Major protocol changes, this commit breaks all network compatibility.irungentoo
Removed a bunch of useless space from various structs. pack_nodes() and unpack_nodes() are now used to transmit lists of nodes for the DHT and onion parts. They provide a way to transmit both ipv6 and ipv4 nodes in the same packet in a portable way that takes as little space as possible without compression. Using pack_nodes, merged the send nodes and send nodes ipv6 packets into one packet greatly reducing the risk of amplification attacks.
2014-02-18Astyled and added tests.irungentoo
2014-02-17Fixed test issue.irungentoo
2014-01-21random_nodes_path should return slightly better paths.irungentoo
Fixed test in network_test failing on some machines because of localhost ipv6 issues.
2013-12-07Added/updated some basic docs and cleaned up some things.irungentoo
2013-09-27Permit -Wshadow as useful warning.Coren[m]
2013-09-17astyled everything.irungentoo
2013-09-15Fix in ip_equal, plus testing code which led to that fix...Coren[m]
network.c: - use the correct macro for IPv4-in-IPv6 test network_test.c: - bunch of tests for addr_resolve() and ip_equal()