dkindlund / honeyclient

MITRE HoneyClient Project
http://www.honeyclient.org
GNU General Public License v2.0
8 stars 4 forks source link

Need Package In Trunk: Text::DHCPLeases #174

Open dkindlund opened 14 years ago

dkindlund commented 14 years ago

Hi Xeno,

I'm about to fix ticket #173, but I need you to add the following package to the trunk cpan directory and to the Manager package:

{{{ Text::DHCPLeases }}}

Latest version is:

http://search.cpan.org/~cvicente/Text-DHCPLeases-v0.5/

Unfortunately, the DHCP lease parser appears to only support DHCP leases from ISC DHCP v3 and higher. This is a little bit of a problem, since the VMware Server package appears to only provide ISC DHCP v2+. After doing some comparisons, it looks like the parser only fails when parsing the uid segment. As such, I've provided the following patch file that fixes source code and unit tests.

When you extract the Text::DHCPLeases library to update, just apply the patch using this command in the base directory:

{{{ patch -p0 < dhcpleases_object.patch }}}

I'll update the Notes section of the UserGuide shortly.

Thanks,

-- Darien

dkindlund commented 14 years ago

Author: xkovah I applied the patch to .6 which is the newest.

dkindlund commented 14 years ago

Author: kindlund Hi Xeno,

After installing the Bundle::HoneyClient::Manager to a fresh system, I found that the following archive remained un-patched:

cpan/sources/authors/id/C/CV/CVICENTE/Text-DHCPLeases-v0.6.tar.gz

Inside this archive, I'm thinking the following file still needs to be patched:

Text-DHCPLeases-v0.6/lib/Text/DHCPLeases/Object.pm

If this patch gets applied after the archive gets automatically extracted by CPAN, please let me know, as that didn't appear to happen when I tried to install it via the bundle.

-- Darien