Giter Site home page Giter Site logo

dhcpproxy's People

Contributors

bentole avatar torbbang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alexalouit

dhcpproxy's Issues

Typo in script along with other changes.

In order for us to get this working we had to do the following.

Changed "not ip broadcast" to "not broadcast" line 26

changed I to i in "relay_agent_Information" line 21.

Run python2 as it will not work with python3

RFE: verbose- or debug-mode/flags

Nothing mind blowing.
I would have wanted to see more logs when running directly from CLI, not as a service. Maybe even what options were being sent/asked for back and forth. Also what "Irrevelant DHCP pkt" actually was.

Mind you, I haven't studied the code yet.

dhcpProxy actually helped us prove that VMware VDI's behind ACI could actually PXE-boot, and that it was not a limitation in VMware BIOS or anywhere else.
We then moved the DHCP options to a proper DHCP-server (Infoblox) and that worked every time. The guys handling SCCM were almost ecstatic.

Support for multiple DHCP servers

dhcpProxy should have support for relaying DHCP packets to multiple upstream DHCP servers. This is neccesary as having multiple DHCP servers is common practice.

I have a half-way functioning prototype of this and will be finishing it in the next few days.

Option aware option inserting

The current set_dhcp_option function does not account for the order of DHCP options.

Option 82 is replaced with FF 00 00 00 by edge switches in Cisco SD access. It seems like client machines consider the FF as option 255 (END) and drops the packet.

def set_dhcp_option(pkt, option_key, new_value):                                                                                                                                                                     
        try:                                                                                                                                                                                                         
                pkt[DHCP].options.insert(0, (option_key, new_value))                                                                                                                                                 
                return "success"              

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.