summaryrefslogtreecommitdiff
path: root/other/bootstrap_serverdaemon
AgeCommit message (Collapse)Author
2014-02-09Astyled and removed some useless files.irungentoo
2014-02-09Fixed memory leaks and removed repeated codeMaxim Biro
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-20Moved things aroundMaxim Biro
2014-01-20Fixed missing cleanupMaxim Biro
2014-01-20Enabled onion in bootstrap_serverdaemon.irungentoo
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.
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-09-11Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-10Fixed building with NaCl.irungentoo
2013-09-10Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
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-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 build errors.Kostya
2013-08-29Correct a lot of the grammar and spelling. Also spent a few hours fixing the ↵pete
comments so they follow a standard.
2013-08-24Remove cmake build systemjin-eld
2013-08-24Implemented autotools based build scriptsjin-eld
supported options: --with-dependency-search=DIR will tell configure to look for various dependencies in DIR/include and DIR/lib Alternatively you can also specify libsodium header and libs location with --with-libsodium-headers and --with-libsodium-libs if it is installed elsewhere. Ncurses and libconfig are handled via the default pkg-config way, see ./configure --help=short for detailed information. The tox library is compiled as libtoxcore in shared and static variants, public headers are installed to ${prefix}/include/tox A pkg-config libtoxcore.pc configuration file is provided. Use ./configure --help for a full list of configure options or ./configure --help=short for the options that I added. To generate the configure script after pulling from git use: autoreconf -i To generate a release tarball use: make dist Unit tests are handled by the libcheck library integration that is provided by autotools, use: make check to compile and run the tests. Unit tests are currently optional, i.e. - if the check library is not found on the system, then tests will be disabled. Same goes for nTox and DHT bootstrap daemon - they will be enabled or disabled depending on the availability of ncurses (for nTox) or libconfig (for DHT bootstrap daemon). The above can be also tuned by: --enable-tests / --disable-tests --enable-ntox / --disable-ntox --enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
2013-08-24Rename core directory because of autoconf name clashjin-eld
While doing the checks configure might generate "core" files and will then try to remove them. Having a "core" directory generates an error while runing the configure script. There's no workaround but to rename the core directory.
2013-08-23New API done and tested.irungentoo
Some stuff needs to be cleaned a bit though.
2013-08-22init_cryptopacket is now called by new_DHT.irungentoo
2013-08-20astyle --options=tools/astylerc -r ./*.{c,h}irungentoo
2013-08-20Fixed DHT_serverdaemon.irungentoo
2013-08-16Passed everything through astyle.irungentoo
2013-08-10networking_poll: DHT_bootstrap_daemonslvr
2013-08-01core: getaddrinfo() lookup error handlingplutooo
2013-07-31Merge pull request #171 from AMDmi3/freebsd-fixesirungentoo
FreeBSD fixes
2013-07-31stat file before attempting to openJoseph Quadrino
2013-07-31Add detection of required librariesDmitry Marakasov
2013-07-30Merge branch 'patch-1' of https://github.com/Teknocrat/ProjectTox-Core into ↵teknocrat
patch-1
2013-07-30Create FindLibConfig.cmakeTeknocrat
Warning, this is a google snippet, but works fine, shouldn't be an issue
2013-07-30Update CMakeLists.txtTeknocrat
This thing requires libconfig but doesn't test for it...
2013-07-30Remind users that directory isn't actually legitNemDiggers
2013-07-29Fixed formatting of some cmake filesMaxim Biro
2013-07-25LicensingSilentSand
Added the GPLv3 license to some files in addition to fixing some comments at the beginning of the files.