towerops/test/towerops
mayor d03ad72aec
Increase max OID values limit from 1,000 to 50,000
Fixes discovery failures on enterprise network devices with many
interfaces and routing table entries.

Issue:
Discovery was failing with "too_many_oids - OID values map exceeds
1000 entries" on SNMPv3 devices. Enterprise routers/switches during
discovery can easily return 10k-50k OIDs from:
- 100+ interfaces with 20-30 OIDs each
- System info, routing tables, ARP tables, neighbor tables
- Various MIB objects

The original limit of 1,000 was too restrictive for real-world devices
while still being intended as DoS protection.

Changes:
- Increase @max_oid_values from 1,000 to 50,000
- Update test to generate 50,100 OIDs (exceeds new limit)
- Add comment explaining why limit is set to 50k

This maintains DoS protection (prevents multi-million OID attacks)
while accommodating realistic device discovery scenarios.

All tests passing (5578 tests, 0 failures).
2026-02-06 10:41:30 -06:00
..
accounts fix user session controller test 2026-02-03 13:42:24 -06:00
agent Increase max OID values limit from 1,000 to 50,000 2026-02-06 10:41:30 -06:00
agents make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
alerts more tests 2026-02-03 15:27:05 -06:00
api_tokens add parallel build 2026-01-19 14:17:05 -06:00
contexts help update 2026-02-04 17:56:48 -06:00
devices fix nil firmware comparison 2026-02-05 13:47:56 -06:00
ecto_types Implement MacAddress and SnmpOid custom Ecto types 2026-02-06 09:41:54 -06:00
equipment make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
monitoring make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
organizations fix device count 2026-02-05 15:04:34 -06:00
profiles fix prod crash with yaml parsing 2026-01-31 08:25:07 -06:00
proto agent overhaul 2026-01-30 16:05:23 -06:00
sites Add comprehensive tests for Sites.Site schema 2026-01-13 09:05:02 -06:00
snmp make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
workers Fix all Credo issues 2026-02-06 10:31:09 -06:00
accounts_test.exs feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
admin_test.exs more tests 2026-02-03 11:16:43 -06:00
agents_test.exs prevent poller fallback when assigned poller is selected 2026-02-04 16:24:19 -06:00
alerts_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
api_tokens_test.exs faster tests 2026-01-27 09:30:18 -06:00
devices_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
geoip_test.exs more tests 2026-02-03 11:16:43 -06:00
honeybadger_filter_test.exs filter more honeybadger alerts, format dates to users time zone, email template cleanup 2026-02-01 09:27:42 -06:00
log_filter_test.exs Fix Credo issues and improve code quality 2026-01-19 15:09:19 -06:00
logger_filters_test.exs fix user session controller test 2026-02-03 13:42:24 -06:00
monitoring_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
organizations_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
profiles_test.exs Add comprehensive test coverage for core context modules 2026-01-19 14:38:34 -06:00
redis_health_check_test.exs faster tests 2026-01-27 09:30:18 -06:00
result_test.exs more tests 2026-02-03 13:20:33 -06:00
settings_test.exs remote agent/cloud improvements 2026-01-24 09:16:41 -06:00
sites_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
snmp_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00