Dimitris Apostolou
73b9c0302b
Fix typos
2 years ago
Sergey Fedorov
7f98a8b972
Fix definitions for Darwin PPC; do not use pthread_setname_np on unsupported OS versions ( #1797 )
...
* Correct define for Darwin PPC is __POWERPC__
* util.cpp: do not use pthread_setname_np on unsupported macOS versions
2 years ago
R4SAS
a344c09d0d
[util] add inet_ntop for XP
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS
fdeb884fe5
fixed getting MTU on windows, add address to log messages with MTU
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
93d879b297
more tunnel brokers ranges
2 years ago
R4SAS
5ff34b93c0
print detected MTU
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
014e4b0e1d
detect MTU for some known ipv6 tunnel brokers
2 years ago
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
ee6bb40736
remove obsolete msvc define
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
a51ef0cfc6
set of updates:
...
* [webconsole] change error handling code to restart acceptor after any
error
* [webconsole] call shutdown vefore stopping acceptor on exit
* update license headers for modified files, change year to file
creation year, not 2013 (when project started)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
73e572b66b
disable thread naming for PowerPC ( #1726 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
90130b5492
fix exception printing
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
f22faaefeb
remove duplicate definition
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
ac25649425
cast pthread name to char* for apple sdk
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
edc0162163
clean line trailing spaces and tabs
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
yangfl
3f46ca41ca
disable pthread_setname_np on GNU/Hurd
...
which does not exist on GNU/Hurd
3 years ago
R4SAS
455c71ff25
fix warning about ifr_name size
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
b3e7b1b5ac
Squashed commit of the following:
...
commit 40ec4e8b59
Author: Simon Vetter <simon.vetter@runbox.com>
Date: Fri Jul 30 21:23:27 2021 +0200
libi2pd: mark additional ipv6 addresses/nets as reserved
This adds :: (undefined address), ::1 (loopback address) as well as
ff00::/8 (multicast prefix) to reservedIPv6Ranges.
A bunch of nodes seem to be publishing bogus addresses (mostly ::1)
in the netDB, resulting in unnecessary tunnel build failures.
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal
4f3333c841
don't check range ffor unspecified address
4 years ago
R4SAS
3bf6db1c08
enable yggdrasil address finding for android
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
63127ab181
add yggdrasil address search for windows
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
a74f685a5d
check local address
4 years ago
orignal
ace80c29e7
meshnets.yggaddress added
4 years ago
orignal
ea19802d3f
update right ipv6 only
4 years ago
orignal
82649ab2a7
IsYggdrasilAddress added
4 years ago
orignal
daa3f8699b
don't detect Yggdrasil for android
4 years ago
R4SAS
5931cb59ab
fix thread setname on NetBSD
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal
ed4c00e4f4
check yggdrasil ipv6 range
4 years ago
orignal
07282ec39f
get local yggdrasil ipv6 address
4 years ago
R4SAS
bfc3acb834
use correct function for thread naming on OpenBSD
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
ac67cd7f9a
add FreeBSD builder for GHA ( #1595 )
4 years ago
R4SAS
3100d4f902
move thread naming to util
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
36473e3889
add naming to threads
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
bc330ff0ea
update makefiles, license year
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
85e9da82b0
[transports] validate IP when trying connect to remote peer for being in reserved IP range
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
cbedebc9dd
change minimal MTU size
5 years ago
orignal
969f9aa436
common RuunableBase with private inheritance
5 years ago
orignal
49810eb153
common RunnableService
5 years ago
orignal
515c086099
Use GetProcAddress for inet_pton. Fixed build error
5 years ago
orignal
34ce06ac17
some cleanup
5 years ago
orignal
c3e3c091cc
correct implementation of GetMTUWindows for WindowsXP
5 years ago
orignal
60fd3a4542
fixed #1434 use memset inster bzero
5 years ago
R4SAS
73921b1024
fix ipv6 fallback address
6 years ago
R4SAS
f5f4190803
catch error 10045 on stopping SAM acceptor ( #1233 ), fix warning in util
6 years ago
R4SAS
a14d554947
fix tray icon disappearing, var type warning, code tabulation
6 years ago
R4SAS
9c76368dbc
inet_pton for winxp
6 years ago
R4SAS
79c0c11e80
configure persist of peer profiles
...
* If persist.profiles = false, peer profiles not stored on disk
* remove inet_pton for windows
* update configs
6 years ago