Vendor update gopacket and unix package
This commit is contained in:
1 parent
54d24e65ef
commit
43d3339b39
319 files changed
+91339
-13246
No files matched your search
+16
-1
@@ -60,7 +60,17 @@ func (a TCPPort) LayerType() gopacket.LayerType {
|
||||
}
|
||||
|
||||
var tcpPortLayerType = [65536]gopacket.LayerType{
|
||||
53: LayerTypeDNS,
|
||||
53: LayerTypeDNS,
|
||||
443: LayerTypeTLS, // https
|
||||
502: LayerTypeModbusTCP, // modbustcp
|
||||
636: LayerTypeTLS, // ldaps
|
||||
989: LayerTypeTLS, // ftps-data
|
||||
990: LayerTypeTLS, // ftps
|
||||
992: LayerTypeTLS, // telnets
|
||||
993: LayerTypeTLS, // imaps
|
||||
994: LayerTypeTLS, // ircs
|
||||
995: LayerTypeTLS, // pop3s
|
||||
5061: LayerTypeTLS, // ips
|
||||
}
|
||||
|
||||
// RegisterTCPPortLayerType creates a new mapping between a TCPPort
|
||||
@@ -98,8 +108,13 @@ var udpPortLayerType = [65536]gopacket.LayerType{
|
||||
4789: LayerTypeVXLAN,
|
||||
67: LayerTypeDHCPv4,
|
||||
68: LayerTypeDHCPv4,
|
||||
546: LayerTypeDHCPv6,
|
||||
547: LayerTypeDHCPv6,
|
||||
5060: LayerTypeSIP,
|
||||
6343: LayerTypeSFlow,
|
||||
6081: LayerTypeGeneve,
|
||||
3784: LayerTypeBFD,
|
||||
2152: LayerTypeGTPv1U,
|
||||
}
|
||||
|
||||
// RegisterUDPPortLayerType creates a new mapping between a UDPPort
|
||||
|
||||
Reference in new issue
Block a user