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
Jose
7ef65036c6
Return proper warning messages, code cleanup
2020-02-14 11:00:02 -04:00
Christer Edwards
11d7524446
checks needs to run before jail starts
2020-02-04 14:52:19 -07:00
hackacad
45f9247be9
Check if IP address is in use.
2020-02-04 09:30:03 +01:00
Christer Edwards
02d0e94ef6
add/remove rctl limits on container start/stop
2020-01-26 10:08:42 -07:00
Christer Edwards
8b9760b0a5
initial support for limits automation; updated copyright year
2020-01-26 09:51:02 -07:00
Jose
0c78ebae88
Fix to match exact container name, add missing quotes
2019-12-27 13:15:58 -04:00
Lars Engels
5b11f81a1b
Add "" around variables in test(1) cases to prevent errors when a variable is unset
2019-12-11 20:35:05 +01:00
Christer Edwards
fbb99470ec
quieting pfctl output in start/stop
2019-11-25 17:45:17 -07:00
Christer Edwards
0a708c3dc7
clarification to README on firewall settings
2019-11-25 17:12:27 -07:00
Christer Edwards
f36744f2a0
accidentally a word
2019-11-25 15:41:11 -07:00
Christer Edwards
43da7b25a1
standardizing comments
2019-11-25 15:40:10 -07:00
Christer Edwards
b5c8330502
add PATH; improve firewall
2019-11-25 15:38:40 -07:00
Christer Edwards
7668927f6d
regression in not using full path to bastille
2019-11-25 08:10:29 -07:00
Christer Edwards
62a3821223
updating Usage output and standardizing target variable
2019-11-22 22:04:38 -07:00
Christer Edwards
47a3003f41
update for 0.5.20191125
2019-11-21 16:49:00 -07:00
Jose
4eb5d1b9ba
Match exact jail name for start/stop commands, don't allow for dots during create
2019-11-19 13:10:24 -04:00
Christer Edwards
8935b59635
Bastille Day update
2019-07-15 07:44:45 -06:00
Christer Edwards
e2b4f84cfe
update copyright; fixes #28
2019-02-04 21:08:00 -07:00
Christer Edwards
c98229066d
0.3.20181124 patch
2018-11-24 09:55:16 -07:00
Christer Edwards
8b7fb790e4
0.3.20181114 fix all the things
2018-11-13 21:40:11 -07:00
Christer Edwards
7700b9beff
0.3.20181112 template support
2018-11-13 10:38:33 -07:00