Commit Graph

1134 Commits

Author SHA1 Message Date
tschettervictor
228bb3b8ce cp: update to use new functions in common.sh 2025-01-11 16:44:01 -07:00
tschettervictor
cf3bb4e809 rdr: fix echo code on IPv6 redirection 2025-01-11 16:14:50 -07:00
tschettervictor
780f93ca16 rdr: spacing fix and usage message remove additional ] 2025-01-11 16:07:25 -07:00
tschettervictor
cab6ef8c06 Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-01-11 16:04:03 -07:00
tschettervictor
18a6fecad5 top: remove trailing ;; 2025-01-11 15:40:32 -07:00
tschettervictor
38e0e90e10 htop: add auto mod 2025-01-11 15:40:10 -07:00
tschettervictor
5409d8eab3 top: add auto mode 2025-01-11 15:38:17 -07:00
Juan David Hurtado G
7e90b7072f Update Bastille version to 0.12.20250111
Updated the version references in documentation, configuration, and script files to reflect the latest release.
2025-01-11 17:16:19 -05:00
Juan David Hurtado G
c70cb249dd bastille: Fix typo in prompt message for missing configuration file. 2025-01-11 16:40:31 -05:00
Juan David Hurtado G
c544727d40 bastille: fix sourcing common before the config file check, this ensures setup can run correctly 2025-01-11 15:55:21 -05:00
tschettervictor
e33dd04ad1 mount: Docs, one more typo "on > one" 2025-01-11 12:10:27 -07:00
Juan David Hurtado G
8b0411c111 Add SPDX license identifiers and update copyright years
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
tschettervictor
753c537e52 mount: allow [ro|rw|rq|sw|xx] as available mount options 2025-01-11 12:06:30 -07:00
tschettervictor
fb71f0dda5 mount: allow mount with options behind permissions
Allow mounting with permissions like “rw,other,options” that are needed for tmpfs mounting.
2025-01-10 15:22:31 -07:00
tschettervictor
a3d96003b8 mount: change " -gt 6" > "-gt 7" 2025-01-10 10:22:31 -07:00
tschettervictor
86c5b4928b etcupdate: warn on -d for diff/resolve 2025-01-10 08:56:32 -07:00
tschettervictor
397b13bc23 etcupdate: remove -n option from resolve mode 2025-01-10 00:18:47 -07:00
tschettervictor
cd330363c2 etcupdate: jail var missing 2025-01-10 00:14:25 -07:00
tschettervictor
e405302cec list: fix find command not registering "" properly 2025-01-09 23:45:26 -07:00
tschettervictor
983ffa7014 list: correctly print JID instead of JAILNAME 2025-01-09 23:35:31 -07:00
tschettervictor
f55335e21c common: fix [] 2025-01-09 23:31:23 -07:00
tschettervictor
d1e475e3d1 common: fix brackets [] 2025-01-09 23:30:48 -07:00
tschettervictor
fb145b3441 common: error when jail name is a number 2025-01-09 20:47:39 -07:00
tschettervictor
894e5ef5f6 etcupdate: fix ;; spacing 2025-01-09 16:37:48 -07:00
tschettervictor
cca43cb436 etcupdate: fix “fi” 2025-01-09 16:34:15 -07:00
tschettervictor
8882c23b18 etcupdate: code optimize (usage if no RELEASE) 2025-01-09 16:30:29 -07:00
tschettervictor
e4b5273835 etcupdate: fix accidentally deleted error message 2025-01-09 15:41:23 -07:00
tschettervictor
e6e60a3a32 common: update set_target_single 2025-01-09 15:12:23 -07:00
tschettervictor
b90a83bfb7 etcupdate: help message include diff mode 2025-01-09 15:11:19 -07:00
tschettervictor
6ce41919e4 etcupdate: add diff mode 2025-01-09 15:10:23 -07:00
tschettervictor
9c79f138e7 etcupdate: add resolve mode 2025-01-09 11:37:04 -07:00
tschettervictor
4aff04d037 console: missed check_fib function 2025-01-09 09:22:22 -07:00
tschettervictor
3c49a47f49 console: jail > jail(s) 2025-01-09 09:18:53 -07:00
tschettervictor
18826666d7 common: support single target function error when multi-target selected 2025-01-08 12:59:55 -07:00
tschettervictor
eee99a3b79 rdr: fix _jail > TARGET + alphabetical option order 2025-01-08 10:25:15 -07:00
tschettervictor
2da817e0d4 list: use list command for jail list 2025-01-07 23:16:35 -07:00
tschettervictor
e5f5655828 rdr: Allow only a single target 2025-01-07 23:15:02 -07:00
tschettervictor
b7c861f6f9 rdr: clear > reset notify on duplicate jail rules 2025-01-07 22:58:54 -07:00
tschettervictor
a169beb073 rdr: do not allow rules to be duplicated between jails 2025-01-07 22:55:36 -07:00
tschettervictor
0d09ac9607 etcupdate: error when RELEASE not bootstrapped 2025-01-07 17:14:02 -07:00
tschettervictor
ada6c2d61c rdr: correctly print default interface IP 2025-01-07 17:03:00 -07:00
tschettervictor
0aac59ae5a console: Change -s to -a 2025-01-07 15:44:48 -07:00
tschettervictor
e3a57e21ea common: simplify debug message 2025-01-07 15:42:44 -07:00
Barry McCormick
ee644d4969 Merge pull request #793 from bramton/conf2
config: Correctly match valueless parameters. Fixes #693
2025-01-07 11:02:45 -08:00
tschettervictor
6f0d318fd3 rdr: Add debug option, code cleanup 2025-01-06 18:43:22 -07:00
tschettervictor
c4b1d2a223 Merge branch 'BastilleBSD:master' into common.sh_functions 2025-01-06 17:47:48 -07:00
tschettervictor
bbd1de8221 Merge branch 'BastilleBSD:master' into etcupdate 2025-01-06 17:47:37 -07:00
tschettervictor
27fe77d5f9 console: use -s to force start instead of -f
This is because -f typically is used to force and option. Example being in destroy.sh

I think it more consistent to use -s to auto start/stop a jail it the script requires it.
2025-01-06 17:33:29 -07:00
tschettervictor
0501dc59a0 Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-01-06 17:03:48 -07:00
Juan David Hurtado G
e9cc59d308 Merge pull request #749 from tschettervictor/patch-1
Update destroy.sh - refuse to destroy jail with mounted filesystem
2025-01-06 17:39:06 -05:00