Skip to content

Instantly share code, notes, and snippets.

@jasonish
Created May 29, 2018 21:50
Show Gist options
  • Save jasonish/d7f7fd03271c2a4ecfa0e260184e0dc3 to your computer and use it in GitHub Desktop.
Save jasonish/d7f7fd03271c2a4ecfa0e260184e0dc3 to your computer and use it in GitHub Desktop.
{
"timestamp": "2017-04-21T22:07:33.165957-0600",
"flow_id": 562399510104133,
"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": 3670414178,
"client_ip": "0.0.0.0",
"client_mac": "68:5b:35:7d:fd:19",
"assigned_ip": "0.0.0.0",
"dhcp_type": "request",
"params": [
"subnet_mask",
"router",
"dns_server",
"domain"
],
"client_id": "68:5b:35:7d:fd:19",
"requested_ip": "10.16.1.109",
"lease_time": 7776000,
"hostname": "mbp"
}
}
{
"timestamp": "2017-04-21T22:07:33.192174-0600",
"flow_id": 661785053359790,
"pcap_cnt": 2,
"event_type": "dhcp",
"src_ip": "10.16.1.1",
"src_port": 67,
"dest_ip": "10.16.1.109",
"dest_port": 68,
"proto": "UDP",
"dhcp": {
"type": "reply",
"id": 3670414178,
"client_ip": "0.0.0.0",
"client_mac": "68:5b:35:7d:fd:19",
"assigned_ip": "10.16.1.109",
"relay_ip": "0.0.0.0",
"next_server_ip": "10.16.1.1",
"dhcp_type": "ack",
"lease_time": 3600,
"renewal_time": 1800,
"rebinding_time": 3150,
"subnet_mask": "255.255.255.0",
"dns_servers": [
"10.16.1.1",
"8.8.8.8",
"8.8.4.4"
],
"routers": [
"10.16.1.1"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment