Client Update v0.9.10
Published at March 23, 2020 · 3 min read
Share on:We added DNS-over-HTTPS support in the last release (v0.9.9). It looks like some users may have had some issues. I think it may be due to some network blocking DNS requests to non-managed servers. E.g (blocking 8.8.8.8, 1.1.1.1, …). Some corporate network admins do this.
We’ve added a new flag --doh
in the configure
command and also a field in the configuration file that can be set so that the client will use DNS-over-HTTPS or not (the local DNS system resolver).
[user@host] pktriot configure --doh
And here is the new flag in the configuration file.
{
"version": "v0.9.10",
"key": "84e8c50cba4d...",
"hostname": "awesome-tunnel-1234.pktriot.net",
"serverKey": "b64ae2c02aeb...",
"serverHost": "us-east-63815.packetriot.net",
"doh": true
}
Changing the value of doh
in the configuration will require restarting the client to take effect. If you want to disable DOH in your existing configuration you don’t have to do anything :)
However, if you want to use this feature you will need to manually add it.
New Features
We add automatic TCP port allocation when you use the “tunnel tcp forward” rule. You can still setup a TCP forwarding rule with discrete steps and allocate a port(s) and choose a port or a free one will be use.
[user@host] pktriot tunnel tcp allocate
Allocated port 22024
[user@host] pktriot tunnel tcp forward --port 22024 --destination 127.0.0.1 --dstport 22
Or you can just use tunnel tcp forward
and not specify the --port
flag and the client will choose an unused (already allocated) port or new one allocated and used.
[user@host] pktriot tunnel tcp forward --destination 127.0.0.1 --dstport 22
Allocated port 22892 to forward traffic
TCP traffic rule added
Finally, we added the check
command to the Packetriot client. This command will perform some client/network/authentication checks. Some users have issues I needed something to give me better diagnostics so I added this. This is just a start. We perform all of the checks using the local DNS settings on your system and also DOH.
I’ll be adding more here to verify proper setup of custom domains. If you have ideas of requests please contact us.
[user@host] pktriot check
Running client and networks test, please wait...
Notes:
* DOH - DNS-over-HTTPS (cloudflare)
* Local - Using local DNS resolver and system settings
+--------------------------------------------------------------------------------------------------------+
| Test Name | Duration (ms) | Result | Value |
+--------------------------------------------------------------------------------------------------------+
| DNS lookup packetriot.com (DOH) | 144 | Passed | 159.89.245.203 |
+--------------------------------------------------------------------------------------------------------+
| DNS lookup packetriot.com (local) | 14 | Passed | 159.89.245.203 |
+--------------------------------------------------------------------------------------------------------+
| DNS lookup us-east-63815.packetriot.net (DOH) | 109 | Passed | 138.197.66.62 |
+--------------------------------------------------------------------------------------------------------+
| DNS lookup us-east-63815.packetriot.net (local) | 126 | Passed | 138.197.66.62 |
+--------------------------------------------------------------------------------------------------------+
| Connect to packetriot.com (DOH) | 14 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Connect to packetriot.com (local) | 20 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Connect to us-east-63815.packetriot.net (DOH) | 17 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Connect to us-east-63815.packetriot.net (local) | 17 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Authenticate on packetriot.com (DOH) | 71 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Authenticate on packetriot.com (local) | 12 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Authenticate on us-east-63815.packetriot.net (DOH) | 56 | Passed | |
+--------------------------------------------------------------------------------------------------------+
| Authenticate on us-east-63815.packetriot.net (local) | 135 | Passed | |
+--------------------------------------------------------------------------------------------------------+
Find the updates on our downloads page. Use docker pull packetriot/pktriot:0.9.10
to grab our latest x84-64 container image.
Cheers!