diff --git a/Automation/automation.tex b/Automation/automation.tex index 082ff50..264bd20 100644 --- a/Automation/automation.tex +++ b/Automation/automation.tex @@ -957,7 +957,7 @@ \subsection{Hands-on Lab: Scripting} \begin{Verbatim}[breaklines=true] docker run --rm -d --net gravnet --name ingesters \ --e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 gravwell:ingesters \ +-e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 gravwell:netflow \ /opt/gravwell/bin/gravwell_netflow_capture \end{Verbatim} diff --git a/Indexers/indexers.tex b/Indexers/indexers.tex index e0a7790..2db7d0d 100644 --- a/Indexers/indexers.tex +++ b/Indexers/indexers.tex @@ -1236,11 +1236,11 @@ \subsection{Hands-on Lab: Acceleration} docker start test \end{Verbatim} -Now we'll use the generators image to generate some JSON data; if you don't have the \code{gravwell:generators} image, see Section \ref{sec:load-lab-images} for instructions on how to load it. +Now we'll use the ingesters image to generate some JSON data; if you don't have the \code{gravwell:ingesters} image, see Section \ref{sec:load-lab-images} for instructions on how to load it. \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns test:4023 -entry-count 500000 +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -type json -clear-conns test:4023 -entry-count 500000 \end{Verbatim} Open your Gravwell GUI and check that there is a new well named @@ -1314,13 +1314,13 @@ \subsubsection{\texorpdfstring{{}}{}}\label{h.cpnsaxr7kale}} ``json3'':} \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns test -entry-count 500000 -tag-name json2 +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -type json -clear-conns test -entry-count 500000 -tag-name json2 \end{Verbatim} \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns test -entry-count 500000 -tag-name json3 +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -type json -clear-conns test -entry-count 500000 -tag-name json3 \end{Verbatim} Go re-run the same query as before over a week, first using the tag diff --git a/Ingesters/ingesters.tex b/Ingesters/ingesters.tex index 489591f..da250cd 100644 --- a/Ingesters/ingesters.tex +++ b/Ingesters/ingesters.tex @@ -609,12 +609,12 @@ \subsection{Hands-On Lab: Simple Relay} docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base \end{Verbatim} -Open the web interface by pointing your browser at \href{http://localhost:8080/}{http://localhost:8080} and log in (``admin''/``changeme''). Then start the ingester container running the Simple Relay ingester: +Open the web interface by pointing your browser at \href{http://localhost:8080/}{http://localhost:8080} and log in (``admin''/``changeme''). Then start the container running the Simple Relay ingester: \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -it \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_simple_relay +gravwell:simplerelay /opt/gravwell/bin/gravwell_simple_relay \end{Verbatim} Note the use of the option \code{-e GRAVWELL\_CLEARTEXT\_TARGETS=gravwell:4023}. @@ -939,7 +939,7 @@ \subsection{Hands-On Lab: File Follower} \begin{Verbatim}[breaklines=true] docker create --rm --net gravnet --name ingesters -it -e \ GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 -v /var/log:/var/log \ -gravwell:ingesters /opt/gravwell/bin/gravwell_file_follow -v +gravwell:filefollow /opt/gravwell/bin/gravwell_file_follow -v \end{Verbatim} Note the option \code{-v /var/log:/var/log}. This mounts the host's @@ -1313,12 +1313,12 @@ \subsection{Hands-on Lab: Netflow Ingester} docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base \end{Verbatim} -Next, start the ingester container running the netflow ingester: +Next, start the container running the netflow ingester: \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -it \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_netflow_capture +gravwell:netflow /opt/gravwell/bin/gravwell_netflow_capture \end{Verbatim} The netflow ingester is pre-configured to listen on port 2055 for @@ -1581,7 +1581,7 @@ \subsection{Hands-on Lab: Federation} \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name federator -it \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_federator +gravwell:federator /opt/gravwell/bin/gravwell_federator \end{Verbatim} The container we are using has two pre-configured listeners for the @@ -1596,31 +1596,24 @@ \subsection{Hands-on Lab: Federation} ``testB'', and uses the Ingest Secret ``enclaveBSecrets'' \end{itemize} -With the Federator up and running, we use the generators container to attempt to send some JSON-formatted +With the Federator up and running, we use the ingesters container to attempt to send some JSON-formatted entries to the Federator. We direct it to connect to the ``federator'' container on port 4001 and use the secret ``enclaveASecrets'', which is the correct configuration for the first IngestListener defined in the Federator config. However, note that we add the option \code{-tag-name json}. This is not one of the allowed tags! \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns federator:4001 \ --ingest-secret enclaveASecrets -tag-name json +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns federator:4001 \ +-ingest-secret enclaveASecrets -type json -tag-name json \end{Verbatim} -The command should fail, with an error message saying it -failed to negotiate tags: +The command should fail; this is expected, because we attempted to send entries tagged ``json'', which is not allowed! Let's run the generator again, this time specifying the allowed ``testA'' tag: \begin{Verbatim}[breaklines=true] -2020/02/05 18:44:25 ERROR: Timed out waiting for active connection due to All connections failed Failed to negotiate tags -\end{Verbatim} - -This is expected, because we attempted to send entries tagged ``json'', which is not allowed! Let's run the generator again, this time specifying the allowed ``testA'' tag: - -\begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns federator:4001 \ --ingest-secret enclaveASecrets -tag-name testA +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns federator:4001 \ +-ingest-secret enclaveASecrets -type json -tag-name testA \end{Verbatim} We can verify that the entries made it in by running the query \code{tag=testA} in the Gravwell interface, as shown in Figure \ref{fig:federator-lab-1}. @@ -1634,9 +1627,9 @@ \subsection{Hands-on Lab: Federation} We can send entries to the other Federator listener by tweaking the generator command line, specifying port 4002, the secret ``enclaveBSecrets'', and tag ``testB'': \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns federator:4002 \ --ingest-secret enclaveBSecrets -tag-name testB +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns federator:4002 \ +-ingest-secret enclaveBSecrets -type json -tag-name testB \end{Verbatim} To clean up after the experiment, simply run: @@ -1712,7 +1705,7 @@ \subsection{Hands-on Lab: Ingester Cache} \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -d \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell \ -gravwell:ingesters /opt/gravwell/bin/gravwell_simple_relay +gravwell:simplerelay /opt/gravwell/bin/gravwell_simple_relay \end{Verbatim} The ingesters container ships with a default Simple Relay configuration @@ -2037,61 +2030,6 @@ \section{Permissions and Port Binding} processes (running as the \code{gravwell} user) won't have access to the files and folders they need. -\subsection{Hands-on Lab: Permissions and Port Binding} - -Docker typically just executes everything as root, so we will be using -a new container that actually uses a proper user and group to execute -Gravwell components. Start by cleaning up the environment: - -\code{docker kill \$(docker ps -q)} - -Ensure the \code{gravwell:brokenperms} container is loaded (if you don't have the \code{gravwell:brokenperms} image, see Section \ref{sec:load-lab-images} for instructions on how to load it), then start it: - -\begin{Verbatim}[breaklines=true] -docker run -d --net gravnet -p 8080:80 --rm \ ---name test gravwell:brokenperms -\end{Verbatim} - -Check the GUI (\href{http://localhost:8080}{http://localhost:8080}), are we able to access Gravwell? Is the container up? - -Let's grab a shell within the container as the root user and start -poking around: - -\begin{Verbatim}[breaklines=true] -docker exec -it --user root test /bin/bash -\end{Verbatim} - -The goal is to fix the installation and get the Gravwell components to -start correctly. Start by answering a few questions: - -\begin{enumerate} -\item - Which services are not starting? -\item - Where are the pertinent log files? -\item - What other locations contain Gravwell logs? -\item - What are the permissions inside \code{/opt/gravwell/}? - \begin{enumerate} - \item - What should they be? - \end{enumerate} -\item - What are the capabilities assigned to each Gravwell service binary? - \begin{enumerate} - \item - What should they be? - \end{enumerate} -\end{enumerate} - -To clean up after the experiment, simply run: - -\begin{Verbatim}[breaklines=true] -docker kill $(docker ps -a -q) -\end{Verbatim} - - \section{Gravwell and Systemd} \index{SystemD} @@ -2216,13 +2154,13 @@ \subsection{Hands-on Lab: Gravwell and Docker} \code{Control-Auth}, and \code{Search-Agent-Auth} auth tokens with something unique. Once the container has been created using \code{docker create}, log into the GUI and check that -everything came up, then try ingesting some data using JSON generator; be sure to +everything came up, then try ingesting some data using the generator; be sure to set the appropriate authentication secrets! \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns test \ --ingest-secret MY_SECRET +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns test \ +-type json -ingest-secret MY_SECRET \end{Verbatim} \subsubsection{Lab Questions} diff --git a/Kits/kits.tex b/Kits/kits.tex index bb683a4..d3c7048 100644 --- a/Kits/kits.tex +++ b/Kits/kits.tex @@ -209,7 +209,7 @@ \section{Hands-on Lab: Installing Kits} \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -it \ -e GRAVWELL_CLEARTEXT_TARGETS=kits:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_netflow_capture +gravwell:netflow /opt/gravwell/bin/gravwell_netflow_capture \end{Verbatim} The netflow ingester is pre-configured to listen on port 2055 for diff --git a/LabSetup/labsetup.tex b/LabSetup/labsetup.tex index 4ba8451..8b72a9c 100644 --- a/LabSetup/labsetup.tex +++ b/LabSetup/labsetup.tex @@ -173,10 +173,12 @@ \section{Testing Gravwell in a Container} \section{Loading the Lab Images} \label{sec:load-lab-images} -Several different Docker container images are used for the lab sections -of this training. They are available in the \code{dockerimages/} subdirectory on -the course materials bundle and can be installed with the following -command: +Several different Docker container images are used for the lab +sections of this training. They are all built from publicly-available +Docker images, but have been slightly customized and packaged here to +speed up the training exercises. They are available in the +\code{dockerimages/} subdirectory on the course materials bundle and +can be installed with the following command: \code{docker load -i imagename.tar.gz} @@ -184,15 +186,28 @@ \section{Loading the Lab Images} \begin{itemize} \item base.tar.gz - \item brokenperms.tar.gz \item datastore.tar.gz + \item federator.tar.gz + \item filefollow.tar.gz \item indexer.tar.gz \item ingesters.tar.gz + \item netflow.tar.gz + \item nflow.tar.gz \item offlinereplication.tar.gz \item pcap.tar.gz + \item simplerelay.tar.gz \item webserver.tar.gz \end{itemize} +You can do the entire batch at once like this: + +\begin{Verbatim} +for i in *.tar.gz +do + docker load -i $i +done +\end{Verbatim} + Once loaded, they should all be in the listing when you run \code{docker image ls}. diff --git a/README b/README deleted file mode 100644 index b5b8ee0..0000000 --- a/README +++ /dev/null @@ -1,18 +0,0 @@ -# Pre-reqs: - - apt-get install texlive-* latexmk - -You'll want the shell installers for simple relay, file follow, netflow capture, and federator in /tmp before building the containers. - -# Building - -To build just the PDF: - - make master.pdf - -To build the whole tarball with docker images and all: - - VERSION=5.3.0 LICENSE=/path/to/gravwell-license make dist - - -NOTE: You will need a training license in order to build the complete set of containers. diff --git a/README.md b/README.md new file mode 100644 index 0000000..57ff6de --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Gravwell Training Repository + +This repository contains the LaTeX source for the Gravwell training book, as well as Dockerfiles to build the container images used in the lab sections. Please refer to the [releases page](https://github.com/gravwell/training/releases) for pre-built PDFs of the training book. + +## Pre-reqs: + +You'll need a basic LaTeX setup: + + apt-get install texlive-* latexmk + +If you intend to build the Docker images too, you'll also need to have [Go](https://go.dev) installed, as we compile some utilities in the process. + +## Building + +To build just the PDF: + + make master.pdf + +To build the whole tarball with Docker images and all: + + GOPATH=~/go LICENSE=/path/to/gravwell-license make dist + +NOTE: You will need a training license in order to build the complete set of containers. + +(If you need to build for a specific older version of Gravwell, set the VERSION variable when running `make dist`.) + diff --git a/Search/search.tex b/Search/search.tex index 5708e66..cb660d5 100644 --- a/Search/search.tex +++ b/Search/search.tex @@ -616,11 +616,11 @@ \subsection{Hands-on Lab: Inline Filtering} docker restart test \end{Verbatim} -Now we'll use the generators image to generate some JSON data; if you don't have the \code{gravwell:generators} image, see Section \ref{sec:load-lab-images} for instructions on how to load it. +Now we'll use the ingesters image to generate some JSON data; if you don't have the \code{gravwell:ingesters} image, see Section \ref{sec:load-lab-images} for instructions on how to load it. \begin{Verbatim}[breaklines=true] -docker run --net gravnet --rm -it gravwell:generators \ -/jsonGenerator -clear-conns test:4023 -entry-count 500000 +docker run --net gravnet --rm -it gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns test:4023 -entry-count 500000 -type json \end{Verbatim} Open your Gravwell GUI (\href{http://localhost:8080}{http://localhost:8080}) and check @@ -1178,12 +1178,12 @@ \subsection{Hands-on Lab: Temporal vs. Non-Temporal Rendering} docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base \end{Verbatim} -Next, start the ingester container running the netflow ingester: +Next, start the \code{gravwell:netflow} container running the netflow ingester: \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -it \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_netflow_capture +gravwell:netflow /opt/gravwell/bin/gravwell_netflow_capture \end{Verbatim} The netflow ingester is pre-configured to listen on port 2055 for @@ -1871,12 +1871,12 @@ \subsection{Hands-on Lab: Enriching Netflow with GeoIP} docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base \end{Verbatim} -Next, start the ingester container running the netflow ingester: +Next, start the \code{gravwell:netflow} container running the netflow ingester: \begin{Verbatim}[breaklines=true] docker run --rm -d --net gravnet --name ingesters \ -e GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 \ -gravwell:ingesters /opt/gravwell/bin/gravwell_netflow_capture +gravwell:netflow /opt/gravwell/bin/gravwell_netflow_capture \end{Verbatim} The netflow ingester is pre-configured to listen on port 2055 for @@ -2279,14 +2279,15 @@ \subsection{Hands-on Lab: Optimizing Queries} significant data or node count, however, the knowledge in this section is invaluable. -We need to fire up the base Gravwell container and then the ingesters +We need to fire up the base Gravwell container and then use the ingesters container to generate some sample JSON entries: \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base -docker run --net gravnet --rm -it --name jsoningesters gravwell:ingesters\ - /opt/gravwell/bin/jsonGenerator -clear-conns gravwell:4023 -entry-count 100000 +docker run --net gravnet --rm -it --name jsoningesters gravwell:ingesters \ +/opt/gravwell/bin/gravwellGenerator -clear-conns gravwell:4023 \ +-entry-count 100000 -type json \end{Verbatim} Let's begin by examining the data: @@ -2913,7 +2914,7 @@ \subsection{Hands-On Lab: Extractors} \begin{Verbatim}[breaklines=true] docker run --rm --net gravnet --name ingesters -it -e \ GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 gravwell:ingesters \ -/opt/gravwell/bin/csvGenerator -clear-conns gravwell:4023 -tag-name csv +/opt/gravwell/bin/gravwellGenerator -clear-conns gravwell:4023 -type csv \end{Verbatim} A quick search on the csv tag should show the raw entries, as in Figure \ref{fig:lab-csv-raw}. @@ -3094,7 +3095,7 @@ \subsection{Hands-On Lab: Groups and Sharing} \begin{Verbatim}[breaklines=true] docker run --net gravnet --rm -i --name ingesters gravwell:ingesters \ -/opt/gravwell/bin/jsonGenerator -clear-conns gravwell:4023 +/opt/gravwell/bin/gravwellGenerator -clear-conns gravwell:4023 -type json \end{Verbatim} Now, log in as the administrator (\href{http://localhost:8080}{http://localhost:8080}), open the Users page, and add two new @@ -3223,7 +3224,7 @@ \subsection{Hands-on Lab: Network Activity Dashboard} docker run --rm --net gravnet -p 8080:80 -d --name gravwell gravwell:base docker run --rm --net gravnet --name ingesters -it -e \ -GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 gravwell:ingesters \ +GRAVWELL_CLEARTEXT_TARGETS=gravwell:4023 gravwell:netflow \ /opt/gravwell/bin/gravwell_netflow_capture docker run -it --net gravnet --rm \ diff --git a/Webserver/images/twoindexers.png b/Webserver/images/twoindexers.png index bfa3443..4c55bb4 100644 Binary files a/Webserver/images/twoindexers.png and b/Webserver/images/twoindexers.png differ diff --git a/Webserver/webserver.tex b/Webserver/webserver.tex index ffd7f46..b8e2515 100644 --- a/Webserver/webserver.tex +++ b/Webserver/webserver.tex @@ -102,8 +102,8 @@ \subsection{Hands-on Lab: Adding Indexers to a Webserver} docker restart webserver \end{Verbatim} -Now, browsing to the ``Wells and Indexers'' page in the GUI should show -two indexers, as in Figure \ref{fig:twoindexers} +Now, browsing to the ``Storage, Indexers \& Wells'' page in the GUI should show +two indexers in the ``Indexer Stats'' section, as in Figure \ref{fig:twoindexers}. \begin{figure} \includegraphics{images/twoindexers.png} @@ -216,7 +216,7 @@ \subsection{Hands-on Lab: Configuring multiple webservers} Remote-Indexers=net:indexer0:9404 Datastore=datastore External-Addr=webserver0 - Datastore-Insecure-Skip-TLS-Verify=true + Datastore-Insecure-Disable-TLS=true \end{Verbatim} Copy the config file back (\code{docker cp /tmp/gravwell.conf webserver0:/opt/gravwell/etc/gravwell.conf}) @@ -236,7 +236,7 @@ \subsection{Hands-on Lab: Configuring multiple webservers} Remote-Indexers=net:indexer0:9404 Datastore=datastore External-Addr=webserver1 - Datastore-Insecure-Skip-TLS-Verify=true + Datastore-Insecure-Disable-TLS=true \end{Verbatim} Copy the config file back (\code{docker cp /tmp/gravwell.conf webserver1:/opt/gravwell/etc/gravwell.conf}) diff --git a/dockerfiles/base/Dockerfile b/dockerfiles/base/Dockerfile index 3a2c82d..c53f7a7 100644 --- a/dockerfiles/base/Dockerfile +++ b/dockerfiles/base/Dockerfile @@ -7,7 +7,6 @@ RUN /bin/rm -f /opt/gravwell/bin/gravwell_simple_relay RUN /bin/rm -f /opt/gravwell/bin/gencert RUN /bin/rm -f /opt/gravwell/bin/gravwell_crash_report -COPY reimport /opt/gravwell/bin/ COPY $MANAGE_CONF /opt/gravwell/etc/ COPY $CONF /opt/gravwell/etc/ ENV GRAVWELL_INGEST_AUTH=IngestSecrets diff --git a/dockerfiles/base/manager.cfg b/dockerfiles/base/manager.cfg index 8a163bb..fe5b4b6 100644 --- a/dockerfiles/base/manager.cfg +++ b/dockerfiles/base/manager.cfg @@ -5,20 +5,20 @@ [Process "indexer"] Exec="/opt/gravwell/bin/gravwell_indexer -stderr indexer" Working-Dir=/opt/gravwell - Max-Restarts=100 + Max-Restarts=10 CoolDown-Period=1 Restart-Period=1 [Process "webserver"] Exec="/opt/gravwell/bin/gravwell_webserver -stderr webserver" Working-Dir=/opt/gravwell - Max-Restarts=100 + Max-Restarts=10 CoolDown-Period=1 Restart-Period=1 [Process "searchagent"] Exec="/opt/gravwell/bin/gravwell_searchagent -stderr searchagent" Working-Dir=/opt/gravwell - Max-Restarts=100 + Max-Restarts=10 CoolDown-Period=1 Restart-Period=1 diff --git a/dockerfiles/base/run.sh b/dockerfiles/base/run.sh index 41fec25..883e371 100644 --- a/dockerfiles/base/run.sh +++ b/dockerfiles/base/run.sh @@ -6,9 +6,6 @@ if [[ "$(docker images -q gravwell:slim 2> /dev/null)" == "" ]]; then exit -1 fi TGT="/tmp/base.tar.gz" -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/ingesters/reimport -cp $GOPATH/bin/reimport . docker build -t gravwell:base . docker save gravwell:base | gzip > $TGT echo "Base image is at $TGT" -rm reimport diff --git a/dockerfiles/brokenperms/.gitignore b/dockerfiles/brokenperms/.gitignore deleted file mode 100644 index 1377554..0000000 --- a/dockerfiles/brokenperms/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/dockerfiles/brokenperms/Dockerfile b/dockerfiles/brokenperms/Dockerfile deleted file mode 100644 index e3c95e0..0000000 --- a/dockerfiles/brokenperms/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM gravwell:perms -MAINTAINER training@gravwell.io -USER root -RUN chown root:root /opt/gravwell/storage -RUN chown gravwell:gravwell -R /opt/gravwell/bin -USER 1000:1000 - -ENV GRAVWELL_INGEST_AUTH=IngestSecrets -ENV GRAVWELL_INGEST_SECRET=IngestSecrets -ENV GRAVWELL_CONTROL_AUTH=ControlSecrets -ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets -ENV GRAVWELL_PIPE_TARGETS="/opt/gravwell/comms/pipe" -CMD ["/opt/gravwell/bin/manager"] diff --git a/dockerfiles/brokenperms/run.sh b/dockerfiles/brokenperms/run.sh deleted file mode 100644 index e6be9a4..0000000 --- a/dockerfiles/brokenperms/run.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -TGT="/tmp/brokenperms.tar.gz" -base=`docker images -q gravwell:perms` -if [ "$base" == "" ]; then - echo "we need the gravwell:perms image as a base" - exit -1 -fi - -SQUASH="--squash" -exp=`docker version -f '{{.Server.Experimental}}'` -if [ "$exp" == "false" ]; then - echo "your docker instance isn't running with experimental features" - echo "We need this in order to squash the image during build" - SQUASH="" -fi - -docker build --compress $SQUASH -t gravwell:brokenperms . -docker save gravwell:brokenperms | gzip > $TGT -echo "Base image is at $TGT" diff --git a/dockerfiles/build_all.sh b/dockerfiles/build_all.sh index 5dec630..1350f58 100644 --- a/dockerfiles/build_all.sh +++ b/dockerfiles/build_all.sh @@ -1,7 +1,8 @@ #!/bin/bash +set -e LOGFILE=/tmp/build.log OUTDIR=../dockerimages/ -VER=${VERSION:-5.3.0} +VER=${VERSION:-latest} if [ ! -d "$GOPATH" ]; then echo "Must set GOPATH" @@ -27,28 +28,10 @@ if [ ! -d "$OUTDIR" ]; then mkdir -p $OUTDIR fi -#check that our installers exist -installers=("/tmp/gravwell_simple_relay_installer_$VER.sh" "/tmp/gravwell_file_follow_installer_$VER.sh" "/tmp/gravwell_netflow_capture_installer_$VER.sh" "/tmp/gravwell_network_capture_installer_$VER.sh" "/tmp/gravwell_federator_installer_$VER.sh" "/tmp/gravwell_datastore_installer_$VER.sh" "/tmp/gravwell_$VER.sh") - -for inst in "${installers[@]}" -do - if [ ! -f "$inst" ]; then - #attempt to download it - fname=$(basename $inst) - echo curl --output "$inst" "https://update.gravwell.io/archive/$VER/installers/$fname" - curl --output "$inst" "https://update.gravwell.io/archive/$VER/installers/$fname" - if [ "$?" != "0" ]; then - echo "Failed to download $fname" - exit -1 - fi - fi -done - - echo >> $LOGFILE echo "Creating slim container" echo "Creating slim container as our base" >> $LOGFILE -/bin/bash createslim.sh >> $LOGFILE +. createslim.sh >> $LOGFILE if [ "$?" != "0" ]; then echo "Failed to create slim container" @@ -71,7 +54,7 @@ function build() { echo "building $d" echo >> $LOGFILE echo "building $d" >> $LOGFILE - VER=$VER bash run.sh >> $LOGFILE + . run.sh >> $LOGFILE if [ "$?" != "0" ]; then echo "Failed to build $d" exit -1 @@ -108,11 +91,13 @@ build "offlinereplication" moveTarget "/tmp/offlinereplication.tar.gz" build "datastore" moveTarget "/tmp/datastore.tar.gz" -build "permissions" -moveTarget "/tmp/perms.tar.gz" -build "brokenperms" -moveTarget "/tmp/brokenperms.tar.gz" build "pcap" moveTarget "/tmp/pcap.tar.gz" -build "generators" -moveTarget "/tmp/generators.tar.gz" +build "netflow" +moveTarget "/tmp/netflow.tar.gz" +build "federator" +moveTarget "/tmp/federator.tar.gz" +build "filefollow" +moveTarget "/tmp/filefollow.tar.gz" +build "simplerelay" +moveTarget "/tmp/simplerelay.tar.gz" diff --git a/dockerfiles/createslim.sh b/dockerfiles/createslim.sh index 8a2c3b7..1356708 100644 --- a/dockerfiles/createslim.sh +++ b/dockerfiles/createslim.sh @@ -5,8 +5,8 @@ if [ ! -f "$LICENSE" ]; then fi docker rmi gravwell:slim #remove existing slim image -docker pull gravwell/gravwell:latest # grabs latest gw image from dockerhub -docker create --name slim gravwell/gravwell:latest #create temp container from latest image +docker pull gravwell/gravwell:${VER} # grabs desired gw image from dockerhub +docker create --name slim gravwell/gravwell:${VER} #create temp container from latest image docker cp $LICENSE slim:/opt/gravwell/etc/license docker export slim | docker import - gravwell:slim #trick to squash. export to stdio then re-import under new tag to create "final" slim container docker rm slim #destroy tmp container diff --git a/dockerfiles/datastore/Dockerfile b/dockerfiles/datastore/Dockerfile index 5e2951f..ef61644 100644 --- a/dockerfiles/datastore/Dockerfile +++ b/dockerfiles/datastore/Dockerfile @@ -1,17 +1,9 @@ -FROM gravwell:base +ARG version +FROM gravwell/datastore:${version} MAINTAINER training@gravwell.io ARG MANAGE_CONF=manager.cfg -RUN /bin/rm -rf /opt/gravwell/storage/* -RUN /bin/rm -f /opt/gravwell/bin/gravwell_simple_relay -RUN /bin/rm -f /opt/gravwell/bin/gencert -RUN /bin/rm -f /opt/gravwell/bin/gravwell_crash_report -RUN /bin/rm -f /opt/gravwell/bin/gravwell_indexer -RUN /bin/rm -f /opt/gravwell/bin/gravwell_webserver -RUN /bin/rm -f /opt/gravwell/bin/gravwell_searchagent COPY $MANAGE_CONF /opt/gravwell/etc/ -COPY datastore.sh /tmp -RUN /bin/sh /tmp/datastore.sh --no-questions --no-crash-report --no-start ENV GRAVWELL_INGEST_AUTH=IngestSecrets ENV GRAVWELL_INGEST_SECRET=IngestSecrets ENV GRAVWELL_CONTROL_AUTH=ControlSecrets diff --git a/dockerfiles/datastore/README b/dockerfiles/datastore/README deleted file mode 100644 index 34a9836..0000000 --- a/dockerfiles/datastore/README +++ /dev/null @@ -1,5 +0,0 @@ -Expects gravwell_datastore_installer_3.0.3.sh in /tmp, or you can provide a path as an argument to run.sh: - -bash run.sh - -bash run.sh /path/to/datastore_installer.sh diff --git a/dockerfiles/datastore/run.sh b/dockerfiles/datastore/run.sh index bb6f532..5d87323 100644 --- a/dockerfiles/datastore/run.sh +++ b/dockerfiles/datastore/run.sh @@ -1,20 +1,7 @@ #!/bin/bash set -e -INSTALLER=`ls /tmp/gravwell_datastore_installer_*.sh | head -n 1` -if [ "$1" != "" ]; then - INSTALLER=$1 -fi - -if [ ! -f "$INSTALLER" ]; then - echo "I need an installer" - exit -1 -fi - -cp $INSTALLER datastore.sh TGT="/tmp/datastore.tar.gz" -docker build -t gravwell:datastore . +docker build --build-arg version=$VER -t gravwell:datastore . docker save gravwell:datastore | gzip > $TGT echo "Base image is at $TGT" - -rm datastore.sh diff --git a/dockerfiles/federator/Dockerfile b/dockerfiles/federator/Dockerfile new file mode 100644 index 0000000..bdab176 --- /dev/null +++ b/dockerfiles/federator/Dockerfile @@ -0,0 +1,10 @@ +ARG VER=latest +FROM gravwell/federator:${VER} +MAINTAINER training@gravwell.io +COPY federator.conf /opt/gravwell/etc/ + +ENV GRAVWELL_INGEST_AUTH=IngestSecrets +ENV GRAVWELL_INGEST_SECRET=IngestSecrets +ENV GRAVWELL_CONTROL_AUTH=ControlSecrets +ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets +CMD ["/opt/gravwell/bin/gravwell_federator"] diff --git a/dockerfiles/federator/federator.conf b/dockerfiles/federator/federator.conf new file mode 100644 index 0000000..7c40650 --- /dev/null +++ b/dockerfiles/federator/federator.conf @@ -0,0 +1,15 @@ +[Global] +Ingest-Secret = IngestSecrets +Connection-Timeout = 0 +Log-Level=INFO + +[IngestListener "enclaveA"] + Ingest-Secret = enclaveASecrets + Cleartext-Bind = 0.0.0.0:4001 + Tags=testA + +[IngestListener "enclaveB"] + Ingest-Secret = enclaveBSecrets + Cleartext-Bind = 0.0.0.0:4002 + Tags=testB + diff --git a/dockerfiles/federator/run.sh b/dockerfiles/federator/run.sh new file mode 100644 index 0000000..7a2b52f --- /dev/null +++ b/dockerfiles/federator/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +if [ "$VER" == "" ]; then + echo "Missing version" + exit -1 +fi +cp -r /usr/share/zoneinfo . + +TGT="/tmp/federator.tar.gz" +docker build -t gravwell:federator --no-cache --build-arg VER=$VER . +docker save gravwell:federator | gzip > $TGT +echo "federator image is at $TGT" + +rm -rf zoneinfo diff --git a/dockerfiles/filefollow/Dockerfile b/dockerfiles/filefollow/Dockerfile new file mode 100644 index 0000000..eb1b4da --- /dev/null +++ b/dockerfiles/filefollow/Dockerfile @@ -0,0 +1,10 @@ +ARG VER=latest +FROM gravwell/file_follow:${VER} +MAINTAINER training@gravwell.io +COPY file_follow.conf /opt/gravwell/etc/ + +ENV GRAVWELL_INGEST_AUTH=IngestSecrets +ENV GRAVWELL_INGEST_SECRET=IngestSecrets +ENV GRAVWELL_CONTROL_AUTH=ControlSecrets +ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets +CMD ["/opt/gravwell/bin/gravwell_file_follow"] diff --git a/dockerfiles/filefollow/file_follow.conf b/dockerfiles/filefollow/file_follow.conf new file mode 100644 index 0000000..149bf1b --- /dev/null +++ b/dockerfiles/filefollow/file_follow.conf @@ -0,0 +1,24 @@ +[Global] +Ingest-Secret = IngestSecrets +Connection-Timeout = 0 +State-Store-Location=/opt/gravwell/etc/file_follow.state +Log-Level=INFO #options are OFF INFO WARN ERROR +Log-File=/opt/gravwell/log/file_follow.log +Max-Files-Watched=64 # Maximum number of files to watch before rotating out old ones, this can be bumped but will need sysctl flags adjusted + +#basic default logger, all entries will go to the default tag +#no Tag-Name means use the default tag +[Follower "auth"] + Base-Directory="/var/log/" + File-Filter="auth.log,auth.log.[0-9]" #we are looking for all authorization log files + Tag-Name=auth + +[Follower "kernel"] + Base-Directory="/var/log" + File-Filter="dmesg,dmesg.[0-9]" #we are looking for all dpkg files + Tag-Name=kernel + +[Follower "kernel2"] + Base-Directory="/var/log" + File-Filter="kern.log,kern.log.[0-9]" #we are looking for all dpkg files + Tag-Name=kernel diff --git a/dockerfiles/filefollow/run.sh b/dockerfiles/filefollow/run.sh new file mode 100644 index 0000000..0216c45 --- /dev/null +++ b/dockerfiles/filefollow/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +if [ "$VER" == "" ]; then + echo "Missing version" + exit -1 +fi +cp -r /usr/share/zoneinfo . + +TGT="/tmp/filefollow.tar.gz" +docker build -t gravwell:filefollow --no-cache --build-arg VER=$VER . +docker save gravwell:filefollow | gzip > $TGT +echo "filefollow image is at $TGT" + +rm -rf zoneinfo diff --git a/dockerfiles/generators/.gitignore b/dockerfiles/generators/.gitignore deleted file mode 100644 index 3d186b1..0000000 --- a/dockerfiles/generators/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -binaryGenerator -csvGenerator -fieldsGenerator -managerGenerator -regexGenerator -manager diff --git a/dockerfiles/generators/Dockerfile b/dockerfiles/generators/Dockerfile deleted file mode 100644 index 69f82e4..0000000 --- a/dockerfiles/generators/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM busybox:latest -MAINTAINER training@gravwell.io -ARG MANAGE_CONF=manager.cfg - -RUN /bin/mkdir -p /opt/gravwell/etc -RUN /bin/mkdir -p /opt/gravwell/log -COPY $MANAGE_CONF /opt/gravwell/etc/ -COPY manager / -COPY fieldsGenerator / -COPY csvGenerator / -COPY binaryGenerator / -COPY regexGenerator / -COPY jsonGenerator / - -CMD ["/manager"] diff --git a/dockerfiles/generators/README b/dockerfiles/generators/README deleted file mode 100644 index 23a534e..0000000 --- a/dockerfiles/generators/README +++ /dev/null @@ -1,3 +0,0 @@ -this container will just stream all sorts of data into gravwell - -It isn't finished yet, e.g. broken. Fix it diff --git a/dockerfiles/generators/manager.cfg b/dockerfiles/generators/manager.cfg deleted file mode 100644 index f896939..0000000 --- a/dockerfiles/generators/manager.cfg +++ /dev/null @@ -1,17 +0,0 @@ -[Global] - Log-File=/opt/gravwell/log/manager.log - Log-Level=INFO - -[Process "barfields"] - Exec='/fieldsGenerator -stream -clear-conns=$TARGET -tag-name=barfields -delim-override="|"' - Working-Dir=/ - Max-Restarts=100 #three attempts before cooling down - CoolDown-Period=1 #10 minutes - Restart-Period=1 #10 minutes - -[Process "tabfields"] - Exec='/fieldsGenerator -stream -clear-conns=$TARGET -tag-name=tabfields -delim-override=" "' - Working-Dir=/ - Max-Restarts=100 #three attempts before cooling down - CoolDown-Period=1 #10 minutes - Restart-Period=1 #10 minutes diff --git a/dockerfiles/generators/run.sh b/dockerfiles/generators/run.sh deleted file mode 100644 index b1259c0..0000000 --- a/dockerfiles/generators/run.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -set -e - -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/manager -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/fieldsGenerator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/csvGenerator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/binaryGenerator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/regexGenerator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/jsonGenerator - -cp $GOPATH/bin/manager . -cp $GOPATH/bin/fieldsGenerator . -cp $GOPATH/bin/csvGenerator . -cp $GOPATH/bin/binaryGenerator . -cp $GOPATH/bin/regexGenerator . -cp $GOPATH/bin/jsonGenerator . - - -TGT="/tmp/generators.tar.gz" -docker build --compress -t gravwell:generators . -docker save gravwell:generators | gzip > $TGT -echo "Base image is at $TGT" - -rm *Generator -rm manager diff --git a/dockerfiles/go.mod b/dockerfiles/go.mod deleted file mode 100644 index e675f4d..0000000 --- a/dockerfiles/go.mod +++ /dev/null @@ -1,13 +0,0 @@ -module main - -go 1.15 - -require ( - github.com/gravwell/gencert v3.2.3+incompatible // indirect - github.com/gravwell/gravwell/v3 v3.5.0 // indirect - github.com/gravwell/ingest v3.2.2+incompatible // indirect - github.com/gravwell/manager/v3 v3.3.12 // indirect - github.com/nerdalert/nflow-generator v0.0.0-20230222172017-b7cd1199871c // indirect - github.com/sirupsen/logrus v1.9.0 // indirect - golang.org/x/sys v0.7.0 // indirect -) diff --git a/dockerfiles/go.sum b/dockerfiles/go.sum deleted file mode 100644 index b61d90a..0000000 --- a/dockerfiles/go.sum +++ /dev/null @@ -1,431 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.49.0/go.mod h1:hGvAdzcWNbyuxS3nWhD7H2cIJxjRRTRLQVB0bdputVY= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.1.0/go.mod h1:a81gKs1KmeOyF/qrbeu4APVXICPLcsl0Ilx2XvD7ZYU= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -collectd.org v0.3.1-0.20181025072142-f80706d1e115/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/Pallinder/go-randomdata v1.2.0 h1:DZ41wBchNRb/0GfsePLiSwb0PHZmT67XY00lCDlaYPg= -github.com/Pallinder/go-randomdata v1.2.0/go.mod h1:yHmJgulpD2Nfrm0cR9tI/+oAgRqCQQixsA8HyRZfV9Y= -github.com/Shopify/sarama v1.24.1/go.mod h1:fGP8eQ6PugKEI0iUETYYtnP6d1pH/bdDMTel1X5ajsU= -github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/aws/aws-sdk-go v1.25.46/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/bet365/jingo v0.10.0 h1:hQvAlz8wWI24Jc21LCa6njP495eu1uMocac6+fUps+c= -github.com/bet365/jingo v0.10.0/go.mod h1:YVo0ML7j7ob+mvgmOXoZHcGu99n2HJQXw2VqkTteF3I= -github.com/buger/jsonparser v0.0.0-20191004114745-ee4c978eae7e/go.mod h1:errmMKH8tTB49UR2A8C8DPYkyudelsYJwJFaZHQ6ik8= -github.com/bxcodec/faker/v3 v3.3.1/go.mod h1:gF31YgnMSMKgkvl+fyEo1xuSMbEuieyqfeslGYFjneM= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185 h1:3T8ZyTDp5QxTx3NU48JVb2u+75xc040fofcBaN+6jPA= -github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185/go.mod h1:cFRxtTwTOJkz2x3rQUNCYKWC93yP1VKjR8NUhqFxZNU= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= -github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/elastic/beats v7.5.0+incompatible/go.mod h1:7cX7zGsOwJ01FLkZs9Tg5nBdnQi6XB3hYAyWekpKgeY= -github.com/elastic/beats v7.6.2+incompatible/go.mod h1:7cX7zGsOwJ01FLkZs9Tg5nBdnQi6XB3hYAyWekpKgeY= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/floren/ipfix v1.4.1/go.mod h1:UtmrqQWM7kiZDMPrrkUR1W08v/WNl8Pc111KSxUgguA= -github.com/floren/o365 v0.0.1/go.mod h1:+1TeJc/IBX0gGAfBf1ZHNJboVRZDNKor7sizUwEoEuM= -github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/frankban/quicktest v1.4.1/go.mod h1:36zfPVQyHxymz4cH7wlDmVwDrJuljRB60qkgn7rorfQ= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= -github.com/gofrs/flock v0.8.0 h1:MSdYClljsF3PbENUUEx85nkWfJSGfzYI9yEBZOJz6CY= -github.com/gofrs/flock v0.8.0/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-write v0.0.0-20181107114627-56629a6b2542 h1:jCpVy/nfZ7ayHSZe3xdDhYy6TftqehkNU6hh8Kq+iW8= -github.com/google/go-write v0.0.0-20181107114627-56629a6b2542/go.mod h1:NOSj1rhiMiScdUd1ere2UGAG2ZrYdyblYixNPWPlP5w= -github.com/google/gopacket v1.1.17/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gravwell/filewatch/v3 v3.3.10/go.mod h1:bYKlX6Pxr5n+DX+TLrujXwRT+9mvZgLoTPx9aubRQ5E= -github.com/gravwell/gcfg v1.2.5/go.mod h1:lWsvu9YGmTXgqdrR4W926Ok7Vh8jvrwIhFMkn91PgU4= -github.com/gravwell/gcfg v1.2.8 h1:aS+W5u5xBpjjZ4QuSiI1Hy6Qb3+ygn9cQRXFf5XLmA8= -github.com/gravwell/gcfg v1.2.8/go.mod h1:N+S2rmWz+IHo5zTQaDshQr+qEVGldBRzAnlRkf1yO8c= -github.com/gravwell/gencert v3.2.3+incompatible h1:L7htwkYVwA6xe2Ai+Lqbv8rI1n1dvP9lOxSdnon50AE= -github.com/gravwell/gencert v3.2.3+incompatible/go.mod h1:1YfQx+DqTKbCu8gG6osoRw1EozZSLrZPWuRObaDQyLc= -github.com/gravwell/gravwell/v3 v3.5.0 h1:ajoEQm0wWvb7L264EzMZErVPD9O/uGPlSaqqFnvb51g= -github.com/gravwell/gravwell/v3 v3.5.0/go.mod h1:qNig7ryaE+vx36Z+plRm2nwcDV/mQJcOzqfY3BOOtXY= -github.com/gravwell/ingest v3.2.2+incompatible h1:ZppzqTOgMi/YHIbvIhb3/mirrTYj/76n/7WdR3KMWdk= -github.com/gravwell/ingest v3.2.2+incompatible/go.mod h1:wBD3s7hEoM5y/sYrSsO/SOyAv5SvHUkLTorwsBKTRac= -github.com/gravwell/ingest/v3 v3.3.10 h1:W4dsyOuzPXtmGPnxbHywLtKvN1z0nPK71Hh4Thsc8b0= -github.com/gravwell/ingest/v3 v3.3.10/go.mod h1:re6Y8ITpcEJsmYiTyiFJlj/Eudpv17zs+ba94XtdwUs= -github.com/gravwell/ingesters/v3 v3.3.10 h1:xhAP47XaeDzjvliZ0UMmsD4GQreyym3AcshwzYqxDR0= -github.com/gravwell/ingesters/v3 v3.3.10/go.mod h1:6AdOX0CgpOjrDz27XJUUlo9VxwNCABN+rj1I2sU9PcI= -github.com/gravwell/ipfix v1.4.3/go.mod h1:/Ogrd3FQi+GGD+BXzX8/kBQKdOrgrf6c8u8LSEA3WI8= -github.com/gravwell/manager v3.2.2+incompatible h1:JyMO5rvImC2tTpNoVDwwGYwl+oZR/vPTCE36dFxBoiM= -github.com/gravwell/manager v3.2.2+incompatible/go.mod h1:N4aYHWtcFJq2mlTF36NeSUogjuvdInV0SyZPf/MPzOM= -github.com/gravwell/manager/v3 v3.3.12 h1:aawmkZNAOulO+96uZu+gyhboKSGcIzrvyoCotBr66iA= -github.com/gravwell/manager/v3 v3.3.12/go.mod h1:BXUn7PhHURhh6UIZxQc9XzkyXKkF1QFtZRYizXqgoZA= -github.com/gravwell/netflow/v3 v3.2.3/go.mod h1:mOvZuUk8VYa6yQagfJwGNBd08EmJYbKjmK1EJ7jTTjk= -github.com/gravwell/timegrinder/v3 v3.2.5/go.mod h1:5N5jpqRDBJaEw1GotCXb8hmGoNeOPDSBjin1Mz/6g1Q= -github.com/gravwell/winevent/v3 v3.3.11/go.mod h1:0wP6zzhS5Ii+Uclgcm9h9ohRyNYU6CQnMEGiN2MNFOo= -github.com/h2non/filetype v1.0.10 h1:z+SJfnL6thYJ9kAST+6nPRXp1lMxnOVbMZHNYHMar0s= -github.com/h2non/filetype v1.0.10/go.mod h1:isekKqOuhMj+s/7r3rIeTErIRy4Rub5uBWHfvMusLMU= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= -github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= -github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901/go.mod h1:Z86h9688Y0wesXCyonoVr47MasHilkuLMqGhRZ4Hpak= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.8.6/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.9.3/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/minio/highwayhash v1.0.0/go.mod h1:xQboMTeM9nY9v/LlAOxFctujiv5+Aq2hR5dxBpaMbdc= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/nerdalert/nflow-generator v0.0.0-20220316032942-a4a241113494 h1:1JeqAy9jop5FEiYHV9hupB6pv0RCCFntdm/N8xon3/E= -github.com/nerdalert/nflow-generator v0.0.0-20220316032942-a4a241113494/go.mod h1:tM1+RLMmXuQr2iKkymdjVQob/N9ZdkudXQB8Iqp+HUc= -github.com/nerdalert/nflow-generator v0.0.0-20220501044009-5cc1c43806c2 h1:uK4NvRV/WmXyh4rfutvtq/+FibFAJfeDz8QY4eAfdL8= -github.com/nerdalert/nflow-generator v0.0.0-20220501044009-5cc1c43806c2/go.mod h1:tM1+RLMmXuQr2iKkymdjVQob/N9ZdkudXQB8Iqp+HUc= -github.com/nerdalert/nflow-generator v0.0.0-20230222172017-b7cd1199871c h1:NyF9Sw88JHyCK+THgVuEpUk/YjktgArmc0ajQDjXVQk= -github.com/nerdalert/nflow-generator v0.0.0-20230222172017-b7cd1199871c/go.mod h1:tM1+RLMmXuQr2iKkymdjVQob/N9ZdkudXQB8Iqp+HUc= -github.com/open-networks/go-msgraph v0.0.0-20200217121338-a7bf31e9c1f2/go.mod h1:qrAWeYL/1D4WyM9vJnTmgKMtspVODwsvgBDXgVs64Gg= -github.com/pierrec/lz4 v2.2.6+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4 v2.3.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/shirou/gopsutil v2.19.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tealeg/xlsx v1.0.5/go.mod h1:btRS8dz54TDnvKNosuAqxrM1QgN1udgk9O34bDCnORM= -github.com/traetox/gcfg v1.2.4-0.20191023234045-a093ce14b31d/go.mod h1:+j91MgNXTQW48n4alxy5ylS12NkJqqMmtZ8El8sfwek= -github.com/turnage/graw v0.0.0-20191104042329-405cc3092119/go.mod h1:mCzFVBigviR4gb9WRHCFEZ4Z8eWB1dGz+fzLOHpkG8I= -github.com/turnage/redditproto v0.0.0-20151223012412-afedf1b6eddb/go.mod h1:GyqJdEoZSNoxKDb7Z2Lu/bX63jtFukwpaTP9ZIS5Ei0= -github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= -github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20190912063710-ac5d2bfcbfe0/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190919044723-0c1ff786ef13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200219091948-cb0a6d8edb6c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 h1:uYVVQ9WP/Ds2ROhcaGPeIdVq0RIXVLwsHlnvJ+cT1So= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12 h1:QyVthZKMsyaQwBTJE04jdNN0Pp5Fn9Qga0mrgxyERQM= -golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 h1:WIoqL4EROvwiPdUtaip4VcDdpZ4kha7wBWZrbVKCIZg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220731174439-a90be440212d h1:Sv5ogFZatcgIMMtBSTTAgMYsicp25MXBubjXNDKwm80= -golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220803195053-6e608f9ce704 h1:Y7NOhdqIOU8kYI7BxsgL38d0ot0raxvcW+EMQU2QrT4= -golang.org/x/sys v0.0.0-20220803195053-6e608f9ce704/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220804182731-e052cef7d300 h1:ymzm2lKPkdNE1FM0FAss9EdyGB+YzDN2P3jMJODYr2M= -golang.org/x/sys v0.0.0-20220804182731-e052cef7d300/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220804214406-8e32c043e418 h1:9vYwv7OjYaky/tlAeD7C4oC9EsPTlaFl1H2jS++V+ME= -golang.org/x/sys v0.0.0-20220804214406-8e32c043e418/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664 h1:v1W7bwXHsnLLloWYTVEdvGvA7BHMeBYsPcF0GLDxIRs= -golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220818161305-2296e01440c6 h1:Sx/u41w+OwrInGdEckYmEuU5gHoGSL4QbDz3S9s6j4U= -golang.org/x/sys v0.0.0-20220818161305-2296e01440c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec h1:BkDtF2Ih9xZ7le9ndzTA7KJow28VbQW3odyk/8drmuI= -golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 h1:NusfzzA6yGQ+ua51ck7E3omNUX/JuqbFSaRGqU8CcLI= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190917162342-3b4f30a44f3b/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191203233240-b1451cf3445b/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191203220235-3fa9dbf08042/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/gcfg.v1 v1.2.3 h1:m8OOJ4ccYHnx2f4gQwpno8nAX5OGOh7RLaaz0pj3Ogs= -gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod h1:nsR8qBOg+OucoIW+WMhB3GspUQXq9XorLnQb9XtvcOo= -gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod h1:m3v+5svpVOhtFAP/wSz+yzh4Mc0Fg7eRhxkJMWSIz9Q= -gopkg.in/jcmturner/goidentity.v3 v3.0.0/go.mod h1:oG2kH0IvSYNIu80dVAyu/yoefjq1mNfM5bm88whjWx4= -gopkg.in/jcmturner/gokrb5.v7 v7.2.3/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= -gopkg.in/jcmturner/gokrb5.v7 v7.3.0/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= -gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8= -gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/dockerfiles/ingesters/Dockerfile b/dockerfiles/ingesters/Dockerfile index 518e239..1fbc575 100644 --- a/dockerfiles/ingesters/Dockerfile +++ b/dockerfiles/ingesters/Dockerfile @@ -1,27 +1,11 @@ FROM busybox:latest MAINTAINER training@gravwell.io -COPY simple_relay.sh /tmp/simple_relay.sh -COPY file_follow.sh /tmp/file_follow.sh -COPY netflow.sh /tmp/netflow.sh -COPY network_capture.sh /tmp/network_capture.sh -COPY federator.sh /tmp/federator.sh -COPY jsonGenerator /opt/gravwell/bin/ -COPY csvGenerator /opt/gravwell/bin +COPY gravwellGenerator /opt/gravwell/bin/ COPY reimport /opt/gravwell/bin -COPY simple_relay.conf /tmp/simple_relay.conf -COPY file_follow.conf /tmp/file_follow.conf -COPY federator.conf /tmp/federator.conf -COPY network_capture.conf /tmp/network_capture.conf - COPY zoneinfo /usr/share/zoneinfo -RUN /bin/sh /tmp/simple_relay.sh --no-questions --no-start --no-crash-report --use-config /tmp/simple_relay.conf -RUN /bin/sh /tmp/file_follow.sh --no-questions --no-start --no-crash-report --use-config /tmp/file_follow.conf -RUN /bin/sh /tmp/netflow.sh --no-questions --no-start --no-crash-report -RUN /bin/sh /tmp/network_capture.sh --no-questions --no-start --no-crash-report --use-config /tmp/network_capture.conf -RUN /bin/sh /tmp/federator.sh --no-questions --no-start --no-crash-report --use-config /tmp/federator.conf ENV GRAVWELL_INGEST_AUTH=IngestSecrets ENV GRAVWELL_INGEST_SECRET=IngestSecrets ENV GRAVWELL_CONTROL_AUTH=ControlSecrets diff --git a/dockerfiles/ingesters/run.sh b/dockerfiles/ingesters/run.sh index 968a422..3827b88 100644 --- a/dockerfiles/ingesters/run.sh +++ b/dockerfiles/ingesters/run.sh @@ -1,73 +1,12 @@ #!/bin/bash -if [ "$VER" == "" ]; then - echo "Missing version" - exit -1 -fi - -SIMPLE_RELAY=/tmp/gravwell_simple_relay_installer_$VER.sh -FILE_FOLLOW=/tmp/gravwell_file_follow_installer_$VER.sh -NETFLOW=/tmp/gravwell_netflow_capture_installer_$VER.sh -PCAP=/tmp/gravwell_network_capture_installer_$VER.sh -FEDERATOR=/tmp/gravwell_federator_installer_$VER.sh -if [ "$FILE_FOLLOW" == "" ]; then - echo "File follower missing" - exit -1 -fi -if [ "$SIMPLE_RELAY" == "" ]; then - echo "simple relay missing" - exit -1 -fi -if [ "$NETFLOW" == "" ]; then - echo "netflow missing" - exit -1 -fi -if [ "$PCAP" == "" ]; then - echo "network_capture missing" - exit -1 -fi -if [ "$FEDERATOR" == "" ]; then - echo "federator missing" - exit -1 -fi - -if [ ! -f "$FILE_FOLLOW" ]; then - echo "$FILE_FOLLOW is not a file" - exit -1 -fi - -if [ ! -f "$SIMPLE_RELAY" ]; then - echo "$SIMPLE_RELAY is not a file" - exit -1 -fi -if [ ! -f "$NETFLOW" ]; then - echo "$NETFLOW is not a file" - exit -1 -fi -if [ ! -f "$PCAP" ]; then - echo "$PCAP is not a file" - exit -1 -fi -if [ ! -f "$FEDERATOR" ]; then - echo "$FEDERATOR is not a file" - exit -1 -fi -cp $SIMPLE_RELAY simple_relay.sh -cp $FILE_FOLLOW file_follow.sh -cp $NETFLOW netflow.sh -cp $PCAP network_capture.sh -cp $FEDERATOR federator.sh cp -r /usr/share/zoneinfo . -# Install the JSON generator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/jsonGenerator -cp $GOPATH/bin/jsonGenerator . - -# Install the CSV generator -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/csvGenerator -cp $GOPATH/bin/csvGenerator . +# Install the generator +CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/generators/gravwellGenerator@dev +cp $GOPATH/bin/gravwellGenerator . # Build the reimport ingester -GO111MODULE=on CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/ingesters/reimport +CGO_ENABLED=0 go install --ldflags "-w -s" github.com/gravwell/gravwell/v3/ingesters/reimport@dev cp $GOPATH/bin/reimport . @@ -76,12 +15,6 @@ docker build -t gravwell:ingesters --no-cache . docker save gravwell:ingesters | gzip > $TGT echo "Ingesters image is at $TGT" -rm simple_relay.sh -rm file_follow.sh -rm netflow.sh -rm network_capture.sh -rm federator.sh -rm jsonGenerator -rm csvGenerator +rm gravwellGenerator rm reimport rm -r zoneinfo diff --git a/dockerfiles/netflow/Dockerfile b/dockerfiles/netflow/Dockerfile new file mode 100644 index 0000000..4b8a719 --- /dev/null +++ b/dockerfiles/netflow/Dockerfile @@ -0,0 +1,9 @@ +ARG VER=latest +FROM gravwell/netflow_capture:${VER} +MAINTAINER training@gravwell.io + +ENV GRAVWELL_INGEST_AUTH=IngestSecrets +ENV GRAVWELL_INGEST_SECRET=IngestSecrets +ENV GRAVWELL_CONTROL_AUTH=ControlSecrets +ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets +CMD ["/opt/gravwell/bin/gravwell_netflow_capture"] diff --git a/dockerfiles/netflow/run.sh b/dockerfiles/netflow/run.sh new file mode 100644 index 0000000..87a8f44 --- /dev/null +++ b/dockerfiles/netflow/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +if [ "$VER" == "" ]; then + echo "Missing version" + exit -1 +fi +cp -r /usr/share/zoneinfo . + +TGT="/tmp/netflow.tar.gz" +docker build -t gravwell:netflow --no-cache --build-arg VER=$VER . +docker save gravwell:netflow | gzip > $TGT +echo "netflow image is at $TGT" + +rm -rf zoneinfo diff --git a/dockerfiles/nflowgen/run.sh b/dockerfiles/nflowgen/run.sh index 4547fc9..035ee60 100644 --- a/dockerfiles/nflowgen/run.sh +++ b/dockerfiles/nflowgen/run.sh @@ -1,23 +1,8 @@ #!/bin/bash set -e TGT="/tmp/nflow.tar.gz" -go get -u github.com/nerdalert/nflow-generator -CGO_ENABLED=0 go install --ldflags "-w -s" github.com/nerdalert/nflow-generator -NFGEN=$(readlink -f $GOPATH/bin/nflow-generator) - -if [ ! -f "$NFGEN" ]; then - echo "couldn't get/build the nflow-generator $NFGEN" - exit -1 -fi - -cp $NFGEN . - -docker build -t networkstatic/nflow-generator:latest . -echo "done building" +docker pull networkstatic/nflow-generator:latest docker save networkstatic/nflow-generator:latest | gzip > $TGT echo "Done saving" -docker rmi networkstatic/nflow-generator:latest -rm -f nflow-generator -echo "done cleaning" echo "your image is at $TGT" diff --git a/dockerfiles/offlinereplication/run.sh b/dockerfiles/offlinereplication/run.sh index cdac13e..04628d6 100644 --- a/dockerfiles/offlinereplication/run.sh +++ b/dockerfiles/offlinereplication/run.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -go install github.com/gravwell/gencert +CGO_ENABLED=0 go install github.com/gravwell/gencert@latest TGT="/tmp/offlinereplication.tar.gz" $GOPATH/bin/gencert -host offlinereplicator docker build -t gravwell:offlinereplication --build-arg VER=$VER . diff --git a/dockerfiles/pcap/run.sh b/dockerfiles/pcap/run.sh index 24a94fc..061dc51 100644 --- a/dockerfiles/pcap/run.sh +++ b/dockerfiles/pcap/run.sh @@ -4,16 +4,6 @@ if [ "$VER" == "" ]; then echo "Missing version" exit -1 fi -PCAP=/tmp/gravwell_network_capture_installer_$VER.sh -if [ "$PCAP" == "" ]; then - echo "network_capture missing" - exit -1 -fi -if [ ! -f "$PCAP" ]; then - echo "$PCAP is not a file" - exit -1 -fi -cp $PCAP network_capture.sh cp -r /usr/share/zoneinfo . TGT="/tmp/pcap.tar.gz" @@ -21,5 +11,4 @@ docker build -t gravwell:pcap --no-cache . docker save gravwell:pcap | gzip > $TGT echo "PCAP image is at $TGT" -rm network_capture.sh rm -rf zoneinfo diff --git a/dockerfiles/permissions/.gitignore b/dockerfiles/permissions/.gitignore deleted file mode 100644 index d4004a7..0000000 --- a/dockerfiles/permissions/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.swp -gravwell_*.sh -manager diff --git a/dockerfiles/permissions/Dockerfile b/dockerfiles/permissions/Dockerfile deleted file mode 100644 index c13d571..0000000 --- a/dockerfiles/permissions/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM ubuntu:latest -MAINTAINER training@gravwell.io -ARG MANAGE_CONF=manager.cfg -ARG CONF=gravwell.conf -ARG INSTALLER=gravwell_installer.sh -ARG MANAGE=/tmp/manager -ARG LICENSE=license - -RUN apt update -RUN apt install -y libcap2 libcap2-bin -RUN apt clean -RUN apt autoclean -RUN rm -rf /var/lib/apt/lists/* - -COPY $INSTALLER /tmp/installer.sh -RUN /bin/bash /tmp/installer.sh --no-questions -RUN rm -f /tmp/installer.sh -RUN usermod -u 1000 gravwell -RUN groupmod -g 1000 gravwell - -COPY $MANAGE_CONF /opt/gravwell/etc/ -COPY $MANAGE /opt/gravwell/bin/ -COPY $CONF /opt/gravwell/etc/ -COPY $LICENSE /opt/gravwell/etc/license - -RUN chown gravwell:gravwell -R /opt/gravwell -RUN /sbin/setcap cap_net_bind_service=+ep /opt/gravwell/bin/gravwell_webserver -USER 1000:1000 - -ENV GRAVWELL_INGEST_AUTH=IngestSecrets -ENV GRAVWELL_INGEST_SECRET=IngestSecrets -ENV GRAVWELL_CONTROL_AUTH=ControlSecrets -ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets -ENV GRAVWELL_PIPE_TARGETS="/opt/gravwell/comms/pipe" -CMD ["/opt/gravwell/bin/manager"] diff --git a/dockerfiles/permissions/README b/dockerfiles/permissions/README deleted file mode 100644 index bd359de..0000000 --- a/dockerfiles/permissions/README +++ /dev/null @@ -1,8 +0,0 @@ -This creates the base gravwell image that has ONLY the indexer, webserver, and search agent. - -We also create a user and group with UID/GID 1000/1000 named gravwell/gravwell. -Each component should have the appropriate user and group permissions - -We dont' have a crash reporter or ingester, or gencert. Its designed to be extremely small - -The gravwell.conf file only has a default well diff --git a/dockerfiles/permissions/gravwell.conf b/dockerfiles/permissions/gravwell.conf deleted file mode 100644 index 77440ff..0000000 --- a/dockerfiles/permissions/gravwell.conf +++ /dev/null @@ -1,31 +0,0 @@ -[global] -### Authentication tokens - -### Web server HTTP/HTTPS settings -Web-Port=80 -Insecure-Disable-HTTPS=true -#Web-Port=443 -#Certificate-File=/opt/gravwell/etc/cert.pem -#Key-File=/opt/gravwell/etc/key.pem - -### Other web server settings -Remote-Indexers=net:127.0.0.1:9404 -Persist-Web-Logins=True -Session-Timeout-Minutes=1440 -Login-Fail-Lock-Count=4 -Login-Fail-Lock-Duration=5 - -### Ingester settings -Ingest-Port=4023 -#TLS-Ingest-Port=4024 # This requires TLS certs be installed! -Control-Port=9404 -Search-Pipeline-Buffer-Size=4 - -### Other settings -Log-Level=INFO - -### Paths -License-Location=/opt/gravwell/etc/license - -[Default-Well] - Location=/opt/gravwell/storage/default/ diff --git a/dockerfiles/permissions/manager.cfg b/dockerfiles/permissions/manager.cfg deleted file mode 100644 index 8a163bb..0000000 --- a/dockerfiles/permissions/manager.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[Global] - Log-File=/opt/gravwell/log/manager.log - Log-Level=INFO - -[Process "indexer"] - Exec="/opt/gravwell/bin/gravwell_indexer -stderr indexer" - Working-Dir=/opt/gravwell - Max-Restarts=100 - CoolDown-Period=1 - Restart-Period=1 - -[Process "webserver"] - Exec="/opt/gravwell/bin/gravwell_webserver -stderr webserver" - Working-Dir=/opt/gravwell - Max-Restarts=100 - CoolDown-Period=1 - Restart-Period=1 - -[Process "searchagent"] - Exec="/opt/gravwell/bin/gravwell_searchagent -stderr searchagent" - Working-Dir=/opt/gravwell - Max-Restarts=100 - CoolDown-Period=1 - Restart-Period=1 diff --git a/dockerfiles/permissions/run.sh b/dockerfiles/permissions/run.sh deleted file mode 100644 index 518b3ac..0000000 --- a/dockerfiles/permissions/run.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -if [ "$VER" == "" ]; then - echo "Missing version" - exit -1 -fi -rm -f license - -TGT="/tmp/perms.tar.gz" -INSTALLER="/tmp/gravwell_$VER.sh" -if [ ! -f "$LICENSE" ]; then - echo "I need the training license, set LICENSE variable" - exit -1 -fi -if [ ! -f "$INSTALLER" ]; then - echo "$INSTALLER is not a valid file" - echo "EXAMPLE: bash build.sh /tmp/gravwell_2.2.8.sh" - exit -1 -fi -SQUASH="--squash" -exp=`docker version -f '{{.Server.Experimental}}'` -if [ "$exp" == "false" ]; then - echo "your docker instance isn't running with experimental features" - echo "We need this in order to squash the image during build" - SQUASH="" -fi -GO111MODULE=on CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gravwell/gravwell/v3/manager -cp $GOPATH/bin/manager . -installer=$(basename $INSTALLER) -cp $INSTALLER $installer - -cp $LICENSE license - -docker build --no-cache --shm-size=256m $SQUASH --ulimit nofile=32000:32000 \ - --compress --build-arg INSTALLER=$installer \ - --build-arg MANAGE=manager \ - --build-arg MANAGE_CONF=manager.cfg \ - --build-arg LICENSE=license \ - -t gravwell:perms . - -docker save gravwell:perms | gzip > $TGT -rm manager -rm -f license -echo "Base image is at $TGT" diff --git a/dockerfiles/simplerelay/Dockerfile b/dockerfiles/simplerelay/Dockerfile new file mode 100644 index 0000000..1a8fdfb --- /dev/null +++ b/dockerfiles/simplerelay/Dockerfile @@ -0,0 +1,10 @@ +ARG VER=latest +FROM gravwell/simple_relay:${VER} +MAINTAINER training@gravwell.io +COPY simple_relay.conf /opt/gravwell/etc/ + +ENV GRAVWELL_INGEST_AUTH=IngestSecrets +ENV GRAVWELL_INGEST_SECRET=IngestSecrets +ENV GRAVWELL_CONTROL_AUTH=ControlSecrets +ENV GRAVWELL_SEARCHAGENT_AUTH=SearchAgentSecrets +CMD ["/opt/gravwell/bin/gravwell_simple_relay"] diff --git a/dockerfiles/simplerelay/run.sh b/dockerfiles/simplerelay/run.sh new file mode 100644 index 0000000..67f6c94 --- /dev/null +++ b/dockerfiles/simplerelay/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +if [ "$VER" == "" ]; then + echo "Missing version" + exit -1 +fi +cp -r /usr/share/zoneinfo . + +TGT="/tmp/simplerelay.tar.gz" +docker build -t gravwell:simplerelay --no-cache --build-arg VER=$VER . +docker save gravwell:simplerelay | gzip > $TGT +echo "simplerelay image is at $TGT" + +rm -rf zoneinfo diff --git a/dockerfiles/simplerelay/simple_relay.conf b/dockerfiles/simplerelay/simple_relay.conf new file mode 100644 index 0000000..8feab4c --- /dev/null +++ b/dockerfiles/simplerelay/simple_relay.conf @@ -0,0 +1,7 @@ +[Global] +Log-Level=INFO + +[Listener "default"] + Bind-String="0.0.0.0:7777" #we are binding to all interfaces, with TCP implied + Ignore-Timestamps=true + Tag-Name=default