diff options
-rw-r--r-- | api/gobgp.pb.go | 450 | ||||
-rw-r--r-- | api/gobgp.proto | 17 | ||||
-rw-r--r-- | gobgp/cmd/rpki.go | 50 | ||||
-rw-r--r-- | server/rpki.go | 109 | ||||
-rw-r--r-- | server/rpki_test.go | 58 |
5 files changed, 422 insertions, 262 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index e16a5c3c..131328a0 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -1298,10 +1298,23 @@ func (*RPKIConf) ProtoMessage() {} func (*RPKIConf) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} } type RPKIState struct { - Uptime int64 `protobuf:"varint,1,opt,name=uptime" json:"uptime,omitempty"` - Downtime int64 `protobuf:"varint,2,opt,name=downtime" json:"downtime,omitempty"` - ReceivedIpv4 int64 `protobuf:"varint,3,opt,name=received_ipv4" json:"received_ipv4,omitempty"` - ReceivedIpv6 int64 `protobuf:"varint,4,opt,name=received_ipv6" json:"received_ipv6,omitempty"` + Uptime int64 `protobuf:"varint,1,opt,name=uptime" json:"uptime,omitempty"` + Downtime int64 `protobuf:"varint,2,opt,name=downtime" json:"downtime,omitempty"` + Up bool `protobuf:"varint,3,opt,name=up" json:"up,omitempty"` + RecordIpv4 uint32 `protobuf:"varint,4,opt,name=record_ipv4" json:"record_ipv4,omitempty"` + RecordIpv6 uint32 `protobuf:"varint,5,opt,name=record_ipv6" json:"record_ipv6,omitempty"` + PrefixIpv4 uint32 `protobuf:"varint,6,opt,name=prefix_ipv4" json:"prefix_ipv4,omitempty"` + PrefixIpv6 uint32 `protobuf:"varint,7,opt,name=prefix_ipv6" json:"prefix_ipv6,omitempty"` + Serial uint32 `protobuf:"varint,8,opt,name=serial" json:"serial,omitempty"` + ReceivedIpv4 int64 `protobuf:"varint,9,opt,name=received_ipv4" json:"received_ipv4,omitempty"` + ReceivedIpv6 int64 `protobuf:"varint,10,opt,name=received_ipv6" json:"received_ipv6,omitempty"` + SerialNotify int64 `protobuf:"varint,11,opt,name=serial_notify" json:"serial_notify,omitempty"` + CacheReset int64 `protobuf:"varint,12,opt,name=cache_reset" json:"cache_reset,omitempty"` + CacheResponse int64 `protobuf:"varint,13,opt,name=cache_response" json:"cache_response,omitempty"` + EndOfData int64 `protobuf:"varint,14,opt,name=end_of_data" json:"end_of_data,omitempty"` + Error int64 `protobuf:"varint,15,opt,name=error" json:"error,omitempty"` + SerialQuery int64 `protobuf:"varint,16,opt,name=serial_query" json:"serial_query,omitempty"` + ResetQuery int64 `protobuf:"varint,17,opt,name=reset_query" json:"reset_query,omitempty"` } func (m *RPKIState) Reset() { *m = RPKIState{} } @@ -2907,215 +2920,222 @@ var _GobgpApi_serviceDesc = grpc.ServiceDesc{ } var fileDescriptor0 = []byte{ - // 3353 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x3a, 0x4b, 0x73, 0xdb, 0xd6, - 0xd5, 0xe6, 0x53, 0xe4, 0x21, 0x29, 0x51, 0x90, 0xec, 0xc8, 0xcc, 0xcb, 0xc1, 0x97, 0xcf, 0x76, - 0x94, 0xd8, 0x71, 0x9c, 0xc7, 0x97, 0x49, 0xf2, 0x4d, 0x4b, 0x91, 0xb0, 0xcd, 0x44, 0x12, 0x19, - 0x8a, 0x52, 0x92, 0x69, 0x67, 0x30, 0x10, 0x09, 0x52, 0x68, 0x48, 0x02, 0x01, 0x40, 0x3f, 0x3a, - 0xdd, 0xf5, 0x5f, 0x74, 0x3a, 0x9d, 0x69, 0x17, 0x5d, 0x67, 0xd5, 0x4d, 0x97, 0xfd, 0x01, 0xfd, - 0x11, 0x5d, 0xe4, 0x6f, 0xf4, 0x9c, 0x73, 0x2f, 0x5e, 0x24, 0x64, 0x4b, 0x4e, 0xa7, 0x1b, 0x8b, - 0xb8, 0xf7, 0xbc, 0xee, 0x79, 0x9f, 0x7b, 0x0d, 0x95, 0x89, 0x7d, 0x3a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1, 0x35, 0x79, - 0x29, 0xed, 0x4c, 0x98, 0xc0, 0xaa, 0x76, 0x04, 0x61, 0xf5, 0x9f, 0x19, 0x8c, 0x09, 0x99, 0x81, - 0xe7, 0x53, 0xd7, 0x12, 0x09, 0x96, 0x92, 0x0c, 0xe6, 0x45, 0xdf, 0x25, 0xc7, 0xce, 0xe1, 0x37, - 0x16, 0x2c, 0x63, 0x22, 0x52, 0x79, 0x8e, 0x40, 0x4f, 0x4d, 0xcf, 0x17, 0xfa, 0x51, 0xb6, 0xa0, - 0x62, 0x79, 0xfa, 0x13, 0xcb, 0x3f, 0x1b, 0xb9, 0xc6, 0x13, 0xce, 0xe0, 0x25, 0x45, 0x01, 0xc0, - 0x7c, 0x64, 0x8d, 0x84, 0x84, 0x45, 0x5c, 0x2b, 0x60, 0x32, 0xdc, 0x9e, 0xdb, 0xba, 0x35, 0x73, - 0xf0, 0xa0, 0x96, 0x1f, 0x61, 0xac, 0x31, 0x46, 0x94, 0xd6, 0x4a, 0x9c, 0x02, 0x90, 0x82, 0x48, - 0x78, 0xba, 0xe1, 0xcd, 0x77, 0xca, 0xbc, 0xb6, 0x89, 0x3e, 0x25, 0xd6, 0xb0, 0x12, 0x00, 0x47, - 0x9c, 0x48, 0x4b, 0x98, 0xfe, 0xcc, 0xd1, 0x4e, 0x85, 0xed, 0x75, 0x0c, 0x95, 0xb6, 0x49, 0x86, - 0x16, 0x2a, 0xa0, 0x93, 0xa0, 0xfd, 0xad, 0xa7, 0x7c, 0xb2, 0x58, 0xc6, 0xcf, 0xa6, 0x65, 0x7c, - 0xe5, 0x15, 0xd8, 0x98, 0xda, 0xf3, 0x09, 0xba, 0x8b, 0xc0, 0x32, 0xa5, 0x8f, 0xa8, 0x3e, 0x14, - 0x06, 0xc6, 0xe9, 0xd4, 0x44, 0x9d, 0x8a, 0xdc, 0x74, 0xd1, 0x12, 0x13, 0x1d, 0x4c, 0xe4, 0xb6, - 0x77, 0xa1, 0x3a, 0x8a, 0xe4, 0x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d5, 0x13, 0xa9, - 0xe8, 0x05, 0x28, 0x18, 0x08, 0x31, 0x94, 0xdc, 0x0b, 0xf3, 0xc1, 0x1f, 0xb3, 0x50, 0x0a, 0xad, - 0x75, 0x15, 0x6a, 0xc6, 0xc2, 0x3f, 0xd3, 0x1d, 0x4c, 0x29, 0x4f, 0x6c, 0x77, 0x24, 0x9d, 0x1b, - 0x63, 0x11, 0x7d, 0x6b, 0xe8, 0x5a, 0x0e, 0xc7, 0x5d, 0x36, 0x08, 0x91, 0xa9, 0x3d, 0x34, 0xa6, - 0x18, 0x48, 0xd2, 0x05, 0xcf, 0x6d, 0x10, 0xa8, 0xa2, 0x51, 0xc3, 0x42, 0xa0, 0x85, 0x20, 0x0c, - 0x79, 0x61, 0x82, 0xda, 0x14, 0x3e, 0x51, 0xa6, 0x30, 0xe4, 0x35, 0x0e, 0x83, 0x35, 0x06, 0xbb, - 0x0e, 0x9b, 0xae, 0x39, 0xb3, 0x31, 0x7f, 0x3a, 0xae, 0xf5, 0x18, 0x4d, 0x49, 0x14, 0x44, 0x20, - 0x37, 0x40, 0x11, 0x96, 0x18, 0x4f, 0x0d, 0x47, 0x1f, 0x19, 0x33, 0x07, 0x73, 0x30, 0x07, 0x74, - 0x49, 0xb9, 0x06, 0xeb, 0x9e, 0x39, 0x1f, 0xe9, 0x43, 0x7b, 0x36, 0x5b, 0x60, 0xd5, 0x7e, 0xc6, - 0x4e, 0xc4, 0x5c, 0x89, 0x1c, 0x22, 0x0d, 0x0d, 0x07, 0x1d, 0x86, 0x52, 0x10, 0x72, 0x15, 0xc7, - 0xa0, 0xa5, 0x2a, 0x2f, 0x01, 0x64, 0x31, 0x11, 0xd4, 0xb8, 0x1b, 0xf9, 0x18, 0xaa, 0x09, 0x07, - 0xc5, 0x93, 0x60, 0xb3, 0x82, 0x01, 0x2b, 0x74, 0x53, 0x52, 0xb6, 0xa1, 0x1a, 0xf8, 0xb6, 0xee, - 0xfb, 0x22, 0x23, 0xd6, 0xd4, 0x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b, 0x09, 0x74, 0xef, 0x72, 0xf8, 0xec, 0x7d, 0xb5, - 0xc4, 0xcb, 0xb6, 0x72, 0x23, 0x21, 0x7f, 0xca, 0x93, 0x77, 0xda, 0x31, 0x3e, 0xe3, 0xaa, 0x10, - 0x4d, 0x7d, 0x69, 0xd3, 0x56, 0x23, 0x75, 0x04, 0x0b, 0x54, 0x10, 0xae, 0x78, 0x97, 0x41, 0xc6, - 0x03, 0xec, 0x41, 0x35, 0xfe, 0x6a, 0xae, 0xbc, 0x99, 0x90, 0x7f, 0xf5, 0x35, 0x3d, 0x3d, 0x75, - 0x95, 0x51, 0x04, 0x39, 0x83, 0xad, 0x4c, 0x65, 0x8d, 0x95, 0x15, 0x91, 0xc2, 0x03, 0x14, 0x1c, - 0xe8, 0x2e, 0x86, 0x84, 0xd2, 0x7e, 0x81, 0xdd, 0x50, 0xf0, 0xb2, 0xad, 0xbc, 0x96, 0x4c, 0x57, - 0xc9, 0xe7, 0xf8, 0x34, 0x39, 0xbb, 0xb0, 0x15, 0xca, 0x19, 0x9b, 0x58, 0x9f, 0xf3, 0x84, 0xd5, - 0x78, 0xde, 0xf3, 0xd6, 0x15, 0xa5, 0x07, 0x5b, 0x29, 0x0f, 0xed, 0xca, 0xcd, 0x34, 0xc1, 0x56, - 0xdf, 0xe1, 0x53, 0x44, 0x3c, 0x2d, 0xf2, 0xff, 0xd4, 0xfa, 0xf0, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xd3, 0xf9, 0x58, 0xd2, 0xb8, 0x25, 0x00, 0x00, + // 3469 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x1a, 0xcb, 0x72, 0xdb, 0xd6, + 0xd5, 0x7c, 0x8a, 0x3c, 0x22, 0x25, 0x0a, 0x92, 0x1d, 0x99, 0x79, 0x39, 0x68, 0x6a, 0x3b, 0x4a, + 0xec, 0x38, 0x4e, 0xe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0x3d, 0x93, + 0xfd, 0x31, 0xba, 0x21, 0xe5, 0x2e, 0x3a, 0xd1, 0x94, 0xee, 0x37, 0xf2, 0x41, 0x1c, 0xcb, 0x24, + 0x9d, 0x4c, 0x38, 0x18, 0x7d, 0x72, 0x9d, 0x29, 0x8b, 0xa4, 0x83, 0x2e, 0xe8, 0x0f, 0xb0, 0xbb, + 0x40, 0x28, 0xae, 0x18, 0xea, 0x0e, 0xac, 0xc6, 0x4a, 0x30, 0xb5, 0xe0, 0xf1, 0x7a, 0x9d, 0x48, + 0xb9, 0xea, 0x3e, 0x14, 0xbb, 0xdc, 0x8d, 0x91, 0xc2, 0x2d, 0x47, 0x4f, 0x34, 0x74, 0xd8, 0xb1, + 0x4d, 0x0d, 0xef, 0x3b, 0x1d, 0x67, 0xd3, 0x31, 0x26, 0x59, 0x54, 0xb0, 0x3c, 0xcc, 0xe2, 0x86, + 0xf1, 0x4c, 0xce, 0x65, 0xdf, 0x03, 0x44, 0x93, 0x0e, 0x46, 0x6d, 0xbc, 0x9f, 0xbb, 0xba, 0x34, + 0x0d, 0xf5, 0x71, 0x73, 0xa1, 0xa5, 0xc3, 0xaf, 0x09, 0xce, 0x12, 0x7c, 0x69, 0x50, 0xc6, 0x82, + 0x50, 0x0a, 0x7b, 0x45, 0xd1, 0xcc, 0xc5, 0x87, 0x10, 0xde, 0x51, 0x3f, 0xc3, 0x34, 0x61, 0xf8, + 0x83, 0x53, 0x62, 0xf8, 0x56, 0x82, 0x61, 0xac, 0x7b, 0x61, 0x88, 0x65, 0x76, 0xea, 0x63, 0xa8, + 0x34, 0x3c, 0xea, 0x4e, 0xf7, 0xf8, 0x24, 0xca, 0xed, 0x04, 0x81, 0x58, 0xcf, 0x10, 0x87, 0x62, + 0x3a, 0xe8, 0x2a, 0xe2, 0xf4, 0x32, 0x58, 0xff, 0x96, 0x05, 0xc0, 0x78, 0x1a, 0x5a, 0xdc, 0x7a, + 0xa2, 0x3f, 0x82, 0x90, 0x5c, 0xa7,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xaf, 0xa7, 0x3f, 0x9a, 0x53, 0x7a, 0x5c, 0x4b, 0xa0, 0x7b, 0x97, 0xc3, 0x67, + 0xef, 0xab, 0x26, 0x5e, 0xf7, 0x95, 0x1b, 0x09, 0xf9, 0x53, 0x9e, 0xfd, 0xd3, 0x8e, 0xf1, 0x29, + 0x57, 0x85, 0x68, 0xf2, 0x4d, 0x9b, 0x38, 0xeb, 0xa9, 0x63, 0x68, 0xa0, 0x82, 0x70, 0xc5, 0xbb, + 0x0c, 0x32, 0x1e, 0x60, 0x17, 0x2a, 0xf1, 0x5f, 0x0e, 0x28, 0x6f, 0x26, 0xe4, 0x5f, 0xfe, 0x45, + 0x41, 0x7a, 0xea, 0x2a, 0xa3, 0x08, 0x72, 0x0e, 0x5d, 0x9a, 0x4c, 0xeb, 0x4b, 0x2b, 0x22, 0x85, + 0x07, 0x28, 0x38, 0xd4, 0x5e, 0x0c, 0x09, 0xa5, 0xfd, 0x1c, 0xbb, 0xa1, 0xe0, 0x75, 0x5f, 0x79, + 0x2d, 0x99, 0xae, 0x92, 0x3f, 0x49, 0x48, 0x93, 0xb3, 0x03, 0x9b, 0xa1, 0x9c, 0xb1, 0xa9, 0xfd, + 0x39, 0xcf, 0x78, 0xf5, 0xe7, 0x3d, 0xf1, 0x5d, 0x51, 0xba, 0xb0, 0x99, 0xf2, 0x63, 0x03, 0xe5, + 0x66, 0x9a, 0x60, 0xcb, 0xbf, 0x45, 0x48, 0x11, 0xf1, 0xa4, 0xc8, 0xbf, 0x56, 0xfb, 0xf0, 0xbf, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x48, 0xb6, 0x48, 0xbc, 0x26, 0x00, 0x00, } diff --git a/api/gobgp.proto b/api/gobgp.proto index 90b841df..395d4e91 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -467,8 +467,21 @@ message RPKIConf { message RPKIState { int64 uptime = 1; int64 downtime = 2; - int64 received_ipv4 = 3; - int64 received_ipv6 = 4; + bool up = 3; + uint32 record_ipv4 = 4; + uint32 record_ipv6 = 5; + uint32 prefix_ipv4 = 6; + uint32 prefix_ipv6 = 7; + uint32 serial = 8; + int64 received_ipv4 = 9; + int64 received_ipv6 = 10; + int64 serial_notify = 11; + int64 cache_reset = 12; + int64 cache_response = 13; + int64 end_of_data = 14; + int64 error = 15; + int64 serial_query = 16; + int64 reset_query = 17; } message RPKI { diff --git a/gobgp/cmd/rpki.go b/gobgp/cmd/rpki.go index f174c7c1..ae56bc69 100644 --- a/gobgp/cmd/rpki.go +++ b/gobgp/cmd/rpki.go @@ -36,8 +36,7 @@ func showRPKIServer(args []string) error { fmt.Println(err) return err } - format := "%-23s %-6s %-10s %s\n" - fmt.Printf(format, "Session", "State", "Uptime", "#IPv4/IPv6 records") + servers := make([]*api.RPKI, 0) for { r, err := stream.Recv() if err == io.EOF { @@ -45,14 +44,45 @@ func showRPKIServer(args []string) error { } else if err != nil { return err } - s := "Down" - uptime := "never" - if r.State.Uptime != 0 { - s = "Up" - uptime = fmt.Sprint(formatTimedelta(int64(time.Now().Sub(time.Unix(r.State.Uptime, 0)).Seconds()))) - } + servers = append(servers, r) + } + if len(args) == 0 { + format := "%-23s %-6s %-10s %s\n" + fmt.Printf(format, "Session", "State", "Uptime", "#IPv4/IPv6 records") + for _, r := range servers { + s := "Down" + uptime := "never" + if r.State.Up == true { + s = "Up" + uptime = fmt.Sprint(formatTimedelta(int64(time.Now().Sub(time.Unix(r.State.Uptime, 0)).Seconds()))) + } - fmt.Printf(format, net.JoinHostPort(r.Conf.Address, strconv.Itoa(int(r.Conf.RemotePort))), s, uptime, fmt.Sprintf("%d/%d", r.State.ReceivedIpv4, r.State.ReceivedIpv6)) + fmt.Printf(format, net.JoinHostPort(r.Conf.Address, strconv.Itoa(int(r.Conf.RemotePort))), s, uptime, fmt.Sprintf("%d/%d", r.State.RecordIpv4, r.State.RecordIpv6)) + } + } else { + for _, r := range servers { + if r.Conf.Address == args[0] { + up := "Down" + if r.State.Up == true { + up = "Up" + } + fmt.Printf("Session: %s, State: %s\n", r.Conf.Address, up) + fmt.Println(" Port:", r.Conf.RemotePort) + fmt.Println(" Serial:", r.State.Serial) + fmt.Printf(" Prefix: %d/%d\n", r.State.PrefixIpv4, r.State.PrefixIpv6) + fmt.Printf(" Record: %d/%d\n", r.State.RecordIpv4, r.State.RecordIpv6) + fmt.Println(" Message statistics:") + fmt.Printf(" Receivedv4: %10d\n", r.State.ReceivedIpv4) + fmt.Printf(" Receivedv6: %10d\n", r.State.ReceivedIpv6) + fmt.Printf(" SerialNotify: %10d\n", r.State.SerialNotify) + fmt.Printf(" CacheReset: %10d\n", r.State.CacheReset) + fmt.Printf(" CacheResponse: %10d\n", r.State.CacheResponse) + fmt.Printf(" EndOfData: %10d\n", r.State.EndOfData) + fmt.Printf(" Error: %10d\n", r.State.Error) + fmt.Printf(" SerialQuery: %10d\n", r.State.SerialQuery) + fmt.Printf(" ResetQuery: %10d\n", r.State.ResetQuery) + } + } } return nil } @@ -118,7 +148,7 @@ func NewRPKICmd() *cobra.Command { serverCmd := &cobra.Command{ Use: CMD_RPKI_SERVER, Run: func(cmd *cobra.Command, args []string) { - if len(args) == 0 { + if len(args) == 0 || len(args) == 1 { showRPKIServer(args) return } else if len(args) != 2 { diff --git a/server/rpki.go b/server/rpki.go index 492587ae..cf05b011 100644 --- a/server/rpki.go +++ b/server/rpki.go @@ -126,8 +126,10 @@ func newROAManager(as uint32, servers []config.RpkiServer) (*roaManager, error) for _, entry := range servers { c := entry.Config client := &roaClient{ - host: net.JoinHostPort(c.Address, strconv.Itoa(int(c.Port))), - eventCh: m.eventCh, + host: net.JoinHostPort(c.Address, strconv.Itoa(int(c.Port))), + eventCh: m.eventCh, + records: make(map[int]uint32), + prefixes: make(map[int]uint32), } m.clientMap[client.host] = client client.t.Go(client.tryConnect) @@ -188,30 +190,54 @@ func (m *roaManager) handleROAEvent(ev *roaClientEvent) { } } -func deleteROA(host string, tree *radix.Tree, as uint32, prefix []byte, prefixLen, maxLen uint8) { +func deleteROA(client *roaClient, family int, tree *radix.Tree, as uint32, prefix []byte, prefixLen, maxLen uint8) { + host := client.host key := table.IpToRadixkey(prefix, prefixLen) b, _ := tree.Get(key) - if b != nil { - bucket := b.(*roaBucket) - for _, r := range bucket.entries { - if r.MaxLen == maxLen && r.Src == host { - for idx, a := range r.AS { - if a == as { - r.AS = append(r.AS[:idx], r.AS[idx+1:]...) - if len(bucket.entries) == 0 { - tree.Delete(key) + isDeleted := func() bool { + if b != nil { + bucket := b.(*roaBucket) + for _, r := range bucket.entries { + if r.MaxLen == maxLen && r.Src == host { + for idx, a := range r.AS { + if a == as { + r.AS = append(r.AS[:idx], r.AS[idx+1:]...) + if len(bucket.entries) == 0 { + tree.Delete(key) + } + return true } - return } } } } + return false + }() + if isDeleted { + client.records[family]-- + isNoPrefix := func() bool { + if b, _ := tree.Get(key); b != nil { + bucket := b.(*roaBucket) + for _, r := range bucket.entries { + if r.Src == host { + return false + } + } + return true + } else { + return true + } + }() + if isNoPrefix { + client.prefixes[family]-- + } + } else { + log.Info("can't withdraw a roa", net.IP(prefix).String(), as, prefixLen, maxLen) } - p := net.IP(prefix) - log.Info("can't withdraw a roa", p.String(), as, prefixLen, maxLen) } -func addROA(host string, tree *radix.Tree, as uint32, prefix []byte, prefixLen, maxLen uint8) { +func addROA(client *roaClient, family int, tree *radix.Tree, as uint32, prefix []byte, prefixLen, maxLen uint8) { + host := client.host key := table.IpToRadixkey(prefix, prefixLen) b, _ := tree.Get(key) if b == nil { @@ -232,8 +258,22 @@ func addROA(host string, tree *radix.Tree, as uint32, prefix []byte, prefixLen, r.bucket = b tree.Insert(key, b) + client.prefixes[family]++ + client.records[family]++ } else { bucket := b.(*roaBucket) + isNewPrefix := func() bool { + for _, r := range bucket.entries { + if r.Src == host { + return false + } + } + return true + }() + if isNewPrefix { + client.prefixes[family]++ + } + for _, r := range bucket.entries { if r.MaxLen == maxLen && r.Src == host { // we already have? @@ -243,6 +283,7 @@ func addROA(host string, tree *radix.Tree, as uint32, prefix []byte, prefixLen, } } r.AS = append(r.AS, as) + client.records[family]++ return } } @@ -253,6 +294,7 @@ func addROA(host string, tree *radix.Tree, as uint32, prefix []byte, prefixLen, Src: host, } bucket.entries = append(bucket.entries, r) + client.records[family]++ } } @@ -276,17 +318,19 @@ func (c *roaManager) handleRTRMsg(client *roaClient, state *config.RpkiServerSta received.CacheResponse++ case *bgp.RTRIPPrefix: var tree *radix.Tree + family := bgp.AFI_IP if msg.Type == bgp.RTR_IPV4_PREFIX { received.Ipv4Prefix++ tree = c.roas[bgp.RF_IPv4_UC] } else { + family = bgp.AFI_IP6 received.Ipv6Prefix++ tree = c.roas[bgp.RF_IPv6_UC] } if (msg.Flags & 1) == 1 { - addROA(client.host, tree, msg.AS, msg.Prefix, msg.PrefixLen, msg.MaxLen) + addROA(client, family, tree, msg.AS, msg.Prefix, msg.PrefixLen, msg.MaxLen) } else { - deleteROA(client.host, tree, msg.AS, msg.Prefix, msg.PrefixLen, msg.MaxLen) + deleteROA(client, family, tree, msg.AS, msg.Prefix, msg.PrefixLen, msg.MaxLen) } case *bgp.RTREndOfData: received.EndOfData++ @@ -321,17 +365,36 @@ func (c *roaManager) handleGRPC(grpcReq *GrpcRequest) { results := make([]*GrpcResponse, 0) for _, client := range c.clientMap { state := client.state - received := &state.RpkiMessages.RpkiReceived addr, port := splitHostPort(client.host) + received := &state.RpkiMessages.RpkiReceived + sent := client.state.RpkiMessages.RpkiSent + up := true + if client.conn == nil { + up = false + } rpki := &api.RPKI{ Conf: &api.RPKIConf{ Address: addr, RemotePort: uint32(port), }, State: &api.RPKIState{ - Uptime: state.Uptime, - ReceivedIpv4: received.Ipv4Prefix, - ReceivedIpv6: received.Ipv6Prefix, + Uptime: state.Uptime, + Downtime: state.Downtime, + Up: up, + RecordIpv4: client.records[bgp.AFI_IP], + RecordIpv6: client.records[bgp.AFI_IP6], + PrefixIpv4: client.prefixes[bgp.AFI_IP], + PrefixIpv6: client.prefixes[bgp.AFI_IP6], + Serial: client.serialNumber, + ReceivedIpv4: received.Ipv4Prefix, + ReceivedIpv6: received.Ipv6Prefix, + SerialNotify: received.SerialNotify, + CacheReset: received.CacheReset, + CacheResponse: received.CacheResponse, + EndOfData: received.EndOfData, + Error: received.Error, + SerialQuery: sent.SerialQuery, + ResetQuery: sent.ResetQuery, }, } result := &GrpcResponse{} @@ -491,6 +554,8 @@ type roaClient struct { eventCh chan *roaClientEvent sessionID uint16 serialNumber uint32 + prefixes map[int]uint32 + records map[int]uint32 } func (c *roaClient) enable(serial uint32) error { diff --git a/server/rpki_test.go b/server/rpki_test.go index 8be709ea..3d7be7b3 100644 --- a/server/rpki_test.go +++ b/server/rpki_test.go @@ -60,9 +60,13 @@ func validateOne(tree *radix.Tree, cidr, aspathStr string) config.RpkiValidation func TestValidate0(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 100, net.ParseIP("192.168.0.0").To4(), 24, 32) - addROA("", tree, 200, net.ParseIP("192.168.0.0").To4(), 24, 24) + addROA(client, bgp.AFI_IP, tree, 100, net.ParseIP("192.168.0.0").To4(), 24, 32) + addROA(client, bgp.AFI_IP, tree, 200, net.ParseIP("192.168.0.0").To4(), 24, 24) var r config.RpkiValidationResultType @@ -88,8 +92,12 @@ func TestValidate0(t *testing.T) { func TestValidate1(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) var r config.RpkiValidationResultType @@ -117,8 +125,12 @@ func TestValidate2(t *testing.T) { func TestValidate3(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree1 := radix.New() - addROA("", tree1, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) + addROA(client, bgp.AFI_IP, tree1, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) var r config.RpkiValidationResultType @@ -129,7 +141,7 @@ func TestValidate3(t *testing.T) { assert.Equal(r, config.RPKI_VALIDATION_RESULT_TYPE_INVALID) tree2 := radix.New() - addROA("", tree2, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) + addROA(client, bgp.AFI_IP, tree2, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) r = validateOne(tree2, "10.0.0.0/17", "65000") assert.Equal(r, config.RPKI_VALIDATION_RESULT_TYPE_VALID) @@ -138,9 +150,13 @@ func TestValidate3(t *testing.T) { func TestValidate4(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) - addROA("", tree, 65001, net.ParseIP("10.0.0.0").To4(), 16, 16) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 16) + addROA(client, bgp.AFI_IP, tree, 65001, net.ParseIP("10.0.0.0").To4(), 16, 16) var r config.RpkiValidationResultType @@ -154,9 +170,13 @@ func TestValidate4(t *testing.T) { func TestValidate5(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 65000, net.ParseIP("10.0.0.0").To4(), 17, 17) - addROA("", tree, 65000, net.ParseIP("10.0.128.0").To4(), 17, 17) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.0.0").To4(), 17, 17) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.128.0").To4(), 17, 17) var r config.RpkiValidationResultType @@ -167,8 +187,12 @@ func TestValidate5(t *testing.T) { func TestValidate6(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 0, net.ParseIP("10.0.0.0").To4(), 8, 32) + addROA(client, bgp.AFI_IP, tree, 0, net.ParseIP("10.0.0.0").To4(), 8, 32) var r config.RpkiValidationResultType @@ -185,8 +209,12 @@ func TestValidate6(t *testing.T) { func TestValidate7(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) var r config.RpkiValidationResultType @@ -203,9 +231,13 @@ func TestValidate7(t *testing.T) { func TestValidate8(t *testing.T) { assert := assert.New(t) + client := &roaClient{ + records: make(map[int]uint32), + prefixes: make(map[int]uint32), + } tree := radix.New() - addROA("", tree, 0, net.ParseIP("10.0.0.0").To4(), 16, 24) - addROA("", tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) + addROA(client, bgp.AFI_IP, tree, 0, net.ParseIP("10.0.0.0").To4(), 16, 24) + addROA(client, bgp.AFI_IP, tree, 65000, net.ParseIP("10.0.0.0").To4(), 16, 24) var r config.RpkiValidationResultType |