Created
February 9, 2017 18:38
-
-
Save alinVD/99ea2741e78817fa01962912dac37f07 to your computer and use it in GitHub Desktop.
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 characters
| ## 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment