Commit Graph

40 Commits

Author SHA1 Message Date
a1lu 4baec420c8 Aovoid to create config dir if not required
If `--remember` is not set, the config dir should not created.
2024-04-01 13:39:04 +02:00
Tai Groot fa7ae114f5
run through gofumpt 2022-12-05 11:21:04 -08:00
DasSkelett 38ed8ecc3c
Fix relay IPv4 address resolution behind DNS64 2022-05-16 22:04:55 +02:00
Zack Scholl 80539f27c3 avoid deadlock 2022-04-25 06:25:25 -07:00
Zack Scholl 1d3c822ef3 allow remembering --internal-dns flag 2022-02-03 08:34:03 -08:00
Charlie Jonas d75530b78b Improve built-in list of public DNS recursors 2021-08-16 18:48:03 +01:00
Charlie Jonas f64f68d5a9 Tidy up code slightly 2021-08-16 18:47:25 +01:00
Charlie Jonas be7705efc3 Remove DNS lookup timeouts 2021-08-16 18:32:55 +01:00
Charlie Jonas df2e29b74d Add --internal-dns flag 2021-08-16 18:25:34 +01:00
Zack Scholl 24fb8746a4 fix deadlock 2021-04-29 09:11:29 -07:00
Alvar Penning 8f5c73837a Prefer local DNS resolver over public DNS servers
The changes cause the local DNS resolver to be used exclusively at
first. If this fails, the public DNS servers are queried as before.

This feature was previously requested. Merging should close #301.

Along the way, three other changes are introduced:

1. A public IPv6 DNS server was added.

2. The lookup returns the first result from a public DNS server and does
   not wait for all queries to be answered.

3. In the unlikely case that no public DNS server is able to answer, an
   error will be returned.
2021-04-26 11:43:45 +02:00
Zack Scholl a9d582cc6a lookup using standard dns 2021-03-26 15:39:33 -07:00
Zack Scholl cd2802b8b5 shorter dns fail time 2021-02-19 10:18:13 -08:00
Zack Scholl c5ff55a193 find dns from any number of providers 2021-02-19 10:16:58 -08:00
Zack Scholl 1da2f58a53 faster dns resolution on startup 2020-11-17 10:46:49 -08:00
Zack Scholl 284af7fc7a hm 2020-11-17 10:35:57 -08:00
Zack Scholl dbc4a08ad0 use google for lookup 2020-11-17 10:29:52 -08:00
Khang. Nguyen Khac Nguyen 8e50b59671 fix(cli): show passphrase when user indicate --pass
+ when user indicate --pass when sending file, indicate --pass flag in
recommended receive command.
2020-10-22 13:37:32 +07:00
Zack Scholl 5374be1a0f use dns to determine relay 2020-10-13 12:26:11 -07:00
Zack Scholl 695444159e add default ipv6 relay 2020-08-27 09:24:19 -07:00
Zack Scholl 31c1a37b38 fix linting 2019-09-07 09:46:04 -07:00
Zack Scholl 8b178881cf display relay in UI if not using default
Fixes #143
2019-07-17 14:12:48 -06:00
Zack Scholl 3c051f4283 smaller packet 2019-04-30 06:58:57 -07:00
Zack Scholl 000dfc15be fiX comm 2019-04-30 06:57:45 -07:00
Zack Scholl fdfa7f209d revert to da2b22f 2018-09-26 14:31:45 -07:00
Zack Scholl ea548f290c increase size 2018-09-26 06:57:52 -07:00
Zack Scholl ae13f82c9e increase size 2018-09-26 06:53:01 -07:00
Zack Scholl f483a6ab9c increase size 2018-09-26 06:51:34 -07:00
Zack Scholl 7d5d7e6cfb update 2018-09-26 06:48:07 -07:00
Zack Scholl 082dcd2037 revert 2018-09-26 06:44:07 -07:00
Zack Scholl 62d9d74753 increase buffer 2018-09-26 06:43:31 -07:00
Zack Scholl f2f1b31fbc increase buffer size 2018-09-26 06:39:26 -07:00
Zack Scholl 6635c84f70 raise tcp size 2018-09-24 09:36:48 -07:00
Zack Scholl 975bab61fb make tcp optional 2018-09-23 18:00:00 -06:00
Zack Scholl b7c447473d change buffer size 2018-09-23 18:00:13 -06:00
Zack Scholl 8fab2299a1 change buffer size 2018-09-23 18:00:00 -06:00
Zack Scholl da9634c949 change buffer size 2018-09-23 18:00:05 -06:00
Zack Scholl 384de31c5a allow TCP connections as alternative 2018-09-23 18:00:00 -06:00
Zack Scholl 177612f112 update buffer 2018-09-23 18:00:00 -06:00
Zack Scholl 2f800f1de3 add buffer size 2018-09-23 18:00:00 -06:00