pmarr
f98a2925cc
Update rename.sh - Fix netgraph interface suffix
...
Resolves renaming netgraph jails. Previous behavior would "replace" the jng commands with the same old interface then fail to start the newly renamed jail with the following output.
```sh
Attempting to rename 'testjail' to jt...
Renamed 'testjail' to 'jt' successfully.
[jt]:
ng0_testjail
jt: created
ifconfig: interface ng0_jt does not exist
jail: jt: /sbin/ifconfig ng0_jt vnet jt: failed
jt: removed
```
The failure case above required manually creating the netgraph interface with `jng bridge <new ng int suffix> <interface>` and removing the old one `jng shutdown <old ng int suffix>`
2025-09-08 11:00:54 -05:00
tschettervictor
348f05f266
Move man to /usr/local/share
2025-09-07 16:41:32 -06:00
tschettervictor
6a180d00c1
cp: eliminate redundant “_option”
2025-09-07 17:37:27 -04:00
JRGTH
70ade04cce
Properly copy resolv.conf file from host
...
Properly copy resolv.conf file from host to jail by following the symlink, and cleanup.
The resolv.conf file in some compact/embedded distributions is a symlink, hence some users complaint about jails has no internet access, this workaround does fix this problem.
2025-09-06 22:08:16 -04:00
tschettervictor
62f8f29f69
list: fix JAIL_TYPE on zfs
2025-09-04 08:55:43 -04:00
tschettervictor
6d6790bc08
Merge pull request #1218 from metalefty/man
2025-08-31 09:58:37 -04:00
Koichiro Iwao
4332df9e84
Update man page
...
- Add edit subcommand
- Remove bastille_list as it is no longer work with bastille 1.0
- Remove trailing whitespaces
- Update date
2025-08-27 21:58:25 +09:00
Koichiro Iwao
1c48ee6091
Decompress man page
...
Compressed man page is difficult to edit and also not suitable for
tracking in version control system. Compress during install instead.
2025-08-27 21:54:41 +09:00
tschettervictor
49bea0ba2f
network: don't allow dots in interface name if -V
2025-08-25 14:58:25 -06:00
tschettervictor
89ea27a4e2
list: fix listing jail type on UFS
2025-08-17 07:45:56 -06:00
Doug MacNerland
902efe4fa9
wrap in double quotes
2025-08-09 10:25:24 -05:00
tschettervictor
b8367c6750
remove common.sh.save
2025-08-04 07:50:56 -06:00
tschettervictor
985286e74f
rc: properly handle priority
2025-08-03 19:51:17 -06:00
tschettervictor
bebeed7654
rc: allow parallel mode for rc script
2025-08-03 14:13:14 -06:00
tschettervictor
a190099450
deprecate parallel mode
2025-08-03 13:32:59 -06:00
tschettervictor
fd89d7a09f
create: exit if dataset creation failed
2025-07-30 16:38:23 -06:00
tschettervictor
8c17df773b
network: fix default interface being removed on new interface add
2025-07-29 09:27:33 -06:00
Juan David Hurtado G
fa1102f084
bootstrap: initial support for Ubuntu Noble jail
2025-07-27 07:10:17 -05:00
tschettervictor
46c7f3d230
Merge pull request #1200 from BastilleBSD/firewall_fix
...
update default firewalls to support ipv6 by default
2025-07-22 11:45:30 -06:00
tschettervictor
c86c4bce72
Merge pull request #1199 from BastilleBSD/tschettervictor-patch-1
...
common: Show warning when updating jail.conf > v1
2025-07-22 11:45:10 -06:00
tschettervictor
b45f03a9fe
common: show warning on all jail updates
2025-07-22 11:44:11 -06:00
Christer Edwards
5e79dcb1d2
update default firewalls to support ipv6 by default
2025-07-20 18:39:17 -06:00
tschettervictor
f20eee982e
Update common.sh
2025-07-20 14:57:35 -06:00
tschettervictor
eade45c1f6
Fix message
2025-07-20 14:33:07 -06:00
tschettervictor
0e382dbb94
common: Show warning when migrating to new syntax
2025-07-20 14:06:44 -06:00
tschettervictor
e504984b48
list: Fix listing of IPv6 addresses
2025-07-20 12:35:20 -06:00
tschettervictor
09bd587fa9
create: Fix error message for DHCP on non-VNET jails
2025-07-17 20:39:35 -06:00
tschettervictor
7c8f4f0686
Merge pull request #1191 from BastilleBSD/tschettervictor-patch-1
2025-07-17 11:20:00 -06:00
tschettervictor
795bf73c2a
Merge pull request #1190 from BastilleBSD/snap_additions
2025-07-17 11:19:40 -06:00
JRGTH
25638463db
Bugfix create cmd for jails with alias IP
2025-07-17 03:04:32 -04:00
tschettervictor
bad9379224
Fix shellcheck
2025-07-16 20:36:22 -06:00
tschettervictor
65e4d8306a
zfs: Fix rollback
2025-07-16 20:34:01 -06:00
tschettervictor
3267a9a0c1
common: Do not target tags if jail exists with same name
2025-07-16 18:47:54 -06:00
tschettervictor
eebe895514
common: Add option to use “tags” as TARGET
2025-07-16 17:59:20 -06:00
tschettervictor
ca24953e6c
zfs: Remove -v from create
2025-07-16 16:36:45 -06:00
tschettervictor
0760d7d51e
Fix shellcheck
2025-07-16 16:28:10 -06:00
tschettervictor
4649cf7a9c
Fix bastille version
2025-07-16 16:27:28 -06:00
tschettervictor
f08f4dd2e6
zfs: fix some bugs when rolling back, add default name
2025-07-16 16:14:15 -06:00
tschettervictor
2629cae350
zfs: code simplify and docs
2025-07-16 12:41:15 -06:00
tschettervictor
f5332cbf1a
Merge pull request #1164 from JRGTH/bastille_zfs_enhancement
...
[Enhancement] 'Bastille zfs command'
2025-07-16 11:15:10 -06:00
JRGTH
b5e16816db
Update bastille bin version
2025-07-16 00:07:41 -04:00
JRGTH
678886f619
Remove sort option to fix recent conflicts
...
Remove the sort option to fix the recent conflicts.
2025-07-16 00:05:14 -04:00
tschettervictor
9249baa7de
parallel: Remove pkg, destroy, migrate
2025-07-12 21:25:34 -06:00
tschettervictor
6f7a2fbcdb
parallel mode: Remove cmd and service
2025-07-12 16:44:57 -06:00
tschettervictor
7d3f77e4c4
create: Don’t allow -|_ in VNET jail names
2025-07-12 11:55:48 -06:00
tschettervictor
b59fe06895
network: Fix adding VNET interface
2025-07-12 11:19:54 -06:00
Juan David Hurtado G
8f9035f1f0
bastille: bump version to 1.0.1.250714 and update references in docs and script
2025-07-10 15:29:00 -05:00
tschettervictor
0f4d8e0110
list: Revert -s option
...
Reverting as this causes nothing but trouble when multiple IPs are present for any jail
2025-07-10 07:50:56 -06:00
Koichiro Iwao
9753cbaf5a
list: exclude tunnel endpoint (src/dst) addresses
...
from IP address listing of jails with gif/gre interfaces
Reported at: #1175
For example:
gif0: flags=1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1460
options=80000<LINKSTATE>
tunnel inet6 2001:db8::cafe:cafe --> 3fff::feed:feed
inet 192.168.1.1 --> 10.10.10.10 netmask 0xffffffff
groups: gif
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
gif1: flags=1008011<UP,POINTOPOINT,MULTICAST,LOWER_UP> metric 0 mtu 1280
options=80000<LINKSTATE>
tunnel inet 192.0.2.10 --> 198.51.100.20
inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff
groups: gif
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
2025-07-10 15:05:09 +09:00
JRGTH
5580c9d0d3
Solver more conflicts due later updates
...
Updated this PR and added the later changes to solve some conflicts to the `bastille` bin cmd, this is now ready for review.
Between I would double quote the bastille version to:
```
BASTILLE_VERSION="1.0.20250714"
```
But I leave that as that just in case.
2025-07-09 00:25:36 -04:00