Skip to content

Commit

Permalink
Merge pull request #1378 from cglewis/master
Browse files Browse the repository at this point in the history
release v0.7.5
  • Loading branch information
cglewis authored Oct 11, 2019
2 parents b383989 + 6811d61 commit aa7c5e5
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 45 deletions.
18 changes: 9 additions & 9 deletions .vent_startup.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
https://github.com/cyberreboot/vent:
file_drop:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
network_tap:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
rabbitmq:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
redis:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
rq_dashboard:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
rq_worker:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
settings:
instances: 4
syslog:
branch: v0.9.12
branch: v0.9.13
build: yes
start: yes
https://github.com/cyberreboot/poseidon:
'@':
branch: v0.7.4
branch: v0.7.5
build: yes
start: yes
api:
branch: v0.7.4
branch: v0.7.5
build: yes
start: yes
https://github.com/cyberreboot/vent-plugins:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# v0.7.5 (2019-10-11)

- Updated versions of prometheus, pytest-cov, pytest, grafana, and redis
- Fixed some typos in the documentation
- Added a warning about max time between investigations
- Added ACLs to the CLI and the API
- Using ipaddress library for ip addresses now
- Added pytype checks
- Fixed filtering for ipv4/ipv6 in the CLI

# v0.7.4 (2019-10-03)

