[Ryu-devel] [PATCH] Add DHCP Message Type Codes

2016-04-12 Thread Che-Wei Lin
Hi, folks This patch will add DHCP message type codes. In /ryu/lib/packet/dhcp.py file probably missed to add the following type codes DHCP_DECLINE = 4 DHCP_NAK = 6 DHCP_RELEASE = 7 DHCP_INFORM = 8 reference from [RFC2939] https://tools.ietf.org/html/rfc2132#section-9.6 thanks, --- Che-Wei

Re: [Ryu-devel] [PATCH] snortlib: Fix nw_sock handling

2015-02-19 Thread Che-Wei Lin
Hi, Yusuke Iwase Thank you for your fix about snortlib. I am going to test the patch on my environment. 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: lin

[Ryu-devel] PyCon APAC/Taiwan 2015 Call for Proposals

2015-01-21 Thread Che-Wei Lin
2015 Introduction Ryu or advanced use, the PyCon APAC will be held on June 5-7 in Taipei Taiwan, I hope you can come join PyCon. :) for more detail see: https://tw.pycon.org/2015apac/en/ PyCon APAC PR staff Che-Wei Lin <http://about.me/linton.tw>, John Lin Institute of Communication Engineerin

[Ryu-devel] [PATCH] Add parsing libpcap and reading/writing PCAP file

2015-01-21 Thread Che-Wei Lin
Add parsing libpcap and reading/writing PCAP file for debugging. This patch can easily dump the PCAP file in ryu controller. --- Che-Wei Lin <http://about.me/linton.tw>, John Lin Institute of Communication Engineering, National Tsing Hua University 0001-Add-parsing-libpcap-and-r

[Ryu-devel] [PATCH] Snort Integrate:

2014-09-07 Thread Che-Wei Lin
alert from UNIX socket and send to Ryu via network socket. Signed-off-by: Che-Wei Lin --- doc/source/snort_integrate.rst | 16 +--- ryu/lib/snortlib.py| 15 +++ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/doc/source/snort_integrate.rst b/

[Ryu-devel] [PATCH] Snort Integrate:

2014-09-07 Thread Che-Wei Lin
twork socket. Update and fix typos in the snort_integrate.rst document. Signed-off-by: Che-Wei Lin --- doc/source/snort_integrate.rst | 16 +--- ryu/lib/snortlib.py| 16 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/doc/s

Re: [Ryu-devel] [PATCH] Snort Integrate:

2014-09-07 Thread Che-Wei Lin
Hi, I see. Binding on 0.0.0.0:port I didn't do this on the last patch. I used the wrong way to get IP address and bind it. I'll correct it and send the patch again. Thank you Che-Wei Lin <http://about.me/linton.tw>, John Lin Institute of Communication Engineering, Na

Re: [Ryu-devel] [PATCH] Snort Integrate:

2014-09-07 Thread Che-Wei Lin
Remote client (Snort machine side) can't connect to 127.0.0.1. I also found another way to get host IP but need additional installs package netifaces. (https://pypi.python.org/pypi/netifaces) Or, maybe let someone config controller IP address in applications? Che-Wei Lin <http:/

Re: [Ryu-devel] [PATCH] Snort Integrate:

2014-09-07 Thread Che-Wei Lin
I fixed some trivial minor bug and corrected some typos in the document. I found that when i want to get the REAL IP. The old version used on Ubuntu python's stdlib socket.gethostbyname return 127.0.0.1. This patch I am using another way to get the real IP Che-Wei Lin <http://

[Ryu-devel] [PATCH] Snort integrate: Add the snort lib supporting snort integration. Add an sample application simple_switch_snort.py which can dump alert message.

2014-08-29 Thread Che-Wei Lin
hines. Ryu receives alert message via Network Socket. More detail see doc/snort_integrate.rst Signed-off-by: Che-Wei Lin --- doc/source/snort_integrate.rst | 152 + ryu/app/simple_switch_snort.py | 145 +++ ryu/lib/ale

Re: [Ryu-devel] About NEW Snort integrate

2014-08-29 Thread Che-Wei Lin
Hi, Fujita I've fix the commit. Please visit https://github.com/John-Lin/ryu/commits/master Thank you. 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...@gma

[Ryu-devel] About NEW Snort integrate

2014-08-23 Thread Che-Wei Lin
in/ryu You can see the snort module code over here. + ryu/lib/snortlib.py + ryu/lib/alert.py + ryu/app/simple_switch_snort.py And the doc here + ryu/doc/source/snort_integrate.rst I also tested in my test environment with Centec v350 OFswitch. It's work! Che-Wei Lin, John Lin Institute