Created
February 9, 2017 18:38
-
-
Save alinVD/99ea2741e78817fa01962912dac37f07 to your computer and use it in GitHub Desktop.
Revisions
-
alinVD created this gist
Feb 9, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ ## RTime: 42s ## This classifies connections based on their destination. library(gtBase) aggregate <- Multiplexer(Load(NetFlow), WellKnown = Sum(0 <= Dport && Dport <= 1023), Registered = Sum(1024 <= Dport && Dport <= 49151), Dynamic = Sum(49152 <= Dport && Dport <= 65535), Count()) View(aggregate)