Commit Graph

1497 Commits

Author SHA1 Message Date
tschettervictor
bb47671cf0 half way point 2025-04-30 11:21:41 -06:00
Barry McCormick
984c4a1191 Merge pull request #978 from BastilleBSD/netgraph-support
bastille: Initial support for netgraph
2025-04-30 08:39:11 -07:00
Barry McCormick
0b21a25b1e Merge pull request #984 from BastilleBSD/list-use-config
list: First draft of using config to get variables
2025-04-30 08:27:25 -07:00
tschettervictor
bef2ece965 adjust blank line option 2025-04-30 08:19:50 -06:00
tschettervictor
674c687fcb common: blank line after error_continue 2025-04-29 22:00:54 -06:00
tschettervictor
b73639d8b6 rework blank lines again 2025-04-29 21:58:15 -06:00
tschettervictor
046cf87e79 rework blank line 2025-04-29 21:51:24 -06:00
tschettervictor
557675b3dd one more comment 2025-04-29 21:18:33 -06:00
tschettervictor
99443be746 add _LAST_JAIL to error_continue 2025-04-29 21:16:15 -06:00
tschettervictor
310258f4b4 set _LAST_JAIL in common 2025-04-29 21:08:08 -06:00
tschettervictor
71a9a9a98a common: Dont echo 2025-04-29 20:56:36 -06:00
tschettervictor
7974eb7429 only set _last_jail once 2025-04-29 20:53:27 -06:00
tschettervictor
feaf8c792b print blank line after last jail 2025-04-29 20:48:11 -06:00
tschettervictor
9e0c288445 list: add MAX_LENGTH_VNET_JAIL_IP6 2025-04-29 19:41:54 -06:00
tschettervictor
f423446370 add blank line after each jail on multiple targets 2025-04-29 18:54:34 -06:00
tschettervictor
2ec5a626ee Update list.sh 2025-04-29 07:52:20 -06:00
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
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