From 939b606944b6892d26581bce598c66c790786de9 Mon Sep 17 00:00:00 2001 From: Jonas Lindstad Date: Mon, 16 Mar 2015 23:09:40 +0100 Subject: rename + fixes --- junos-bootstrap/dhcpd/DHCP_protocol_breakdown.txt | 18 -- junos-bootstrap/dhcpd/module_craft_option.py | 79 ------ junos-bootstrap/dhcpd/module_lease.py | 174 ------------ junos-bootstrap/dhcpd/server_dhcp.py | 323 ---------------------- junos-bootstrap/dhcpd/terminal.log | 146 ---------- 5 files changed, 740 deletions(-) delete mode 100644 junos-bootstrap/dhcpd/DHCP_protocol_breakdown.txt delete mode 100644 junos-bootstrap/dhcpd/module_craft_option.py delete mode 100644 junos-bootstrap/dhcpd/module_lease.py delete mode 100644 junos-bootstrap/dhcpd/server_dhcp.py delete mode 100644 junos-bootstrap/dhcpd/terminal.log (limited to 'junos-bootstrap/dhcpd') diff --git a/junos-bootstrap/dhcpd/DHCP_protocol_breakdown.txt b/junos-bootstrap/dhcpd/DHCP_protocol_breakdown.txt deleted file mode 100644 index 5af2bf2..0000000 --- a/junos-bootstrap/dhcpd/DHCP_protocol_breakdown.txt +++ /dev/null @@ -1,18 +0,0 @@ -Length of DHCP fields in octets, and their placement in packet. -Ref: http://4.bp.blogspot.com/-IyYoFjAC4l8/UXuo16a3sII/AAAAAAAAAXQ/b6BojbYXoXg/s1600/DHCPTitle.JPG -0 OP - 1 -1 HTYPE - 1 -2 HLEN - 1 -3 HOPS - 1 -4 XID - 4 -5 SECS - 2 -6 FLAGS - 2 -7 CIADDR - 4 -8 YIADDR - 4 -9 SIADDR - 4 -10 GIADDR - 4 -11 CHADDR - 6 -12 MAGIC COOKIE - 10 -13 PADDING - 192 octets of 0's -14 MAGIC COOKIE - 4 -15 OPTIONS - variable length diff --git a/junos-bootstrap/dhcpd/module_craft_option.py b/junos-bootstrap/dhcpd/module_craft_option.py deleted file mode 100644 index 35e7328..0000000 --- a/junos-bootstrap/dhcpd/module_craft_option.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- - -''' - Created by Jonas 'j' Lindstad for The Gathering 2015 - License: GPLv3 - - Class used to craft byte hex encoded DHCP options - - NB: No direct support for suboptions. Should be possible to craft suboptions as - options, and inject them with craft_option(