tschettervictor
50168df22c
start: Fix var
2025-05-02 08:50:39 -06:00
tschettervictor
5344eb9ba5
depend: Add support for dependant jails
2025-05-02 08:32:28 -06:00
tschettervictor
68f4aecddf
finish refactor of line spacing
2025-05-01 17:39:50 -06:00
tschettervictor
824ffb2980
Add \n to info _jail
2025-04-30 18:49:14 -06:00
tschettervictor
2b5f239050
final run through
2025-04-30 13:39:05 -06:00
tschettervictor
bef2ece965
adjust blank line option
2025-04-30 08:19:50 -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
310258f4b4
set _LAST_JAIL in common
2025-04-29 21:08:08 -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
f423446370
add blank line after each jail on multiple targets
2025-04-29 18:54:34 -06:00
tschettervictor
6863e6e3b7
docs: Reorder boot and priority + minor fixes
2025-04-20 14:17:46 -06:00
tschettervictor
72b434bf64
Update start.sh
2025-04-17 19:06:02 -06:00
tschettervictor
5a46f36456
Update start.sh
2025-04-17 19:04:51 -06:00
tschettervictor
1a68f3db0b
start: Small typo clarification
2025-04-17 19:01:32 -06:00
tschettervictor
e3dddd25e7
Merge branch 'master' into priority-add
2025-03-26 23:30:38 -06:00
tschettervictor
950cb0bc43
fix $
2025-03-18 16:28:06 -06:00
tschettervictor
7ae59c8551
fix ''
2025-03-18 16:25:41 -06:00
tschettervictor
8d6f7c9e28
bastille: clean up rc script
2025-03-18 16:23:57 -06:00
tschettervictor
aad1158146
Add -b|--boot for start/stop/restart
2025-03-15 21:35:03 -06: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
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
tschettervictor
1245b0e30e
start: Do not add IP to firewall table if it is in the same subnet
2025-02-20 09:47:36 -07:00
tschettervictor
a1e58f4131
start: Fix IP not being added to firewal
2025-02-16 19:35:27 -07:00
tschettervictor
b3d9e3e0dd
start: Allow multiple interface and IPs
2025-01-28 17:55:19 -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
42a5a38334
fix start.sh also
2024-12-10 14:59:02 -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
c00d8a4e05
Merge pull request #561 from Vertalo/ip-in-use
...
Fix bug in ip-in-use test
2022-12-13 20:54:58 -07:00
Christer Edwards
bfce059225
Merge pull request #560 from chriswells0/pf-config
...
Make pf table name and external interface configurable.
2022-12-13 20:54:33 -07:00
William Erik Baxter
ec18847f3e
Fix bug in ip-in-use test
...
Need grep -wF instead of grep -w for IP test to avoid spurious match
against broadcast address in ifconfig output.
2022-12-04 05:47:15 -06:00
Chris Wells
dd7f195c1e
Make pf table name and external interface configurable.
...
Closes #508
2022-11-26 23:24:33 -05:00
Chris Wells
bdae170529
Use "bastille config" to get ipv4.addr.
...
Fixes issue with jails not being added to pf table.
2022-11-23 22:41:45 -05: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
Julien Dessaux
1a522cb3a8
Fixes #338 Network access on jail startup
2021-06-09 18:03:27 +02:00
Christer Edwards
6fa744bbda
update 2021 copyright
2021-01-15 20:00:26 -07:00
Chris Wells
a56c37983c
Verify interface exists when starting non-vnet jail.
...
Closes #128 .
2020-12-14 12:24:22 -05:00
Chris Wells
8b4d18f8f3
Create info() and warn() for cleaner print statements.
2020-11-25 21:19:08 -05:00
Tobias Tom
7d78358f9f
Make RDR rules persistent between bastille restarts.
2020-10-19 15:17:46 +01:00
Chris Wells
aaffc882f9
Create and leverage global error functions
2020-08-30 10:57:14 -04:00
Jose
f54151cf94
Fix for pfctl on start/stop commands, clean up excess double quotes
2020-04-16 07:53:53 -04:00
Christer Edwards
ef320ebcdc
start/stop hotfix and version bump
2020-04-14 22:18:21 -06:00
Marius van Witzenburg
f28054b47e
Cleanup whitespace
2020-04-14 11:53:11 +02:00
Christer Edwards
106c566c88
network cleanup; default route addition for vnet
2020-04-12 17:04:37 -06:00
Jose
01eaccc1da
Add double quotes to prevent globbing/word splitting, general code consistency improvements
2020-02-20 18:06:31 -04:00
Jose
53e7856d28
Ignore IPv4 check if there is no entry at all
2020-02-14 19:01:08 -04:00