[pox-dev] Altering DNS packet payload
Curtis Taylor
yamahabob28 at gmail.com
Fri Dec 20 07:36:03 PST 2013
Hello,
I’m wanting to alter a DNS response. I have the switch configured to send
all DNS response packets to the POX controller. Is my only option to
construct a DNS packet from scratch and send it or can I alter the packet
sent from the switch and recompute the checksum? Or to use pack/unpack on
packet_in.data?
I want to do something like:
p = event.parsed.find('dns')
p.answers[0].rddata='10.0.0.1'
Cheers,
Curtis
More information about the pox-dev
mailing list