Philipp Schafft
76e3e6ad6b
Update: Improved handling of bad tags in _parse_relay()
2021-07-26 15:11:05 +00:00
Philipp Schafft
aa83b3fff0
Feature: Report invalid type for HTTP header
2021-07-26 15:11:05 +00:00
Philipp Schafft
954b8a4c39
Feature: Report empty tags via new style bad tag system for __read_int(), and __read_unsigned_int()
2021-07-26 15:11:05 +00:00
Philipp Schafft
ae71b25e90
Feature: Added initial support for reporting invalid config settings
2021-07-26 15:11:05 +00:00
Philipp Schafft
d2225f10b7
Feature: Warn about unknown, and obsolete tags in config
2021-07-26 15:11:05 +00:00
Philipp Schafft
ee8b67b421
Feature: Added support for HMACs
2021-07-26 15:08:50 +00:00
Philipp Schafft
a840f56b69
Merge branch 'feature-navigation' into devel
2021-07-26 15:06:38 +00:00
Philipp Schafft
d497412b58
Feature: Export client history as part of stats XML
2021-07-26 15:05:55 +00:00
Philipp Schafft
f2edcdb0ff
Update: Made NAVIGATION_DIRECTION_REPLACE_ALL the default for move of clients
2021-07-26 15:05:55 +00:00
Philipp Schafft
704df45ce5
Feature: Added support to give navigation direction via admin call for command_move_clients()
2021-07-26 15:05:54 +00:00
Philipp Schafft
7474fb8d8d
Feature: Write correct history on initial attach of client
2021-07-26 15:05:54 +00:00
Philipp Schafft
68ace66bd3
Feature: Only move clients that allow navigation according to their history and direction
2021-07-26 15:05:54 +00:00
Philipp Schafft
c60a2113c9
Feature: Made fallback_override an enum
2021-07-26 15:05:54 +00:00
Philipp Schafft
2e148986f9
Feature: Improved error logging
2021-07-26 15:05:54 +00:00
Philipp Schafft
8e224f45c2
Fix: Corrected invalid return value
2021-07-26 15:05:54 +00:00
Philipp Schafft
b5b5e9cc07
Feature: Make navigation_direction_to_str() public
2021-07-26 15:05:54 +00:00
Philipp Schafft
8a91113028
Feature: Correctly navigate clients between mounts
2021-07-26 15:05:54 +00:00
Philipp Schafft
5c504ec3dd
Feature: Added mount history to client and attach the client on initial attach
2021-07-26 15:05:54 +00:00
Philipp Schafft
af35bd10d0
Feature: Added some devel debug logging
2021-07-26 15:05:54 +00:00
Philipp Schafft
d2f7b9c112
Fix: Use correct constructor
2021-07-26 15:05:54 +00:00
Philipp Schafft
965c5e52d0
Feature: Added support for a navigation (mountpoint) history
2021-07-26 15:05:54 +00:00
Philipp Schafft
31659b3ed1
Feature: Added identifier to source_t
2021-07-26 15:05:54 +00:00
Philipp Schafft
673dfb734c
Feature: Added mount_identifier_get_mount() and mount_identifier_compare()
2021-07-26 15:05:54 +00:00
Philipp Schafft
6c1233402d
Update: As of now we have no weak refs, so not store mount identifier in a tree
2021-07-26 15:05:54 +00:00
Philipp Schafft
cf6fad00bd
Feature: Added support for a mountpoint identifier
2021-07-26 15:05:54 +00:00
Philipp Schafft
76f7105e27
Feature: Added support for usernames and passwords in master's mountlist
...
Closes : #2369
2021-07-26 15:05:04 +00:00
Philipp Schafft
4125ee6898
Fix: Use xmlCharStrdup() not strdup()
2021-07-26 15:05:04 +00:00
Philipp Schafft
9e852dae50
Feature: Added a global client list
2021-07-26 15:05:04 +00:00
Philipp Schafft
6643cfd743
Feature: Seed PRNG with relay data
2021-07-26 15:05:04 +00:00
Philipp Schafft
fcecd4852a
Feature: Comment in the default config about <prng-seed>
2021-07-26 15:05:04 +00:00
Philipp Schafft
299d86d18d
Feature: Seed PRNG with yp replies
2021-07-26 15:05:04 +00:00
Philipp Schafft
95cb2fcc8e
Fix: Corrected spaces
2021-07-26 15:05:04 +00:00
Philipp Schafft
5ecf76e5d1
Fix: Typo
2021-07-26 15:05:04 +00:00
Philipp Schafft
75fc9bb751
Feature: Just swallow parts of the config as extra PRNG seed
2021-07-26 15:05:04 +00:00
Philipp Schafft
2be5318067
Feature: Read standard OpenSSL random seed file if any and linked with OpenSSL
2021-07-26 15:05:04 +00:00
Philipp Schafft
a5f7b621c0
Feature: Work around and warn user if no PRNG seeds are configured
2021-07-26 15:05:04 +00:00
Philipp Schafft
f688dce8a5
Feature: Added support for PRNG_SEED_TYPE_STATIC, and PRNG_SEED_TYPE_PROFILE
2021-07-26 15:05:04 +00:00
Philipp Schafft
6091b6b278
Update: Use timing_get_time() not time() for seeding, it adds about 10 bits
2021-07-26 15:05:04 +00:00
Philipp Schafft
8d80ef6a8b
Feature: Crossseed with OpenSSL if we have OpenSSL
2021-07-26 15:05:04 +00:00
Philipp Schafft
43155d7273
Feature: Abuse _slave_thread() to run prng_auto_reseed() in the breaks
2021-07-26 15:05:04 +00:00
Philipp Schafft
bf5a25ff45
Feature: Added API for auto-reseeding
2021-07-26 15:05:04 +00:00
Philipp Schafft
6d91c12acf
Fix: Migrated from fopen/fread/fclose to open/read/close for reading files
...
stdio may buffer the input and may read to far ahead. This is not a good
idea with high quality PRNG devices as it may take significant time to
do so, and remove entropy that will just be discarded.
2021-07-26 15:05:04 +00:00
Philipp Schafft
8c567e5005
Update: Also seed with the length of our seed
2021-07-26 15:05:04 +00:00
Philipp Schafft
1654cadab3
Feature: Added support for providing PRNG seeds via config
2021-07-26 15:05:04 +00:00
Philipp Schafft
a30b15df90
Fix: Fixed bugs in prng.c
2021-07-26 15:05:04 +00:00
Philipp Schafft
5176c7232b
Update: Improved type casts a bit
2021-07-26 15:05:04 +00:00
Philipp Schafft
70419a33b5
Feature: Added PRNG
2021-07-26 15:05:04 +00:00
Philipp Schafft
2b9edf6fd1
Feature: Added support to copy a digest
2021-07-26 15:05:04 +00:00
Philipp Schafft
fa95e94c65
Fix: Corrected a memory corruption
2021-07-26 15:05:04 +00:00
Philipp Schafft
29c5bd8d85
Feature: Added digest_algo_id2str() and digest_algo_length_bytes()
2021-07-26 15:05:04 +00:00