OpenBSD/src zfqlakHusr.sbin/ldpd parse.y pfkey.c

   rework how tcp md5 signatures are configured.

   previously ldpd only allowed tcp md5 to be configured against a
   neighbor (by ldp router id), but other vendors supported configuring
   tcp md5sig by prefix as well as neighbor. this reworks the config
   so auth is maintained globally as a list of prefixes that you do
   and do not want to do tcp md5sig auth with.

   the config statements look more like what is in bgpd.conf now too.

   an example of the new config for interoperating with my baby cisco
   test network:

   on ios:

        mpls ldp password required for MPLS
        mpls ldp password option 1 for MPLS key-chain LDPAUTH

        key chain LDPAUTH
         key 1
          key-string secret

        interface Loopback0
         ip address 192.168.0.0 255.255.255.255
        end

        ip prefix-list MPLS seq 5 permit 192.168.0.0/24
        ip access-list standard MPLS

        mpls ldp router-id Loopback0 force

   and in ldpd.conf:

        router-id 192.168.0.25
        tcp md5sig password secret 192.168.0.0/24
        address-family ipv4 { interface vmx1 }

   this still supports specifying tcp md5sig on neighbors, but that
   is syntactic sugar around adding entries to the list of auths.

   ok (and lots of help from) claudio@
VersionDeltaFile
1.68+165-15usr.sbin/ldpd/parse.y
1.12+48-51usr.sbin/ldpd/pfkey.c
1.63+70-10usr.sbin/ldpd/ldpd.c
1.37+29-12usr.sbin/ldpd/ldpd.conf.5
1.28+32-4usr.sbin/ldpd/printconf.c
1.89+13-11usr.sbin/ldpd/ldpd.h
1.75+16-4usr.sbin/ldpd/ldpe.c
1.76+6-9usr.sbin/ldpd/ldpe.h
1.74+14-1usr.sbin/ldpd/lde.c
1.80+4-7usr.sbin/ldpd/neighbor.c
1.71+2-2usr.sbin/ldpd/packet.c
+399-12611 files

UnifiedSplitRaw