Commit Graph

76 Commits

Author SHA1 Message Date
Bike Dude 0b80c59744 minor fixes 2021-02-10 10:27:49 +01:00
Bike Dude 373eafa4d6 POC RC1
POC for Bastille Linux Compat
2021-02-10 10:09:15 +01:00
Bike Dude e7959a3f67 Alpha1
w/o bastille console
2021-02-09 22:00:07 +01:00
Bike Dude 519fe77fbb debug
v0.1
2021-02-08 22:11:33 +01:00
Jose 2474382756 Improve interface validation on vnet jail creation 2021-01-12 23:15:39 -04:00
Jose 87944a0fd0 Don't allow underscore in jail name beginning, remove jail from bastille_list on destroy 2021-01-10 18:55:02 -04:00
Jose 665cc19ce6 Properly link shared ports on thin jails 2021-01-08 22:37:18 -04:00
Jose b528289815 Don't start empty jails unless templates defined, code improvements 2021-01-08 20:26:31 -04:00
Jose 083e019081 Don't start empty jails, don't apply template if Bastillefile is empty 2021-01-08 02:05:30 -04:00
Chris Wells c2839f859e Use templates for configuring new jails.
Allow user to override default templates.

Closes #205.
2020-11-29 14:19:41 -05:00
Chris Wells 8b4d18f8f3 Create info() and warn() for cleaner print statements. 2020-11-25 21:19:08 -05:00
Jose ace6c9ab29 Don't create or modify etc/fstab and etc/crontab on empty jail creation 2020-10-15 13:18:55 -04:00
Chris Wells aaffc882f9 Create and leverage global error functions 2020-08-30 10:57:14 -04:00
Christer Edwards a369ed399d initial support for X-current (dev) containers 2020-08-28 14:13:54 -06:00
Jose 3872f93063 Post-creation jail misc configuration 2020-07-24 15:37:50 -04:00
Jose 3c19c5b183 Initial alternate architecture fetch/create support 2020-07-24 10:47:28 -04:00
Jose f84fd4ad85 Improve name validation for create and rename, add error_notify function 2020-05-09 15:31:15 -04:00
Jose e07f6cb0ed Add proper name valoidation in rename command, don't allow blanks in names 2020-05-09 13:59:58 -04:00
Jose a607dc2719 Properly check for home dir and symlink 2020-05-07 22:50:43 -04:00
Jose 9617a2ab9a Update sendmail rcvars, code consistency maintenance. 2020-04-25 08:26:12 -04:00
Jose a98032e912 Feature add, create empty jail and minor maintenance 2020-04-18 18:02:11 -04:00
Christer Edwards 0378e3f5bd Merge pull request #201 from mariusvw/hotfix/whitespace
Hotfix/whitespace
2020-04-14 08:46:31 -06:00
Marius van Witzenburg f28054b47e Cleanup whitespace 2020-04-14 11:53:11 +02:00
Marius van Witzenburg 597175bafb Correct capital E in zonepath to UTC 2020-04-14 11:38:47 +02:00
Christer Edwards 21937ddbe8 update VNET DHCP to SYNCDHCP 2020-04-13 19:41:50 -06:00
Christer Edwards 72857be9d0 fix route auto-detect and SERVICE template 2020-04-13 18:01:52 -06:00
Christer Edwards 945944feb4 release validation fixes 2020-04-12 19:06:27 -06:00
Christer Edwards 106c566c88 network cleanup; default route addition for vnet 2020-04-12 17:04:37 -06:00
cynix ced148bcc7 Clean up code 2020-03-30 08:48:04 +00:00
cynix 6e850785a2 Fix empty interface name when creating the first VNET jail.
Fixes #170.
2020-03-30 08:41:33 +00:00
Jose 9b3fde59b8 Fix Thickjail mountpoint inheritance in the root dataset 2020-02-21 11:35:35 -04:00
Jose 29016faf20 Just return 0 if bastille_jail_external is set 2020-02-20 21:08:04 -04:00
Jose 01eaccc1da Add double quotes to prevent globbing/word splitting, general code consistency improvements 2020-02-20 18:06:31 -04:00
Jose 8c1f9cd57a Just grep globally if jail list not empty 2020-02-20 12:22:25 -04:00
Jose 6b7b506c83 Simplify destroy options, no need to shift 1 on single options 2020-02-20 10:41:41 -04:00
Jose e26fe60fe4 Keep options simple yet support for long options 2020-02-19 19:53:25 -04:00
Jose 3b8c339dfa Workaround to combine options first, code cleanup/maintenance 2020-02-18 17:04:06 -04:00
Christer Edwards 950342f54e properly quoting variables 2020-02-17 09:41:33 -07:00
Christer Edwards 814dc6d926 properly set ip6 mode 2020-02-16 15:22:32 -07:00
Christer Edwards 273acb6e50 initial support to create vnet container 2020-02-16 15:20:31 -07:00
Jose 75fc18fec9 Initial IPv6 support 2020-02-16 13:22:32 -04:00
Jose 015558c4bc Don't set jail ZFS dataset mountpoint, let be inherited from the system 2020-02-15 07:57:33 -04:00
Jose d1709b7199 Add HardenedBSD support for convert, import and rename commands 2020-02-10 15:22:41 -04:00
Jose 84cc8cb103 Cleanup unused code, display related platform OS while bootstrapping for reference 2020-02-08 09:10:17 -04:00
Christer Edwards b1e44e39ce add missing fi 2020-02-04 14:51:59 -07:00
hackacad 45f9247be9 Check if IP address is in use. 2020-02-04 09:30:03 +01:00
Jose 5aba0d36f5 Do not use suffix version number in HardenedBSD "CURRENT" releases 2020-02-02 04:08:24 -04:00
Jose 7620d61e49 Add HardenedBSD CURRENT and LATEST download options, and code improvements 2020-02-02 02:42:22 -04:00
Christer Edwards 2cfcc4b8ad simplify variable usage in interface validation 2020-01-28 17:36:17 -07:00
Christer Edwards 8b9760b0a5 initial support for limits automation; updated copyright year 2020-01-26 09:51:02 -07:00