oweals/gnunet.git
7 years agonicer logging
Christian Grothoff [Sun, 22 Jan 2017 14:50:34 +0000 (15:50 +0100)]
nicer logging

7 years agofix comparisson
Christian Grothoff [Sun, 22 Jan 2017 14:49:46 +0000 (15:49 +0100)]
fix comparisson

7 years agomust not move location of -struct CadetPeerPathEntry- in memory when growing path...
Christian Grothoff [Sun, 22 Jan 2017 14:23:38 +0000 (15:23 +0100)]
must not move location of -struct CadetPeerPathEntry- in memory when growing path length as those structs are also referenced from a DLL

7 years agonicer logging
Christian Grothoff [Sun, 22 Jan 2017 14:22:45 +0000 (15:22 +0100)]
nicer logging

7 years agomust delay iteration over paths until later, as we may be right now creating a connection
Christian Grothoff [Sun, 22 Jan 2017 14:22:22 +0000 (15:22 +0100)]
must delay iteration over paths until later, as we may be right now creating a connection

7 years agonicer order of LOG statements
Christian Grothoff [Sun, 22 Jan 2017 14:21:42 +0000 (15:21 +0100)]
nicer order of LOG statements

7 years agominor cleanup
Christian Grothoff [Sun, 22 Jan 2017 14:21:18 +0000 (15:21 +0100)]
minor cleanup

7 years agofix indentation
Christian Grothoff [Sun, 22 Jan 2017 13:20:16 +0000 (14:20 +0100)]
fix indentation

7 years agoproperly launch DHT GETs based on need for paths
Christian Grothoff [Sun, 22 Jan 2017 13:20:01 +0000 (14:20 +0100)]
properly launch DHT GETs based on need for paths

7 years agofix a few off-by-ones
Christian Grothoff [Sun, 22 Jan 2017 13:19:12 +0000 (14:19 +0100)]
fix a few off-by-ones

7 years agofix buffer size
Christian Grothoff [Sun, 22 Jan 2017 13:13:42 +0000 (14:13 +0100)]
fix buffer size

7 years agomake GCPP_2s also return static string
Christian Grothoff [Sun, 22 Jan 2017 13:06:35 +0000 (14:06 +0100)]
make GCPP_2s also return static string

7 years agomore logging for cadet-core subsystem
Christian Grothoff [Sun, 22 Jan 2017 11:35:32 +0000 (12:35 +0100)]
more logging for cadet-core subsystem

7 years agoallow NULL argument for GNUNET_i2s()
Christian Grothoff [Sun, 22 Jan 2017 11:23:08 +0000 (12:23 +0100)]
allow NULL argument for GNUNET_i2s()

7 years agointrocude GNUNET_i2s2()
Christian Grothoff [Sun, 22 Jan 2017 11:21:24 +0000 (12:21 +0100)]
introcude GNUNET_i2s2()

7 years agoimproving logging
Christian Grothoff [Sun, 22 Jan 2017 11:12:31 +0000 (12:12 +0100)]
improving logging

7 years agoonly send CHANNEL_DESTROY message if we at least send the CHANNEL_CREATE message...
Christian Grothoff [Sun, 22 Jan 2017 10:44:22 +0000 (11:44 +0100)]
only send CHANNEL_DESTROY message if we at least send the CHANNEL_CREATE message, and not if the tunnel never went up in the first place

7 years agofix startup interaction between channel and tunnel to not send CHANNEL_OPEN until...
Christian Grothoff [Sun, 22 Jan 2017 10:35:46 +0000 (11:35 +0100)]
fix startup interaction between channel and tunnel to not send CHANNEL_OPEN until tunnel is in KEY_OK state

7 years agoimprove logging, log before doing, not after
Christian Grothoff [Sun, 22 Jan 2017 10:34:56 +0000 (11:34 +0100)]
improve logging, log before doing, not after

7 years agodo not run upnpc during tests, produces unnecessary errors if not available
Christian Grothoff [Sun, 22 Jan 2017 10:34:24 +0000 (11:34 +0100)]
do not run upnpc during tests, produces unnecessary errors if not available

7 years agooptimize startup sequence for when we execute first DHT PUTs
Christian Grothoff [Sun, 22 Jan 2017 10:34:02 +0000 (11:34 +0100)]
optimize startup sequence for when we execute first DHT PUTs

7 years agostill fixing the stupid connect_task cleanup issue
Christian Grothoff [Sat, 21 Jan 2017 23:52:04 +0000 (00:52 +0100)]
still fixing the stupid connect_task cleanup issue

7 years agoadding missing ignores
Christian Grothoff [Sat, 21 Jan 2017 23:49:29 +0000 (00:49 +0100)]
adding missing ignores

7 years agouse new SCHEDULER_add_at API where applicable
Christian Grothoff [Sat, 21 Jan 2017 23:46:03 +0000 (00:46 +0100)]
use new SCHEDULER_add_at API where applicable

7 years agoextending scheduler API with 'add_at' functionality to avoid unnecessary time conversions
Christian Grothoff [Sat, 21 Jan 2017 23:35:37 +0000 (00:35 +0100)]
extending scheduler API with 'add_at' functionality to avoid unnecessary time conversions

7 years agoanother connect_task init missing
Christian Grothoff [Sat, 21 Jan 2017 23:34:55 +0000 (00:34 +0100)]
another connect_task init missing

7 years agofix crash on early abort due to dangling connect task
Christian Grothoff [Sat, 21 Jan 2017 23:24:27 +0000 (00:24 +0100)]
fix crash on early abort due to dangling connect task

7 years agofixing leaks
Christian Grothoff [Sat, 21 Jan 2017 23:21:18 +0000 (00:21 +0100)]
fixing leaks

7 years agoat least NULL the task handle in the unimplemented task
Christian Grothoff [Sat, 21 Jan 2017 23:14:51 +0000 (00:14 +0100)]
at least NULL the task handle in the unimplemented task

7 years agoensure tunnels are shutdown at the right time during shutdown
Christian Grothoff [Sat, 21 Jan 2017 23:10:26 +0000 (00:10 +0100)]
ensure tunnels are shutdown at the right time during shutdown

7 years agoproperly set executed tasks to NULL
Christian Grothoff [Sat, 21 Jan 2017 23:02:09 +0000 (00:02 +0100)]
properly set executed tasks to NULL

7 years agoinitialize ephemeral keys
Christian Grothoff [Sat, 21 Jan 2017 23:00:06 +0000 (00:00 +0100)]
initialize ephemeral keys

7 years agoimplement get_path_from_route
Christian Grothoff [Sat, 21 Jan 2017 22:50:32 +0000 (23:50 +0100)]
implement get_path_from_route

7 years agomore LOG macros
Christian Grothoff [Sat, 21 Jan 2017 18:52:32 +0000 (19:52 +0100)]
more LOG macros

7 years agomore logging, minor bugfixes / renames
Christian Grothoff [Sat, 21 Jan 2017 18:45:41 +0000 (19:45 +0100)]
more logging, minor bugfixes / renames

7 years agosome renaming, some code general code cleanup, some logging
Christian Grothoff [Sat, 21 Jan 2017 16:51:51 +0000 (17:51 +0100)]
some renaming, some code general code cleanup, some logging

7 years agorenames to avoid ambiguity
Christian Grothoff [Sat, 21 Jan 2017 13:51:28 +0000 (14:51 +0100)]
renames to avoid ambiguity

7 years agoremaing remaining mandatory functions for basic operation
Christian Grothoff [Sat, 21 Jan 2017 13:49:23 +0000 (14:49 +0100)]
remaing remaining mandatory functions for basic operation

7 years agoworking on channel passing data to clients
Christian Grothoff [Fri, 20 Jan 2017 19:39:51 +0000 (20:39 +0100)]
working on channel passing data to clients

