daviswr / dhcpd.fingerprint

Client fingerprinting for ISC DHCPD
7 stars 6 forks source link

how to use the project? #4

Closed hlguo closed 8 months ago

hlguo commented 8 months ago

how to use the project for C++ or Java, do you have sample code?

daviswr commented 8 months ago

This isn't code, it's config for ISC DHCPD that could be added-on to one's existing dhcpd.conf using the include statement. dhcpd will then produce two new types of log messages, one with prefix DHCPIDENT that will log what it can figure out about the DHCP client and optionally switchport, and another with prefix DHCPEXPIRE with an IP address whose lease expired.

DHCPIDENT log messages are Key=Value pairs that are pipe-character delimited. What you do with the resulting logs is up to you.

hlguo commented 8 months ago

do you have the config for ISC kea?

daviswr commented 8 months ago

No, sorry, I haven't done anything with Kea yet.