tschettervictor
cb5d58e48c
template: Continue after HOSTCMD
2025-03-03 16:01:20 -07:00
tschettervictor
6ef1b2d4e0
template: Add HOSTCMD to hooks
2025-03-03 15:57:29 -07:00
tschettervictor
c0e2749dbc
template: Fix disabled>disable
2025-02-23 12:36:25 -07:00
tschettervictor
be663cf3b3
template: Implement new functions
2025-02-23 12:24:16 -07:00
tschettervictor
87e9affe46
template: Print only the first IP for the jail
2025-02-23 09:24:15 -07:00
tschettervictor
d799fa37b6
template: Fix shellcheck
2025-02-22 23:47:07 -07:00
tschettervictor
efa279bf71
template: Support old style IP/interface pair
2025-02-22 23:45:24 -07:00
tschettervictor
c2421ad981
template: Code cleanup for getting IP
2025-02-22 23:43:16 -07:00
tschettervictor
1ef0de52a0
template: One more fix for IP
2025-02-22 23:35:49 -07:00
tschettervictor
f06788ee7b
Update template.sh
2025-02-22 23:24:17 -07:00
tschettervictor
f0063b41f7
template: FIx booboo
2025-02-22 23:15:49 -07:00
tschettervictor
2ed27f572e
template: Fix booboo
2025-02-22 22:54:46 -07:00
tschettervictor
4b092e513a
template: jail_ip > jail_ip4
2025-02-22 22:52:55 -07:00
tschettervictor
8f6599fd49
template: Trim trailing slash from jail ip
2025-02-22 22:51:23 -07:00
tschettervictor
6193fa307a
template: Use new style of interface|ip pair
2025-02-22 22:49:33 -07:00
tschettervictor
813a6ccd26
template: Remove quotes from args
2025-02-13 06:56:24 -07:00
tschettervictor
4dc2b3b842
template: Fix default value with spaces
...
#692
@michael-o
This essentially just makes sure there are not multiple quotes following each other inside the ARG value.
2025-02-10 12:07:12 -07:00
tschettervictor
4d554e19cd
template: Treat ampersand literally
2025-02-03 17:54:34 -07:00
tschettervictor
a5f66c6e80
template: do not escape & in “cmd”
2025-01-14 09:13:52 -07:00
tschettervictor
358dbe7e0b
template: allow & in arg string
2025-01-14 08:45:35 -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
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
tschettervictor
7169931ca0
Merge branch 'BastilleBSD:master' into fix-cmd-template
2024-12-16 07:24:40 -07:00
Juan David Hurtado G
097ad8e269
shellcheck: template, revert single quotes
2024-12-09 19:43:04 -05:00
Juan David Hurtado G
d708a3460d
shellcheck: template, fix quotes
2024-12-09 07:53:56 -05:00
Juan David Hurtado G
7e6a9fa896
[WIP] shellcheck linting
2024-12-08 20:37:02 -05:00
tschettervictor
3b7d4f1b52
Update template.sh - bugfix for cmd
2024-12-08 14:41:50 -07:00
Juan David Hurtado G
7dbe1e761b
rel: update copyright year and release version
2024-11-24 09:46:09 -05:00
Christer Edwards
4efcc5021c
update copyright dates
2023-07-14 21:02:14 -06:00
Lars Engels
64c3b6045e
Allow running bastille and subcomands with help flags as regular user
2023-03-16 20:58:11 +01:00
Christer Edwards
e64c81d18a
Merge pull request #515 from ddowse/template-ip6
...
Add variable JAIL_IP6 to access ip6.addr in templates
2022-05-04 14:44:00 -06:00
Daniel Dowse - Freelancer
4302445eb5
Add variable JAIL_IP6 to access ip6.addr in templates
2022-04-08 15:26:53 +02:00
Christer Edwards
aafc2b3323
0.9.20220216 release
2022-02-16 23:28:09 -07:00
Christer Edwards
faf3b2b691
use full path when calling jls binary
2021-12-17 19:09:49 -07:00
Théo Bertin
2446f5c70e
TEMPLATE.SH::ADDED:: ability to apply templates using a custom absolute directory path
2021-09-11 12:16:54 +02:00
Bike Dude
585fd76ae2
alternative git template servers
2021-05-18 21:14:03 +02:00
Christer Edwards
6fa744bbda
update 2021 copyright
2021-01-15 20:00:26 -07:00
Christer Edwards
74fdcbdcb5
rdr now persists rules by default; rdr.sh cleanup
2021-01-09 15:42:24 -07:00
Christer Edwards
83a83e087e
adding a couple vnet exceptions for ip4.addr checks
2021-01-01 09:23:26 -07:00
Christer Edwards
1120a0eebd
Merge pull request #279 from chriswells0/default-templates
...
Use templates for configuring new jails.
2020-12-31 15:00:13 -07:00
Chris Wells
7675286cd3
Fix grep when UTF-8 is not used.
...
Support tabs and spaces in templates/config.
2020-12-12 19:17:20 -05:00
Christer Edwards
be6b1adfb9
Merge pull request #285 from chriswells0/hook-conversion
...
Add ability to convert "hook" files to Bastillefile format.
2020-12-12 12:05:35 -07:00
Christer Edwards
4e843be9e3
Merge pull request #276 from chriswells0/render-message
...
Display message about file/directory being rendered.
2020-12-12 11:55:04 -07:00
Chris Wells
c2839f859e
Use templates for configuring new jails.
...
Allow user to override default templates.
Closes #205 .
2020-11-29 14:19:41 -05:00
Chris Wells
5518273881
Provide JAIL_NAME and JAIL_IP as default template args.
...
Closes #280 .
2020-11-28 19:55:41 -05:00
Chris Wells
30a8a93fe9
Display message about file/directory being rendered.
2020-11-28 18:54:14 -05:00
Chris Wells
554f2293c1
Add ability to convert "hook" files to Bastillefile format.
2020-11-28 17:50:39 -05:00
Chris Wells
8b4d18f8f3
Create info() and warn() for cleaner print statements.
2020-11-25 21:19:08 -05:00