Allow operators to declare agent subnets instead of relying on auto-discovery
@ShubhamRasal is already working on this.
Since Sep 8, 2026.
Assessment
This issue has not been assessed yet.
Description
Auto-discovery (getAutoDiscoveredTargets) registers only the /24 containing each private IPv4 address found on local interfaces and in /etc/hosts. The interface netmask is discarded and the routing table is never consulted.
There is currently no way for an operator to declare which subnets the agent should register. Hosts routed to many internal segments report only their directly attached ones.
Requirement: a config option (env var + flag) for the operator to declare the subnets the agent registers, with the declared input validated at startup.
- Dominant language
- Go
- Stars
- 16
- Forks
- 3
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 6
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from projectdiscovery/pd-agent
-
Scan log has no record of what a chunk was asked to doMay be free again @ShubhamRasal claimed this 53 days ago, and no pull request is open. Open
projectdiscovery/pd-agent#171 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
projectdiscovery/pd-agent#103 ·
All issues in projectdiscovery/pd-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OneBusAway/maglev#1914 ·
Maintainers usually reply within 2 days
-
documentation needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
go good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: api bug severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Missing validation for port numbers exceeding valid TCP range (> 65535)Possibly taken @faizanfirdousi claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
llm-d/llm-d-inference-sim#853 ·
Maintainers usually reply within 1 day