feat(11-01): add 21 ClassFreqConfigs entries and include LDAP/Kerberos/Syslog in AllClasses()
- Add 21 new ClassFreqConfigs entries covering mDNS/SSDP/SNMP/QUIC/IMAP/POP3/SMTPSub/RDP/Telnet/VNC/FTP/SMB/TFTP/MySQL/PostgreSQL/Redis/MongoDB/SIP/LDAP/Kerberos/Syslog - Update AllClasses() to return 35 entries (add LDAP/Kerberos/Syslog in Infrastructure section) - Remove outdated Phase 11 exclusion comment from AllClasses() doc comment
This commit is contained in:
+2
-4
@@ -54,21 +54,19 @@ const (
|
||||
// --- Web extension (PROTO-07) ---
|
||||
ClassQUIC TrafficClass = "QUIC"
|
||||
|
||||
// --- Infrastructure extension (PROTO-08, D-01: no ClassFreqConfigs until Phase 11) ---
|
||||
// --- Infrastructure extension (PROTO-08) ---
|
||||
ClassLDAP TrafficClass = "LDAP"
|
||||
ClassKerberos TrafficClass = "Kerberos"
|
||||
ClassSyslog TrafficClass = "Syslog"
|
||||
)
|
||||
|
||||
// AllClasses returns all known traffic classes in display order.
|
||||
// Excludes ClassLDAP, ClassKerberos, and ClassSyslog — these have constants and rules
|
||||
// but no ClassFreqConfigs entries until Phase 11, so they must not appear here
|
||||
// (TestAllClassesHaveConfig in synth/config_test.go enforces the invariant).
|
||||
func AllClasses() []TrafficClass {
|
||||
return []TrafficClass{
|
||||
// Infrastructure
|
||||
ClassICMP, ClassDNS, ClassNTP, ClassDHCP,
|
||||
ClassMDNS, ClassSSDP, ClassSNMP,
|
||||
ClassLDAP, ClassKerberos, ClassSyslog,
|
||||
// Web
|
||||
ClassHTTPS, ClassHTTP, ClassQUIC,
|
||||
// Mail
|
||||
|
||||
Reference in New Issue
Block a user