Raspberry Pi real-time network analytics ( Implementing the DOS script on R Pi 3)

304 views
Skip to first unread message

ruba...@gmail.com

unread,
Aug 18, 2017, 4:52:26 PM8/18/17
to sFlow-RT
hey,

Is it possible to implement the DOS mitigation script on a Raspberry Pi? I've read the Raspberry Pi real-time network analytics, and I find it quite interesting. I'm planning to build a topology of few Open vSwitches and an OpenDayLight Controller. So instead of running the script on the ODL Controller, running it on the Raspberry pi 3 unit. if possible, how should I start ? I think python should be used  as a language, any guidance? thanks in advance

P.S : I've read the OpenDayLight DDOS mitigation code, and the idea is doing something similar on the R pi unit.

Regards




Peter Phaal

unread,
Aug 18, 2017, 5:03:42 PM8/18/17
to sFlow-RT
It looks like someone has managed to run OpenDaylight on a Raspberry Pi:

It should be possible to build a python application that uses sFlow-RT's REST API to receive notifications of DDoS attacks and apply controls using OpenDaylight's REST APIs.

ruba...@gmail.com

unread,
Aug 19, 2017, 5:46:36 AM8/19/17
to sFlow-RT

Hey Peter,

Thanks for the reply. I actually tried running Floodlight and ODL on R Pi 3, yet the performance wasn't as desired, Hence configuring the Controller on a Laptop seemed to be a better choice. I settled eventually for ODL and Configured OFM and sFlow as well. The Open vSwitch however, is configured on the R Pi units, and the overall Performance is satisfying so far.

Do you have any code samples/blogs to help me out to write the script on the Raspberry Pi or an ODL script (Updated) and get me started.It's vital for my Thesis.

Regards
Omar

Peter Phaal

unread,
Aug 19, 2017, 11:16:46 AM8/19/17
to sFlow-RT
I don't have anything working with the latest ODL APIs, but here are a few recent examples that you could modify:


The Writing Applications (http://sflow-rt.com/writing_applications.php) article describes the APIs used in the examples using Python and JavaScript code snippets. This information should help you understand the examples and modify them to fit your setup.

Filip Čúzy

unread,
May 15, 2020, 11:31:08 AM5/15/20
to sFlow-RT
Even though this is an older thread, I found a tutorial for an interesting ODL alternative running on a Raspberry Pi: https://lighty.io/lighty-io-netconf-device-on-arm/
Reply all
Reply to author
Forward
0 new messages