- Fix key checks for automated ACLs
Expand Down
44 changes: 22 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ build_debian:
cp .vent_startup.yml installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R .git installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R bin/* installers/debian/$(TAG)-$(VERSION)/usr/bin/
docker pull cyberreboot/vent:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.12
docker pull cyberreboot/vent:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.13

docker pull cyberreboot/vent-file-drop:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-file-drop.tar cyberreboot/vent-file-drop:v0.9.12
docker pull cyberreboot/vent-network-tap:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-network-tap.tar cyberreboot/vent-network-tap:v0.9.12
docker pull cyberreboot/vent-rabbitmq:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar cyberreboot/vent-rabbitmq:v0.9.12
docker pull cyberreboot/vent-redis:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-redis.tar cyberreboot/vent-redis:v0.9.12
docker pull cyberreboot/vent-rq-dashboard:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar cyberreboot/vent-rq-dashboard:v0.9.12
docker pull cyberreboot/vent-rq-worker:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-worker.tar cyberreboot/vent-rq-worker:v0.9.12
docker pull cyberreboot/vent-syslog:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-syslog.tar cyberreboot/vent-syslog:v0.9.12
docker pull cyberreboot/poseidon:v0.7.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon.tar cyberreboot/poseidon:v0.7.4
docker pull cyberreboot/poseidon-api:v0.7.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon-api.tar cyberreboot/poseidon-api:v0.7.4
docker pull cyberreboot/vent-file-drop:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-file-drop.tar cyberreboot/vent-file-drop:v0.9.13
docker pull cyberreboot/vent-network-tap:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-network-tap.tar cyberreboot/vent-network-tap:v0.9.13
docker pull cyberreboot/vent-rabbitmq:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar cyberreboot/vent-rabbitmq:v0.9.13
docker pull cyberreboot/vent-redis:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-redis.tar cyberreboot/vent-redis:v0.9.13
docker pull cyberreboot/vent-rq-dashboard:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar cyberreboot/vent-rq-dashboard:v0.9.13
docker pull cyberreboot/vent-rq-worker:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-rq-worker.tar cyberreboot/vent-rq-worker:v0.9.13
docker pull cyberreboot/vent-syslog:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-syslog.tar cyberreboot/vent-syslog:v0.9.13
docker pull cyberreboot/poseidon:v0.7.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon.tar cyberreboot/poseidon:v0.7.5
docker pull cyberreboot/poseidon-api:v0.7.5
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-poseidon-api.tar cyberreboot/poseidon-api:v0.7.5
docker pull cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.4
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent-plugins-pcap-to-node-pcap.tar cyberreboot/vent-plugins-pcap-to-node-pcap:v0.1.4
docker pull cyberreboot/vent-plugins-p0f:v0.1.4
Expand Down Expand Up @@ -91,8 +91,8 @@ build_debian_net:
cp .vent_startup.yml installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R .git installers/debian/$(TAG)-$(VERSION)/opt/poseidon/
cp -R bin/* installers/debian/$(TAG)-$(VERSION)/usr/bin/
docker pull cyberreboot/vent:v0.9.12
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.12
docker pull cyberreboot/vent:v0.9.13
docker save -o installers/debian/$(TAG)-$(VERSION)/opt/poseidon/dist/cyberreboot-vent.tar cyberreboot/vent:v0.9.13

mkdir -p dist
docker build -t poseidon-dpkg --build-arg PKG_NAME=poseidon-net -f Dockerfile.dpkg .
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ NEW: If you have used the .DEB installer previously, it is worth noting that Pos
After installation you'll have a new command `poseidon` available for looking at the status, logs, changing the configuration, or stopping and starting the service.
```
$ poseidon help
Poseidon 0.7.4, an application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. For more info visit: https://github.com/CyberReboot/poseidon
Poseidon 0.7.5, an application that leverages software defined networks (SDN) to acquire and then feed network traffic to a number of machine learning techniques. For more info visit: https://github.com/CyberReboot/poseidon
Usage: poseidon [option]
Options:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.4
0.7.5
2 changes: 1 addition & 1 deletion bin/poseidon
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function check_args()
echo "Checking volumes..."
check_files
echo "Starting Poseidon..."
docker run -dit --rm -v /var/run/docker.sock:/var/run/docker.sock -v /opt/vent_files:/opt/vent_files -v /opt/poseidon/.plugin_config.yml:/root/.plugin_config.yml -v /opt/poseidon/.vent_startup.yml:/root/.vent_startup.yml --env-file /etc/poseidon/default.conf --name vent cyberreboot/vent:v0.9.12
docker run -dit --rm -v /var/run/docker.sock:/var/run/docker.sock -v /opt/vent_files:/opt/vent_files -v /opt/poseidon/.plugin_config.yml:/root/.plugin_config.yml -v /opt/poseidon/.vent_startup.yml:/root/.vent_startup.yml --env-file /etc/poseidon/default.conf --name vent cyberreboot/vent:v0.9.13
until [ "$(docker ps -q -f name=-poseidon-)" ] && [ "$(docker ps -q -f name=-poseidon- | head -1 | xargs docker container inspect -f \{\{.State.Health.Status\}\})" = "healthy" ]
do
# TODO do more checks and be verbose in here
Expand Down
2 changes: 1 addition & 1 deletion installers/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: poseidon
Version: 0.7.4
Version: 0.7.5
Section: base
Priority: optional
Architecture: all
Expand Down
20 changes: 10 additions & 10 deletions installers/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -239,52 +239,52 @@ if db_go; then

# load or pull required images
if [ ! -f /opt/poseidon/dist/cyberreboot-vent.tar ]; then
docker pull cyberreboot/vent:v0.9.12
docker pull cyberreboot/vent:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-file-drop.tar ]; then
docker pull cyberreboot/vent-file-drop:v0.9.12
docker pull cyberreboot/vent-file-drop:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-file-drop.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-network-tap.tar ]; then
docker pull cyberreboot/vent-network-tap:v0.9.12
docker pull cyberreboot/vent-network-tap:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-network-tap.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar ]; then
docker pull cyberreboot/vent-rabbitmq:v0.9.12
docker pull cyberreboot/vent-rabbitmq:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rabbitmq.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-redis.tar ]; then
docker pull cyberreboot/vent-redis:v0.9.12
docker pull cyberreboot/vent-redis:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-redis.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar ]; then
docker pull cyberreboot/vent-rq-dashboard:v0.9.12
docker pull cyberreboot/vent-rq-dashboard:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rq-dashboard.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-rq-worker.tar ]; then
docker pull cyberreboot/vent-rq-worker:v0.9.12
docker pull cyberreboot/vent-rq-worker:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-rq-worker.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-vent-syslog.tar ]; then
docker pull cyberreboot/vent-syslog:v0.9.12
docker pull cyberreboot/vent-syslog:v0.9.13
else
docker load -i /opt/poseidon/dist/cyberreboot-vent-syslog.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon.tar ]; then
docker pull cyberreboot/poseidon:v0.7.4
docker pull cyberreboot/poseidon:v0.7.5
else
docker load -i /opt/poseidon/dist/cyberreboot-poseidon.tar
fi
if [ ! -f /opt/poseidon/dist/cyberreboot-poseidon-api.tar ]; then
docker pull cyberreboot/poseidon-api:v0.7.4
docker pull cyberreboot/poseidon-api:v0.7.5
else
docker load -i /opt/poseidon/dist/cyberreboot-poseidon-api.tar
fi
Expand Down

0 comments on commit aa7c5e5

Please sign in to comment.