Commit Graph

61 Commits

Author SHA1 Message Date
tschettervictor
b040474bf5 basic spacing fixes for help commands 2025-05-18 17:16:17 -06:00
tschettervictor
064e03de44 fix limits cpuset rewriting entire fiel 2025-05-09 11:45:57 -06:00
tschettervictor
76cda4b53f fix & for subshell 2025-05-04 12:35:12 -06:00
tschettervictor
39ed1aaec6 Initial commit for subshell parallel mode 2025-05-04 12:11:16 -06:00
tschettervictor
d70a68a683 limits: Update help 2025-05-03 16:23:34 -06:00
tschettervictor
11a4cd8e33 limits: Add support for cpuset 2025-05-03 16:11:35 -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
bb47671cf0 half way point 2025-04-30 11:21:41 -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
Barry McCormick
aa3baddf64 Merge pull request #910 from BastilleBSD/limits-clear-reset
limits: Add clear, reset, stats, show, add, remove  as commands
2025-04-02 07:46:49 -07:00
tschettervictor
0d2c35d768 limits: Fix action again 2025-03-29 18:23:51 -06:00
tschettervictor
683135b575 limits: Fix action 2025-03-29 18:21:27 -06:00
tschettervictor
b3ae555168 limits: Fix retain when not using add as action 2025-03-29 10:08:57 -06:00
Barry McCormick
ee62485178 Merge pull request #895 from tschettervictor/custom-config
bastille: Support user based config
2025-03-26 22:24:41 -07:00
tschettervictor
838ac60147 limits: Fix too few args 2025-03-23 09:02:12 -06:00
tschettervictor
f5cdff4fc1 limits: Retain support for no action (will default to add) 2025-03-23 06:00:09 -06:00
tschettervictor
27beac434e limits: Fix shellcheck again 2025-03-22 23:58:27 -06:00
tschettervictor
7a28d90aae limits: Fix shellcheck 2025-03-22 23:56:45 -06:00
tschettervictor
cabae33681 limits: add remove sub 2025-03-22 23:50:31 -06:00
tschettervictor
3b06106fc7 Update limits.sh 2025-03-22 23:36:25 -06:00
tschettervictor
bfcce7c65f limits: add action as the second arg 2025-03-22 23:32:39 -06:00
tschettervictor
deed49c477 Update limits.sh 2025-03-22 20:05:25 -06:00
tschettervictor
97db520d65 limits: Allow showing activee rules 2025-03-22 20:02:53 -06:00
tschettervictor
9d235fa1a4 limits: Add show and stats 2025-03-22 18:44:21 -06:00
tschettervictor
5280daec7c limits: Fix redirect of errors 2025-03-22 09:18:10 -06:00
tschettervictor
70c79c8d62 limits: Redirect errors 2025-03-21 17:51:34 -06:00
tschettervictor
14fa1a1210 Update limits.sh 2025-03-21 14:55:47 -06:00
tschettervictor
6604b94b6e limits: Add clear and reset as commands 2025-03-21 14:46:14 -06:00
tschettervictor
b319cd7142 limits: Fix log not updating on editing a rule 2025-03-21 09:35:37 -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
21b79247ab limits: Implement new functions 2025-02-23 12:11: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
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
aafc2b3323 0.9.20220216 release 2022-02-16 23:28:09 -07:00
Christer Edwards
6fa744bbda update 2021 copyright 2021-01-15 20:00:26 -07:00
Christer Edwards
01494ad3fd Merge pull request #289 from chriswells0/limits-fixes
Update existing limit when a new value is provided.
2020-12-12 11:54:05 -07:00
Petru Garstea
02f9df6cc0 log rctl events to /var/log/messages 2020-12-11 15:47:48 -05:00
Chris Wells
b90d8c60f7 Update existing limit when a new value is provided.
Closes #233.
2020-11-29 11:34:18 -05:00
Chris Wells
8b4d18f8f3 Create info() and warn() for cleaner print statements. 2020-11-25 21:19:08 -05:00