dhcppython
dhcppython copied to clipboard
Pure Python library for parsing and manipulating DHCP packets
Is there DHCPv6 support?
Exclude END option(code==255) during packet parsing. As result options list in produced packet will not include the END option and as result .append() method will not append new options behind...
Hi, Currently, I am using dhcppython, but I encounter an error when trying to run `packet.view_packet()` on an incoming packet (for this case, it's from **dhcpcd** dhcp client). ``` Traceback...
At least in my case it's more useful to log some created object instead of a built-in module, which should be available, isn't it?
I am trying to see what it takes to define an option (say 161 "FTP_Server" which is a string). I am not seeing it in the code. Any thoughts?
maybe not in master but this should work on both 3.8 and 3.7..
I copy sample code in readme.md which function at DHCP client, my env is centos7 and python3.8.2, my code is: import dhcppython client = dhcppython.client.DHCPClient(interface="wlp3s0") lease = client.get_lease(mac_addr="fa:b3:9e:89:86:32", broadcast=True, relay=None,...
Hello! I'm trying to use the client to communicate with isc-dhcpd server. While using, I found that the client tries to listen to **port 67** in the initialization phase: https://github.com/lvfrazao/dhcppython/blob/c442c3f6eca8244667df8a19d370f7569d81f08f/dhcppython/client.py#L90...
It seems that `dnsmasq` will not reply correctly to a DCHP Request packet that does not have option 50 (Address Request) included. According to (this DHCP overview)[https://learn.microsoft.com/en-us/windows-server/troubleshoot/dynamic-host-configuration-protocol-basics], filling in only...