Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created May 29, 2018 21:52
Show Gist options
  • Save jasonish/eea3bcaaabe967b2009e6aa5a2c04fc5 to your computer and use it in GitHub Desktop.
Save jasonish/eea3bcaaabe967b2009e6aa5a2c04fc5 to your computer and use it in GitHub Desktop.
{
"timestamp": "2004-12-05T13:16:24.317453-0600",
"flow_id": 710739216619533,
"pcap_cnt": 1,
"event_type": "dhcp",
"src_ip": "0.0.0.0",
"src_port": 68,
"dest_ip": "255.255.255.255",
"dest_port": 67,
"proto": "UDP",
"dhcp": {
"type": "request",
"id": 15645,
"client_ip": "0.0.0.0",
"client_mac": "00:0b:82:01:fc:42",
"assigned_ip": "0.0.0.0",
"dhcp_type": "discover",
"client_id": "00:0b:82:01:fc:42",
"requested_ip": "0.0.0.0",
"params": [
"subnet_mask",
"router",
"dns_server",
"ntp_server"
]
}
}
{
"timestamp": "2004-12-05T13:16:24.317748-0600",
"flow_id": 2070953211779380,
"pcap_cnt": 2,
"event_type": "dhcp",
"src_ip": "192.168.0.1",
"src_port": 67,
"dest_ip": "192.168.0.10",
"dest_port": 68,
"proto": "UDP",
"dhcp": {
"type": "reply",
"id": 15645,
"client_ip": "0.0.0.0",
"client_mac": "00:0b:82:01:fc:42",
"assigned_ip": "192.168.0.10",
"relay_ip": "0.0.0.0",
"next_server_ip": "192.168.0.1",
"dhcp_type": "offer",
"subnet_mask": "255.255.255.0",
"renewal_time": 1800,
"rebinding_time": 3150,
"lease_time": 3600
}
}
{
"timestamp": "2004-12-05T13:16:24.387484-0600",
"flow_id": 710739216619533,
"pcap_cnt": 3,
"event_type": "dhcp",
"src_ip": "0.0.0.0",
"src_port": 68,
"dest_ip": "255.255.255.255",
"dest_port": 67,
"proto": "UDP",
"dhcp": {
"type": "request",
"id": 15646,
"client_ip": "0.0.0.0",
"client_mac": "00:0b:82:01:fc:42",
"assigned_ip": "0.0.0.0",
"dhcp_type": "request",
"client_id": "00:0b:82:01:fc:42",
"requested_ip": "192.168.0.10",
"params": [
"subnet_mask",
"router",
"dns_server",
"ntp_server"
]
}
}
{
"timestamp": "2004-12-05T13:16:24.387798-0600",
"flow_id": 2070953211779380,
"pcap_cnt": 4,
"event_type": "dhcp",
"src_ip": "192.168.0.1",
"src_port": 67,
"dest_ip": "192.168.0.10",
"dest_port": 68,
"proto": "UDP",
"dhcp": {
"type": "reply",
"id": 15646,
"client_ip": "0.0.0.0",
"client_mac": "00:0b:82:01:fc:42",
"assigned_ip": "192.168.0.10",
"relay_ip": "0.0.0.0",
"next_server_ip": "0.0.0.0",
"dhcp_type": "ack",
"renewal_time": 1800,
"rebinding_time": 3150,
"lease_time": 3600,
"subnet_mask": "255.255.255.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment