Commit Graph

634 Commits

Author SHA1 Message Date
irungentoo
caaa1ff888 nTox now tells you if it could not send the message. 2013-07-27 21:33:01 -04:00
irungentoo
b83359cd05 Added friend request accepting to nTox and fixed a bug.
Fixed a bug in Lossless UDP that prevented 2 clients from sometimes
connecting when they connected at the same time to each other.
2013-07-27 20:04:56 -04:00
nfkd
52a11813a6 styling 2013-07-27 13:43:30 -03:00
Konstantin Kowalski
ecab4c8777 Fixing broken commit 2013-07-27 12:17:31 -04:00
Konstantin Kowalski
b3fa1fc8f4 [fixed]created new files misc_tools.(c|h) and moved hex_string_to_bin() there. 2013-07-27 12:10:41 -04:00
Konstantin Kowalski
77ebbed91b created new files misc_tools.(c|h) and moved hex_string_to_bin() there. 2013-07-27 10:53:01 -04:00
Konstantin Kowalski
241aca98bd A *lot* of style changes. 2013-07-26 23:07:25 -04:00
Konstantin Kowalski
a1b93c397c took out several strlen() calls out of the loop; replaced int's with size_t where needed 2013-07-26 16:16:58 -04:00
SilentSand
59b34e423b Formatting.
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -04:00
SilentSand
f377eb9ca2 Licensing
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
Maxim Biro
ea550d4c86 Some cleanup 2013-07-23 12:23:17 -04:00
irungentoo
11d02de9a1 Fixed small thing in DHT. 2013-07-22 16:26:10 -04:00
irungentoo
37b7e4c12e Merge stuff from notadecent. 2013-07-22 15:30:59 -04:00
irungentoo
55361eac6f Modified the way friend requests worked.
Added routing of friend requests.
2013-07-22 14:52:42 -04:00
TrevorDorl
488c8af0c9 Adds the option 'nokey' to disable loading and saving keys, for debugging purposes 2013-07-22 12:09:30 -05:00
irungentoo
635e921c14 Fixed warnings. 2013-07-22 07:26:25 -04:00
irungentoo
11891e2475 Merge pull request #84 from nurupo/master
Improved build system
2013-07-22 04:09:45 -07:00
Maxim Biro
2ab2ebe5a5 Fixed comments 2013-07-21 21:32:15 -04:00
Maxim Biro
d60f5eafdb Excluded tests that are not currently supported on building platform 2013-07-21 21:12:44 -04:00
Oliver Hunt
1dbd121ea8 moved saving to nTox.c 2013-07-22 02:11:19 +01:00
Maxim Biro
6260df230f Fixed missed version and policy 2013-07-21 20:51:37 -04:00
irungentoo
c211e361d2 Merge pull request #76 from notadecent/master
Updated nTox.c (added timestamp)
2013-07-21 14:37:31 -07:00
notadecent
7863a552aa Updated nTox.c (added timestamp)
It's very glitchy. But it works.
2013-07-21 22:54:09 +02:00
irungentoo
550725c11a Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-07-21 13:15:42 -04:00
irungentoo
7fecd73ae0 Added routing functions to DHT. 2013-07-21 13:14:36 -04:00
notadecent
2cf96814ba Update nTox.c
Formatting
2013-07-21 15:52:43 +02:00
Sebastian Stal
d88cdf7307 Don't exit on arrow keys 2013-07-20 19:08:10 -07:00
Maxim Biro
a1078ef9b3 Updated nTox 2013-07-20 17:56:18 -04:00
Sebastian Stal
e0b6e7c8bb Fix sign on function 2013-07-20 12:01:19 -07:00
Sebastian Stal
497329aeab Make nTox resolve DNS addresses. 2013-07-20 11:50:54 -07:00
irungentoo
d792247dd8 Fixed bug that sometimes prevented two clients from connecting. 2013-07-19 10:57:05 -04:00
Sebastian Stal
b190dc6fbe Add custom user statuses to core, updated nTox to support nicknames and user statuses. 2013-07-18 10:56:50 -07:00
irungentoo
ad44110fd5 Added nicknames and nickname syncing. 2013-07-18 11:47:27 -04:00
Maxim Biro
6939a48226 Apply compiler flags only once 2013-07-17 18:29:26 -04:00
Maxim Biro
ef0efd72b5 Improved build system 2013-07-17 18:18:27 -04:00
irungentoo
4864cb9edb Bug fixed, Loading and saving added to core. 2013-07-17 12:07:19 -04:00
irungentoo
ffa809b379 ncurses test now tells you when you connect to the DHT. 2013-07-16 19:45:20 -04:00
irungentoo
bec416a050 Fixed some bugs and a regression. 2013-07-16 19:02:44 -04:00
irungentoo
d62b91f3ac Lossless UDP tests fixed. 2013-07-16 10:22:32 -04:00
Tim
0b366ed3ec Added /q to exit 2013-07-14 21:29:43 +02:00
irungentoo
71abd15c1b Fixed ncurses problems. 2013-07-13 23:11:57 -04:00
Oliver Hunt
a58a6f5c7b prettier output 2013-07-14 03:27:23 +01:00
Oliver Hunt
9f38ab582c fixed the ncurses client i believe 2013-07-14 02:57:09 +01:00
Oliver Hunt
b3e5da125c Added doMessenger() to the loop and connecting to the bootstrap node 2013-07-13 23:43:01 +01:00
Oliver Hunt
5441562e11 Added ncurses tox client 2013-07-13 23:42:05 +01:00
irungentoo
e80ac120e1 Build fixed? 2013-07-12 16:35:45 -04:00
irungentoo
79aa715514 First part of DHT hardening done.
Added crypto to the DHT communications.

