# # Increase IPsec debugging
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Increase IPsec debugging

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© May 2019 Anthony Lawrence

2015/03/26

Recently a Kerio Connect customer needed an IPsec VPN tunnel between his office and a Cisco router at a company they had just purchased. That's easy to do: the two sides agree on a pre-shared key and unique identifiers. We also need to tell Kerio about the remote network(s) and we're done.

Simple IPsec with Kerio Control

That VPN worked immediately and kept working for an entire two days before it failed.

Of course I asked if anything had been changed at either end and was assured that absolutely nothing had been touched. Nobody even looked at either of the routers crosseyed or had spoken harsh words in their vicinity. It was therefore, plainly, Kerio's fault (because Cisco NEVER does anything wrong, of course).

Sigh. I turned on IPsec debugging in the Debug log, but all I could really determine was that the Cisco didn't want to talk to the Kerio any longer. That wasn't helpful, so I opened a ticket with Kerio asking if there was any more I could check.

Shortly after submitting that ticket the folks at the Cisco router said, gosh, we're sorry, but something did change and they put it right. The connection came up and all was happy again.

I did get an answer from Kerio, though. They said that I could ssh to the Control command line and try this:

To increase IPsec/Charon output:
ipsec stroke loglevel chd 3

For detailed debugging of cipher suites:
ipsec stroke loglevel cfg 2
 

I don't need that now, but who knows, it may come in handy later. It's also likely that some or all of the information at IKE daemon Logger configuration would apply.


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Increase IPsec debugging


Inexpensive and informative Apple related e-books:

Take Control of Pages

El Capitan: A Take Control Crash Course

Take Control of Upgrading to El Capitan

Take Control of the Mac Command Line with Terminal, Second Edition

Photos for Mac: A Take Control Crash Course





More Articles by © Anthony Lawrence





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





That's the thing about people who think they hate computers. What they really hate is lousy programmers. (Larry Niven)




Linux posts

Troubleshooting posts


This post tagged:

Control

Kerio

Kerio Info

Kerio Pricing

Kerio RSS Feed

Troubleshooting



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode