Source Code for network and port scanner, TRW algorithm, and reduction method implementations.

newFlow.txt 5.4KB

123456
  1. {"flows": [{"sip": 2291263257, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:08.400000", "packets": 20,
  2. "finnoack": false, "bytes": 3249, "tcpflags": "A,S,F", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:04.322000", "nhip": "0.0.0.0", "dport": 43968, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false},
  3. {"sip": 2291263243, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:05.150000", "packets": 14, "finnoack": false, "bytes": 2757, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:09.872000", "nhip": "0.0.0.0", "dport": 21798, "output": 0, "sport": 22, "dip": 3039327530, "uniform_packets": false}, {"sip": 2291263242, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:09.050000", "packets": 19, "finnoack": false, "bytes": 3185, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:06.722000", "nhip": "0.0.0.0", "dport": 59188, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false}, {"sip": 2291263266, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:21.300000", "packets": 28, "finnoack": false, "bytes": 4243, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:02.902000", "nhip": "0.0.0.0", "dport": 64697, "output": 0, "sport": 22, "dip": 705108529, "uniform_packets": false}, {"sip": 2291263257, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:08.600000", "packets": 19, "finnoack": false, "bytes": 3185, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:12.802000", "nhip": "0.0.0.0", "dport": 59455, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false}, {"sip": 2291263257, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:17.750000", "packets": 26, "finnoack": false, "bytes": 3757, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:01.852000", "nhip": "0.0.0.0", "dport": 23946, "output": 0, "sport": 22, "dip": 3060024184, "uniform_packets": false}, {"sip": 2291263272, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:00.200000", "packets": 1, "finnoack": false, "bytes": 46, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:19.152000", "nhip": "0.0.0.0", "dport": 7219, "output": 0, "sport": 22, "dip": 705108529, "uniform_packets": false}, {"sip": 2291263257, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:08.400000", "packets": 19, "finnoack": false, "bytes": 3185, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:22.168000", "nhip": "0.0.0.0", "dport": 48401, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false}, {"sip": 2291263242, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:09.050000", "packets": 19, "finnoack": false, "bytes": 3185, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:16.618000", "nhip": "0.0.0.0", "dport": 49567, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false}, {"sip": 2291263266, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:19.300000", "packets": 27, "finnoack": false, "bytes": 4197, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:22.552000", "nhip": "0.0.0.0", "dport": 17404, "output": 0, "sport": 22, "dip": 705108529, "uniform_packets": false}, {"sip": 2291263250, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:20.100000", "packets": 26, "finnoack": false, "bytes": 3697, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:14.852000", "nhip": "0.0.0.0", "dport": 22412, "output": 0, "sport": 22, "dip": 3060024184, "uniform_packets": false}, {"sip": 2291263272, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:20", "packets": 28, "finnoack": false, "bytes": 4687, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:14.452000", "nhip": "0.0.0.0", "dport": 34078, "output": 0, "sport": 22, "dip": 3060024184, "uniform_packets": false}, {"sip": 2291263242, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:08.300000", "packets": 19, "finnoack": false, "bytes": 3185, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:25.102000", "nhip": "0.0.0.0", "dport": 41011, "output": 0, "sport": 22, "dip": 3720490997, "uniform_packets": false}, {"sip": 2291263243, "protocol": 6, "input": 0, "timeout_started": false, "application": 0, "timeout_killed": false, "duration": "0:00:09.450000", "packets": 19, "finnoack": false, "bytes": 3093, "tcpflags": "", "sensor_id": 0, "classtype_id": 1, "stime": "2018-01-29 10:00:29.352000", "nhip": "0.0.0.0", "dport": 30159, "output": 0, "sport": 22, "dip": 987416232, "uniform_packets": false}]}