tschettervictor
3f23ccb2c3
shellcheck disable 2106
2025-05-04 12:42:58 -06:00
tschettervictor
39ed1aaec6
Initial commit for subshell parallel mode
2025-05-04 12:11:16 -06:00
tschettervictor
7cdbc5b79d
common: Add 'bastille_network_vnet_type' default if not present
2025-05-02 11:59:42 -06:00
tschettervictor
fb05c2013e
fix moving to new file
2025-05-02 11:01:26 -06:00
tschettervictor
deacd775e5
boot file to settings file change
2025-05-02 10:27:00 -06:00
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
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
feaf8c792b
print blank line after last jail
2025-04-29 20:48:11 -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
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
ac7ffe4b0a
Update common.sh
2025-04-26 11:02:39 -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
82d3a18366
Update common.sh
2025-04-16 20:02:41 -06:00
tschettervictor
aa411d26d0
common: Better epair searching
2025-04-16 19:12:33 -06:00
tschettervictor
deab7e39f7
keep grep errors silent
2025-04-16 17:52:32 -06:00
tschettervictor
745f312681
fix epair listing again
2025-04-16 17:48:39 -06:00
tschettervictor
dd2a56af6d
epair: Use full list
2025-04-16 17:22:51 -06:00
tschettervictor
2251628867
fix one last count
2025-04-16 17:03:22 -06:00
tschettervictor
4d9d1d1050
fix bastille listing
2025-04-16 16:35:39 -06:00
tschettervictor
0590253acb
fix epair listin
2025-04-16 16:30:12 -06:00
tschettervictor
741d2c6e12
fix shellcheck
2025-04-16 16:10:09 -06:00
tschettervictor
c2b756219c
Force config file in default location
...
This will prevent errors when bastille gathers the number of epairs on the system.
2025-04-16 16:08:17 -06:00
tschettervictor
0fe4bec89f
common: Add function to count epairs
2025-04-16 15:57:07 -06:00
tschettervictor
d5deb9bd1b
Fix epair numbering when mixing -V and -B jails on one systme
2025-04-16 12:07:15 -06:00
tschettervictor
e3dddd25e7
Merge branch 'master' into priority-add
2025-03-26 23:30:38 -06:00
Barry McCormick
ee62485178
Merge pull request #895 from tschettervictor/custom-config
...
bastille: Support user based config
2025-03-26 22:24:41 -07:00
tschettervictor
87bcd57c79
Update common.sh
2025-03-19 15:25:15 -06:00
tschettervictor
afb233ab12
Update common.sh
2025-03-19 15:04:24 -06:00
tschettervictor
3c88a0bcc2
fix listing priority again
2025-03-19 10:48:26 -06:00
tschettervictor
eaacab6e7e
fix listing jail priority
2025-03-19 10:24:50 -06:00
tschettervictor
601d120d76
fix blank after jail name
2025-03-19 05:59:22 -06:00
tschettervictor
963c13a047
Fix quotes
2025-03-17 20:02:07 -06:00
tschettervictor
b843b2c100
priority: Use priority list for all comm
2025-03-17 19:54:34 -06:00
tschettervictor
f449cd4fd9
common: Show vnetX interface for multiple interfaces
2025-03-11 14:18:28 -06:00
tschettervictor
d1156cbb05
common: typo and trailing whitespace
2025-03-02 13:19:26 -07:00
tschettervictor
454288b2b1
bastille: Load config only from commons.sh
...
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
b5611e9196
common: Load config as variable
2025-03-01 20:03:03 -07:00
tschettervictor
b09ee86037
Fix shellcheck
2025-03-01 18:51:17 -07:00
tschettervictor
6ba11dc762
bastille: Support user based config
...
This PR will allow bastille to be configured based on the user you run as.
To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
2025-03-01 18:48:14 -07:00