Skip to content

Conversation

@JSCU-CNI
Copy link
Contributor

@JSCU-CNI JSCU-CNI commented Dec 4, 2024

This PR open sources a function called parse_unix_dhcp_leases which aids in finding DHCP IP addresses on Linux targets (target.ips). It does not implement DHCP parsing for the new linux.network plugin and thus partially fixes #960.

@JSCU-CNI JSCU-CNI requested a review from Horofic December 9, 2024 09:27
@codecov
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.72%. Comparing base (334e6a4) to head (516f15f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
+ Coverage   77.71%   77.72%   +0.01%     
==========================================
  Files         326      326              
  Lines       28559    28575      +16     
==========================================
+ Hits        22194    22210      +16     
  Misses       6365     6365              
Flag Coverage Δ
unittests 77.72% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Horofic Horofic merged commit f2f50a5 into fox-it:main Dec 11, 2024
18 of 20 checks passed
@JSCU-CNI JSCU-CNI deleted the feature/unix-dhcp-lease branch December 11, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get DHCP lease ips from /var/lib On Linux based operating systems

2 participants