Fix the ospfd MD5 authentication problem.
Submitted by: Kevin Schmidt <kps@ucsb.edu>
This commit is contained in:
parent
1c35735e4c
commit
4f6099ad49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77564
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= zebra
|
||||
PORTVERSION= 0.93b
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
|
||||
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \
|
||||
|
11
net/zebra-devel/files/patch-ospfd_packet.c
Normal file
11
net/zebra-devel/files/patch-ospfd_packet.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002
|
||||
+++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
/* check crypto seqnum. */
|
||||
nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id);
|
||||
- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
+ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
return 0;
|
||||
|
||||
/* Generate a digest for the ospf packet - their digest + our digest. */
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= zebra
|
||||
PORTVERSION= 0.93b
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
|
||||
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \
|
||||
|
11
net/zebra-pj/files/patch-ospfd_packet.c
Normal file
11
net/zebra-pj/files/patch-ospfd_packet.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002
|
||||
+++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
/* check crypto seqnum. */
|
||||
nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id);
|
||||
- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
+ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
return 0;
|
||||
|
||||
/* Generate a digest for the ospf packet - their digest + our digest. */
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= zebra
|
||||
PORTVERSION= 0.93b
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
|
||||
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \
|
||||
|
11
net/zebra/files/patch-ospfd_packet.c
Normal file
11
net/zebra/files/patch-ospfd_packet.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002
|
||||
+++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
/* check crypto seqnum. */
|
||||
nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id);
|
||||
- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
+ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum))
|
||||
return 0;
|
||||
|
||||
/* Generate a digest for the ospf packet - their digest + our digest. */
|
Loading…
Reference in New Issue
Block a user