On Mon, 13 Apr 2015 19:20:59 +0800 Yi Tseng <a86487...@gmail.com> wrote:
> Hi > > I wrote DNS packet parser, but I don't know how to test it. > > I would appreciate it if someone can help me to test it. > > https://github.com/TakeshiTseng/ryu/blob/dns/ryu/lib/packet/dns.py https://github.com/osrg/ryu/commit/3736b0c37d30d7f9be8e31a50258a852085f02cd Ryu packet library can read pcap files so you could test it with some dns pcap files (I guess that you can find such pcap files easily). > > Yi > > 2015-04-13 16:08 GMT+08:00 Matthew Hayes <matthew_john_ha...@hotmail.com>: > >> Thank you to those who replied to my question re DNS parsing. I've since >> used the dpkt library to do the DNS decode, and it is working fine. >> >> FYI, this was for a Ryu app called nmeta that does policy-based traffic >> classification, see: >> >> http://mattjhayes.github.io/nmeta/ >> >> I have some observations on how the LLDP module could be improved, but >> will send as a separate email. >> >> Thanks, >> >> Matt >> >> ------------------------------ >> From: linton...@gmail.com >> Date: Mon, 16 Mar 2015 14:09:18 +0800 >> To: ryu-devel@lists.sourceforge.net >> Subject: Re: [Ryu-devel] Parsing DNS packets with Ryu? >> >> Hi, Matthew Hayes >> >> There is no DNS parser lib in Ryu but you can use dpkt ( >> https://pypi.python.org/pypi/dpkt) >> to parsing DNS packet. >> >> >> Cheers, >> >> Che-Wei Lin <http://about.me/linton.tw>, John Lin >> Institute of Communication Engineering, >> National Tsing Hua University >> [image: ??? on about.me] >> E-mail: linton...@gmail.com >> Blog: linton.tw >> Mobile: +886-952-301-269 >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> >> >> ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live >> exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- >> event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> _______________________________________________ >> Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> >> > > > -- > > ----- > Yi Tseng (a.k.a Takeshi) > Taiwan National Chiao Tung University > Department of Computer Science > > ----- ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel