Commit Graph

1461 Commits

Author SHA1 Message Date
tschettervictor
9d93888d7e list: Print IP also 2025-04-29 07:47:40 -06:00
tschettervictor
e5de1abfb5 list: Fix listing MAX_LENGTH_JAIL_IP + add state,path,ports 2025-04-29 07:34:13 -06:00
tschettervictor
86ad3ec3bb list: Add states 2025-04-28 20:49:19 -06:00
tschettervictor
e627ff7eca dont list local ipv6 2025-04-28 20:22:41 -06:00
tschettervictor
c2a7fd3672 list: Only lost ip4 on down jail VNET 2025-04-28 19:57:25 -06:00
tschettervictor
937c3f12bc list: Add path list also 2025-04-28 18:43:15 -06:00
tschettervictor
e996ea1e12 fix listing JSON with multiple IPs 2025-04-28 18:14:09 -06:00
tschettervictor
c7e90416f5 list: Final draft 2025-04-28 18:08:35 -06:00
tschettervictor
c1d0d28d6a Fix shell check again 2025-04-28 15:54:23 -06:00
tschettervictor
f1fd20e296 Fix shell check 2025-04-28 15:51:25 -06:00
tschettervictor
9ac1a10ce2 lsit: Refactor code 2025-04-28 15:39:53 -06:00
tschettervictor
019ff3dd1f list: First draft of using config to get variables 2025-04-27 20:03:43 -06:00
tschettervictor
a168505223 restart: Pass only options that are allowed to stop 2025-04-26 20:36:17 -06:00
tschettervictor
c43a9e054a restart: Exit if not only 1 arg 2025-04-26 20:20:05 -06:00
tschettervictor
f4ab5aea98 restart: Only restart jail that are already running 2025-04-26 20:15:04 -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
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
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
tschettervictor
601cd1c9cb fix shellcheck 2025-04-21 17:24:59 -06:00
tschettervictor
4feef07ca7 bootstrap: Bugfix when bootstrapping single template 2025-04-21 17:18:04 -06:00
tschettervictor
511c6dbd23 bootstrap: Fix verify 2025-04-21 17:13:25 -06:00
tschettervictor
fb3d300779 bootstrap: Fix cloning single template 2025-04-21 17:10:30 -06:00
tschettervictor
4cd63e5057 verify: Fix wrong var name when removing wrong template 2025-04-21 17:05:26 -06:00
tschettervictor
78764e581c fix shellcheck 2025-04-21 16:58:32 -06:00
tschettervictor
6888212953 fix shellcheck 2025-04-21 16:50:25 -06:00