Gabor X Toth [Wed, 23 Jul 2014 16:19:49 +0000 (16:19 +0000)]
social: implement enter/leave/messaging; psyc: improvements and fixes
- social: implement enter/leave, send/receive messages, slicer
- psyc, social: add struct GNUNET_PSYC_Message for single-fragment join messages
- psyc: add message callback in addition to message part callback
- client_manager, social, psyc, multicast: add disconnect callback
Gabor X Toth [Wed, 23 Jul 2014 16:19:46 +0000 (16:19 +0000)]
Revert "- convince gcc to compile"
This reverts commit
cd2a54791e6286c3c437b525b26f6e9268956afc.
Gabor X Toth [Wed, 23 Jul 2014 16:19:40 +0000 (16:19 +0000)]
Revert "- persuade social to at least compile"
This reverts commit
4938775bf405d8720ae5adce20bd5d66492e75a2.
Bart Polot [Wed, 23 Jul 2014 05:47:32 +0000 (05:47 +0000)]
- send ack AFTER removing message from queue, otherwise ack triggers an assert for sending and ACK of still-existing data
Bart Polot [Wed, 23 Jul 2014 05:47:31 +0000 (05:47 +0000)]
- count a MIMD as received only after sending it to client
Bart Polot [Wed, 23 Jul 2014 05:47:29 +0000 (05:47 +0000)]
- send past messages to client, as they are ordered below ACK
Bart Polot [Wed, 23 Jul 2014 05:47:28 +0000 (05:47 +0000)]
- log payload of dropped data
Bart Polot [Wed, 23 Jul 2014 05:47:27 +0000 (05:47 +0000)]
- correct data feedback
Bart Polot [Wed, 23 Jul 2014 05:47:26 +0000 (05:47 +0000)]
- make sure head of pending messages is > expected message, fix integer underflow
Bart Polot [Wed, 23 Jul 2014 05:47:24 +0000 (05:47 +0000)]
- clear ready flag on send
Bart Polot [Wed, 23 Jul 2014 05:47:23 +0000 (05:47 +0000)]
- fix logging
Bart Polot [Tue, 22 Jul 2014 16:00:36 +0000 (16:00 +0000)]
- make sure connection is destroyed and no use-after-free happens
Bart Polot [Tue, 22 Jul 2014 16:00:35 +0000 (16:00 +0000)]
- only an error if counter was wrong
Bart Polot [Tue, 22 Jul 2014 16:00:33 +0000 (16:00 +0000)]
- Keepalives should NOT be transmitted in the clear
Omar Tarabai [Tue, 22 Jul 2014 11:56:36 +0000 (11:56 +0000)]
towards sensor update functionality
Bart Polot [Tue, 22 Jul 2014 02:54:12 +0000 (02:54 +0000)]
- add connection state BROKEN for connections destroyed on behalf of intermediate nodes
Bart Polot [Mon, 21 Jul 2014 10:13:44 +0000 (10:13 +0000)]
- convince gcc to compile
Bart Polot [Mon, 21 Jul 2014 09:58:04 +0000 (09:58 +0000)]
- persuade social to at least compile
Bart Polot [Mon, 21 Jul 2014 09:52:18 +0000 (09:52 +0000)]
- more debug info on buildbots
Bart Polot [Mon, 21 Jul 2014 00:15:32 +0000 (00:15 +0000)]
Force sending of KX messages even when connection queue is full
Bart Polot [Mon, 21 Jul 2014 00:15:31 +0000 (00:15 +0000)]
- fix
Bart Polot [Mon, 21 Jul 2014 00:15:29 +0000 (00:15 +0000)]
- fix tunnel state management after connection failure<
Bart Polot [Mon, 21 Jul 2014 00:15:28 +0000 (00:15 +0000)]
- debug info for tunnel status mismatch
Bart Polot [Mon, 21 Jul 2014 00:15:26 +0000 (00:15 +0000)]
- schedule next keepalive even if tunnel is still in SEARCHING
Bart Polot [Mon, 21 Jul 2014 00:15:25 +0000 (00:15 +0000)]
- debug INFO for missing keepalive in BCK
Bart Polot [Mon, 21 Jul 2014 00:15:24 +0000 (00:15 +0000)]
- On a new EPHM, do a immediate rekey
Bart Polot [Mon, 21 Jul 2014 00:15:22 +0000 (00:15 +0000)]
- notify about deleted messages when popping messages from a connection, allowing to keep a count and make sure the connection is destroyed
Bart Polot [Mon, 21 Jul 2014 00:15:21 +0000 (00:15 +0000)]
- doxygen, code formatting
Bart Polot [Mon, 21 Jul 2014 00:15:19 +0000 (00:15 +0000)]
- as connecton_pop destroys many message type wihtout return, count is not applicable
Bart Polot [Mon, 21 Jul 2014 00:15:18 +0000 (00:15 +0000)]
- don't dereference c in connection pop, c might be free'd if previous call popped last message
Bart Polot [Mon, 21 Jul 2014 00:15:17 +0000 (00:15 +0000)]
- more debug info on received ACK, doxygen
Bart Polot [Mon, 21 Jul 2014 00:15:16 +0000 (00:15 +0000)]
- show queued messages when allowing client to send more
Bart Polot [Mon, 21 Jul 2014 00:15:14 +0000 (00:15 +0000)]
- don't re-encrypt data queued in a broken connection
Bart Polot [Mon, 21 Jul 2014 00:15:13 +0000 (00:15 +0000)]
- save old logfiles
Bart Polot [Mon, 21 Jul 2014 00:15:12 +0000 (00:15 +0000)]
- simplify loopcheck
Bart Polot [Mon, 21 Jul 2014 00:15:10 +0000 (00:15 +0000)]
- check that the connection belongs to a tunnel when keeping it alive (otherwise, it might be BROKEN)
Bart Polot [Mon, 21 Jul 2014 00:15:09 +0000 (00:15 +0000)]
- cancel any rekey tasks when calling it directly
Bart Polot [Mon, 21 Jul 2014 00:15:08 +0000 (00:15 +0000)]
- test for coredumps and assertions on loopcheck
Bart Polot [Mon, 21 Jul 2014 00:15:06 +0000 (00:15 +0000)]
- warn when test goes wrong
Bart Polot [Mon, 21 Jul 2014 00:15:05 +0000 (00:15 +0000)]
- when a connection is broken, remove it from tunnel, allow tunnel to update cstate and try to create new connections
Bart Polot [Mon, 21 Jul 2014 00:15:04 +0000 (00:15 +0000)]
- allow to run specific checks in a loop
Matthias Wachs [Thu, 17 Jul 2014 15:25:46 +0000 (15:25 +0000)]
duplicate timeout logic: numeric_reverse frees memory but does not unqueue
Matthias Wachs [Thu, 17 Jul 2014 14:44:59 +0000 (14:44 +0000)]
remove debug message
Matthias Wachs [Thu, 17 Jul 2014 14:43:53 +0000 (14:43 +0000)]
fixing assertion in gnunet-ats.c:250: hashmap did not copy peer ids -> crash
Matthias Wachs [Thu, 17 Jul 2014 14:28:59 +0000 (14:28 +0000)]
clean up
Matthias Wachs [Thu, 17 Jul 2014 14:02:06 +0000 (14:02 +0000)]
minor changes
Matthias Wachs [Thu, 17 Jul 2014 14:01:44 +0000 (14:01 +0000)]
dns forward and reverse lookup functionality for http names
Matthias Wachs [Thu, 17 Jul 2014 11:18:49 +0000 (11:18 +0000)]
bandwidth stability for ATS
Matthias Wachs [Thu, 17 Jul 2014 09:47:51 +0000 (09:47 +0000)]
do not use NBO internally
Matthias Wachs [Thu, 17 Jul 2014 08:35:20 +0000 (08:35 +0000)]
per peer back-off for transport connect attempts
Matthias Wachs [Thu, 17 Jul 2014 08:02:44 +0000 (08:02 +0000)]
fix docu, make code readable, remove unclear FIXME, add max frequency
Supriti Singh [Wed, 16 Jul 2014 15:45:45 +0000 (15:45 +0000)]
Removing warnings
Supriti Singh [Wed, 16 Jul 2014 15:40:07 +0000 (15:40 +0000)]
code cleanup
Omar Tarabai [Wed, 16 Jul 2014 12:38:28 +0000 (12:38 +0000)]
error handling
Supriti Singh [Wed, 16 Jul 2014 06:30:32 +0000 (06:30 +0000)]
xvine: fixes
Christian Grothoff [Tue, 15 Jul 2014 10:38:24 +0000 (10:38 +0000)]
-define port for W32
Omar Tarabai [Mon, 14 Jul 2014 17:51:48 +0000 (17:51 +0000)]
moving peerstore out of experimental
Omar Tarabai [Mon, 14 Jul 2014 17:40:32 +0000 (17:40 +0000)]
fs now uses peerstore to store respect value
Omar Tarabai [Mon, 14 Jul 2014 17:37:31 +0000 (17:37 +0000)]
config fix
Supriti Singh [Mon, 14 Jul 2014 13:03:04 +0000 (13:03 +0000)]
Add DEBUG to GET requests. Add replication degree as an option.
Supriti Singh [Mon, 14 Jul 2014 12:20:23 +0000 (12:20 +0000)]
Close client connection to DHT once GET is succeeded or failed.
Supriti Singh [Mon, 14 Jul 2014 12:03:35 +0000 (12:03 +0000)]
Use correct key while doing GET. Wait for all PUT and GET requests to complete.
Christian Grothoff [Sat, 12 Jul 2014 20:29:25 +0000 (20:29 +0000)]
fix #3446
Christian Grothoff [Fri, 11 Jul 2014 22:10:15 +0000 (22:10 +0000)]
-fixing doxygen, indentation
Gabor X Toth [Thu, 10 Jul 2014 17:49:59 +0000 (17:49 +0000)]
rename logread tools
Gabor X Toth [Thu, 10 Jul 2014 17:49:53 +0000 (17:49 +0000)]
PSYC(store), Multicast: use ECDSA slave/member keys; PSYC: add GNUNET_PSYC_message_create()
Matthias Wachs [Thu, 10 Jul 2014 10:38:46 +0000 (10:38 +0000)]
rename "name" to label
Matthias Wachs [Thu, 10 Jul 2014 09:15:05 +0000 (09:15 +0000)]
gnunet coding style template for eclipse
Matthias Wachs [Thu, 10 Jul 2014 08:51:20 +0000 (08:51 +0000)]
improving documentation
Omar Tarabai [Wed, 9 Jul 2014 14:46:56 +0000 (14:46 +0000)]
Added flag to API disconnect method to send pending store requests before disconnecting.
Added a test case for it.
Bart Polot [Wed, 9 Jul 2014 14:07:13 +0000 (14:07 +0000)]
- include NULL guards in debug
Bart Polot [Wed, 9 Jul 2014 14:07:12 +0000 (14:07 +0000)]
- fix variable log level, add connection debug function
Bart Polot [Wed, 9 Jul 2014 14:07:11 +0000 (14:07 +0000)]
- include order upsets kdevelop
Matthias Wachs [Wed, 9 Jul 2014 11:13:22 +0000 (11:13 +0000)]
fixing USE_SUSPEND error with mhd daemon and free error
Omar Tarabai [Tue, 8 Jul 2014 18:03:39 +0000 (18:03 +0000)]
peerstore doesn't shutdown when clients are connected
Christian Grothoff [Tue, 8 Jul 2014 07:33:10 +0000 (07:33 +0000)]
-tolerate it if gnunet://gns/ URI prefix is in upper case
Omar Tarabai [Mon, 7 Jul 2014 14:47:37 +0000 (14:47 +0000)]
sensordashboard: received data stored in peerstore
Omar Tarabai [Mon, 7 Jul 2014 10:43:24 +0000 (10:43 +0000)]
logging more verbose
Matthias Wachs [Mon, 7 Jul 2014 08:25:47 +0000 (08:25 +0000)]
missing mapping for CERT
Supriti Singh [Sun, 6 Jul 2014 20:50:45 +0000 (20:50 +0000)]
xvine: Fixes
Omar Tarabai [Sun, 6 Jul 2014 18:02:11 +0000 (18:02 +0000)]
documentation fix
Bart Polot [Sat, 5 Jul 2014 00:13:06 +0000 (00:13 +0000)]
- document code, small sanity checks
Sree Harsha Totakura [Fri, 4 Jul 2014 21:38:45 +0000 (21:38 +0000)]
Do not cleanup operation queues if they are not empty. Instead, mark them as expired and clean them in destructor.
--This line, and those
below, will be ignored--
M testbed/testbed_api_operations.c
Omar Tarabai [Fri, 4 Jul 2014 15:47:41 +0000 (15:47 +0000)]
new sensors + disabled reporting by default
Omar Tarabai [Fri, 4 Jul 2014 15:31:41 +0000 (15:31 +0000)]
sensor lifetime defaults to forever
Omar Tarabai [Fri, 4 Jul 2014 15:16:00 +0000 (15:16 +0000)]
completed sensordashboard + fixes
Bart Polot [Fri, 4 Jul 2014 12:29:08 +0000 (12:29 +0000)]
- fix #3483
Bart Polot [Fri, 4 Jul 2014 12:29:07 +0000 (12:29 +0000)]
- verbose debug
Bart Polot [Fri, 4 Jul 2014 12:29:06 +0000 (12:29 +0000)]
- dont use pointer after free
Matthias Wachs [Fri, 4 Jul 2014 10:50:33 +0000 (10:50 +0000)]
fix statistics for reuqests
David Barksdale [Thu, 3 Jul 2014 22:57:31 +0000 (22:57 +0000)]
Fix hostlist server CORS headers
David Barksdale [Thu, 3 Jul 2014 20:11:03 +0000 (20:11 +0000)]
Require libmicrohttpd >= 0.9.32
We are using suspend/resume features for plugin_transport_http_server
which were added in 0.9.32.
David Barksdale [Thu, 3 Jul 2014 18:52:53 +0000 (18:52 +0000)]
Use MHD_USE_SUSPEND_RESUME, fixes #3460
David Barksdale [Thu, 3 Jul 2014 18:03:54 +0000 (18:03 +0000)]
Don't break, this is expected from XHR clients
Bart Polot [Thu, 3 Jul 2014 15:22:05 +0000 (15:22 +0000)]
- fix connection pending counter
Bart Polot [Thu, 3 Jul 2014 14:07:06 +0000 (14:07 +0000)]
- debug info for buildbot reports
Omar Tarabai [Thu, 3 Jul 2014 14:06:02 +0000 (14:06 +0000)]
moved common sensor functionality to a util lib
Bart Polot [Thu, 3 Jul 2014 13:39:33 +0000 (13:39 +0000)]
- Convince 'make -j 10' to work nicely.
Bart Polot [Thu, 3 Jul 2014 13:30:22 +0000 (13:30 +0000)]
- Revert "Fix transport blacklist tests"
- This reverts commit
3f7a1601abadaa0a8036a39e5227ae4c156dd50e/r33895: we went back to standart Crockford base32.
Matthias Wachs [Thu, 3 Jul 2014 13:29:17 +0000 (13:29 +0000)]
- fixing use after free
- renaming connections to requests