summaryrefslogtreecommitdiff
path: root/other
AgeCommit message (Collapse)Author
2014-02-01Added DHT bootstrap server info packets.irungentoo
define DHT_SERVER_EXTRA_PACKETS to enable.
2014-01-30Fixed PID forgetfulness.tawm
2014-01-25Shortened daemon's nameMaxim Biro
2014-01-25Made bootstrapping optionalMaxim Biro
2014-01-25Added more error checkingMaxim Biro
2014-01-21Update DHTserversSean
2014-01-21Updated DHT server list.irungentoo
2014-01-20Added updated bootstrap server.irungentoo
2014-01-20Updated DHT server list with onion supporting DHT servers.irungentoo
Onionised DHT_test.
2014-01-20Moved things aroundMaxim Biro
2014-01-20Fixed missing cleanupMaxim Biro
2014-01-20Enabled onion in bootstrap_serverdaemon.irungentoo
2014-01-20Merge branch 'onion'irungentoo
2014-01-19proper windows preprocessor detectionBen Iofel
2014-01-19Added .sh to the scriptMaxim Biro
2014-01-19Fixed function conflictMaxim Biro
2014-01-19Fixed spellingMaxim Biro
2014-01-19Spellchecked everythingMaxim Biro
2014-01-19Astyled the codeMaxim Biro
2014-01-19Fixed buildMaxim Biro
2014-01-19Fixed comments and variables' namesMaxim Biro
2014-01-19Renamed to fix build processMaxim Biro
2014-01-19Fixed some formattingMaxim Biro
2014-01-19Tell github that README is a markdown fileMaxim Biro
2014-01-19Improved DHT bootstrap daemonMaxim Biro
Supports "unlimited" number of bootstrap nodes in the config file, instead of just 32. PID and keys file paths are not limited by 512 chars anymore. Doesn't read the whole list of bootstrap servers into a global datastructure that just sits there after being processed once -- reads bootstrap servers one by one, processing them between reads. Supports IPv6. Has an option for IPv6. Supports LAN discovery. Has an option for LAN discovery. Writes to syslog. Uses new functions introduced in the core. `status` in the bash script now works. Has a simple README, with instructions for Debian-based distros.
2014-01-17Onion servers are now DHT ready.irungentoo
2013-12-20Always build DHT_bootstrapJin^eLD
DHT_bootstrap is not the same as DHT_bootstrap_serverdaemon, the latter depends on libconfig and can be enabled/disable via a configure parameter. DHT_bootstrap has no dependencies and can always be built.
2013-10-24Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.*Coren[m]
unix_time(): - returns local value for current epoch - value is updated explicitly with unix_time_update() called at new_DHT()/doMessenger()/do_DHT() is_timeout(): - uses the local value for current epoch id_cpy()/id_eq() => id_copy()/id_equal(): - centralized duplicate definitions - replaced (most) memcpy()/memcmp() of (*, *, CLIENT_ID_SIZE) with id_copy()/id_equal()
2013-10-20Main: Eliminate TOX_ENABLE_IPV6 (then always on), CLIENT_ONETOONE_IP (then ↵Coren[m]
always off). Additionally (besides cleanups): network.h/tox.h: - WIN32: fix a strange sa_family_t definition - WIN32: define EWOULDBLOCK to WSAEWOULDBLOCK - WIN32: kill macro for an existing function (IN6_ADDR_EQUAL) network.c: - use EWOULDBLOCK instead of EAGAIN (same value, but EWOULDBLOCK is more "popular") - new_networking(): only try to enable IPv4-in-IPv6 if it's not already enabled per default - inet_ntop()/inet_pton(): WIN32: remove partial initializers in favor of a simple memset() - ip_equal(): WIN32: use an existing function - logging: networking_wait_execute(): only dump result if not timeout - logging: loglogdata(): kill an unused variable LAN_discovery.c: - send_broadcasts(): re-enabled, can only support IPv4 by principle, split into fetch_broadcast_info() (to fetch the addresses once) and send_broadcasts() (actual sending) DHT.c: - DHT_load_state_callback(): enclosed a fprintf(stderr, ...) into #ifdef DEBUG Lossless_UDP.c: - change_handshake(): harden against strange sa_family_t definitions Messenger.c: - logging: fix ID to string conversion util.c: - logging: eliminate a signed-warning
2013-10-10Update DHT_bootstrap.cfr0sty
Removed deprecated compilation instructions
2013-10-07Some configuration/build fixes, so building basicaly everything else than ↵BtbN
the library can be disabled
2013-09-14astyled everything.irungentoo
2013-09-13Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-12Patch to allow DHT_bootstrap to also do LAN discovery.Coren[m]
This patch inserts LAN discovery in DHT_bootstrap, allowing it to find clients even if it's run parameterless (and clients don't connect to it directly, e.g. because the port is already bound to a different client). - moves the #define of LAN_DISCOVERY_INTERVAL from Messenger.c to LAN_discovery.h - includes LAN_discovery.h into DHT_bootstrap.c - DHT_bootstrap.c sends and accepts LAN_discovery packets
2013-09-11tox.h, DHT.h:Coren[m]
- tox_bootstrap_ex(), DHT_bootstrap_ex() renamed to tox_bootstrap_from_address(), DHT_bootstrap_from_address() - (handle_)sendnodes_ex() renamed to (handle_)sendnodes_ipv6() - only sending sendnodes_ipv6() if we're actually IPv6 enabled - changed comments to conform better nTox.c, Messenger_text.c, DHT_test.c, DHT_bootstrap.c: - fallout from *_ex() to *_from_address() DHT_bootstrap.c: - corrected a potentially wrong info message util.c: - fixed logfile name: now (funcptr) => now() (number) network.c: - addead comment about the necessity of bind() to succeed auto_test/messenger_test.c: - defaulting ipv6enabled to TOX_ENABLE_IPV6_DEFAULT LAN_discovery.c: - slight cleanup and comments for clarity
2013-09-11toxcore/util.h:Coren[m]
- moved cmdline_parsefor_ipv46() to testing/misc_tools.c
2013-09-11cmdline parsing:Coren[m]
- add missing includes (autobuild warnings)
2013-09-11network.c:Coren[m]
- reset errno from failed bind() calls if the last one succeeds DHT_bootstrap.c: - move the perror() output next to where it belongs to
2013-09-11Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-11cmdline parsing of --ipv4/6 plucked into utilCoren[m]
2013-09-10Fixed building with NaCl.irungentoo
2013-09-10Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-10tox.*, DHT.*:Coren[m]
- return to the caller if the string could be resolved into an IP other/DHT_bootstrap.c, testing/*_test.c, testing/nTox.c: - parse cmdline for --ipv4/--ipv6 switch to allow user a choice util.h: - proper old-style C-comment
2013-09-10Commented out useless function.irungentoo
2013-09-10big push, putting all the infrastructure in place behind TOX_ENABLE_IPV6Coren[m]
2013-09-09fix autobuild (not built locally)Coren[m]
2013-09-09network.h:Coren[m]
- IP: add in_addr_t as part of the union - IP: rename IP to IP4
2013-09-06Allow to build vs nacl instead of libsodiumJin^eLD
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-01Forward compatibility with automake 1.14jin-eld
This update makes sure that the build still works with automake prior to 1.12 and at the same time does not give any warnings or errors with automake 1.14
2013-08-30Fixed warnings and moved hex_string_to_bin to testing/irungentoo