News for hackers. Stuff that matters.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by rmoriz on Tuesday July 25, 2017 @09:20AM (#14847484)
https://github.com/pavel-odintsov/fastnetmon#readme

"What can we do? We can detect hosts in our networks sending or receiving large volumes of packets/bytes/flows per second. We can call an external script to notify you, switch off a server, or blackhole the client.

…

Why did we write this? Because we can't find any software for solving this problem in the open source world!

What is a "flow" in FastNetMon terms? It's one or multiple UDP, TCP, or ICMP connections with unique src IP, dst IP, src port, dst port, and protocol."

Re:Fastnetmon DDoS analyzer now available as an official Deb... by jsmthrowaway on Tuesday July 25, 2017 @11:53AM (#14848695)
That’s a flow in general, and isn’t specific to FastNetMon.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by aexaey on Tuesday July 25, 2017 @09:41PM (#14853205)
A flow is defined as a unidirectional sequence of packets with some common properties that pass through a network device. [...] for example, flow records include details such as IP addresses, packet and byte counts, timestamps, Type of Service (ToS), application ports, input and output interfaces, etc.

From here: https://tools.ietf.org/html/rfc3954

Re:Fastnetmon DDoS analyzer now available as an official Deb... by feld on Tuesday July 25, 2017 @09:47AM (#14847659)
And if you're on a FreeBSD box, just pkg install fastnetmon

Glad to see this software exists. Had to help build a poor man's version of it at a previous job and it was half baked due to lack of time.

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @10:00AM (#14847732)
Yes, thanks for highlighting it! :) FreeBSD port exists for ~2 years: https://www.freshports.org/net-mgmt/fastnetmon/
Re:Fastnetmon DDoS analyzer now available as an official Deb... by lqet on Tuesday July 25, 2017 @09:02AM (#14847359)
Is there any documentation how to set this up fast and reliably on an existing Debian server? The only thing I could find was this: https://fastnetmon.com/wp-content/uploads/2017/03/FastNetMon...
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @09:25AM (#14847512)
It's slightly different thing. For our install script we have this short introduction: https://github.com/pavel-odintsov/fastnetmon/blob/master/doc...

I think we definitely need some guide for Quick Start :)

Re:Fastnetmon DDoS analyzer now available as an official Deb... by mtreis86 on Tuesday July 25, 2017 @09:14AM (#14847440)
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @09:26AM (#14847515)
Thanks :)
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pksadiq on Tuesday July 25, 2017 @11:15AM (#14848324)
Hi. I have a doubt regarding the license[0].

Aren't GPLv2 and Apache v2 licenses incompatible. How can they co-exist in the same project? (The copyright file says GPLv2, or is it GPLv2+?)

[0] http://metadata.ftp-master.debian.org/changelogs/main/f/fast...

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @11:26AM (#14848437)
I think that we do not have Apache licensed code in project, it's just protocol description for protobuf: https://github.com/pavel-odintsov/fastnetmon/blob/2005b4e94e...

And it's not used by version available in Debian repositories at all (just some experiments).

The project itself licensed strictly in terms of GPLv2 (not GPLv2+).

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Wednesday July 26, 2017 @04:50AM (#14854536)
After short conversation with GoBGP project they re-lcienses this file in BSD terms: https://github.com/osrg/gobgp/issues/1384

We will update proto file to this version in FastNetMon soon! :)

Re:Fastnetmon DDoS analyzer now available as an official Deb... by majke on Tuesday July 25, 2017 @08:59AM (#14847335)
I wonder if https://fastnetmon.com/ and DOTS [1] are roughly the same thing?

[1] https://datatracker.ietf.org/wg/dots/about/

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @09:23AM (#14847498)
FastNetMon does not implement DOTS yet. Instead, we support API for scrubbing centres/boxes directly.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by bogomipz on Tuesday July 25, 2017 @11:13AM (#14848304)
Are there some good open source scrubbing center projects you might be able to recommend?

Also might you have any resources or links to how these scrubbing services are implemented, what heuristics they use etc?

I understand the front end of DDOS mitigation i.e netflows, BGP communities and RTBH, and GRE tunnels to the scrubbing centers. However the details of how the scrubbing centers works is something of a mystery to me.

When looking at any of the big DDOS provider's literature, the scrubbing centers are mostly just opaque boxes with little documentation on how they actually work.

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @11:46AM (#14848632)
You could consider this thing https://github.com/luigirizzo/netmap-ipfw
Re:Fastnetmon DDoS analyzer now available as an official Deb... by bogomipz on Tuesday July 25, 2017 @12:55PM (#14849433)
Thanks, unfortunately the documentation about the project is rather scant.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @01:34PM (#14849914)
You could read my blog post about it instead: https://translate.google.com/translate?hl=en&sl=ru&tl=en&u=h...

It's in russian but Google trsnalate crashes language baarriers! :)

Re:Fastnetmon DDoS analyzer now available as an official Deb... by bogomipz on Tuesday July 25, 2017 @06:35PM (#14852453)
Thanks! This is helpful. I like your blog name, I'm assuming that translation is correct :)
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @09:27AM (#14847529)
Also, we sent a number of ideas/suggestions to DOTS. And I do not think that our feedback was taken into consideration.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by colobolo on Tuesday July 25, 2017 @11:25AM (#14848428)
You sent a slide deck that proposed throwing out all the DOTS work after that work had been underway for more than two years.

https://mailarchive.ietf.org/arch/search/?email_list=dots&q=...

Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @11:28AM (#14848461)
This message was prepared about 14 months ago and shared privately with WG members. So, at least few persons from this WG saw it.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by colobolo on Tuesday July 25, 2017 @11:32AM (#14848489)
You sat on the deck for a year?
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @11:45AM (#14848621)
Probably, we went away from the topic. Feel free to raise PR if you want to have DOTS in FastNetMon. We'll review it carefully and if it fits our design guidance we will accept it.

Thanks :)

Re:Fastnetmon DDoS analyzer now available as an official Deb... by majke on Tuesday July 25, 2017 @12:27PM (#14849083)
I'm genuinely interested in differences between DOTS and Fastnetmon. Can you elaborate?

I presume DOTS is transport, while Fastnetmon is detection, correct?

Re:Fastnetmon DDoS analyzer now available as an official Deb... by fulafel on Tuesday July 25, 2017 @02:48PM (#14850701)
What's generally the state of the art in open source home/small office network monitoring? I would like to know and query/audit communication patterns of my devices. While maintaining privacy -> no cloud based commercial products.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by _e on Tuesday July 25, 2017 @04:24PM (#14851535)
check out pfsense (https://www.pfsense.org/) along with the following books:

Practice of Network Security Monitoring - https://www.nostarch.com/nsm

& Tao of Network Security - http://www.informit.com/store/tao-of-network-security-monito...

Re:Fastnetmon DDoS analyzer now available as an official Deb... by fulafel on Wednesday July 26, 2017 @06:13AM (#14854931)
Thanks. Sounds pretty hard if you're not a networking expert, and just have a cable modem plus wifi box. There's definitely a space for an easy to install solution here. Raspberry Pi based perhaps?
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @01:15PM (#14849672)
Btw, we have the channel at Freenode! Join us: #fastnetmon at irc.freenode.net! :)
Re:Fastnetmon DDoS analyzer now available as an official Deb... by m00dy on Tuesday July 25, 2017 @10:09AM (#14847797)
I'm looking for the same solution for syscalls. Therefore, we can detect malicious processes. Isn't that cool ?
Re:Fastnetmon DDoS analyzer now available as an official Deb... by pavel_odintsov on Tuesday July 25, 2017 @10:12AM (#14847821)
I tried to play with slightly similar idea previously: https://github.com/FastVPSEestiOu/Antidoto but decided to keep my eyes on DDoS mitigation only.
Re:Fastnetmon DDoS analyzer now available as an official Deb... by collective on Tuesday July 25, 2017 @12:46PM (#14849316)
check out sysdig