<commit_before>#/usr/bin/env bash

# Kippo

docker rm -f kippo
#docker pull andrewmichaelsmith/docker-kippo
#docker run -d --publish-all --name kippo andrewmichaelsmith/docker-kippo
docker run -d --publish-all --name kippo docker_kippo

# Dionaea
##
## Well hacky. We stick dionaea on --net host
## so it gets all the ports on the host and
## then in the image forward 22 -> Kippo Container
##
docker rm -f dionaea
#docker pull andrewmichaelsmith/docker-dionaea
#docker run -d --publish-all --name dionaea andrewmichaelsmith/docker-dionaea
docker run --link kippo:kippo --net host -d --publish-all --name dionaea docker_dionaea
<commit_msg>Just explicitly expose ports. TODO: UDP<commit_after>#/usr/bin/env bash

# Kippo

docker rm -f kippo
#docker pull andrewmichaelsmith/docker-kippo
#docker run -d --publish-all --name kippo andrewmichaelsmith/docker-kippo
docker run -d -p 22:2222 --name kippo docker_kippo

# Dionaea
##
## Well hacky. We stick dionaea on --net host
## so it gets all the ports on the host and
## then in the image forward 22 -> Kippo Container
##
docker rm -f dionaea
#docker pull andrewmichaelsmith/docker-dionaea
#docker run -d --publish-all --name dionaea andrewmichaelsmith/docker-dionaea
docker run -d -p 21:21 -p 42:42 -p 80:80 -p 135:135 -p 443:443 -p 445:445 -p 1433:1433 -p 3306:3306 -p 5060:5060 -p 5061:5061 --name dionaea docker_dionaea

{'fraction_non_alphanumeric': 0.10722100656455143, 'fraction_numerical': 0.0525164113785558, 'mean_word_length': 3.763888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2377933', 'n_tokens_mistral': 619, 'n_tokens_neox': 508, 'n_words': 173}