Commit Graph

21800 Commits

Author SHA1 Message Date
Benau
0134e9c664 Update translation source 2020-02-02 16:46:05 +08:00
Benau
a079019bb2 Fix possible too long translation 2020-02-02 16:38:26 +08:00
Benau
26dbf67d53 Ask if user want to play tutorial when new profile is created 2020-02-02 16:32:57 +08:00
Benau
906dca1a94 Fix possible address family mismatch (found in android) 2020-02-02 10:52:19 +08:00
Benau
ecb31ad217 Use ipv4only.arpa to detect NAT64 prefix (RFC 7050) 2020-02-02 00:13:25 +08:00
Benau
4ad7e585f8 Remove duplicated code of getaddrinfo 2020-02-01 15:34:41 +08:00
Benau
ae2406d193 Don't print error message for IP detection in case of domain error 2020-02-01 14:48:58 +08:00
Benau
58f4579062 Use getMonoTimeMs() to avoid rand() return the same value in Windows 2020-02-01 14:15:44 +08:00
Benau
10a158db70 Use correct encoding for error message from getaddrinfo in Windows 2020-02-01 14:05:52 +08:00
Benau
33d228bb6d Clean up header files and remove unused class 2020-02-01 10:45:15 +08:00
Benau
23ad6f09a6 Clean up direct connection code with full IPv6 support 2020-02-01 09:30:40 +08:00
Benau
1e9dab821c Allow pre-set IP type in config.xml 2020-01-31 13:20:11 +08:00
Benau
ab315fab4e Remove firewall restriction for IPv6 in server documentation 2020-01-31 00:44:26 +08:00
Benau
17bf24c6d1 Avoid player score being reset if connection to stk addons is broken 2020-01-30 16:55:40 +08:00
Benau
652bf5480a Move port detection to Network class 2020-01-30 16:47:19 +08:00
Benau
e1188c5532 Fix non random client port (NetworkConfig initialized too early) 2020-01-30 11:30:54 +08:00
Benau
964757193b Avoid using IPv6 socket address in IPv4 socket
Also make reload the lan broadcast addresses each time to catch network change
2020-01-30 11:25:03 +08:00
Benau
86dae991e6 Fix SandboxViolation in iOS for IPv6 socket 2020-01-29 11:04:02 +08:00
Benau
0cb62803b2 Port stun address resolve to use SocketAddress 2020-01-29 01:24:38 +08:00
Benau
2c78625ef6 Allow print NAT64 address in IPv4 form for better debugging 2020-01-28 15:15:20 +08:00
Benau
40b0a6371e Allow port specified inside str for SocketAddress 2020-01-28 13:03:37 +08:00
Benau
61109f4aad Remove TransportAddress in most server code 2020-01-28 11:47:08 +08:00
Benau
05732c2e7d Only register server with a valid address 2020-01-28 01:26:12 +08:00
Benau
3d0ef44014 Fix android crash for inet_ntop 2020-01-27 15:48:49 +08:00
Benau
055ed23e10 Remove TransportAddress in STKPeer 2020-01-27 14:32:18 +08:00
Benau
e18bcd62e6 Add IPv6 LAN server discovery
Broadcasting to windows doesn't work as the windows firewall seems
to block all IPv6 multicast
2020-01-27 13:48:57 +08:00
Benau
9132fba714 Add firewall penetration for IPv6 client 2020-01-27 12:07:28 +08:00
Benau
6abd3bbf69 Add socket address to support both IPv4 and IPv6 2020-01-27 11:50:15 +08:00
David Carlier
a79a2a7fab mcpp dependency possible leak fix proposal 2020-01-26 18:52:14 +00:00
David Carlier
ba150e8659 bullet build warning fix replacing by C++ casting 2020-01-25 21:53:12 +00:00
Benau
9928cf726f Add auto handling of IPv6 only server depends on network type 2020-01-26 00:41:03 +08:00
Benau
d2f2c6cf1f Allow setting a zero address as long as there is an IPv6 address 2020-01-25 11:15:34 +08:00
Benau
6d2e060bf2 Disable IPv6 socket in server for IPv4 only network 2020-01-24 10:28:23 +08:00
Benau
58a2010d0f Fix intercept callback for IPv6 2020-01-24 10:26:44 +08:00
Benau
8d94f973cc Allow NAT64 client to connect to firewalled IPv4 server 2020-01-23 16:50:47 +08:00
Benau
63c7c711d5 Fix IPv4 only server in dual stack network 2020-01-23 16:43:46 +08:00
Benau
8486b11da6 Allow setting public address for IPv6 client 2020-01-23 01:16:02 +08:00
Benau
aed64dfd1f Rename function to make it clearer 2020-01-22 15:56:47 +08:00
Benau
2ca1c5555c Allow connect to IPv4 only server with NAT64 for all platforms 2020-01-20 16:49:27 +08:00
Benau
4172a2d765 Add iOS toolchain for cross compiling 2020-01-20 15:31:45 +08:00
Benau
50944bb8c3 Add debug logging for iOS device 2020-01-20 14:58:03 +08:00
David Carlier
b3e76e082e FreeBSD online linker URL support 2020-01-19 12:15:16 +00:00
Benau
f83f74598d Fix valgrind warning 2020-01-19 11:46:03 +08:00
Benau
1e53f67354 Fix no graphics crashing 2020-01-19 10:50:12 +08:00
Benau
726a40ae2d Use IP detect code in server screen for more info to user 2020-01-19 10:20:25 +08:00
Benau
fcdec55bc1 Add tools for advanced IPv4 and IPv6 detection 2020-01-19 10:13:17 +08:00
Benau
7b3559ba69 Add IPv4 only stun for later usage 2020-01-19 01:00:48 +08:00
David Carlier
d97a1ce1ef removing compilation warning explicitly showing enum origin
to avoid confusions even though they have same values.
FreeBSD recognised as os in stats point of view.
2020-01-18 13:32:50 +00:00
Benau
9085658653 Add ipv6 geolocation table 2020-01-16 11:28:52 +08:00
Benau
0ef632114b Use another source of ip mapping with ipv6 support 2020-01-16 10:57:56 +08:00