Commit Graph

3771 Commits

Author SHA1 Message Date
irungentoo
bf69b54f64 Fix memory leak when closing TCP connection.
Thanks to: https://github.com/TokTok/c-toxcore/pull/1216
2018-10-03 08:44:02 -04:00
irungentoo
fda74a8454 Restrict packet kinds that can be sent through onion path.
Taken from:
6b97acb773
2018-04-20 07:40:43 -04:00
irungentoo
dcf2aaa530
Merge branch 'ghost-avswitch' 2016-09-28 15:14:33 -04:00
derive
403f5a22e0 Added astyled toxav.h to match toxav.in.h 2016-09-28 15:13:21 -04:00
nobody
a4630e91ee Updated to match current toxav.h 2016-09-28 15:13:21 -04:00
irungentoo
496af600ca
Merge branch 'distcheck' of https://github.com/felix-salfelder/toxcore 2016-09-28 15:09:44 -04:00
irungentoo
161ab46f88
Merge branch 'arza-zara-umask' 2016-09-21 23:27:58 -04:00
arza
d28f94a2f9 Changed the umask to 077 so that the keys file is not readable/writable by other users. 2016-09-19 05:03:48 +03:00
arza
3df21424bb Included sys/stat.h. 2016-09-19 05:03:38 +03:00
irungentoo
e6af3a7825
Fixed bug. 2016-09-05 20:31:32 -04:00
Felix Salfelder
1fa5887fee add missing header to dist tarball 2016-08-20 16:30:59 +01:00
irungentoo
755f084e87
Merge branch 'update-sysvinit-docs' of https://github.com/LittleVulpix/toxcore 2016-07-27 11:59:58 -04:00
LittleVulpix
98446e0818 Documentation: SysVInit workaround for <1024 ports
Update the manual to provide a command necessary to open <1024 ports for users on SysVinit
2016-07-10 22:56:00 +02:00
irungentoo
532629d486
Merge branch 'network-test-magic' of https://github.com/roman-yepishev/toxcore 2016-03-19 00:09:36 -04:00
irungentoo
aafeb7ddd8
Merge branch 'make-dist' of https://github.com/roman-yepishev/toxcore 2016-03-13 22:07:50 -04:00
irungentoo
2e48a3f51d
Merge branch 'tox-bootstrapd-smaller-docker' of https://github.com/nurupo/InsertProjectNameHere 2016-03-07 14:57:51 -05:00
irungentoo
c817b3334f
Merge branch 'nurupo-apidsl-check' 2016-03-07 14:56:50 -05:00
Maxim Biro
41046e2eef Added check of whether tox.h or toxav.h were edited directly
tox.h and toxav.h must be generated by apidsl instead of edited directly.
2016-03-07 14:35:09 -05:00
romik-g
c2b2142f33 Changes from @nurupo for build and runtime dependencies that reduce image size
Also removal of example bootstrap nodes from the config file in one line
2016-03-03 13:30:11 -05:00
romik-g
739975dc3d Re-format to reduce image file by 50% 2016-03-03 13:29:24 -05:00
irungentoo
c510e2407f
Merge branch 'master' of https://github.com/susnux/toxcore into susnux-master 2016-03-01 15:17:00 -05:00
Roman Yepishev
c886f906a8
Move argument comments to the end of line 2016-02-27 14:32:49 -05:00
Roman Yepishev
32d86978fd
Remove unused main() arguments 2016-02-27 12:07:04 -05:00
Roman Yepishev
9035325e56
Remove magic numbers from addr_resolve
* Add #defines for INET/INET6 returns
* Remove magic number 3 - exact AF_INET/INET6 result found.
* Updated network_test.c
2016-02-27 11:45:02 -05:00
Roman Yepishev
b0e720846f
Add missing files so that archive for make dist is complete 2016-02-26 22:58:13 -05:00
irungentoo
72b1a17cc2
Merge branch 'GrayHatter-master' 2016-02-14 14:37:44 -05:00
Gregory Mullen (GrayHatter)
d552cd6e24 lets define this correctlly instead 2016-02-13 20:56:15 -08:00
Gregory Mullen (GrayHatter)
9628f9d171 added the dropped ; 2016-02-13 20:53:30 -08:00
Gregory Mullen (GrayHatter)
58ebf7a5b6 added versioning to toxencryptsave 2016-02-13 20:50:16 -08:00
Gregory Mullen (GrayHatter)
ea21a541ff missed a line tox to toxav 2016-02-13 20:50:01 -08:00
Gregory Mullen (GrayHatter)
96bf594be5 update the compatablity function to match the macro 2016-02-13 20:44:30 -08:00
Gregory Mullen (GrayHatter)
2d361228cd SemVer toxav too 2016-02-13 20:23:29 -08:00
Gregory Mullen (GrayHatter)
4c7856b346 Get SemVer more ready 2016-02-13 19:41:51 -08:00
Ferdinand Thiessen
a8873ed4fd Fix #1520: Program returns random data in a function
Added default return to non void functions level_syslog and level_stdout.
2016-02-05 22:31:34 +01:00
irungentoo
94cc8b11ff
Realised there was no test to test these functions. 2016-01-30 21:56:54 -05:00
irungentoo
dfe5d9b256
Fixes.
Fixed bug from merged PR.

Don't build useless files when building with libsodium.
2016-01-30 17:23:15 -05:00
irungentoo
ccfa6c6a4f
Merge branch 'kpp-code_review' 2016-01-30 16:30:28 -05:00
Roman Proskuryakov
23b0c9cded fix: replace memset with sodium_memzero for sensitive data 2016-01-27 02:17:40 +03:00
Roman Proskuryakov
7d66c70037 add: more comments into network.c 2016-01-27 02:14:59 +03:00
Roman Proskuryakov
b3655f2c60 add: comments about hairy code 2016-01-27 02:14:59 +03:00
Roman Proskuryakov
94d6333107 add: comment about endianness 2016-01-27 02:14:59 +03:00
Roman Proskuryakov
ed3a794c9b fix: compare sensitive data with sodium_memcmp
fix: make increment_nonce & increment_nonce_number independent of user-controlled input
	fix: make crypto_core more stable agains null ptr dereference
2016-01-27 02:14:59 +03:00
irungentoo
61f8e65c01
Merge branch 'travis-fix' of https://github.com/nurupo/InsertProjectNameHere 2016-01-24 21:58:57 -05:00
irungentoo
bf7a7ef4b6
Merge branch 'nurupo-tox-bootstrapd-get-nodes-fix' 2016-01-24 21:58:33 -05:00
Maxim Biro
e4f86e2485 Update Travis script
Reduces the running time from about 8 minutes to about 5, as it uses
packaged libraries instead of building them. This is possible because
of the Ubuntu Trusty becoming available on Travis. The new check that
is in Trusty has different behaviour than the previously user version
of it -- it doesn't output the detailed result of tests. To fix this
we cat a file where this detailed result is stored.
2016-01-24 01:38:20 -05:00
Maxim Biro
c597f0786d Add missing newline 2016-01-24 01:33:53 -05:00
irungentoo
47c1e5fa43
Merge branch 'mannol-master' 2016-01-15 15:35:12 -05:00
Eniz Vukovic
bd62c6a359 Fix issue #1497 2016-01-13 23:14:51 +01:00
irungentoo
b9ef24875c
Test fix. 2016-01-04 22:59:29 -05:00
irungentoo
405854e1e7
Cleanups. 2016-01-04 22:48:58 -05:00