Hi Murphy, All, 
This may be a silly question but I can't figure it out! it seems that dnsspy 
component in not matching the dns packet because the packet is handled by the 
switch component, should I modify priority of components (how)? or all packets 
are treated by all components?

I run: 
./nox_core -v -i ptcp: pyswitch dnsspy 

in dnsspy.py I have:

def handle_dns(self, dpid, inport, ofp_reason, total_frame_len, buffer_id, 
packet):
        log.msg("****It matches!!**** " )  

but nox doesn´t show any "****It matches!!****" message, also tcpdump eth shows 
taht dns packets are sent to switch.

Thanks,
Ibrahim



Subject: Re: [nox-dev] Adding DNS functionality to nox
From: jam...@nau.edu
Date: Thu, 18 Aug 2011 01:34:28 -0700
CC: nox-dev@noxrepo.org
To: ibrahim.me...@alumnos.upm.es



You're not missing anything; that's about it.
-- Murphy
On Aug 18, 2011, at 1:30 AM, ibrahim mun wrote:Hi, I'm using zaku, I wonder if 
I can use dnsspy.py to add basic dns functionality to NOX.
As I understand, Running the dnsspy component will allow nox to match and parse 
DNS packets, so I can modify "handle_dns" to create a DNS replay and send it 
out to the inport, right? Am I missing something?

Thanks,
 
Ibrahim_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

                                          
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to