This defeats completely the first attack mentioned in
docs/DHT_hardening.

Also updated the build system to build the latest test (it links it with
libsodium)
2013-07-12 16:27:19 -04:00
irungentoo
0b18dcda6f Per friend request data added. 2013-07-10 17:31:58 -04:00
juryben-fedora
c600835ad3 cast parameters to unsigned char and terminal localhost regex without domain 2013-07-09 23:16:59 -04:00
irungentoo
e680d885d7 Delete friends function now works and some other changes. 2013-07-09 20:25:52 -04:00
irungentoo
127fced11f Added comment block to Messenger test. 2013-07-09 13:27:47 -04:00
irungentoo
4d50638528 Basic IM messenger backend pretty much done (You can start the GUI)
And a couple of fixes to the other parts.
2013-07-09 13:20:48 -04:00
irungentoo
db37eca44b Some work done on the messenger part. 2013-07-08 20:50:25 -04:00
irungentoo
c00cf85078 Spelling mistakes fixed. 2013-07-08 12:36:11 -04:00
irungentoo
a632d960f8 Fixed to be confilcts with the DHT and the messenger part. 2013-07-07 11:54:25 -04:00
irungentoo
7458473dca Forward secrecy implemented into crypto. 2013-07-06 10:57:49 -04:00
irungentoo
a480c0195a Crypto done(still need to test it a bit more thought)
Replaced chars with uint8_t

Added a new test program.

Added some functions to Lossless UDP.

And some other stuff.
2013-07-05 17:00:39 -04:00
irungentoo
2e0c3bb593 Added a new test program. Fixed some stuff in Lossless UDP. 2013-06-30 17:19:15 -04:00
irungentoo
4ad22addf4 Updated Lossless UDP. 2013-06-30 11:34:35 -04:00
irungentoo
6bd24212ee Lossless UDP now works.
The testclient and testserver simulate a packet loss of 33%.

The only thing left to do in lossless UDP is the flow control (automatic
adjustment of the data send rate) which is only needed to transfer large
amounts of data.
2013-06-29 18:40:41 -04:00
irungentoo
7451becbe2 Merge pull request #16 from nurupo/master
Removed random php file
2013-06-29 08:28:14 -07:00
irungentoo
c9d0c208a5 Test programs updated. (I'm gonna wait until I finish Lossless_UDP before pushing it.) 2013-06-28 22:58:46 -04:00
Maxim Biro
d6d3522caf Removed random php 2013-06-28 20:32:43 -04:00
irungentoo
fd44c68801 Couple fixes. 2013-06-28 09:15:19 -04:00
irungentoo
457feeed0b Added current work on Lossless_UDP (Not done do not test it yet)
Lossless_UDP code is probably filled with problems right now.
this is normal.
2013-06-27 20:59:16 -04:00
irungentoo
3986206de8 Added a function. 2013-06-27 17:19:09 -04:00
irungentoo
87633f6631 Programs to test Lossless UDP done. 2013-06-27 10:39:37 -04:00
irungentoo
24925a24ec Cleaned up some stuff. 2013-06-27 10:01:31 -04:00
irungentoo
d0ed163914 Fixed something in the DHT, added a milisecond time function. 2013-06-27 07:37:06 -04:00
irungentoo
488df25e05 Changed function name. 2013-06-26 15:33:32 -04:00
irungentoo
81e2043df9 Small update. 2013-06-26 10:05:30 -04:00
irungentoo
c7f7e30c75 Moved the network functions from the DHT into network.
Also made a nice function to init networking.
2013-06-26 09:56:15 -04:00
irungentoo
d1837342e0 Couple fixes. 2013-06-26 07:40:07 -04:00
irungentoo
5d70f9c119 Fixed a line in DHT.c and clarified something in DHT_test.c. 2013-06-25 17:50:30 -04:00
irungentoo
adc9c64fe6 Fixed stuff, things work better now.
Client no longer responds to packets from itself.

DHT_test can now find the ip of one peer based on its client id.

Some stuff fixed.
2013-06-25 15:24:31 -04:00
irungentoo
3396d8e495 DHT implementation finished. Currently testing it. 2013-06-25 12:11:11 -04:00
irungentoo
c93858110b DHT almost done, started testing. Fixed ADDR compiling problem. No more warnings with GCC and clang. 2013-06-25 09:19:01 -04:00
Magmus
7b4bcfadde Update muh parser.php 2013-06-25 02:21:15 -06:00
Magmus
ffcabf2879 Create muh parser.php 2013-06-25 01:20:58 -07:00
irungentoo
8bc40b7f13 Manually merged fix from nurupo. 2013-06-24 19:40:38 -04:00
irungentoo
cc1a3f52ee Fixed? DHT_test compiling on windows. 2013-06-24 18:37:23 -04:00
irungentoo
b792e3d6ad Updated DHT_test with WSA stuff. 2013-06-24 17:41:19 -04:00
irungentoo
af1b3b7f9b Made small application to test the DHT. Core DHT: finished some more functions. 2013-06-24 16:50:43 -04:00
irungentoo
7e341fb171 Now compiles. Functions starting to take form. 2013-06-24 08:28:19 -04:00