Commit Graph

83 Commits

Author SHA1 Message Date
tschettervictor
b843b2c100 priority: Use priority list for all comm 2025-03-17 19:54:34 -06:00
tschettervictor
eae87b9218 list: Print only IP using new IF style for jails 2025-03-13 12:29:59 -06:00
tschettervictor
2c72b89753 Update list.sh 2025-03-13 10:06:37 -06:00
tschettervictor
d8131c371c list: Cosmetic fixes 2025-03-13 10:06:03 -06:00
tschettervictor
e6a226085c list: Include boot and priority 2025-03-13 06:43:14 -06:00
tschettervictor
b69f180c59 list: Properly list json 2025-02-27 17:59:52 -07:00
tschettervictor
bbc89e36a5 list: Support json format when listing all jails 2025-02-27 17:52:20 -07:00
tschettervictor
bc1bd45d53 list: Update help 2025-02-27 17:21:58 -07:00
tschettervictor
da4752ebd5 list: Use new functions 2025-02-27 17:04:34 -07:00
Barry McCormick
94a785af90 Merge pull request #765 from tschettervictor/rdr-multiple-interfaces
RDR Improvements: Allow TO/FROM+INTERACE+IP STACK
2025-02-22 20:56:28 -08:00
tschettervictor
53d37cde1a list: No color when searching for jails 2025-02-19 20:24:09 -07:00
tschettervictor
81eb8daa4a Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-02-03 10:54:59 -07:00
tschettervictor
43dfd98af5 list: typo in shellcheck 2025-01-14 15:02:17 -07:00
tschettervictor
b59f02afa3 list: disable shell check (needed for grep error) 2025-01-14 15:00:13 -07:00
tschettervictor
e07f121bcf List: fix “” for shell check 2025-01-14 14:53:56 -07:00
tschettervictor
a83772dc2b list: Fix “grep: no such file”
This fixes the issue introduced by the 0.12-2025 release.

The problem was the entries were being passed to grep as combined strings because of quotes.

Remove the quotes solves the issue.
2025-01-14 14:49:07 -07:00
tschettervictor
cab6ef8c06 Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-01-11 16:04:03 -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
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
2da817e0d4 list: use list command for jail list 2025-01-07 23:16:35 -07:00
tschettervictor
33b3c18937 Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-01-04 18:32:16 -07:00
Barry McCormick
5837a256da Merge pull request #691 from vrachnis/patch-1
Fix alignment when listing jails with more than one IP address
2024-12-27 09:37:56 -08:00
tschettervictor
2669d8126b Merge branch 'master' into rdr-multiple-interfaces 2024-12-16 22:55:14 -07:00
tschettervictor
05e0eb27f4 Merge branch 'master' into rdr-multiple-interfaces 2024-12-16 07:26:39 -07:00
tschettervictor
f91f24695b fix for new shell check 2024-12-16 07:02:09 -07:00
tschettervictor
71b1f8ce1d simply print rdr file when listing ports 2024-12-15 08:55:46 -07:00
tschettervictor
1f899b73a7 add space to list command 2024-12-14 16:30:08 -07:00
tschettervictor
2059560dbd list stack when listing ports 2024-12-14 16:18:41 -07:00
tschettervictor
8bf7342105 remove / to stay consistent 2024-12-13 14:52:01 -07:00
tschettervictor
1fcdfa4e9b add "ports" command to list jails and their published ports 2024-12-13 14:49:36 -07:00
tschettervictor
5b7b848b12 revert listing of IP and interface 2024-12-11 11:37:16 -07:00
tschettervictor
471a91ca24 print IP in addition to interface when listing RDR 2024-12-10 18:46:36 -07:00
tschettervictor
dc9822a013 also list interface when doing "list all" for published ports 2024-12-09 17:01:17 -07:00
Juan David Hurtado G
7c000a07d8 [WIP] shellcheck linting 2024-12-08 21:37:26 -05:00
Juan David Hurtado G
7927385458 [WIP] shellcheck linting 2024-12-08 21:34:36 -05:00
Juan David Hurtado G
7dbe1e761b rel: update copyright year and release version 2024-11-24 09:46:09 -05:00
vrachnis
4634dc6910 Fix alignment when listing jails with more than one IP address
When a VNET jail has more than IP address configured on its primary interface, invoking "bastille list -a" will now display all addresses vertically aligned.
2024-03-16 01:31:52 +00:00
Barry McCormick
721a5ca6a0 fix for JID instead of jail name in list printout 2023-10-18 18:26:55 -07:00
JRGTH
e454f1c826 list cmd enhancement 2023-05-03 09:02:55 -04: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
noracenofun
4be7795f0a added the new option -p for list release
This new option lists the patch level of FreeBSD releases.
2022-01-18 01:05:29 +01:00
noracenofun
29e72cd34d various optimization and added linux release
various optimization as well as determine and display of linux release added
2022-01-16 16:06:20 +01:00
Christer Edwards
a115ba5b87 Merge pull request #420 from JRGTH/master
Extra validation for Linux jails, small changes
2021-12-21 20:15:58 -07:00
Christer Edwards
faf3b2b691 use full path when calling jls binary 2021-12-17 19:09:49 -07:00
JRGTH
9967a56e64 Improvements for Linux releases and code maintenance 2021-08-06 19:44:25 -04:00
Bike Dude
f4738cb65d posix 2021-07-11 12:50:08 +02:00
Bike Dude
1b319c9bb9 posix 2021-07-11 10:46:21 +02:00
Bike Dude
778b82949a posix 2021-07-09 22:32:09 +02:00