Skip to content

Instantly share code, notes, and snippets.

@lesf0

lesf0/nm ipsec (libreswan) log Secret

Created Jun 18, 2020
Embed
What would you like to do?
июн 18 19:18:49 magicbook nm-l2tp-service[106542]: Check port 1701
июн 18 19:18:49 magicbook NetworkManager[106552]: Redirecting to: systemctl restart ipsec.service
июн 18 19:18:50 magicbook NetworkManager[106860]: 002 listening for IKE messages
июн 18 19:18:50 magicbook NetworkManager[106860]: 002 forgetting secrets
июн 18 19:18:50 magicbook NetworkManager[106860]: 002 loading secrets from "/etc/ipsec.secrets"
июн 18 19:18:50 magicbook NetworkManager[106860]: 002 loading secrets from "/etc/ipsec.d/ipsec.nm-l2tp.secrets"
июн 18 19:18:50 magicbook NetworkManager[106864]: debugging mode enabled
июн 18 19:18:50 magicbook NetworkManager[106864]: end of file /var/run/nm-l2tp-70147d0a-5d7f-467a-80ee-9048601960e1/ipsec.conf
июн 18 19:18:50 magicbook NetworkManager[106864]: Loading conn 70147d0a-5d7f-467a-80ee-9048601960e1
июн 18 19:18:50 magicbook NetworkManager[106864]: starter: left is KH_DEFAULTROUTE
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" modecfgdns=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" modecfgdomains=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" modecfgbanner=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" mark=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" mark-in=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" mark-out=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" vti_iface=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" redirect-to=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" accept-redirect-to=<unset>
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" esp=aes128-sha1,3des-md5
июн 18 19:18:50 magicbook NetworkManager[106864]: conn: "70147d0a-5d7f-467a-80ee-9048601960e1" ike=aes128-sha1-modp1024,3des-sha1-modp1024
июн 18 19:18:50 magicbook NetworkManager[106864]: opening file: /var/run/nm-l2tp-70147d0a-5d7f-467a-80ee-9048601960e1/ipsec.conf
июн 18 19:18:50 magicbook NetworkManager[106864]: loading named conns: 70147d0a-5d7f-467a-80ee-9048601960e1
июн 18 19:18:50 magicbook NetworkManager[106864]: seeking_src = 1, seeking_gateway = 1, has_peer = 1
июн 18 19:18:50 magicbook NetworkManager[106864]: seeking_src = 0, seeking_gateway = 1, has_dst = 1
июн 18 19:18:50 magicbook NetworkManager[106864]: dst via 192.168.5.1 dev wlan0 src table 254
июн 18 19:18:50 magicbook NetworkManager[106864]: set nexthop: 192.168.5.1
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 192.168.5.0 via dev wlan0 src 192.168.5.28 table 254
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 127.0.0.1 via dev lo src 127.0.0.1 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 127.255.255.255 via dev lo src 127.0.0.1 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 192.168.5.0 via dev wlan0 src 192.168.5.28 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 192.168.5.28 via dev wlan0 src 192.168.5.28 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 192.168.5.255 via dev wlan0 src 192.168.5.28 table 255 (ignored)
июн 18 19:18:50 magicbook NetworkManager[106864]: seeking_src = 1, seeking_gateway = 0, has_peer = 1
июн 18 19:18:50 magicbook NetworkManager[106864]: seeking_src = 1, seeking_gateway = 0, has_dst = 1
июн 18 19:18:50 magicbook NetworkManager[106864]: dst 192.168.5.1 via dev wlan0 src 192.168.5.28 table 254
июн 18 19:18:50 magicbook NetworkManager[106864]: set addr: 192.168.5.28
июн 18 19:18:50 magicbook NetworkManager[106864]: seeking_src = 0, seeking_gateway = 0, has_peer = 1
июн 18 19:18:50 magicbook NetworkManager[106866]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: initiating Main Mode
июн 18 19:18:50 magicbook NetworkManager[106866]: 102 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: STATE_MAIN_I1: sent MI1, expecting MR1
июн 18 19:18:50 magicbook NetworkManager[106866]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: WARNING: connection 70147d0a-5d7f-467a-80ee-9048601960e1 PSK length of 3 bytes is too short for sha PRF in FIPS mode (10 bytes required)
июн 18 19:18:50 magicbook NetworkManager[106866]: 104 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: STATE_MAIN_I2: sent MI2, expecting MR2
июн 18 19:18:51 magicbook NetworkManager[106866]: 003 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: ignoring unknown Vendor ID payload [2fbe973f3243a7d44a602d1258cd8b19]
июн 18 19:18:51 magicbook NetworkManager[106866]: 106 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: STATE_MAIN_I3: sent MI3, expecting MR3
июн 18 19:18:51 magicbook NetworkManager[106866]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: Peer ID is ID_IPV4_ADDR: '212.192.80.206'
июн 18 19:18:51 magicbook NetworkManager[106866]: 004 "70147d0a-5d7f-467a-80ee-9048601960e1" #1: STATE_MAIN_I4: ISAKMP SA established {auth=PRESHARED_KEY cipher=3DES_CBC_192 integ=HMAC_SHA1 group=MODP1024}
июн 18 19:18:51 magicbook NetworkManager[106866]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #2: initiating Quick Mode PSK+ENCRYPT+PFS+UP+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#1 msgid:c2d28395 proposal=AES_CBC_128-HMA>
июн 18 19:18:51 magicbook NetworkManager[106866]: 115 "70147d0a-5d7f-467a-80ee-9048601960e1" #2: STATE_QUICK_I1: sent QI1, expecting QR1
июн 18 19:18:51 magicbook nm-l2tp-service[106542]: xl2tpd started with pid 106869
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Not looking for kernel SAref support.
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Using l2tp kernel support.
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: xl2tpd version xl2tpd-1.3.15 started on magicbook PID:106869
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Forked by Scott Balmos and David Stipp, (C) 2001
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Inherited by Jeff McAdams, (C) 2002
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Listening on IP address 0.0.0.0, port 1701
июн 18 19:18:51 magicbook NetworkManager[106869]: xl2tpd[106869]: Connecting to host 212.192.80.206, port 1701
июн 18 19:18:51 magicbook NetworkManager[104973]: <info> [1592489931.6978] vpn-connection[0x55793247c700,70147d0a-5d7f-467a-80ee-9048601960e1,"etis",0]: VPN plugin: state changed: starting (3)
июн 18 19:19:05 magicbook NetworkManager[106869]: xl2tpd[106869]: death_handler: Fatal signal 15 received
июн 18 19:19:05 magicbook NetworkManager[106869]: xl2tpd[106869]: Connection 0 closed to 212.192.80.206, port 1701 (Server closing)
июн 18 19:19:05 magicbook NetworkManager[104973]: <warn> [1592489945.7120] vpn-connection[0x55793247c700,70147d0a-5d7f-467a-80ee-9048601960e1,"etis",0]: VPN plugin: failed: connect-failed (1)
июн 18 19:19:05 magicbook NetworkManager[104973]: <warn> [1592489945.7121] vpn-connection[0x55793247c700,70147d0a-5d7f-467a-80ee-9048601960e1,"etis",0]: VPN plugin: failed: connect-failed (1)
июн 18 19:19:05 magicbook NetworkManager[104973]: <info> [1592489945.7122] vpn-connection[0x55793247c700,70147d0a-5d7f-467a-80ee-9048601960e1,"etis",0]: VPN plugin: state changed: stopping (5)
июн 18 19:19:05 magicbook NetworkManager[106870]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1": terminating SAs using this connection
июн 18 19:19:05 magicbook NetworkManager[106870]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #34: deleting state (STATE_QUICK_I1) aged 0.402s and NOT sending notification
июн 18 19:19:05 magicbook NetworkManager[106870]: 002 "70147d0a-5d7f-467a-80ee-9048601960e1" #33: deleting state (STATE_MAIN_I4) aged 1.001s and sending notification
июн 18 19:19:05 magicbook nm-l2tp-service[106542]: ipsec shut down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment