aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
Commit message (Collapse)AuthorAge
* re-enabled and improved logging of packet headers and payloadToni Uhlig2020-05-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* splitted bigfat anon enum in pconfig.h into multiple smaller ones hoping to ↵Toni Uhlig2020-05-27
| | | | | | | | improve readability * clang-format headers Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Revert "added fallback random source ("/dev/urandom") for systems with low ↵Toni Uhlig2019-08-18
| | | | | | entropy available and "/dev/random" activated" This reverts commit 9f2cf5f50a337d73058c43e88453cb2926b49fb3.
* added fallback random source ("/dev/urandom") for systems with low entropy ↵Toni Uhlig2019-08-11
| | | | | | available and "/dev/random" activated Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* use arc4random() for coverity builds, yet another format specifier fixToni Uhlig2019-07-06
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* preparations for use of multiple hash algos for challenge responseToni Uhlig2019-06-30
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* change the path to the random number generator during build time (see PR #11)Toni Uhlig2019-03-29
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* do not use /dev/random on windowsToni Uhlig2019-02-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed CLang build error (missing includes)Toni Uhlig2019-02-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* pt_random(): reading from /dev/random instead of calling less secure random()Toni Uhlig2019-02-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fix compile error for android: do not include bsd stdlibToni Uhlig2019-01-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* copyright updateToni Uhlig2019-01-08
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* support BSD arc4random() if availableToni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* autoconf check for srandom()/random() or fallback to less secure srand()/rand()Toni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* replaced rand() with more "secure" random() // CID 301767Toni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* support for android eabi buildsToni Uhlig2018-11-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* updated copyright informationsToni Uhlig2018-07-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | | | * fixed mingw64 cross compile issues * using getaddrinfo instead of obsolete gethostbyname * removed IS_WINDOWS AM_CONDITIONAL
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | | | * optional feature disabled warning * SeLinux enabled flag * cosmetics # Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
* ptunnel-ng:Toni Uhlig2017-12-18
* this is now an autotools project (added/renamed required files e.g. AUTHORS, COPYING) * removed user defined ip header (buggy; not useful anymore)