Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump json5 from 1.0.1 to 1.0.2 in /website #125

Open
wants to merge 151 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
abdb48d
couple little tweaks
lisaens Apr 29, 2021
cc64bb2
Added util/prcoess_caida_file.pl
lisaens May 3, 2021
0b701fb
added @pipeline_ver to logstash fields
lisaens May 3, 2021
596bfac
Documentation updates
lisaens May 5, 2021
f4a9856
menu wording change
lisaens May 5, 2021
2d84ae5
Stop dropping 0.0.0.0 flows
lisaens May 5, 2021
1a7829b
use nfdump 1.6.23, ampath regexes not needed anymore, doc updates
lisaens May 7, 2021
2715bd3
Changed version no. to 1.2.10
lisaens May 7, 2021
024eefe
Created 1.2.10 versioned docs
lisaens May 28, 2021
a37b365
Bump dns-packet from 1.3.1 to 1.3.4 in /website
dependabot[bot] May 28, 2021
8a20a17
Bump ws from 6.2.1 to 6.2.2 in /website
dependabot[bot] Jun 5, 2021
01e16e1
Bump prismjs from 1.23.0 to 1.24.0 in /website
dependabot[bot] Jun 28, 2021
f44108c
Merge pull request #93 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Jun 28, 2021
2c7ff09
Bump ssri from 6.0.1 to 6.0.2 in /website
dependabot[bot] Jun 28, 2021
74711a4
Merge pull request #94 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Jun 28, 2021
7c131a8
Merge pull request #95 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Jun 28, 2021
108ef1c
Merge pull request #96 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Jun 28, 2021
e829f91
Bump tar from 6.1.0 to 6.1.4 in /website
dependabot[bot] Aug 4, 2021
e922f71
Bump path-parse from 1.0.6 to 1.0.7 in /website
dependabot[bot] Aug 12, 2021
cce0a59
Merge pull request #97 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Aug 20, 2021
fafa938
Bump url-parse from 1.5.1 to 1.5.3 in /website
dependabot[bot] Aug 20, 2021
92c1ab2
Merge pull request #98 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Aug 20, 2021
0efeda0
Merge pull request #99 from netsage-project/dependabot/npm_and_yarn/w…
lisaens Aug 20, 2021
3dfa05c
Made ifindex filtering sensor-specific
lisaens Aug 24, 2021
48963b0
Fixing es_doc_id calculation by not renaming flow_fingerprint to meta…
lisaens Aug 25, 2021
058d60f
Tags will be added to 0.0.0.x flows.
lisaens Aug 25, 2021
3209fcd
If duration is <= 0.002, reset it, bps, and pps to 0
lisaens Aug 26, 2021
fda2194
Added NORDUnet* and tacc_netflows to sensor_groups and _types regexes
lisaens Aug 26, 2021
804f84c
Added onenet-members-list.rb to the lists of files that are downloaded
lisaens Aug 26, 2021
39f8b57
Improved comments in env and override example files
lisaens Aug 26, 2021
6ba92ca
Updated pipeline version number and CHANGES file for v1.2.11
lisaens Aug 26, 2021
7f0fc45
Changed order in env.example and updated some documentation
lisaens Aug 27, 2021
c76847d
Documentation improvements
lisaens Aug 30, 2021
52868ee
More documentation updates
lisaens Aug 30, 2021
34284c3
yet more doc updates
lisaens Aug 30, 2021
1309488
set missing ip's to 0.0.0.0, ifindexes to -10, duration to 0
lisaens Aug 30, 2021
bfd67b8
Couple more doc changes
lisaens Aug 30, 2021
15cc461
Added release date
lisaens Aug 31, 2021
045078a
Bump tar from 6.1.4 to 6.1.11 in /website
dependabot[bot] Aug 31, 2021
6825cc9
Merge pull request #100 from netsage-project/dependabot/npm_and_yarn/…
lisaens Sep 1, 2021
aa5903e
Doc changes
lisaens Sep 1, 2021
adbaf94
doc change
lisaens Sep 1, 2021
cb62058
Adding version-1.2.11 docs
lisaens Sep 1, 2021
2991cc8
Updated release doc
lisaens Sep 1, 2021
ec095ef
Bump immer from 8.0.4 to 9.0.6 in /website
dependabot[bot] Sep 3, 2021
ed33a0b
Removed pip and pika from the importer Docker file. Unneeded and caus…
lisaens Sep 9, 2021
42c6f8f
Added documentation
lisaens Sep 9, 2021
a08933f
More doc changes
lisaens Sep 9, 2021
98ad5c3
couple more doc changes
lisaens Sep 9, 2021
9590297
removing 1.2.11 versioned docs
lisaens Sep 9, 2021
9c176c8
Making versioned docs for 1.2.11 again
lisaens Sep 9, 2021
99468dc
Bump axios from 0.21.1 to 0.21.4 in /website
dependabot[bot] Sep 9, 2021
312c371
already a typo and an addition in docs
lisaens Sep 9, 2021
070c514
Bump prismjs from 1.24.0 to 1.25.0 in /website
dependabot[bot] Sep 20, 2021
31090f6
Bump algoliasearch-helper from 3.4.4 to 3.6.2 in /website
dependabot[bot] Nov 23, 2021
08344c1
Merge pull request #101 from netsage-project/dependabot/npm_and_yarn/…
lisaens Dec 14, 2021
cfc70fc
Merge pull request #102 from netsage-project/dependabot/npm_and_yarn/…
lisaens Dec 14, 2021
f65b97e
Merge pull request #103 from netsage-project/dependabot/npm_and_yarn/…
lisaens Dec 14, 2021
8c49f36
Merge pull request #104 from netsage-project/dependabot/npm_and_yarn/…
lisaens Dec 14, 2021
5c09fef
Upping logstash version to 7.16.1 and adding LEARN to the sensor grou…
lisaens Dec 14, 2021
4fac4eb
Updating v1.2.12 to build the logstash image from logstash-7.16.2, to…
lisaens Jan 4, 2022
12617ea
Bump shelljs from 0.8.4 to 0.8.5 in /website
dependabot[bot] Jan 15, 2022
0243faf
Bump nanoid from 3.1.22 to 3.2.0 in /website
dependabot[bot] Jan 22, 2022
f43182e
Bump node-fetch from 2.6.1 to 3.1.1 in /website
dependabot[bot] Jan 22, 2022
e6e6756
Bump follow-redirects from 1.14.3 to 1.14.8 in /website
dependabot[bot] Feb 13, 2022
321528d
Bump prismjs from 1.25.0 to 1.27.0 in /website
dependabot[bot] Feb 26, 2022
9386a18
Bump url-parse from 1.5.3 to 1.5.10 in /website
dependabot[bot] Feb 27, 2022
61a5624
Bump minimist from 1.2.5 to 1.2.6 in /website
dependabot[bot] Mar 28, 2022
5f8adb7
Merge pull request #106 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
494d9d5
Merge pull request #107 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
0f7c16f
Merge pull request #108 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
145c942
Merge pull request #109 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
bdbd68a
Merge pull request #111 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
7acb7a6
Merge pull request #112 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
352433e
Merge pull request #113 from netsage-project/dependabot/npm_and_yarn/…
lisaens Apr 14, 2022
2992dc9
Removed everything having to do with the old importer, renamed packag…
lisaens Apr 14, 2022
c70697e
More removed everything having to do with the old importer, renamed p…
lisaens Apr 14, 2022
40ef852
removing pmacct requirement from spec file for now
lisaens Apr 14, 2022
0135d6c
Added a check to the spec file to see if pmacct has been installed (m…
lisaens Apr 19, 2022
286be3b
Added systemd files, conf files, pretag.map file, spec file changes f…
lisaens Apr 19, 2022
3897439
Made separate default pre_tag_map files for sflow and netflow.
lisaens Apr 21, 2022
86da1f7
Added logstash conf for translating pmacct fields
lisaens Apr 26, 2022
ae0a711
mods for new conf file, cosmetic changes
lisaens Apr 26, 2022
9c33261
Added new 40-aggregation.conf for pmacct - default timeouts of 5 and …
lisaens Apr 26, 2022
0520a82
Added 41-thresholds.conf with flow size threshold of 10MB and duratio…
lisaens Apr 26, 2022
9309692
updates to spec and manifest files
lisaens Apr 26, 2022
1997857
typo in manifest
lisaens Apr 26, 2022
bfbbd4f
05-translate-pmacct.conf does not apply to tstat, tag flows instead o…
lisaens Apr 27, 2022
71c3513
forgot to edit netflow section of 40-aggregation.conf also.
lisaens Apr 27, 2022
0d04777
Bump cross-fetch from 3.1.3 to 3.1.5 in /website
dependabot[bot] Apr 28, 2022
4d23a03
Bump async from 2.6.3 to 2.6.4 in /website
dependabot[bot] Apr 29, 2022
9631661
Fixing ifindex filtering and adding ALL options
lisaens May 4, 2022
4adb399
Couple fixes to last commit. Changed timeouts to 5 min and 1 hr in en…
lisaens May 4, 2022
061528d
Updated deprecated config parameters in translate filters
lisaens May 24, 2022
6983e3e
Added and moved some type conversions
lisaens May 24, 2022
979dd4d
Manual sampling corrections will now be done only if not already done…
lisaens Jun 1, 2022
682fd25
Added CERN regexes to sensor group and type files
lisaens Jun 1, 2022
e319871
Bump eventsource from 1.1.0 to 1.1.1 in /website
dependabot[bot] Jun 1, 2022
6634e76
Added subnet filtering
lisaens Jun 1, 2022
7da2e44
Added option to skip deidentification
lisaens Jun 2, 2022
04c0144
Changed agg timeout from 5 to 6 min; changed some comments; add Utah …
lisaens Jun 8, 2022
8463538
Modified Intro docs to remove nfdump and importer and add pmacct
lisaens Jun 8, 2022
17c7c3e
Few more edits to Intro docs
lisaens Jun 8, 2022
3078ac2
Tag 0.0.0.x flows and later drop them by default
lisaens Jun 9, 2022
0f043c4
commiting yarn.lock
lisaens Jun 9, 2022
37499f4
Added list of changes so far to CHANGES.md
lisaens Jun 9, 2022
9a0775d
One more thing in CHANGES file
lisaens Jun 9, 2022
e17c888
Updated spec file to refer to last-tested version of pmacct
lisaens Jun 9, 2022
302c584
In netflow aggregation, use env var instead of hardcoding 1 hr start …
lisaens Jun 9, 2022
56aa130
update to CHANGES file
lisaens Jun 9, 2022
9b2bf58
allowed ALL to specify all sensors when doing sampling rate corrections
lisaens Jun 14, 2022
edbe962
Revised docker-compose and env files, pmacct configs, setup-pmacct.sh…
lisaens Jul 13, 2022
e00ef55
one cron file for all downloads to downloads/ and conf-logstash/support/
lisaens Jul 13, 2022
26f5f52
added setup-cron.sh, modified cron files, .sh file to do wgets
lisaens Jul 14, 2022
4358255
modified spec and MANIFEST files for new cron file
lisaens Jul 14, 2022
328e725
Added logstash-temp volume for agg map files; renamed and cleaned up …
lisaens Jul 14, 2022
a91cb6a
ensure logstash runs as user 1000; in setup-cron.sh, change owner of …
lisaens Jul 15, 2022
f40df44
Bump terser from 4.8.0 to 4.8.1 in /website
dependabot[bot] Jul 20, 2022
65ef7a8
Modified some comments
lisaens Aug 2, 2022
d4a79c8
Added cron and sh files to restart logstash container. Renamed some f…
lisaens Aug 2, 2022
116859b
Changed default java heap size to 4g in env file. Comment changes.
lisaens Aug 3, 2022
e7d20ff
Revised documentation for 2.0
lisaens Aug 11, 2022
d00d09b
adding a .gitignore file
lisaens Aug 11, 2022
3ff25e8
Merge pull request #119 from netsage-project/2.0
lisaens Aug 11, 2022
b539368
Merge pull request #115 from netsage-project/dependabot/npm_and_yarn/…
lisaens Aug 11, 2022
903fcee
Merge pull request #116 from netsage-project/dependabot/npm_and_yarn/…
lisaens Aug 11, 2022
cfaa8ac
Merge pull request #117 from netsage-project/dependabot/npm_and_yarn/…
lisaens Aug 11, 2022
c50354b
Merge pull request #118 from netsage-project/dependabot/npm_and_yarn/…
lisaens Aug 11, 2022
c115338
Documentation updates for 2.0
lisaens Aug 15, 2022
a78a53c
More doc changes
lisaens Aug 16, 2022
f72b603
Set docker-compose to pull nfacctd and sfacctd images from Github Con…
lisaens Aug 24, 2022
a83e071
Disabled 80-privatize-org.conf since it is no longer needed for AARNET
lisaens Aug 24, 2022
19f9942
moved discovery.type to elasticsearch env vars section
lisaens Aug 24, 2022
0b573e4
Made 80-provatize-org into an example file
lisaens Aug 24, 2022
b473eb8
Changed to having script create docker-compose.yml based on example a…
lisaens Sep 7, 2022
02e32c8
Updated CHANGES file to include recent changes
lisaens Sep 7, 2022
f05a0e5
Fixed image lines in docker-compose. 05-Will write a tag if pmacct re…
lisaens Sep 7, 2022
8531531
Some fixes to MANIFEST and spec files
lisaens Sep 8, 2022
c3ca169
Merge pull request #120 from netsage-project/2.0
lisaens Sep 8, 2022
c93533a
Set 80 to disabled in MANIFEST and spec files
lisaens Sep 8, 2022
b138dab
Combined some logstash 99-output confs. Fixed ids in 95-cleanup. Revi…
lisaens Sep 13, 2022
9547595
spec file and manifest changes for new 99-output-file
lisaens Sep 14, 2022
6f1a150
Fix in MANIFEST
lisaens Sep 14, 2022
449c576
Set duration threshold to 1 sec
lisaens Sep 15, 2022
fa71c96
Moving to example sensor_groups and sensor_types files
lisaens Sep 23, 2022
63b22d9
Fixed sensor renaming in 15-sensor-specifi-changes.conf
lisaens Sep 23, 2022
353ba60
Removed named volume for rabbit.
lisaens Sep 23, 2022
2d97cb3
pmacct processes don't need env file so removed from docker-compose. …
lisaens Sep 28, 2022
a125469
Documentation stages, including manual installation instructions for …
lisaens Sep 29, 2022
0893cb9
Tweaks to bare-metal install instructions
lisaens Sep 30, 2022
bbb8ee6
Bump json5 from 1.0.1 to 1.0.2 in /website
dependabot[bot] Jan 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@
.*.swp
conf/systemd/deploy
~

.env
.DS_Store
*.pyc
data
docker-compose.yml
docker-compose.override.yml
userConfig
bin/docker-netsage-downloads.sh
cron.d/docker-netsage-downloads.cron
bin/restart-logstash-container.sh
cron.d/restart-logstash-container.cron
conf-pmacct/*_1*
conf-pmacct/*_2*
conf-logstash/support/sensor_groups.json
conf-logstash/support/sensor_types.json

# Dependencies
/website/node_modules

Expand All @@ -29,10 +39,16 @@ yarn-debug.log*
yarn-error.log*
build

*.pyc
.vscode
.history
.idea
replayData
userConfig
docker-compose.override.yml
node_modules

Makefile
grnoc-netsage-pipeline-2.0.0.tar.gz
blib
blib/*
pm_to_blib

100 changes: 96 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,99 @@
------------------------------------------------------
## GRNOC NetSage Pipeline 2.0.0 --, 2022
NEW PACKAGE NAME; USING PMACCT INSTEAD OF NFDUMP AND IMPORTER
Docker will pull 7Jun2022 images we made for nfacctd and sfacctd images from Github Container Registry
------------------------------------------------------
Features:
* Renamed package to grnoc-netsage-pipeline
* Got rid of old importer references, requirements, files, etc.
* Used the %post section in the spec file to check to see if pmacct is installed.
* Added systemd unit files for bare-metal sfacctd and nfacctd (default will be 1 sflow, 1 netflow source, for docker installs)
* Revised docker-compose.yml file, etc. to work with pmacct containers.
* Revised parts of the .env file, including adding variables for number of sflow and netflow sensors.
* Added example/default sfacct and nfacct config files in conf-pmacct/ (.ORIG files to be copied)
* Added setup-pmacct-compose.sh script which the user runs to create pmacct config files and docker-compose.yml, based on
docker-compose.example.yml and .env files. (pmacct configs cannot use env vars directly, so script fills them in.)
* The number of sflow or netflow sensors can be 0. In this case, the setup script does not include any of the unneeded services
in the docker-compose.yml file.
* Added 05-translate-pmacct.conf logstash config to translate pmacct fields to ones the pipeline uses.
* Revised 40-aggregation.conf to deal with pmacct; there are separate sections for sflow and netflow.
* For netflow, in 40-aggregation.conf, the start time of incoming flows will be adjusted if duration is greater than the active timeout
(ie, for "updates" to long lasting flows)
* The default inactive timeout for logstash aggregation has been set to 6 minutes (to go with 5 minute sflow aggregation by sfacctd)
* Added 41-thresholds.conf - applies size threshold of 10 MB (will drop smaller flows) and duration threshold of 1.0 sec (will set
duration and rates to 0 if shorter) after aggregation is finished.
* Added new field: @sampling_corrected = yes/no. If sampling rate correction has been applied by pmacct or logstash, value will be yes.
* Sampling rate corrections will be done in logstash when requested (ie, flag is set in the env file) but
ONLY IF a correction has not yet been applied (by pmacct).
* Sensor list for sampling rate corrections in the env file is now semicolon-delimited.
* Allowed "ALL" when specifying sensors for sampling rate corrections.
* When a sampling rate correction is applied by logstash, add a tag with the rate.
* Added an option to skip de-identification. Set it in .env.
* 0.0.0.x and 0.0.0.0 flows are tagged and dropped by default. (Unadvertised option to keep them is available in the env file.)
* Added setup-cron.sh script which copies .ORIG .cron and .sh files and writes in username and the location of the git checkout.
The user must copy cron files to /etc/cron.d/.
* One cron file runs a script to download all files (caida, maxmind, etc) from scienceregistry.grnoc once/wk.
* Another cron file restarts the logstash container each day.
* Changed sensor_groups.json and sensor_types.json in the git checkout to .example files. From now on, our particular files/regexes
will be downloaded from scienceregistry.grnoc by a cron job (different cron jobs for docker and bare-metal installations).
* Docker-compose.yml ensures logstash runs with uid 1000, while setup-cron.sh sets the owner of logstash-temp/ to 1000,
so logstash can write and read aggregation map files when it stops and starts. (User 1000 could be anyone on the host; name doesn't matter.)
* AARNET privatization is no longer needed, so added .disabled to 80-privatize-org.conf, and made it into a generalized version as an
example. Moved lines making the AARNET org name consistent to 95-cleanup.conf.

* Documentation updates
* Dependabot automatic remediations of vulnerabilites (for docusaurus)

Bugs:
* Fixed ifindex filtering to be able to filter only specified sensors and keep all flows for other sensors; allow "ALL" for sensor names or interfaces.

------------------------------------------------------
## GRNOC NetSage Deidentfier 1.2.12 -- Jan 4, 2022
------------------------------------------------------
Usage note: With this release, we will move to using logstash 7.16.2 to fix a Log4j vulnerability.
Bare-metal installations will need to upgrade logstash manually.
(Dec 14,2021- original 1.2.12 release with logstash 7.16.1 in the pipeline_logstash Dockerfile)

Features:
* In the dockerfile, increased the version of logstash on which the pipeline_logstash container is based
* Added LEARN to the regexes in the sensor groups and types support files

------------------------------------------------------
## GRNOC NetSage Deidentfier 1.2.11 -- Sept 3, 2021
------------------------------------------------------
Features:
* Made filtering by ifindex (optionally) sensor-specific
* Added tags to flows with src and dst IPs = 0.0.0.x (user can set outputs filter to do something based on tags)
* When duration <= 0.002 sec, set duration, bits/s, and packets/s to 0 as rates are inaccurate for small durations
* Added NORDUnet* and tacc_netflows to sensor group and type regexes
* Added onenet-members-list.rb to the members-list files to download
* Increased version numbers for some website-related packages is response to Dependabot
* Documentation improvements

Bugs:
* Fixed es_doc_id. The hash had been missing meta.id due to a bug.
* At the beginning of the pipeline, set missing IPs to 0.0.0.0, missing ifindexes to -10, missing durations to 0.

------------------------------------------------------
## GRNOC NetSage Deidentfier 1.2.10 -- May 10 2021
------------------------------------------------------
Usage note: With this release, we will move to using nfdump v1.6.23.
This includes a fix for IPs not being parsed in MPLS flows, as well as the fix for missing ASNs from April.
* docker-compose.override_example.yml has been updated to refer to this version.

Features:
* 15-sensor-specific-changes.conf can now be used to drop all flows from a certain sensor except those from listed ifindexes.
* 0.0.0.0 flows are no longer dropped
* Will now tag flows with the pipeline version number (@pipeline_ver)
* Added a sript (to util/) that can be used to process as-org files from CAIDA into the ASN lookup files that we need.
* Documentation updates

------------------------------------------------------
## GRNOC NetSage Deidentfier 1.2.9 -- Apr 7 2021
------------------------------------------------------
Usage note: With this release, we are also moving to using a version of nfdump built from github master which includes commits through Feb 20, 2021. This includes a fix for incorrect ASNs being added to flows when the ASN data is actually missing.
* To go along with this, docker-compose.override_example.yml refers to a "nightly" tag of nfdump (this is not updated nightly!)
Usage note: With this release, we are also moving to using a version of nfdump built from github master which includes
commits through Feb 20, 2021. This includes a fix for incorrect ASNs being added to flows when the ASN data is actually missing.
* To go along with this, docker-compose.override_example.yml refers to a "nightly" tag of nfdump (this is not actually updated nightly!)

Features:
* The installed version of 15-sensor-specific-changes.conf now accomodates environment variables for
Expand All @@ -17,13 +108,14 @@ Bugs
* Flow-filter changes have been made to accomodate changes to simp
* Flows with IPs of 0.0.0.0 are dropped
* For Docker installs, rabbit host name will be fixed
* Docusaurus and some packages flagged by depndabot were upgraded
* Docusaurus and some packages flagged by dependabot were upgraded

------------------------------------------------------
## GRNOC NetSage Deidentfier 1.2.8 -- Jan 28 2021
------------------------------------------------------
Features:
* Added 15-sensor-specific-changes.conf with multiplication by mirroring-sampling rate for a pacificwave sensor and changing of the sensor name for NEAAR flows using a certain ifindex.
* Added 15-sensor-specific-changes.conf with multiplication by mirroring-sampling rate for a pacificwave sensor and changing of
the sensor name for NEAAR flows using a certain ifindex.
* Started saving ifindexes to ES (at least for now)
* Added consideration of continents to possibly get a country_scope value when a country is missing.
* Stopped saving old 'projects' array field to ES
Expand Down
66 changes: 17 additions & 49 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,77 +1,45 @@
bin/netsage-flow-filter-daemon
bin/netsage-netflow-importer-daemon
bin/restart-logstash.sh
grnoc-netsage-pipeline.spec
CHANGES.md
bin/restart-logstash-service.sh
conf-pmacct/sfacctd.conf.ORIG
conf-pmacct/nfacctd.conf.ORIG
conf-pmacct/sfacctd-pretag.map.ORIG
conf-pmacct/nfacctd-pretag.map.ORIG
conf-logstash/01-input-jsonfile.conf.disabled
conf-logstash/01-input-multiline-json-file.conf.disabled
conf-logstash/01-input-rabbit.conf
conf-logstash/05-translate-pmacct.conf
conf-logstash/10-preliminaries.conf
conf-logstash/15-sensor-specific-changes.conf
conf-logstash/20-add-id.conf
conf-logstash/40-aggregation.conf
conf-logstash/41-thresholds.conf
conf-logstash/45-geoip-tagging.conf
conf-logstash/50-asn.conf
conf-logstash/53-caida-org.conf
conf-logstash/55-member-orgs.conf
conf-logstash/60-scireg-tagging-fakegeoip.conf
conf-logstash/70-deidentify.conf
conf-logstash/80-privatize-org.conf
conf-logstash/80-privatize-org.conf.disabled
conf-logstash/88-preferred-location-org.conf
conf-logstash/90-additional-fields.conf
conf-logstash/95-cleanup.conf
conf-logstash/98-post-process.conf
conf-logstash/99-output-rabbit.conf
conf-logstash/99-output-file.conf.disabled
conf-logstash/99-output-elastic.conf.disabled
conf-logstash/99-output-jsonlog.conf.disabled
conf-logstash/99-output-multiline-json.conf.disabled
conf-logstash/99-output-stdout.conf.disabled
conf-logstash/99-output-rabbit.conf
conf-logstash/ruby/anonymize_ipv6.rb
conf-logstash/ruby/domestic.rb
conf-logstash/support/sensor_groups.json
conf-logstash/support/sensor_types.json
conf-logstash/support/sensor_groups.json.example
conf-logstash/support/sensor_types.json.example
conf-logstash/support/networkA-members-list.rb.example
conf/logging-debug.conf
conf/logging.conf
conf/netsage_flow_filter.xml
conf/netsage_netflow_importer.xml
conf/netsage_shared.xml
cron.d/netsage-maxmind-update.cron
cron.d/netsage-caida-update.cron
cron.d/netsage-scireg-update.cron
cron.d/netsage-logstash-restart.cron
cron.d/netsage-memberlists-update.cron
grnoc-netsage-deidentifier.spec
init.d/netsage-flow-filter-daemon
init.d/netsage-netflow-importer-daemon
systemd/netsage-flow-filter.service
systemd/netsage-netflow-importer.service
cron.d/baremetal-netsage-downloads.cron
cron.d/restart-logstash-service.cron
systemd/logstash.service
lib/GRNOC/NetSage/Deidentifier.pm
lib/GRNOC/NetSage/Deidentifier/FlowFilter.pm
lib/GRNOC/NetSage/Deidentifier/NetflowImporter.pm
lib/GRNOC/NetSage/Deidentifier/Pipeline.pm
lib/GRNOC/NetSage/Deidentifier/WorkerManager.pm
systemd/sfacctd.service
systemd/nfacctd.service
Makefile.PL
MANIFEST
README.md
website/docs/deploy/bare_metal_install.md
reporting/flow-mongo-stats.pl
reporting/getdata-cron.pl
reporting/getdata.pl
reporting/queues.txt
reporting/queuestats.pl
test-data/data1.json
test-data/data2.json
test-data/scireg2.json
util/export-tsds
util/generate_data.pl
util/header.pl
util/hist-export.pl
util/json2lines
util/json_to_rabbit.pl
util/lines2json
util/netsage-raw-data-importer
util/netsage_raw_data_importer.xml.example
util/nfcache
util/RawDataImporter.pm
util/tstat-flow-copier
32 changes: 17 additions & 15 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,31 @@ use ExtUtils::MakeMaker;
sub MY::postamble { <<'END'; }

rpm: dist
rpmbuild -ta grnoc-netsage-deidentifier-$(VERSION).tar.gz
rpmbuild -ta grnoc-netsage-pipeline-$(VERSION).tar.gz
END

sub MY::test
{
q(
TEST_VERBOSE=1
#sub MY::test
# {
# q(
#TEST_VERBOSE=1
#
#test : pure_all
# $(FULLPERL) t/TEST $(TEST_VERBOSE)
#
#test_jenkins : pure_all
# $(FULLPERL) t/TEST $(TEST_VERBOSE) --formatter=TAP::Formatter::Console
# );
#}

test : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE)

test_jenkins : pure_all
$(FULLPERL) t/TEST $(TEST_VERBOSE) --formatter=TAP::Formatter::Console
);
}
# VERSION_FROM => 'lib/GRNOC/NetSage/Deidentifier.pm',

WriteMakefile(
NAME => 'grnoc-netsage-deidentifier',
NAME => 'grnoc-netsage-pipeline',
AUTHOR => 'GRNOC Software Engineering <[email protected]>',
VERSION_FROM => 'lib/GRNOC/NetSage/Deidentifier.pm',
VERSION => '2.0.0',
PL_FILES => {},
PREREQ_PM => {
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'grnoc-netsage-deidentifier-*' },
clean => { FILES => 'grnoc-netsage-pipeline-*' },
);
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

[![Build Status](https://travis-ci.com/netsage-project/netsage-pipeline.svg?branch=master)](https://travis-ci.com/netsage-project/netsage-pipeline)

The Netsage Flow Processing Pipeline includes several components for processing network flow data, including importing, deidentification, metadata tagging, flow stitching, etc.
The Netsage Flow Processing Pipeline includes several components for processing network flow data, including collection, deidentification, metadata tagging, flow stitching, etc.

Detailed documentation is available [here](https://netsage-project.github.io/netsage-pipeline/)
Detailed documentation is available [here]. (https://netsage-project.github.io/netsage-pipeline/)



42 changes: 42 additions & 0 deletions bin/docker-netsage-downloads.sh.ORIG
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/bash

# Download possibly-updated files required by the Netsage Pipeline
# Use touch to change the file time to the time of download

# -for docker installations -
# DOWNLOAD_PATH="/PATH-TO-GIT-CHECKOUT/downloads"
# SUPPORT_PATH="/PATH-TO-GIT-CHECKOUT/conf-logstash/support"

# -for bare metal installations - run with sudo and use
# DOWNLOAD_PATH="/var/lib/grnoc/netsage"
# SUPPORT_PATH="/etc/logstash/conf.d/support"

DOWNLOAD_PATH="-PATH-TO-GIT-CHECKOUT-/logstash-downloads"
SUPPORT_PATH="-PATH-TO-GIT-CHECKOUT-/conf-logstash/support"

# MAXMIND ASN
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/GeoLite2-ASN.mmdb -q -O $DOWNLOAD_PATH/GeoLite2-ASN.mmdb && touch $DOWNLOAD_PATH/GeoLite2-ASN.mmdb

# MAXMIND CITY
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/GeoLite2-City.mmdb -q -O $DOWNLOAD_PATH/GeoLite2-City.mmdb && touch $DOWNLOAD_PATH/GeoLite2-City.mmdb

# CAIDA file
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/CAIDA-org-lookup.csv -q -O $DOWNLOAD_PATH/CAIDA-org-lookup.csv && touch $DOWNLOAD_PATH/CAIDA-org-lookup.csv

# SCIENCE REGISTRY
/usr/bin/wget https://scienceregistry.netsage.global/exported/scireg.mmdb -q -O $DOWNLOAD_PATH/scireg.mmdb && touch $DOWNLOAD_PATH/scireg.mmdb

# FRGP MEMBER LIST
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/FRGP-members-list.rb -q -O $SUPPORT_PATH/FRGP-members-list.rb && touch $SUPPORT_PATH/FRGP-members-list.rb

# ILIGHT MEMBER LIST
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/ilight-members-list.rb -q -O $SUPPORT_PATH/ilight-members-list.rb && touch $SUPPORT_PATH/ilight-members-list.rb

# ONENET MEMBER LIST
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/onenet-members-list.rb -q -O $SUPPORT_PATH/onenet-members-list.rb && touch $SUPPORT_PATH/onenet-members-list.rb

# SENSOR_GROUPS
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/sensor_groups.json -q -O $SUPPORT_PATH/sensor_groups.json && touch $SUPPORT_PATH/sensor_groups.json

# SENSOR_TYPES
/usr/bin/wget https://scienceregistry.grnoc.iu.edu/exported/sensor_types.json -q -O $SUPPORT_PATH/sensor_types.json && touch $SUPPORT_PATH/sensor_types.json
Loading