oweals/gnunet.git
10 years agoremove state
Matthias Wachs [Wed, 26 Mar 2014 10:54:36 +0000 (10:54 +0000)]
remove state

10 years agoremoving blacklist state not required anymore
Matthias Wachs [Wed, 26 Mar 2014 10:54:04 +0000 (10:54 +0000)]
removing blacklist state not required anymore

10 years agofix compile warning
Matthias Wachs [Wed, 26 Mar 2014 09:40:07 +0000 (09:40 +0000)]
fix compile warning

10 years agoDo blacklist checks on CONNECT before giving CONNECT to neighbours.
Matthias Wachs [Tue, 25 Mar 2014 16:40:41 +0000 (16:40 +0000)]
Do blacklist checks on CONNECT before giving CONNECT to neighbours.
If peer is blacklisted we do not need to to anything, this simplifies the state machine:
If peer is blacklisted: CONNECT is not given to neighbours
If address is blacklisted: address is not given to ATS and will therefore not be suggested
So neighbour can use this information without additional blacklist checks

10 years agochecking incoming connection behaviour:
Matthias Wachs [Mon, 24 Mar 2014 16:43:41 +0000 (16:43 +0000)]
checking incoming connection behaviour:
- removing blacklist checks for incoming checks
- adjusting blacklist check on connect to report to ATS
- incoming blacklist check states did not set timeouts
- timeouts not set for PS_CONNECT_RECV_BLACKLIST_INBOUND in handle_connect

10 years agoFIX:
Matthias Wachs [Mon, 24 Mar 2014 15:26:46 +0000 (15:26 +0000)]
FIX:
In ATS fast reconnect the timeout was not set correctly if reconnect was successful and neighbour was disconnected in master task after 1 second

10 years agochecking incoming connections
Matthias Wachs [Mon, 24 Mar 2014 15:06:30 +0000 (15:06 +0000)]
checking incoming connections
major fixes:
- do not disconnect neighbor on CONNECT_SENT timeout, but:
destroy address and expect new address from ATS
- fixes related to mantis #3263 when peers reconnect:
when peers receive CONNECT in PS_DISCONNECT, disconnect was completed but
-- no address requested
-- ack timestamp not saved
-- ack state was not set to expect a SESSION_ACK message
-> reconnect failed!

minor change:
- adding a GST_ACK_State enumeration to make code easier understandable

10 years agoMerged update_successor and update_predecessor with finger table add
Supriti Singh [Mon, 24 Mar 2014 12:28:30 +0000 (12:28 +0000)]
Merged update_successor and update_predecessor with finger table add

10 years agotask was not marked as canceled when canceled
Matthias Wachs [Mon, 24 Mar 2014 10:22:07 +0000 (10:22 +0000)]
task was not marked as canceled when canceled
fixing mantis #0003345

10 years ago- fix
Bart Polot [Sat, 22 Mar 2014 22:54:51 +0000 (22:54 +0000)]
- fix

10 years ago- fix
Bart Polot [Sat, 22 Mar 2014 22:53:49 +0000 (22:53 +0000)]
- fix

10 years ago- optimizations for runtime
Bart Polot [Sat, 22 Mar 2014 22:53:48 +0000 (22:53 +0000)]
- optimizations for runtime

10 years ago- add more links
Bart Polot [Sat, 22 Mar 2014 22:46:04 +0000 (22:46 +0000)]
- add more links

10 years ago- start test if warmup "fails"
Bart Polot [Sat, 22 Mar 2014 22:46:02 +0000 (22:46 +0000)]
- start test if warmup "fails"

10 years ago- fix handling of duplicate incoming channel create with respect to queued retransmis...
Bart Polot [Sat, 22 Mar 2014 22:37:13 +0000 (22:37 +0000)]
- fix handling of duplicate incoming channel create with respect to queued retransmissions

10 years ago- profiler changes
Bart Polot [Sat, 22 Mar 2014 20:56:45 +0000 (20:56 +0000)]
- profiler changes

10 years ago- dont assert
Bart Polot [Sat, 22 Mar 2014 20:56:41 +0000 (20:56 +0000)]
- dont assert

10 years ago- debug
Bart Polot [Sat, 22 Mar 2014 19:27:16 +0000 (19:27 +0000)]
- debug

10 years ago- pass warmup parameter
Bart Polot [Sat, 22 Mar 2014 16:54:40 +0000 (16:54 +0000)]
- pass warmup parameter

10 years ago- fix
Bart Polot [Sat, 22 Mar 2014 16:54:38 +0000 (16:54 +0000)]
- fix

10 years ago- cancel SYNACK retry task when forced to SYNACK by an incoming SYN
Bart Polot [Sat, 22 Mar 2014 02:58:45 +0000 (02:58 +0000)]
- cancel SYNACK retry task when forced to SYNACK by an incoming SYN

10 years ago- don-t re-scheduler, destroy immediately (comes from scheduler)
Bart Polot [Sat, 22 Mar 2014 02:58:43 +0000 (02:58 +0000)]
- don-t re-scheduler, destroy immediately (comes from scheduler)

10 years ago- fix mask
Bart Polot [Sat, 22 Mar 2014 02:58:42 +0000 (02:58 +0000)]
- fix mask

10 years ago- set first channel number properly
Bart Polot [Sat, 22 Mar 2014 02:58:40 +0000 (02:58 +0000)]
- set first channel number properly

10 years ago- send ACK on duplicate channel_create
Bart Polot [Sat, 22 Mar 2014 02:58:39 +0000 (02:58 +0000)]
- send ACK on duplicate channel_create

10 years ago- fix peer to notify
Bart Polot [Sat, 22 Mar 2014 02:58:37 +0000 (02:58 +0000)]
- fix peer to notify

10 years ago- don't delay tests
Bart Polot [Sat, 22 Mar 2014 02:58:36 +0000 (02:58 +0000)]
- don't delay tests

10 years ago- invalidate instead of destroying, to avoid reusing right away (from stale DHT info...
Bart Polot [Sat, 22 Mar 2014 02:58:34 +0000 (02:58 +0000)]
- invalidate instead of destroying, to avoid reusing right away (from stale DHT info, for instance)

10 years ago- elimiate all paths
Bart Polot [Sat, 22 Mar 2014 02:58:33 +0000 (02:58 +0000)]
- elimiate all paths

10 years ago- eliminate broken paths
Bart Polot [Sat, 22 Mar 2014 02:58:32 +0000 (02:58 +0000)]
- eliminate broken paths

10 years ago- use proper type
Bart Polot [Sat, 22 Mar 2014 02:58:30 +0000 (02:58 +0000)]
- use proper type

10 years ago- fix infinite resend loop
Bart Polot [Sat, 22 Mar 2014 02:58:28 +0000 (02:58 +0000)]
- fix infinite resend loop

10 years ago- check path length AFTER shortening
Bart Polot [Sat, 22 Mar 2014 02:58:27 +0000 (02:58 +0000)]
- check path length AFTER shortening

10 years ago- log
Bart Polot [Sat, 22 Mar 2014 02:58:26 +0000 (02:58 +0000)]
- log

10 years ago-fix own position
Bart Polot [Sat, 22 Mar 2014 02:58:24 +0000 (02:58 +0000)]
-fix own position

10 years ago- fix
Bart Polot [Sat, 22 Mar 2014 02:58:23 +0000 (02:58 +0000)]
- fix

10 years ago- start test only after warmup
Bart Polot [Sat, 22 Mar 2014 02:58:22 +0000 (02:58 +0000)]
- start test only after warmup

10 years ago- simplify, improve to 15000 lines/s
Bart Polot [Sat, 22 Mar 2014 02:58:20 +0000 (02:58 +0000)]
- simplify, improve to 15000 lines/s

10 years ago- optimize
Bart Polot [Sat, 22 Mar 2014 02:58:19 +0000 (02:58 +0000)]
- optimize

10 years ago- adjust nse on the fly
Bart Polot [Sat, 22 Mar 2014 02:58:17 +0000 (02:58 +0000)]
- adjust nse on the fly

10 years ago- adjust retry time to expiration
Bart Polot [Sat, 22 Mar 2014 02:58:15 +0000 (02:58 +0000)]
- adjust retry time to expiration

10 years ago- expire data with hello
Bart Polot [Fri, 21 Mar 2014 23:06:54 +0000 (23:06 +0000)]
- expire data with hello

10 years ago- connections no longer have native 512 hashes, translation is used
Bart Polot [Fri, 21 Mar 2014 23:06:53 +0000 (23:06 +0000)]
- connections no longer have native 512 hashes, translation is used

10 years ago- dont show warning on duplicate broken connections
Bart Polot [Fri, 21 Mar 2014 23:06:51 +0000 (23:06 +0000)]
- dont show warning on duplicate broken connections

10 years ago- use full path debug
Bart Polot [Fri, 21 Mar 2014 23:06:50 +0000 (23:06 +0000)]
- use full path debug

10 years ago- fix false break() on retransmisson of connection_broken messages
Bart Polot [Fri, 21 Mar 2014 23:06:48 +0000 (23:06 +0000)]
- fix false break() on retransmisson of connection_broken messages

10 years agoremove unsued INIT_BLACKLIST state: blacklist check is done before switching
Matthias Wachs [Fri, 21 Mar 2014 19:53:29 +0000 (19:53 +0000)]
remove unsued INIT_BLACKLIST state: blacklist check is done before switching

10 years agoprint message if service is not running
Matthias Wachs [Fri, 21 Mar 2014 19:34:21 +0000 (19:34 +0000)]
print message if service is not running

10 years ago- fix path optimization bug
Bart Polot [Fri, 21 Mar 2014 18:44:55 +0000 (18:44 +0000)]
- fix path optimization bug

10 years ago- add warmup phase
Bart Polot [Fri, 21 Mar 2014 18:44:54 +0000 (18:44 +0000)]
- add warmup phase

10 years ago- clean stdout output, log debug still
Bart Polot [Fri, 21 Mar 2014 18:44:52 +0000 (18:44 +0000)]
- clean stdout output, log debug still

10 years ago- avoid excessive keepalives
Bart Polot [Fri, 21 Mar 2014 18:44:51 +0000 (18:44 +0000)]
- avoid excessive keepalives

10 years ago-log
Bart Polot [Fri, 21 Mar 2014 18:44:49 +0000 (18:44 +0000)]
-log

10 years ago-move round time to cli, fix config file
Bart Polot [Fri, 21 Mar 2014 18:44:48 +0000 (18:44 +0000)]
-move round time to cli, fix config file

10 years ago- check early
Bart Polot [Fri, 21 Mar 2014 18:44:46 +0000 (18:44 +0000)]
- check early

10 years ago- move pings to cli
Bart Polot [Fri, 21 Mar 2014 18:44:45 +0000 (18:44 +0000)]
- move pings to cli

10 years ago- log output
Bart Polot [Fri, 21 Mar 2014 18:44:43 +0000 (18:44 +0000)]
- log output

10 years ago- allocate memory, not array anymore
Bart Polot [Fri, 21 Mar 2014 18:44:42 +0000 (18:44 +0000)]
- allocate memory, not array anymore

10 years ago- not abort condition
Bart Polot [Fri, 21 Mar 2014 18:44:40 +0000 (18:44 +0000)]
- not abort condition

10 years ago- ignore
Bart Polot [Fri, 21 Mar 2014 18:44:38 +0000 (18:44 +0000)]
- ignore

10 years ago- hide temp config file, show config template
Bart Polot [Fri, 21 Mar 2014 18:44:37 +0000 (18:44 +0000)]
- hide temp config file, show config template

10 years ago- hide template
Bart Polot [Fri, 21 Mar 2014 18:44:36 +0000 (18:44 +0000)]
- hide template

10 years ago- wrap profiler in script to alter config file
Bart Polot [Fri, 21 Mar 2014 18:44:34 +0000 (18:44 +0000)]
- wrap profiler in script to alter config file

10 years ago- read peers form argv
Bart Polot [Fri, 21 Mar 2014 18:44:32 +0000 (18:44 +0000)]
- read peers form argv

10 years ago- add stddev
Bart Polot [Fri, 21 Mar 2014 18:44:30 +0000 (18:44 +0000)]
- add stddev

10 years ago- changes to round system, stats collection
Bart Polot [Fri, 21 Mar 2014 18:44:29 +0000 (18:44 +0000)]
- changes to round system, stats collection

10 years ago- adjust transport delay
Bart Polot [Fri, 21 Mar 2014 18:44:28 +0000 (18:44 +0000)]
- adjust transport delay

10 years ago- create own config file
Bart Polot [Fri, 21 Mar 2014 18:44:26 +0000 (18:44 +0000)]
- create own config file

10 years ago- copy & fail
Bart Polot [Fri, 21 Mar 2014 18:44:24 +0000 (18:44 +0000)]
- copy & fail

10 years ago- check channel creation
Bart Polot [Fri, 21 Mar 2014 18:44:22 +0000 (18:44 +0000)]
- check channel creation

10 years ago- test delay
Bart Polot [Fri, 21 Mar 2014 18:44:21 +0000 (18:44 +0000)]
- test delay

10 years ago- dht debug path
Bart Polot [Fri, 21 Mar 2014 18:44:20 +0000 (18:44 +0000)]
- dht debug path

10 years ago- requeue messages on connection broken
Bart Polot [Fri, 21 Mar 2014 18:44:18 +0000 (18:44 +0000)]
- requeue messages on connection broken

10 years ago- log
Bart Polot [Fri, 21 Mar 2014 18:44:17 +0000 (18:44 +0000)]
- log

10 years ago- add message pop from transmission queue
Bart Polot [Fri, 21 Mar 2014 18:44:15 +0000 (18:44 +0000)]
- add message pop from transmission queue

10 years ago- remove explicit keepalive rest
Bart Polot [Fri, 21 Mar 2014 18:44:13 +0000 (18:44 +0000)]
- remove explicit keepalive rest

10 years ago- set disable_try_connect for tests/profiler
Bart Polot [Fri, 21 Mar 2014 18:44:12 +0000 (18:44 +0000)]
- set disable_try_connect for tests/profiler

10 years ago- add DISABLE_TRY_CONNECT option
Bart Polot [Fri, 21 Mar 2014 18:44:11 +0000 (18:44 +0000)]
- add DISABLE_TRY_CONNECT option

10 years ago- establish connections on new paths
Bart Polot [Fri, 21 Mar 2014 18:44:09 +0000 (18:44 +0000)]
- establish connections on new paths

10 years ago-remove dead code
Bart Polot [Fri, 21 Mar 2014 18:44:08 +0000 (18:44 +0000)]
-remove dead code

10 years ago- add connection count check, doc
Bart Polot [Fri, 21 Mar 2014 18:44:06 +0000 (18:44 +0000)]
- add connection count check, doc

10 years ago-log
Bart Polot [Fri, 21 Mar 2014 18:44:05 +0000 (18:44 +0000)]
-log

10 years agofix compile warning
Matthias Wachs [Fri, 21 Mar 2014 12:59:15 +0000 (12:59 +0000)]
fix compile warning

10 years agofix initialized value in udp on invalid address
Matthias Wachs [Fri, 21 Mar 2014 12:56:24 +0000 (12:56 +0000)]
fix initialized value in udp on invalid address
fix log message

10 years ago-lgcrypt fails if gcrypt is not in lib search path: use variable to link libcrypt
Matthias Wachs [Fri, 21 Mar 2014 11:40:20 +0000 (11:40 +0000)]
-lgcrypt fails if gcrypt is not in lib search path: use variable to link libcrypt

10 years agowhen switching addresses in connect_sent: no blacklist check required, switch directl...
Matthias Wachs [Thu, 20 Mar 2014 20:06:51 +0000 (20:06 +0000)]
when switching addresses in connect_sent: no blacklist check required, switch directly and send new connect

10 years agoUpdated find successor
Supriti Singh [Thu, 20 Mar 2014 14:00:52 +0000 (14:00 +0000)]
Updated find successor

10 years agodoxygen fixes
Matthias Wachs [Thu, 20 Mar 2014 10:42:14 +0000 (10:42 +0000)]
doxygen fixes

10 years agoimproved log message
Matthias Wachs [Thu, 20 Mar 2014 10:42:04 +0000 (10:42 +0000)]
improved log message

10 years agorenaming generator type for ats
Matthias Wachs [Thu, 20 Mar 2014 09:58:43 +0000 (09:58 +0000)]
renaming generator type for ats
addign comment for bandwidth

10 years agofixed check for destruction of inbound addresses
Matthias Wachs [Thu, 20 Mar 2014 09:57:59 +0000 (09:57 +0000)]
fixed check for destruction of inbound addresses

10 years agouse address in session end callback
Matthias Wachs [Thu, 20 Mar 2014 09:57:36 +0000 (09:57 +0000)]
use address in session end callback

10 years agosession end function must include address to notify address
Matthias Wachs [Thu, 20 Mar 2014 09:56:35 +0000 (09:56 +0000)]
session end function must include address to notify address

10 years agonew session end function including address
Matthias Wachs [Thu, 20 Mar 2014 09:55:46 +0000 (09:55 +0000)]
new session end function including address

10 years agoadditional log info
Matthias Wachs [Thu, 20 Mar 2014 09:33:28 +0000 (09:33 +0000)]
additional log info

10 years agoremove testing breaks and add documentation for checks
Matthias Wachs [Thu, 20 Mar 2014 09:05:01 +0000 (09:05 +0000)]
remove testing breaks and add documentation for checks

10 years agoaddtional check for failed CONNECT messages + some testing
Matthias Wachs [Wed, 19 Mar 2014 16:36:58 +0000 (16:36 +0000)]
addtional check for failed CONNECT messages + some testing

10 years agounsetting primary address on when free'ing address for monitoring
Matthias Wachs [Wed, 19 Mar 2014 15:07:21 +0000 (15:07 +0000)]
unsetting primary address on when free'ing address for monitoring

10 years agoformatting
Matthias Wachs [Wed, 19 Mar 2014 14:35:17 +0000 (14:35 +0000)]
formatting

10 years agoadditional condition for logging
Matthias Wachs [Wed, 19 Mar 2014 14:35:07 +0000 (14:35 +0000)]
additional condition for logging