• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

IPSec ikev2 与思科防火墙建立 IPSec 不成功

2022-08-12提问
  • 0关注
  • 1收藏,1450浏览
粉丝:0人 关注:0人

问题描述:

Local address: 124.128.23.26 Remote address: 60.208.58.206 Sour addr: 192.168.10.0/255.255.255.0 Port: 0 Protocol: IP Dest addr: 176.16.0.0/255.255.252.0 Port: 0 Protocol: IP Inside VPN instance: Outside VPN instance: ACL number: 3000 *Aug 12 19:35:02:627 2022 FW IPSEC/7/EVENT: Got SA time-based soft lifetime settings when filling Sp data. Configured soft lifetime buffer : 0 seconds. Configured global soft lifetime buffer : 0 seconds. *Aug 12 19:35:02:628 2022 FW IKE/7/EVENT: Received message from ipsec, message type is 0. *Aug 12 19:35:02:628 2022 FW IKE/7/EVENT: Received SA acquire message from IPsec. *Aug 12 19:35:02:628 2022 FW IKE/7/EVENT: IKE thread 1099142320816 processes a job. *Aug 12 19:35:02:628 2022 FW IKEV2/7/EVENT: [IPsec->IKE] Get an IPsec SA acquire request. *Aug 12 19:35:02:628 2022 FW IKE/7/EVENT: IKE thread 1099142320816 processes a job. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 (Tunnel ID 9564): (I) Current State: IDLE. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Choose profile 1. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Getting pre-shared key from profile keychain 1. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Getting pre-shared key by address 60.208.58.206. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Peer 1 matched. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Search policy with vrf 0, local address 124.128.23.26. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Policy map matched. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Construct SA payload. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Proposal 1. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Transform ENCR 3DES-CBC. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Transform INTEG AUTH-HMAC-MD5-96. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Transform PRF PRF-HMAC-MD5. *Aug 12 19:35:02:628 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Transform D-H 1024-bit MODP/Group 2. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Compute DH public key, use 1024-bit MODP/Group 2. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Construct KE payload. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Construct NONCE payload. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Construct NOTIFY payload: NAT_DETECTION_SOURCE_IP. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Construct NOTIFY payload: NAT_DETECTION_DESTINATION_IP. *Aug 12 19:35:02:632 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 (Tunnel ID 9564): (I) Current State: BUILD_INIT. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Payload contents: *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 SA Next payload: KE, Length: 44. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Last proposal: 0, Length: 40. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Proposal: 1, Protocol: IKE, SPI size: 0, Transform number: 4. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Last transform: 0x3, Length: 8. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Type: ENCR, Transform ID: 3DES-CBC. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Last transform: 0x3, Length: 8. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Type: INTEG, Transform ID: AUTH-HMAC-MD5-96. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Last transform: 0x3, Length: 8. *Aug 12 19:35:02:632 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Type: PRF, Transform ID: PRF-HMAC-MD5. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Last transform: 0, Length: 8. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Type: D-H, Transform ID: 1024-bit MODP/Group 2. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 KE Next payload: NONCE, Length: 136, DH: 1024-bit MODP/Group 2. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 NONCE Next payload: NOTIFY, Length: 36. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 NOTIFY Next payload: NOTIFY, Length: 28, Type: NAT_DETECTION_SOURCE_IP, Protocol: NO PROTOCOL, SPI size: 0. *Aug 12 19:35:02:633 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 NOTIFY Next payload: NO_PAYLOAD, Length: 28, Type: NAT_DETECTION_DESTINATION_IP, Protocol: NO PROTOCOL, SPI size: 0. *Aug 12 19:35:02:634 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Sending packet to 60.208.58.206 remote port 500, local port 500. *Aug 12 19:35:02:634 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 I-SPI: a03386f65356552c R-SPI: 0000000000000000 Message ID: 0 Exchange type: SA_INIT Flags: REQUEST, INITIATOR Next payload: SA, Length: 300. *Aug 12 19:35:02:634 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Sending an IPv4 packet. *Aug 12 19:35:02:634 2022 FW IKE/7/EVENT: vrf = 0, local = 124.128.23.26, remote = 60.208.58.206/500 Sent data to socket successfully. *Aug 12 19:35:02:639 2022 FW IKE/7/EVENT: Received packet successfully. *Aug 12 19:35:02:639 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Received packet from 60.208.58.206 source port 500 destination port 500. *Aug 12 19:35:02:639 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 I-SPI: a03386f65356552c R-SPI: 29b24691fd8c5328 Message ID: 0 Exchange type: SA_INIT Flags: RESPONSE Next payload: NOTIFY, Length: 36. *Aug 12 19:35:02:639 2022 FW IKE/7/EVENT: IKE thread 1099142320816 processes a job. *Aug 12 19:35:02:639 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Payload contents: *Aug 12 19:35:02:640 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 NOTIFY Next payload: NO_PAYLOAD, Length: 8, Type: NO_PROPOSAL_CHOSEN, Protocol: IKE, SPI size: 0. *Aug 12 19:35:02:640 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Process reponse notify for IKE SA. *Aug 12 19:35:02:640 2022 FW IKEV2/7/ERROR: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Received notify NO_PROPOSAL_CHOSEN. *Aug 12 19:35:02:640 2022 FW IKEV2/7/PACKET: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 Processed response with message id 0, requests can be sent from (1 ~ 1). *Aug 12 19:35:02:640 2022 FW IPSEC/7/EVENT: Sent delete SA message to all nodes, message type is 0x16. *Aug 12 19:35:02:640 2022 FW IPSEC/7/EVENT: The SA doesn't exist in kernel. *Aug 12 19:35:02:641 2022 FW IKEV2/7/FSM: vrf = 0, src = 124.128.23.26, dst = 60.208.58.206/500 (Tunnel ID 9564): IKE SA deleted. Request time out


2 个回答
铁柱 九段
粉丝:23人 关注:1人

 NO_PROPOSAL_CHOSEN.报错没找到proposal,排查下这个两边是否一致吧。

暂无评论

粉丝:40人 关注:6人

您好,请知:

IPSEC VPN故障排查:
1、检查公网地址的连通性
2、检查ipsec acl是否配置正确(两端ACL以互为镜像的方式配置)
3、检查ike keychain/ike profile 协商参数配置是否正确(工作模式、keychain、identity、本端/对端隧道地址或隧道名称、NAT穿越功能v7自适应)
4、检查ipsec proposal(v5平台) /ipsec  transform-set(v7平台)参数两端是否一致(封装模式、安全协议、验证算法、加密算法)
5、检查设备是否创建ipsec策略,并加载协商参数(acl、ike profile 、ipsec  transform-set、对端隧道IP)
6、检查ipsec策略是否应用在正确的接口上
 
IPSEC排查命令:
1、disp ipsec policy
2、disp acl
3、dis cu conf ike-profile
4、dis cu conf ike-keychain
5、display  ike proposal
6、display  ipsec  transform-set
7、disp ike sa (verbose)
8、disp ipsec sa
9、reset ipsec sa
10、reset ike sa

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明