-
Notifications
You must be signed in to change notification settings - Fork 3
API design proposal
pierce403 edited this page Sep 13, 2010
·
11 revisions
- int routing(int status) // become a router
- int hijack_dhcp(int status) // respond to dhcp as if you were the gateway
- int hijack_arp(int status) // using arp, tell all hosts to route to you
- int hijack_dns(int status) // redirect all DNS requests to your IP
- arp_target_list add_arp_redirect(char* target_mac) // tell a specific target to route to your IP
- dns_target_list add_dns_redirect(char* target_ip) // tamper with DNS traffic from target host
maybe add functions for listing and removing redirects as well?
- host_observed()
- dhcp_inject()
- arp_inject()
- dns_inject()