7 years agomore work on new tunnel logic
Christian Grothoff [Fri, 20 Jan 2017 17:56:17 +0000 (18:56 +0100)]
more work on new tunnel logic

7 years agopass messages from tunnel to channel
Christian Grothoff [Fri, 20 Jan 2017 10:28:30 +0000 (11:28 +0100)]
pass messages from tunnel to channel

7 years agomore work on channel/tunnel logic
Christian Grothoff [Fri, 20 Jan 2017 09:08:07 +0000 (10:08 +0100)]
more work on channel/tunnel logic

7 years agonote on things left to do
Christian Grothoff [Thu, 19 Jan 2017 14:58:50 +0000 (15:58 +0100)]
note on things left to do

7 years agomuch work on connection/route/peer-level queue management
Christian Grothoff [Thu, 19 Jan 2017 14:52:22 +0000 (15:52 +0100)]
much work on connection/route/peer-level queue management

7 years agobaby steps towards KX
Christian Grothoff [Thu, 19 Jan 2017 10:05:34 +0000 (11:05 +0100)]
baby steps towards KX

7 years agocreate matching connection objects for inbound connections
Christian Grothoff [Wed, 18 Jan 2017 18:24:33 +0000 (19:24 +0100)]
create matching connection objects for inbound connections

7 years agowork towards routing
Christian Grothoff [Wed, 18 Jan 2017 15:56:01 +0000 (16:56 +0100)]
work towards routing

7 years agomore rename festivities
Christian Grothoff [Wed, 18 Jan 2017 13:49:17 +0000 (14:49 +0100)]
more rename festivities

7 years agoadd note to legacy code about rename operation
Christian Grothoff [Wed, 18 Jan 2017 10:46:20 +0000 (11:46 +0100)]
add note to legacy code about rename operation

7 years agointroduce CadetEncryptedMessageIdentifier instead of over-using uint32_t
Christian Grothoff [Wed, 18 Jan 2017 10:43:09 +0000 (11:43 +0100)]
introduce CadetEncryptedMessageIdentifier instead of over-using uint32_t

7 years agocadet message struct and type rename-fest
Christian Grothoff [Wed, 18 Jan 2017 09:51:16 +0000 (10:51 +0100)]
cadet message struct and type rename-fest

7 years agoadd logic to properly decode and dispatch decrypted messages
Christian Grothoff [Tue, 17 Jan 2017 21:40:43 +0000 (22:40 +0100)]
add logic to properly decode and dispatch decrypted messages

7 years agotowards decrypting traffic in new CADET
Christian Grothoff [Tue, 17 Jan 2017 18:58:31 +0000 (19:58 +0100)]
towards decrypting traffic in new CADET

7 years agounnecessary here
Christian Grothoff [Tue, 17 Jan 2017 16:20:30 +0000 (17:20 +0100)]
unnecessary here

7 years agouse new shortmap to simplify CADET logic a bit
Christian Grothoff [Tue, 17 Jan 2017 16:18:53 +0000 (17:18 +0100)]
use new shortmap to simplify CADET logic a bit

7 years agomake shortmap actually over shorts
Christian Grothoff [Tue, 17 Jan 2017 15:54:38 +0000 (16:54 +0100)]
make shortmap actually over shorts

7 years agointroducing the short map
Christian Grothoff [Tue, 17 Jan 2017 15:40:19 +0000 (16:40 +0100)]
introducing the short map

7 years agotowards actual routing...
Christian Grothoff [Tue, 17 Jan 2017 15:08:38 +0000 (16:08 +0100)]
towards actual routing...

7 years agostarting with CORE subsystem for CADET
Christian Grothoff [Tue, 17 Jan 2017 13:44:50 +0000 (14:44 +0100)]
starting with CORE subsystem for CADET

7 years agodead code elimination
Christian Grothoff [Tue, 17 Jan 2017 13:41:50 +0000 (14:41 +0100)]
dead code elimination

7 years agoimporting KX logic, integrating encryption logic
Christian Grothoff [Tue, 17 Jan 2017 13:20:59 +0000 (14:20 +0100)]
importing KX logic, integrating encryption logic

7 years agomore work on new CADET
Christian Grothoff [Tue, 17 Jan 2017 10:54:31 +0000 (11:54 +0100)]
more work on new CADET

7 years agoreplace redundant MQ_NotifyCallback by SCHEDULER_TaskCallback
Christian Grothoff [Tue, 17 Jan 2017 10:22:00 +0000 (11:22 +0100)]
replace redundant MQ_NotifyCallback by SCHEDULER_TaskCallback

7 years agoMore bugfixes to make gnunet-social usable
lurchi [Tue, 17 Jan 2017 02:00:11 +0000 (03:00 +0100)]
More bugfixes to make gnunet-social usable

- the host's entry message is not ignored anymore
- guest-talk and host-anounce are working

7 years agoREADME: Change adduser line.
ng0 [Mon, 16 Jan 2017 23:47:38 +0000 (23:47 +0000)]
README: Change adduser line.

This is a follow-up to 85320267db58094d6623fd93bf969e0d4a6d96f2.

7 years agoauction: basic service template
Markus Teich [Mon, 16 Jan 2017 20:08:20 +0000 (21:08 +0100)]
auction: basic service template

7 years agofinish logic to maintain paths
Christian Grothoff [Mon, 16 Jan 2017 18:31:31 +0000 (19:31 +0100)]
finish logic to maintain paths

7 years agomake gcc -pedantic happy
Markus Teich [Mon, 16 Jan 2017 17:45:03 +0000 (18:45 +0100)]
make gcc -pedantic happy

7 years agomore work on peers, paths and tunnels
Christian Grothoff [Mon, 16 Jan 2017 17:13:09 +0000 (18:13 +0100)]
more work on peers, paths and tunnels

7 years agoprotocols.h: reserve block for auction service
Markus Teich [Mon, 16 Jan 2017 14:30:03 +0000 (15:30 +0100)]
protocols.h: reserve block for auction service

7 years agoutil: increment internal version for new code used by libbrandt
Markus Teich [Mon, 16 Jan 2017 14:15:43 +0000 (15:15 +0100)]
util: increment internal version for new code used by libbrandt

7 years agoRevert "README: Change"
ng0 [Mon, 16 Jan 2017 13:02:38 +0000 (13:02 +0000)]
Revert "README: Change"

This reverts commit 06a3136e27109c317d20c28049ac55c47e2e05d9.

7 years agoREADME: Change
ng0 [Mon, 16 Jan 2017 12:17:43 +0000 (12:17 +0000)]
README: Change
adduser gnunet gnunet
to
adduser --system --home "/var/lib/gnunet" --group gnunet

In sync with what is recommended later on in the README (use of /var/lib),
as suggested by adfeno in freenode.

7 years agomore work on peer and paths structures
Christian Grothoff [Mon, 16 Jan 2017 11:06:17 +0000 (12:06 +0100)]
more work on peer and paths structures

7 years agodesign CadetPeerPathEntry data structure
Christian Grothoff [Mon, 16 Jan 2017 10:25:24 +0000 (11:25 +0100)]
design CadetPeerPathEntry data structure

7 years agosimplify GNUNET_CONTAINER_heap_update_cost API
Christian Grothoff [Mon, 16 Jan 2017 10:24:30 +0000 (11:24 +0100)]
simplify GNUNET_CONTAINER_heap_update_cost API

7 years agobugfixes in the multicast service
lurchi [Mon, 16 Jan 2017 06:50:00 +0000 (07:50 +0100)]
bugfixes in the multicast service

It's now possible to use the social service to enter a place on another peer as guest.

7 years agostarting re-implementation of CADET service
Christian Grothoff [Sun, 15 Jan 2017 20:49:27 +0000 (21:49 +0100)]
starting re-implementation of CADET service

7 years agocleaning up some CADET logic, improving types used
Christian Grothoff [Sun, 15 Jan 2017 20:49:06 +0000 (21:49 +0100)]
cleaning up some CADET logic, improving types used

7 years agofix format string issue
Christian Grothoff [Sun, 15 Jan 2017 20:48:12 +0000 (21:48 +0100)]
fix format string issue

7 years agoindentation fixes
Christian Grothoff [Sun, 15 Jan 2017 17:46:17 +0000 (18:46 +0100)]
indentation fixes

7 years agoblock size of 0 is also valid
Christian Grothoff [Sun, 15 Jan 2017 17:41:34 +0000 (18:41 +0100)]
block size of 0 is also valid

7 years agotrying to fix issue reported by Lurchi
Christian Grothoff [Sat, 14 Jan 2017 17:01:12 +0000 (18:01 +0100)]
trying to fix issue reported by Lurchi

7 years agodo not start zonemaster in tests that do not need it
Christian Grothoff [Sat, 14 Jan 2017 15:14:15 +0000 (16:14 +0100)]
do not start zonemaster in tests that do not need it

7 years agodegrade warning to DEBUG statement, include logging of retry delay
Christian Grothoff [Fri, 13 Jan 2017 12:25:47 +0000 (13:25 +0100)]
degrade warning to DEBUG statement, include logging of retry delay

7 years agoimplement -T option for gnunet-arm (#4854)
Christian Grothoff [Fri, 13 Jan 2017 12:23:38 +0000 (13:23 +0100)]
implement -T option for gnunet-arm (#4854)

7 years agoauction: add test for auction-create
Markus Teich [Thu, 12 Jan 2017 19:17:35 +0000 (20:17 +0100)]
auction: add test for auction-create

7 years agoauction: check for empty pricelist
Markus Teich [Thu, 12 Jan 2017 19:16:40 +0000 (20:16 +0100)]
auction: check for empty pricelist

7 years agoauction: add pricemap validation
Markus Teich [Thu, 12 Jan 2017 18:23:12 +0000 (19:23 +0100)]
auction: add pricemap validation

7 years agohandle case upnpc not found nicely
Christian Grothoff [Thu, 12 Jan 2017 17:33:03 +0000 (18:33 +0100)]
handle case upnpc not found nicely

7 years agospacing
Christian Grothoff [Thu, 12 Jan 2017 17:22:26 +0000 (18:22 +0100)]
spacing

7 years agocorrect section is nat-auto
Christian Grothoff [Thu, 12 Jan 2017 17:22:05 +0000 (18:22 +0100)]
correct section is nat-auto

7 years agoMerge remote-tracking branch 'origin/master'
Markus Teich [Thu, 12 Jan 2017 17:13:17 +0000 (18:13 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoforce non-zero
Christian Grothoff [Thu, 12 Jan 2017 17:04:14 +0000 (18:04 +0100)]
force non-zero

7 years agouse sane default
Christian Grothoff [Thu, 12 Jan 2017 17:01:27 +0000 (18:01 +0100)]
use sane default

7 years agoMerge branch 'master' into auction
Markus Teich [Thu, 12 Jan 2017 16:34:19 +0000 (17:34 +0100)]
Merge branch 'master' into auction

7 years agoconfigure.ac: add notice for libjansson
Markus Teich [Thu, 12 Jan 2017 16:33:52 +0000 (17:33 +0100)]
configure.ac: add notice for libjansson

7 years agoinclude json dependency
Markus Teich [Thu, 12 Jan 2017 16:29:25 +0000 (17:29 +0100)]
include json dependency

7 years agoadd basic cmdline checking
Markus Teich [Thu, 12 Jan 2017 16:28:41 +0000 (17:28 +0100)]
add basic cmdline checking

7 years agofix section name
Christian Grothoff [Thu, 12 Jan 2017 16:20:17 +0000 (17:20 +0100)]
fix section name