review: 1.0.17 #77
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub.
Original GitHub issue: #211
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/211
Original created: 2025-02-17T22:52:30Z
SNMP Checker Code Review Findings
Here's a list of findings from the recent code review. Please address these issues to improve the security, usability, and reliability of the SNMP checker.
Security
publiccommunity string is a major security risk. The configuration must require strong, unique community strings for each target. Document this prominently in the README.convertValueand helper functions. Consider fuzzing.Usability and Readability
zaporlogrus.Potential Goroutine Problems
errorChanor use a non-blocking send with error logging inSNMPCollector.sync.WaitGroupinSNMPCollector.Stopto wait for thecollectandhandleErrorsgoroutines to exit.TargetStatus: TheTargetStatusis updated by both thepollTargetandhandleDataPointfunctions. Protect with Mutexes.Aggregator.Reset()to prevent race conditions.Context Issues
defaultServiceStatusTimeoutconfigurable.Unbounded Growth
TimeSeriesData.Resource Leaks
defer).Performance Issues
sync.Poolto reuse string buffers inconvertString.findOIDConfig.Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/211#issuecomment-2670445644
Original created: 2025-02-20T04:38:26Z
closing, will run again for 1.0.18