summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2014-04-16DHT_bootstrap.c now has TCP server functionality enabled.irungentoo
Fixed a regression (same type as last commit).
2014-04-15Fixed regression, announce responses can contain 0 nodes.irungentoo
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-04-14Added function to TCP client and some tests.irungentoo
2014-04-13TCP_client pretty much done?irungentoo
Now next step is integrating it in tox. Added TCP server functionality to bootstrap server (define TCP_RELAY_ENABLED to enable it.)
2014-04-13sockets: support Mac OS X way of disabling SIGPIPE on a socketSteven Noonan
Mac OS X doesn't have MSG_NOSIGNAL, so we need to use SO_NOSIGPIPE. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2014-04-12Pings and onion packets implemented in TCP_Client.cirungentoo
Astyled one test and added a couple lines to another.
2014-04-11Some code written for the TCP part.irungentoo
2014-04-10Added TCP test to build system.irungentoo
2014-04-08Include 'netinet/in_systm.h' on OpenBSDDmitrij D. Czarkoff
Otherwise 'n_time' is undefined.
2014-04-06Added TCP_client.irungentoo
Some work done on the TCP part.
2014-04-04Added functions to get/set the nospam value to the public api.irungentoo
2014-04-03Maximum name lengths should now be the real maximum and not one byte less.irungentoo
2014-04-02Some code cleanups.irungentoo
2014-04-01Fixed bug where TOX_FAERR_SETNEWNOSPAM would be returned instead ofirungentoo
TOX_FAERR_ALREADYSENT when re adding a confirmed friend.
2014-03-31tox_group_get_names now returns a list of name lengths along with the list ↵irungentoo
of names. TCP test now also tests pings.
2014-03-30TCP server now sends/handles ping packets.irungentoo
2014-03-29TCP server now has onion functionality.irungentoo
All the IP/Port related structs now have __attribute__ ((__packed__))
2014-03-28TCP server almost ready.irungentoo
2014-03-26TCP server testing in progress.irungentoo
2014-03-25Basic TCP server stuff should be all done, started testing it.irungentoo
2014-03-24A bit more work on TCP server.irungentoo
I'm going to start working more diligently on this tommorow, the last week hasn't really been productive.
2014-03-23Fix NaCl builds for *BSDJin^eLD
From what I see there is a difference between *BSD and Linux when linking vs. toxcore which has been bulit vs. the NaCl library: on Linux it only links if NaCl's object files (i.e. randombytes.o) is present in the linker options, however on *BSD systems this will cause a linking error, see: https://github.com/Tox/toxic/issues/31#issuecomment-38224441 This commit makes sure that we do not add the NaCl object files to our pkg-config settings on *BSD, but do add them on Linux.
2014-03-22Some work on TCP server done.irungentoo
2014-03-21Friends client id is now removed from the request received list when he is ↵irungentoo
deleted.
2014-03-20Fixed other api inconsistency.irungentoo
2014-03-20Fixed an api inconsistency.irungentoo
2014-03-19A bit more code written for TCP servers.irungentoo
2014-03-18Fixed issue where other could send a bad userstatus.irungentoo
2014-03-18nTox fixes.irungentoo
Added TOX_MAX_MESSAGE_LENGTH to tox.h
2014-03-18Fixed warning.irungentoo
2014-03-18Merge branch 'api-fix'irungentoo
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it.
2014-03-17Merge pull request #802 from JFreegman/masterirungentoo
add api function that gets the last time a friend was seen online (also ...
2014-03-16Renamed toping to to_ping.irungentoo
2014-03-16Friend request callback now contains the Tox object.irungentoo
2014-03-16retain old data file friendlists on loadJfreegman
2014-03-16add api function that gets the last time a friend was seen onlineJfreegman
2014-03-15A bit of work done on the TCP relay server.irungentoo
2014-03-14Merge branch 'udp_test_fixes' of https://github.com/kc1212/ProjectTox-Core ↵irungentoo
into mouseym-patch-3
2014-03-14A bit of work done on the TCP relay server.irungentoo
2014-03-13Slightly more work done on the TCP relay server.irungentoo
2014-03-13Fixed bug, unconfirmed friends now load correctly.irungentoo
2014-03-12Started writing the code for the TCP relay server.irungentoo
2014-03-12updated compilation and execution instructions for Lossless UDP tests, and ↵Kelong Cong
fixed minor typos
2014-03-11Detailed docs for TCP server pretty much done.irungentoo
Implementation coming soon.
2014-03-09Reduced the number of useless onion packets sent.irungentoo
2014-03-08send_custom_user_packet now returns -1 when friend is offline.irungentoo
2014-03-07Some tox_wait_* improvementsMaxim Biro
2014-03-07Fixed clients not connecting when there is only 2 people on the network.irungentoo
2014-03-07Speeded up onion requests.irungentoo
Also increased the maximum number of announce entries.