Commit Graph

10 Commits

Author SHA1 Message Date
Jeffrey Martin
72516dc014
Land #490, allow all loopback traffic 2020-10-29 14:15:15 -05:00
Dave Eargle
49f6ada4d8 allow all loopback traffic
see 
https://github.com/rapid7/metasploitable3/pull/458#issuecomment-702942817
2020-10-02 17:08:16 -04:00
Sliim
11423795a9 Allow ICMP protocol for linux machine
Required for setup_linux_share.bat provisioning script on the windows
machine. Fix #393
2020-10-02 15:29:27 -04:00
Dave Eargle
6a9693e97e move firewall rules into respective recipes 2019-10-30 21:53:17 -06:00
Dave Eargle
5bb3dbf353 refactor iptables recipe and knockd to use iptables cookbook, which auto-provides persistence. 2019-10-30 18:31:27 -06:00
Dave Eargle
72dc282aa0 ub1404 dev workflow
Tweaks to the recipes to avoid repetition of work, and ub1404 dev,
* let apt cookbook handle apt-update globally
* do not download, configure, make, make install if the package is
already installed
* add guards for file deletion to first check whether file is present
* use docker cookbook for image building and running, to only build if
not alrady built and only run if not already running
* drop mysql table and recreate each time

Also,
* bump Docker cookbook to 4.9.3
* bump mysql cookbook to 8.5.1
* add apt cookbook for better apt-update management
* bump depends versions and add apt
* modify readme with customization instructions
* modify all chef runlists to call apt first in the runlist
* add a vagrantfile for dev of ub1404
2019-10-29 13:36:27 -06:00
James Barnett
520c0564be Build Linux VM in packer.
This makes some other changes:
* Moves packer related files to packer directory.
* Updates build scripts for new packer directory.
* Renames boxes to metasploitabl3-<OS>
2017-07-31 15:48:27 -05:00
James Barnett
6fd0a57fdf Configure iptables for other services. 2017-07-06 17:08:33 -05:00
James Barnett
fc336a5f1b Configure other services in iptables 2017-07-06 14:52:39 -05:00
James Barnett
5bbed5387e Add five_of_diamonds flag
This flag is hidden within a binary that runs a webservice on a given port.
The port is blocked until the correct port knocking sequence is initiated.
The default port sequence is all of the user's salary numbers.

The commit also moves a lot of values that were previously in recipes into
attributes files for easier maintaining going forward.
2017-06-30 14:47:30 -05:00