Skip to content

fmi-retele/dhcp-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

dhcp-example

Crafting a DHCP discover packet.
Requirements:
            Server          Client          Server
        (not selected)                    (selected)

              v               v               v
              |               |               |
              |     Begins initialization     |
              |               |               |
              | _____________/|\____________  |
              |/DHCPDISCOVER | DHCPDISCOVER  \|
              |               |               |
          Determines          |          Determines
         configuration        |         configuration
              |               |               |
              |\             |  ____________/ |
              | \________    | /DHCPOFFER     |
              | DHCPOFFER\   |/               |
              |           \  |                |
              |       Collects replies        |
              |             \|                |
              |     Selects configuration     |
              |               |               |
              | _____________/|\____________  |
              |/ DHCPREQUEST  |  DHCPREQUEST\ |
              |               |               |
              |               |     Commits configuration
              |               |               |
              |               | _____________/|
              |               |/ DHCPACK      |
              |               |               |
              |    Initialization complete    |
              |               |               |
              .               .               .
              .               .               .
              |               |               |
              |      Graceful shutdown        |
              |               |               |
              |               |\ ____________ |
              |               | DHCPRELEASE  \|
              |               |               |
              |               |        Discards lease
              |               |               |
              v               v               v
Timeline diagram of messages exchanged between DHCP
client and servers when allocating a new network address

About

Make a DHCP offer with scapy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages