tschettervictor
fa4ffa340f
we dont need an error_exit twice when validating netconf
2025-04-26 15:01:56 -06:00
tschettervictor
209d800cbb
move validate_netconf to common.sh
2025-04-26 14:58:26 -06:00
tschettervictor
015db9a095
Update common.sh
2025-04-26 11:14:19 -06:00
tschettervictor
b50dbe112e
Update common.sh
2025-04-26 11:07:44 -06:00
tschettervictor
ac7ffe4b0a
Update common.sh
2025-04-26 11:02:39 -06:00
tschettervictor
7e55510e68
netgraph: Add clone, rename
2025-04-25 20:33:09 -06:00
tschettervictor
bf443e8586
bastille: Initial support for netgraph
2025-04-25 14:33:38 -06:00
tschettervictor
82d3a18366
Update common.sh
2025-04-16 20:02:41 -06:00
tschettervictor
aa411d26d0
common: Better epair searching
2025-04-16 19:12:33 -06:00
tschettervictor
deab7e39f7
keep grep errors silent
2025-04-16 17:52:32 -06:00
tschettervictor
745f312681
fix epair listing again
2025-04-16 17:48:39 -06:00
tschettervictor
dd2a56af6d
epair: Use full list
2025-04-16 17:22:51 -06:00
tschettervictor
2251628867
fix one last count
2025-04-16 17:03:22 -06:00
tschettervictor
4d9d1d1050
fix bastille listing
2025-04-16 16:35:39 -06:00
tschettervictor
0590253acb
fix epair listin
2025-04-16 16:30:12 -06:00
tschettervictor
741d2c6e12
fix shellcheck
2025-04-16 16:10:09 -06:00
tschettervictor
c2b756219c
Force config file in default location
...
This will prevent errors when bastille gathers the number of epairs on the system.
2025-04-16 16:08:17 -06:00
tschettervictor
0fe4bec89f
common: Add function to count epairs
2025-04-16 15:57:07 -06:00
tschettervictor
d5deb9bd1b
Fix epair numbering when mixing -V and -B jails on one systme
2025-04-16 12:07:15 -06:00
tschettervictor
e3dddd25e7
Merge branch 'master' into priority-add
2025-03-26 23:30:38 -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
87bcd57c79
Update common.sh
2025-03-19 15:25:15 -06:00
tschettervictor
afb233ab12
Update common.sh
2025-03-19 15:04:24 -06:00
tschettervictor
3c88a0bcc2
fix listing priority again
2025-03-19 10:48:26 -06:00
tschettervictor
eaacab6e7e
fix listing jail priority
2025-03-19 10:24:50 -06:00
tschettervictor
601d120d76
fix blank after jail name
2025-03-19 05:59:22 -06:00
tschettervictor
963c13a047
Fix quotes
2025-03-17 20:02:07 -06:00
tschettervictor
b843b2c100
priority: Use priority list for all comm
2025-03-17 19:54:34 -06:00
tschettervictor
f449cd4fd9
common: Show vnetX interface for multiple interfaces
2025-03-11 14:18:28 -06:00
tschettervictor
d1156cbb05
common: typo and trailing whitespace
2025-03-02 13:19:26 -07: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
b5611e9196
common: Load config as variable
2025-03-01 20:03:03 -07:00
tschettervictor
b09ee86037
Fix shellcheck
2025-03-01 18:51:17 -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
71690572fc
common: Rebase
2025-02-05 08:13:57 -08:00
tschettervictor
2e55965edd
Merge branch 'master' into common.sh_functions
2025-01-26 10:38:58 -07:00
tschettervictor
2f594e4e65
common: Also check ifconfig for epairs
2025-01-25 10:22:23 -07:00
tschettervictor
2c45c51e84
common: Add notes about how MAC is generated
2025-01-24 07:33:19 -07:00
tschettervictor
b3ff3efed9
common: Add comment about MAC address
2025-01-24 06:49:19 -07:00
tschettervictor
603da3ca8d
common: Adjust fstab function
2025-01-21 06:54:06 -07:00
tschettervictor
abdf885c3a
common: Comment about MAC prefix
2025-01-18 17:47:13 -07:00
tschettervictor
589f19032a
common: Allow name=if for bridge
2025-01-18 16:32:40 -07:00
tschettervictor
fdff42a1b3
common: fix epair naming
2025-01-18 10:08:02 -07:00
Barry McCormick
fb876b4074
Merge pull request #808 from tschettervictor/patch-3
...
create: Static MAC optional
2025-01-15 21:29:48 -08:00
tschettervictor
edc6f29184
common: final revision of changes
2025-01-15 14:33:22 -07:00
Barry McCormick
49a7a643a8
Merge pull request #790 from tschettervictor/etcupdate
...
etcupdate: beta version
2025-01-14 21:37:54 -08:00
tschettervictor
9420441a56
common: Add comments about static MAC
2025-01-14 10:54:28 -07:00
tschettervictor
b1a3306cef
common: use FreeBSD prefix for static MAC
2025-01-14 07:33:43 -07:00
tschettervictor
57a652cc70
common: update function to use "epairx" because of name limit in FreeBSD
2025-01-13 17:44:30 -07:00
tschettervictor
c9bb5132c0
common: do not trim : from MAC too early
2025-01-13 15:58:56 -07:00