This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Troubleshooting DNS issue on Mac OS X | |
LOGFILE=/tmp/dns_troubleshooter_$(date +%Y-%m-%d).log | |
function run() { | |
echo "## interfaces: ifconfig -a" | |
ifconfig -a | |
echo | |
echo "## dns settings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#---------------------------------------------------------------------- | |
# Functions | |
#---------------------------------------------------------------------- | |
# Exits the script with the given exit code after waiting | |
# for a keypress. | |
# | |
# @param [Integer] $1 exit code. | |
function key_exit() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to Hong Kong - 1, ip: XXX.XXX.XXX.XXX, protocol: tcp | |
Thu Oct 1 08:00:09 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 08:00:09 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 08:00:09 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 08:00:09 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 | |
Thu Oct 1 08:00:09 2015 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts | |
Thu Oct 1 08:00:09 2015 Control Channel Authentication: using 'ssl/ta.key' as a OpenVPN static key file | |
Thu Oct 1 08:00:09 2015 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to USA - Los Angeles, ip: XXX.XXX.XXX.XXX, protocol: udp | |
Thu Oct 1 08:00:04 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 08:00:04 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 08:00:04 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 08:00:04 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to USA - Los Angeles - 3, ip: XXX.XXX.XXX.XXX, protocol: tcp | |
Thu Oct 1 08:22:57 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 08:22:57 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 08:22:57 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 08:22:57 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to Costa Rica, ip: XXX.XXX.XXX.XXX, protocol: tcp | |
Thu Oct 1 08:32:19 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 08:32:19 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 08:32:19 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 08:32:19 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to USA - Los Angeles, ip: XXX.XXX.XXX.XXX, protocol: udp | |
Thu Oct 1 08:07:48 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 08:07:48 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 08:07:48 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 08:07:48 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to USA - New York, ip: XXX.XXX.XXX.XXX, protocol: udp | |
Thu Oct 1 07:59:14 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 07:59:14 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 07:59:14 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 07:59:14 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 | |
Thu Oct 1 07:59:14 2015 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Connecting to Australia - Melbourne, ip: XXX.XXX.XXX.XXX, protocol: udp | |
Thu Oct 1 10:00:11 2015 DEPRECATED OPTION: --tls-remote, please update your configuration | |
Thu Oct 1 10:00:11 2015 OpenVPN 2.3.8 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Aug 27 2015 | |
Thu Oct 1 10:00:11 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09 | |
Thu Oct 1 10:00:11 2015 MANAGEMENT: TCP Socket listening on [AF_INET]XXX.XXX.XXX.XXX:1337 | |
Thu Oct 1 10:00:11 2015 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts | |
Thu Oct 1 10:00:11 2015 Control Channel Authentication: using 'ssl/ta.key' as a OpenVPN static key file |
OlderNewer