Commit Graph

456 Commits

Author SHA1 Message Date
irungentoo
1505d489f4 Fixed bug with client_ping_nodes() not pinging any nodes. 2014-01-30 14:23:19 -05:00
irungentoo
5da80263a5 Convert IPv4 in IPv6 to IPv6 address in recieve packet. 2014-01-30 13:59:10 -05:00
irungentoo
575135b327 Attempted fix of some hole punching issues. 2014-01-26 17:44:20 -05:00
irungentoo
b428429825 Merge pull request #702 from stqism/patch-4
Improved support for Plan 9, older SunOS, and AIX.
2014-01-25 20:02:44 -08:00
Sean
460e52c426 missing #endif 2014-01-25 19:49:37 -08:00
Sean
c766ff95d0 That newline looks cleaner 2014-01-25 18:51:55 -08:00
Sean
4e84497a68 Moved Unix support
Networking.h is imported by everything.
2014-01-25 18:50:23 -08:00
Sean
803c6f41d7 Moved to networking.h
Plan 9 requires u.h in every file
2014-01-25 18:48:49 -08:00
Sean
d89bd2a6a9 Not my finest moment 2014-01-25 18:44:36 -08:00
irungentoo
86ba735198 Improved hole punching a bit. 2014-01-25 21:09:26 -05:00
Sean
900e3bea6b Improved support for Plan 9, older SunOS, and AIX. 2014-01-25 10:44:07 -08:00
irungentoo
0d53abebcd Fixed possible anonimity leak with the onion routing. 2014-01-25 13:33:39 -05:00
irungentoo
7b252be299 Set last_noreplay to zero when friend goes offline. 2014-01-24 21:20:32 -05:00
irungentoo
e08e193510 Decreased interval between sending announce packets. 2014-01-21 16:51:55 -05:00
Sean
50cfbc2760 Fixed BSD IP stack issue
Thanks to @mahomet
2014-01-21 11:13:44 -08:00
irungentoo
00100ea335 random_nodes_path should return slightly better paths.
Fixed test in network_test failing on some machines because of localhost
ipv6 issues.
2014-01-21 11:14:16 -05:00
irungentoo
04d13fbbaf Fixed bug. 2014-01-21 08:50:23 -05:00
irungentoo
980318a8c6 Adjusted some timeouts. 2014-01-21 07:51:30 -05:00
irungentoo
4e1bc481c5 Fixed some portability issues. 2014-01-21 07:31:19 -05:00
irungentoo
bba5176f28 Adjusted some timeouts and fixed possible memory leak. 2014-01-20 21:01:56 -05:00
irungentoo
522f90fee1 Enabled onion in bootstrap_serverdaemon. 2014-01-20 13:05:34 -05:00
irungentoo
aff6b112c0 Merge branch 'onion' 2014-01-20 12:48:26 -05:00
irungentoo
9aa94bfe1d Fakeid packets are now also sent via the DHT. 2014-01-20 12:23:10 -05:00
benwaffle
0a9377d526 Update network.c 2014-01-20 00:27:01 -05:00
Ben Iofel
174cec7f15 proper windows preprocessor detection 2014-01-19 19:30:14 -05:00
irungentoo
3268f18a32 Some small improvements added. 2014-01-19 14:14:23 -05:00
irungentoo
e6e2112350 Commented out now useless code. 2014-01-19 14:00:41 -05:00
irungentoo
639b37de67 Small protocol change for more replay attack prevention.
see the changes to Prevent_Tracking.txt
2014-01-19 13:53:24 -05:00
irungentoo
cdcb8b8600 Added no_replay and added some things to the docs. 2014-01-19 09:44:33 -05:00
irungentoo
99ae23813b Some optimizations and fixes. 2014-01-18 18:35:28 -05:00
irungentoo
8d1ef66892 Fixed segfault. 2014-01-18 16:35:52 -05:00
irungentoo
d11cf9c5a8 Small performance increases. 2014-01-17 15:46:09 -05:00
irungentoo
cd2474a2f6 Incorporated onion into Tox.
Fixed a couple of issues related to that.
2014-01-17 13:35:40 -05:00
irungentoo
9fcb707ec4 Wrote random_path function.
Added onion_client to the build system.
2014-01-16 10:00:36 -05:00
irungentoo
aff78b159c onion_client almost done. 2014-01-15 20:47:26 -05:00
irungentoo
b345bcea8b Some packet handling code added to onion_client. 2014-01-14 20:25:26 -05:00
irungentoo
a49a09f94b Onion data packets can now be handled in onion_client.
oniondata_registerhandler(...) can be used to register different packet
types to handle them and send_onion_data(...) can be used to send these
packets.
2014-01-14 14:20:42 -05:00
irungentoo
878762a8e4 Added functions to add/remove friends in onion_client.
Added a tiny optimization to net_crypto.
2014-01-13 20:11:54 -05:00
irungentoo
675487936e Some work done in onion_client. 2014-01-12 20:56:39 -05:00
irungentoo
dac7fe0338 Some work done on onion_client 2014-01-11 21:19:50 -05:00
irungentoo
94b5e55189 Some work on onion_client done. 2014-01-10 23:04:39 -05:00
irungentoo
91ce6092b4 Removed useless line. 2014-01-10 22:25:53 -05:00
irungentoo
83e9890d6b Some work done on the client part. 2014-01-09 20:55:45 -05:00
irungentoo
ea7d1a726d Putting the sendback outside the encrypted part of the response.
It's more useful this way.
2014-01-09 19:54:42 -05:00
irungentoo
0fd8e49c38 Fixed problem in onion_announce.c
Added a way to know if a announce response is valid.
2014-01-08 20:15:35 -05:00
irungentoo
5e6e503201 Added shell of onion_client.c 2014-01-07 19:38:37 -05:00
irungentoo
566c9f63bc onion_announce seems to be working perfectly.
Stuff added and fixed.
2014-01-06 17:59:44 -05:00
irungentoo
6cd1e7fb70 Tests added and some fixes for the onion part. 2014-01-05 19:22:38 -05:00
irungentoo
7e2d21271a Some work on the onion part done. 2014-01-04 19:40:43 -05:00
irungentoo
d46891c3b7 A bit of work done on the onion part. 2014-01-03 22:13:20 -05:00