Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a short debugging guide #514

Open
dguido opened this issue May 3, 2017 · 2 comments
Open

Write a short debugging guide #514

dguido opened this issue May 3, 2017 · 2 comments

Comments

@dguido
Copy link
Member

dguido commented May 3, 2017

This would be a section at the bottom of the Troubleshooting guide to help people who want to investigate on their own.

Algo server

ipsec statusall
ipsec leases | head -1
journalctl -f -u strongswan
journalctl -f SYSLOG_IDENTIFIER=charon

macOS

Console: search for nesessionmanager
log show --predicate 'subsystem == "com.apple.networkextension"' --info --last 1h
/var/log/racoon.log
Increase logging: https://forums.developer.apple.com/thread/31375
https://developer.apple.com/bug-reporting/profiles-and-logs/?name=vpn

Ubuntu 17.04

Windows 10

@jackivanov jackivanov added this to To Do in Algo Development via automation Mar 12, 2019
@jackivanov jackivanov added this to the 1.1 milestone Mar 12, 2019
@TC1977
Copy link
Contributor

TC1977 commented Mar 12, 2019

Other useful commands to run on the Algo server:

service strongswan status to check the ipsec status
service dnscrypt-proxy status to check on dns resolution
service dnsmasq status for adblocking
dmesg for apparmor or memory-related errors
grep "charon.*IKE_SA.*established.*username" /var/log/syslog to find connection times and IP addresses for username
journalctl -u strongswan|grep unable to find the "unable to install policy" error with iOS/macOS clients as in #963
tail -f /var/log/syslog|grep charon to keep a running log

@TC1977
Copy link
Contributor

TC1977 commented Mar 12, 2019

Also useful to remind people to check their cloud firewall (e.g. #1215) and their router settings (esp port forwarding or ESP forwarding #520, #727). And check IP settings as in #1130.

@jackivanov jackivanov added the 1.1 label Mar 19, 2019
@jackivanov jackivanov moved this from To Do to In progress in Algo Development Mar 19, 2019
@jackivanov jackivanov removed the 1.1 label Apr 23, 2019
@jackivanov jackivanov moved this from In progress to To Do in Algo Development Apr 23, 2019
@jackivanov jackivanov removed this from the 1.1 milestone Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants