Add support for DHCP to audit stream

This commit is contained in:
Peter 2022-01-12 15:59:07 +01:00
parent d742b08c21
commit 505b06f37b
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,25 @@
syntax = "proto3";
package inetmock.audit.v1;
enum DHCPOpCode {
DHCP_OP_CODE_UNSPECIFIED = 0;
DHCP_OP_CODE_BOOT_REQUEST = 1;
DHCP_OP_CODE_BOOT_REPLY = 2;
}
enum DHCPHwType {
DHCP_HW_TYPE_UNSPECIFIED = 0;
DHCP_HW_TYPE_ETHERNET = 1;
DHCP_HW_TYPE_LOCAL_NET = 12;
DHCP_HW_TYPE_FIBRE_CHANNEL = 18;
DHCP_HW_TYPE_SERIAL_LINE = 20;
DHCP_HW_TYPE_IPSEC = 31;
DHCP_HW_TYPE_INFINIBAND = 32;
}
message DHCPDetailsEntity {
int32 hop_count = 1;
DHCPOpCode opcode = 2;
DHCPHwType hw_type = 3;
}

View file

@ -18,6 +18,7 @@ enum AppProtocol {
APP_PROTOCOL_HTTP_PROXY = 3;
APP_PROTOCOL_PPROF = 4;
APP_PROTOCOL_DNS_OVER_HTTPS = 5;
APP_PROTOCOL_DHCP = 6;
}
enum TLSVersion {