Commit Graph
5 Commits
Author SHA1 Message Date
gurix 35d8915e41 fix(11-01): update hardcoded count assertions to reflect 35 traffic classes
- Rename TestNewBankHas14Layers to TestNewBankHasAllLayers, use len(classify.AllClasses())
- Update config_test.go: replace 4 hardcoded 14 counts with len(classify.AllClasses())
- Update TestPrintConfigContainsAllClasses: replace hardcoded list with AllClasses() loop
- Update classifier_test.go: change TestAllClassesCount want from 32 to 35
2026-03-27 16:31:26 +01:00
gurix f792370d7f feat(10-02): update TestAllClassesCount from 14 to 32
Reflects 14 existing + 18 new classes in AllClasses(); LDAP/Kerberos/Syslog
excluded until Phase 11 adds their ClassFreqConfigs entries.
2026-03-27 15:58:29 +01:00
gurix 038f89f18e feat(10-02): add 28 new classification subtests to TestClassify
- Mail: IMAP 143/993, POP3 110/995, SMTPSub 587 (PROTO-01)
- File Transfer: FTP 20/21, SMB 445, TFTP 69 (PROTO-02)
- Remote Access: RDP 3389, Telnet 23, VNC 5900 (PROTO-03)
- Database: MySQL 3306, PostgreSQL 5432, Redis 6379, MongoDB 27017 (PROTO-04)
- Discovery: mDNS 5353, SSDP 1900, SNMP 161/162 (PROTO-05)
- VoIP: SIP TCP+UDP 5060 (PROTO-06)
- Web: QUIC UDP/443 distinct from HTTPS TCP/443 (PROTO-07)
- Infrastructure: LDAP 389/636, Kerberos TCP+UDP 88, Syslog 514 (PROTO-08)
2026-03-27 15:58:17 +01:00
gurix ff3ec7eb78 feat(03-01): extend TrafficClass to 14 classes with hash-bucketed unknowns
- Replace ClassUnknown with ClassUnknown1-4 (unknown-1 through unknown-4)
- AllClasses() now returns 14 elements
- Add hashBucket() function routing unrecognized traffic deterministically
- Update synth/config.go: NumLayers=14, 4 dissonant unknown tone configs at 862-1047 Hz
- Add TestAllClassesCount and TestHashBucketDistribution tests
- Add TestClassFreqConfigsComplete and TestNumLayersMatchesAllClasses to config_test.go
- Update TestNewBankHas14Layers, TestMixerNoClip for 14 classes
- All classify and synth tests pass
2026-03-26 13:11:24 +01:00
gurix f233e80f4b test(01-01): add failing tests for all 11 protocol classification classes
- Tests for ICMP, DNS/UDP, DNS/TCP, HTTPS, HTTP, SSH, SMTP, NTP, DHCP(67/68),
  other-TCP, other-UDP, unknown
- Test for order-dependent first-match-wins rule behavior
- Uses gopacket SerializeLayers to build synthetic packets
2026-03-25 12:12:01 +01:00