Commit Graph

1668 Commits

Author SHA1 Message Date
tschettervictor
f4ab5aea98 restart: Only restart jail that are already running 2025-04-26 20:15:04 -06:00
tschettervictor
9be80bdc75 Merge branch 'master' into netgraph-support 2025-04-26 18:40:59 -06:00
tschettervictor
fe08a6a63e destroy: error_exit > error_continue 2025-04-26 18:40:17 -06:00
tschettervictor
37c55bde52 clone: Start both jails if AUTO=1 2025-04-26 18:38:00 -06:00
tschettervictor
fa4ffa340f we dont need an error_exit twice when validating netconf 2025-04-26 15:01:56 -06:00
tschettervictor
209d800cbb move validate_netconf to common.sh 2025-04-26 14:58:26 -06:00
tschettervictor
d02737a619 network: validate_netconf > validate_netconf_network 2025-04-26 11:40:08 -06:00
tschettervictor
c7243e4e1f create: Fix || > && 2025-04-26 11:36:38 -06:00
tschettervictor
65ebde4ffc clone: Fix || > && 2025-04-26 11:36:01 -06:00
tschettervictor
7225e23af6 create: Change function (validate_netconf) name to differentiate between other commands 2025-04-26 11:32:59 -06:00
tschettervictor
6af5e7c8e0 Update clone.sh 2025-04-26 11:31:08 -06:00
tschettervictor
1c9f715afa Update clone.sh 2025-04-26 11:30:48 -06:00
tschettervictor
e843f97d3b Update create.sh 2025-04-26 11:29:24 -06:00
tschettervictor
015db9a095 Update common.sh 2025-04-26 11:14:19 -06:00
tschettervictor
b50dbe112e Update common.sh 2025-04-26 11:07:44 -06:00
tschettervictor
6191879630 Update create.sh 2025-04-26 11:04:09 -06:00
tschettervictor
ac7ffe4b0a Update common.sh 2025-04-26 11:02:39 -06:00
tschettervictor
b3f4eebfdc create: Exit if network type not set 2025-04-26 10:49:07 -06:00
tschettervictor
8c0b2b887b import: Support netgraph 2025-04-25 20:57:32 -06:00
tschettervictor
51664b34b0 fix _ 2025-04-25 20:50:27 -06:00
tschettervictor
df3285f205 netgraph: Add support for network command 2025-04-25 20:48:37 -06:00
tschettervictor
7e55510e68 netgraph: Add clone, rename 2025-04-25 20:33:09 -06:00
tschettervictor
bf443e8586 bastille: Initial support for netgraph 2025-04-25 14:33:38 -06:00
tschettervictor
11d87a71e2 template: Add comments about warning when ARG not set 2025-04-24 11:05:43 -06:00
tschettervictor
2eda46ee76 template: Only warn on ARG not set 2025-04-24 10:45:26 -06:00
tschettervictor
fffaa41036 create: Only list IPv4 for _gatway 2025-04-24 10:12:56 -06:00
tschettervictor
c16f48db0e template: Don’t show usage on ARG/no value supplied 2025-04-23 21:39:31 -06:00
tschettervictor
963dbe09c9 mount: Create host path if it doesn’t exist 2025-04-23 19:58:09 -06:00
tschettervictor
9633ce3c8f bootstrap: Bugfix when bootstrapping multiple templates 2025-04-23 18:45:19 -06:00
Barry McCormick
ed9ba44035 Merge pull request #919 from BastilleBSD/list-jail-name
list: Do not list Path and Hostname + list Name
2025-04-23 08:49:42 -07:00
Barry McCormick
0c2d16565e Merge pull request #962 from BastilleBSD/tschettervictor-patch-1
New setup command with checking enabled to prevent overwriting existing configurations.  And individual switches to configure specific items individually.
2025-04-23 08:46:13 -07:00
tschettervictor
5dfe7e958c setup: PF > Firewall (pf) 2025-04-22 23:00:22 -06:00
tschettervictor
73480093a9 Update setup.sh 2025-04-22 22:56:14 -06:00
tschettervictor
097ad8395b Update setup.sh 2025-04-22 20:32:53 -06:00
tschettervictor
de4aaf4b7b docs: Update setup 2025-04-22 17:01:33 -06:00
tschettervictor
485889285f typos 2025-04-22 13:31:56 -06:00
tschettervictor
8875ab3d17 setup: fix shellcheck 2025-04-22 13:31:09 -06:00
tschettervictor
bcf7a4462b setup: Onlly allow loopback or shared interface 2025-04-22 13:25:44 -06:00
tschettervictor
283668c0b1 Update setup.sh 2025-04-22 12:59:38 -06:00
tschettervictor
1bc187180d Update setup.sh 2025-04-22 12:55:02 -06:00
tschettervictor
f64a33c231 Update setup.sh 2025-04-22 12:48:45 -06:00
tschettervictor
dc0eedecc0 setup: Add option to create a bridge for bastille 2025-04-22 12:46:36 -06:00
tschettervictor
fc8dc97557 setup: More fixes 2025-04-22 11:16:25 -06:00
tschettervictor
4a1c5343f0 create: Allow jail dir to be mounted under UFS 2025-04-22 10:30:46 -06:00
tschettervictor
93fe3c8e47 destroy: Remove deprecated ref to bastille_list 2025-04-22 09:11:05 -06:00
tschettervictor
72f09edb11 create: Fix spacing 2025-04-22 09:08:42 -06:00
tschettervictor
7e573dde0c temporary setup command fix
This is simply to avoid issues when the setup command might be run over an existing setup.

It will check each setup subcommand and verify it has not already been configured before attempting to run the setup for the relevant setup step.

This is only temporary, as we would like to get a much more advanced setup command integrated in this or below.

#940
2025-04-21 20:38:33 -06:00
Barry McCormick
e332ee92bc Merge pull request #924 from BastilleBSD/parallel-mode
Implement parallel mode
2025-04-21 19:04:03 -07:00
Barry McCormick
07f9fd824e Merge pull request #928 from BastilleBSD/jail-to-release-convert
convert: Allow converting jail to release

tested and works perfectly
2025-04-21 17:40:05 -07:00
tschettervictor
1cc713ec86 list: Only list the relevant template part of the directory 2025-04-21 17:30:16 -06:00