tschettervictor
cab6ef8c06
Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces
2025-01-11 16:04:03 -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
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
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
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
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
ada6c2d61c
rdr: correctly print default interface IP
2025-01-07 17:03:00 -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
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
Juan David Hurtado G
f8a7145bec
Merge pull request #666 from gahr/adjust-all-mount-points
...
rename: adjust all mount points
2025-01-06 15:38:42 -05:00
Bram
ba82767cad
config: Correctly match valueless parameters. Fixes #693
2025-01-06 12:20:37 +01:00
tschettervictor
84394d7306
Merge branch 'BastilleBSD:master' into patch-1
2025-01-04 18:33:07 -07:00
tschettervictor
33b3c18937
Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces
2025-01-04 18:32:16 -07:00
tschettervictor
a58da2cda6
Merge branch 'BastilleBSD:master' into patch-2
2025-01-04 10:57:02 -07:00
tschettervictor
529848ebeb
Merge branch 'BastilleBSD:master' into patch-1
2025-01-04 10:56:53 -07:00
Barry McCormick
f956254157
Merge pull request #787 from tschettervictor/patch-4
...
template: awk removes spaces from multiple blank lines
2025-01-04 09:36:06 -08:00
tschettervictor
6a3fbf2aeb
Revert "Update template.sh - bugfix for cmd"
2025-01-04 10:31:11 -07:00
tschettervictor
43992f3469
template: awk remove spaces from multiple blank lines
...
Awk appears to remove multiple adjacent spaces from lines within a template. Adding "-F '[ ]'" makes sure field splitting is done on every space, thus preserving them.
#400
2025-01-03 07:23:46 -07:00
Barry McCormick
0d32733eed
Merge pull request #761 from tschettervictor/fix-cmd-template
...
Update template.sh - bugfix for cmd
2024-12-31 19:04:29 -08:00
tschettervictor
fedc7aa60c
Remove message on return 1
2024-12-31 15:27:45 -07:00
tschettervictor
4bc76d5064
fix brace
2024-12-31 15:00:12 -07:00
tschettervictor
7a621b2e1a
Merge branch 'master' into check_jail_exists-function
2024-12-31 14:58:50 -07:00
Barry McCormick
4365082bed
Merge pull request #778 from tschettervictor/mount-fixes
...
Mount/Umount fixes and improvements
2024-12-31 13:44:50 -08:00
tschettervictor
9d7b727432
minor fix
2024-12-31 12:27:32 -07:00
tschettervictor
ba2ff8ef75
better error handling
2024-12-31 10:33:59 -07:00
tschettervictor
3c60a4b26b
hash mac of host for prefix
2024-12-30 16:49:34 -07:00
tschettervictor
d3fd055b67
more random mac
2024-12-30 12:16:26 -07:00
tschettervictor
31ccecb2c0
Merge branch 'BastilleBSD:master' into patch-2
2024-12-29 17:44:21 -07:00
Juan David Hurtado G
0d5b92c052
Improve bastille.conf handling with user prompt for creation
...
Replaced ineffective default configuration generation logic with a user-interactive prompt. Users can now choose to create the configuration file with default values if it is missing, ensuring better control and clarity. Removed redundant code from the setup script to streamline execution.
2024-12-29 15:22:17 -05:00
tschettervictor
cfadb2537e
bugfix for cloneing new mac
2024-12-29 11:43:35 -07:00
Juan David Hurtado G
383f968685
Revert "Merge pull request #770 from tschettervictor/patch-7"
...
This reverts commit 649c337055 , reversing
changes made to 7d3ca7b21b .
2024-12-29 10:29:03 -05:00
tschettervictor
08f5a9a755
fix for multiple spacing
2024-12-27 13:34:14 -07:00
tschettervictor
67185a5a42
fix for multiple spacing in directiry
2024-12-27 13:33:26 -07:00
tschettervictor
3dce542d6b
add check_target_exists to common.sh
2024-12-27 12:15:26 -07:00
tschettervictor
5f8c79d277
allow mounting directories with spaces
2024-12-27 12:14:04 -07:00
tschettervictor
30aa0c1408
better error handling
2024-12-27 12:13:38 -07:00
tschettervictor
86fa464957
Merge branch 'BastilleBSD:master' into mount-fixes
2024-12-27 12:11:48 -07:00
tschettervictor
5393e27751
Merge branch 'BastilleBSD:master' into fix-cmd-template
2024-12-27 12:10:05 -07:00
tschettervictor
3c04a88947
Merge branch 'BastilleBSD:master' into check_jail_exists-function
2024-12-27 12:09:55 -07:00
tschettervictor
b736d770cb
Merge branch 'BastilleBSD:master' into patch-7
2024-12-27 12:09:45 -07:00