forked from batfish/batfish
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOS: fix a crash in malformed isakmp profiles (batfish#5851)
Fix batfish#5849
- Loading branch information
Showing
5 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
projects/batfish/src/test/resources/org/batfish/grammar/cisco/testconfigs/ios-ipsec-gh-5849
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
! | ||
hostname ios-ipsec-gh-5849 | ||
! | ||
crypto keyring KEYRING | ||
pre-shared-key address 2.2.2.2 key SOMEKEY | ||
! | ||
crypto isakmp profile PROFILE | ||
keyring KEYRING | ||
! no match identity statement | ||
local-address Ethernet1 | ||
! | ||
interface Tunnel1 | ||
ip address 3.3.3.3 255.255.255.252 | ||
tunnel source Ethernet1 | ||
tunnel mode ipsec ipv4 | ||
tunnel destination 4.4.4.4 | ||
tunnel protection ipsec profile PROFILE | ||
interface Ethernet1 | ||
no shutdown | ||
no switchport | ||
ip address 1.1.1.1 255.255.255.255 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters