Skip to content

Instantly share code, notes, and snippets.

@DavidMah
Last active December 12, 2015 06:09
Show Gist options
  • Select an option

  • Save DavidMah/4727282 to your computer and use it in GitHub Desktop.

Select an option

Save DavidMah/4727282 to your computer and use it in GitHub Desktop.
# Client /var/log/syslog
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Opening client connection
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Opening client connection
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Closing client connection
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command ipsec setup start
Feb 6 16:30:20 mah-MacBookAir kernel: [ 1342.588498] NET: Registered protocol family 15
Feb 6 16:30:20 mah-MacBookAir ipsec_setup: Starting Openswan IPsec U2.6.37/K3.2.0-35-generic...
Feb 6 16:30:20 mah-MacBookAir ipsec_setup: Using NETKEY(XFRM) stack
Feb 6 16:30:20 mah-MacBookAir kernel: [ 1342.686043] Initializing XFRM netlink socket
Feb 6 16:30:20 mah-MacBookAir kernel: [ 1342.743083] padlock_sha: VIA PadLock Hash Engine not detected.
Feb 6 16:30:20 mah-MacBookAir ipsec_setup: ...Openswan IPsec started
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command ipsec setup start finished with exit code 0
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command invoke-rc.d xl2tpd start
Feb 6 16:30:20 mah-MacBookAir ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Feb 6 16:30:20 mah-MacBookAir pluto: adjusting ipsec.d to /etc/ipsec.d
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7072]: setsockopt recvref[30]: Protocol not available
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7072]: This binary does not support kernel L2TP.
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: xl2tpd version xl2tpd-1.3.1 started on mah-MacBookAir PID:7075
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: Forked by Scott Balmos and David Stipp, (C) 2001
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: Inherited by Jeff McAdams, (C) 2002
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Feb 6 16:30:20 mah-MacBookAir xl2tpd[7075]: Listening on IP address 0.0.0.0, port 1701
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command invoke-rc.d xl2tpd start finished with exit code 0
Feb 6 16:30:20 mah-MacBookAir ipsec__plutorun: 002 added connection description "ClownVPN"
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command ipsec auto --ready
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command ipsec auto --ready finished with exit code 0
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command ipsec auto --up ClownVPN
Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command ipsec auto --up ClownVPN finished with exit code 0
Feb 6 16:30:21 mah-MacBookAir xl2tpd[7075]: Connecting to host 128.95.2.22, port 1701
Feb 6 16:30:21 mah-MacBookAir L2tpIPsecVpnControlDaemon: Closing client connection
Feb 6 16:30:26 mah-MacBookAir xl2tpd[7075]: Maximum retries exceeded for tunnel 37056. Closing.
Feb 6 16:30:26 mah-MacBookAir xl2tpd[7075]: Connection 0 closed to 128.95.2.22, port 1701 (Timeout)
Feb 6 16:30:26 mah-MacBookAir L2tpIPsecVpnControlDaemon: Opening client connection
Feb 6 16:30:26 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command invoke-rc.d xl2tpd stop
Feb 6 16:30:26 mah-MacBookAir xl2tpd[7075]: death_handler: Fatal signal 15 received
Feb 6 16:30:26 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command invoke-rc.d xl2tpd stop finished with exit code 0
Feb 6 16:30:26 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command ipsec setup stop
Feb 6 16:30:26 mah-MacBookAir ipsec_setup: Stopping Openswan IPsec...
Feb 6 16:30:27 mah-MacBookAir ipsec_setup: ERROR: Module xfrm4_mode_transport is in use
Feb 6 16:30:28 mah-MacBookAir ipsec_setup: ERROR: Module esp4 is in use
Feb 6 16:30:28 mah-MacBookAir kernel: [ 1350.592495] NET: Unregistered protocol family 15
Feb 6 16:30:28 mah-MacBookAir ipsec_setup: ...Openswan IPsec stopped
Feb 6 16:30:28 mah-MacBookAir L2tpIPsecVpnControlDaemon: Command ipsec setup stop finished with exit code 0
Feb 6 16:30:28 mah-MacBookAir L2tpIPsecVpnControlDaemon: Closing client connection
@DavidMah

DavidMah commented Feb 7, 2013

Copy link
Copy Markdown
Author

natclown /var/log/syslog

Feb 6 16:33:17 natclown xl2tpd[3684]: control_finish: Denied connection to unauthorized peer 69.91.130.159
Feb 6 16:33:17 natclown xl2tpd[3684]: Connection 37056 closed to 69.91.130.159, port 1701 (No Authorization)
Feb 6 16:33:18 natclown xl2tpd[3684]: control_finish: Denied connection to unauthorized peer 69.91.130.159
Feb 6 16:33:18 natclown xl2tpd[3684]: Connection 37056 closed to 69.91.130.159, port 1701 (No Authorization)
Feb 6 16:33:19 natclown xl2tpd[3684]: control_finish: Denied connection to unauthorized peer 69.91.130.159
Feb 6 16:33:19 natclown xl2tpd[3684]: Connection 37056 closed to 69.91.130.159, port 1701 (No Authorization)
Feb 6 16:33:20 natclown xl2tpd[3684]: control_finish: Denied connection to unauthorized peer 69.91.130.159
Feb 6 16:33:20 natclown xl2tpd[3684]: Connection 37056 closed to 69.91.130.159, port 1701 (No Authorization)
Feb 6 16:33:21 natclown xl2tpd[3684]: control_finish: Denied connection to unauthorized peer 69.91.130.159
Feb 6 16:33:21 natclown xl2tpd[3684]: Connection 37056 closed to 69.91.130.159, port 1701 (No Authorization)
Feb 6 16:33:22 natclown xl2tpd[3684]: Unable to deliver closing message for tunnel 55640. Destroying anyway.
Feb 6 16:33:22 natclown xl2tpd[3684]: check_control: Received out of order control packet on tunnel -1 (got 1, expected 0)
Feb 6 16:33:22 natclown xl2tpd[3684]: handle_packet: bad control packet!
Feb 6 16:33:23 natclown xl2tpd[3684]: Unable to deliver closing message for tunnel 31081. Destroying anyway.
Feb 6 16:33:24 natclown xl2tpd[3684]: Unable to deliver closing message for tunnel 40544. Destroying anyway.
Feb 6 16:33:25 natclown xl2tpd[3684]: Unable to deliver closing message for tunnel 32117. Destroying anyway.
Feb 6 16:33:26 natclown xl2tpd[3684]: Unable to deliver closing message for tunnel 8116. Destroying anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment