154 Commits

Author SHA1 Message Date
Thomas von Dein
88b5f1c26b added syslog logging to ex() so that we always see wht jaildk did 2021-07-07 11:27:18 +02:00
Thomas von Dein
4d81b9c14b fixed pf ipv6 rule generation 2021-07-07 07:21:22 +02:00
Thomas von Dein
3c7fdf45db hm 2021-07-06 23:23:21 +02:00
Thomas von Dein
59967ab531 add auto_linklocal 2021-07-06 23:21:02 +02:00
Thomas von Dein
9409061e03 init 2021-07-06 21:51:20 +02:00
Thomas von Dein
426306457a fixed pf rdr, using ip w/o mask 2021-07-06 20:25:19 +02:00
Thomas von Dein
4d910f6d95 fixed pf multiple port feature 2021-07-06 20:12:27 +02:00
Thomas von Dein
0e99f015f3 forgot update -f check 2021-07-06 12:12:46 +02:00
Thomas von Dein
e3502c1258 added update command 2021-07-06 12:11:23 +02:00
Thomas von Dein
f4741dac5f fixed clone 2021-07-05 19:05:45 +02:00
Thomas von Dein
d53dc0549f fixed status output, didnt parse vnet jails w/o ip address correctly 2021-07-05 14:54:35 +02:00
Thomas von Dein
134076e74c fix typo 2021-07-05 14:37:17 +02:00
Thomas von Dein
938fc3a38b better status output 2021-07-05 14:35:24 +02:00
Thomas von Dein
3a3dce8903 Refactored:
- internal functions do not have the jaildk_ prefix anymore, this
  is now reserved for interactive commands only.
- added variable precedence using 'local' keyword to avoid variable
  conflicts etc.
- supress 'typoe' output
. use here-doc for vnet usage
2021-07-05 14:26:10 +02:00
Thomas von Dein
2d1e3ceef9 - simplified main switch statement
- status displays exposed ip of vnet jail
2021-07-04 20:46:52 +02:00
Thomas von Dein
6b4f80cf55 - (re) allow login :)
- added error checking to vnet command
2021-07-04 12:49:34 +02:00
Thomas von Dein
8c760ef130 added check if run as root 2021-07-04 12:27:17 +02:00
Thomas von Dein
10cb98bb57 fixed vnet ipv6 configuration, syntax error 2021-07-04 11:52:04 +02:00
Thomas von Dein
ca76632a2c changed vnet ipv6 setup, using routing not nat 2021-07-03 20:35:05 +02:00
Thomas von Dein
f1eefe2e41 fixed variuos pf generation bugs, now works at least 2021-07-03 16:32:19 +02:00
Thomas von Dein
830ca86afe only generate pf ruleset if in start or restart mode 2021-07-02 19:46:56 +02:00
Thomas von Dein
7e5c2ad591 added pf rule generator 2021-07-02 13:03:33 +02:00
Thomas von Dein
a9fb600f4b added vnet support, enhanced status command 2021-06-30 15:15:28 +02:00
Thomas von Dein
2f44630168 #13 - changed default to no (do not delete old dist files) 2021-06-28 07:34:08 +02:00
Thomas von Dein
5451130343 clean up dist dir before building a new base (fixes #13) 2021-06-26 20:31:02 +02:00
Thomas von Dein
4e2760b854 added unionfs support 2021-06-25 07:52:03 +02:00
Thomas von Dein
5de4bf1172 added uninstall -a option to remove everything and fixed -w again 2021-01-28 20:18:35 +01:00
Thomas von Dein
cee8aa66ef Fixed build/run uninstall w/ unintialised variable 2021-01-28 20:00:33 +01:00
T.v.Dein
b721acd23d Merge pull request #12 from Culsu/main
Some convenience stuff
2021-01-27 19:40:20 +01:00
Culsu
0b32f9e34b Added a NO_BOLD option to disable bold text manually, also suppressed some error messages by rcorder and ls if local-etc/rc.d is not present inside the jail 2021-01-25 00:22:54 +01:00
Thomas von Dein
f0a325ee53 fixed login() 2021-01-14 13:10:09 +01:00
Thomas von Dein
b02d2d6c42 disabled rcoff feature, doesnt work as expected 2021-01-04 12:20:57 +01:00
Thomas von Dein
9bfa539e02 fixed rc function: only call rc-script specified with -r 2020-12-19 17:34:53 +01:00
Thomas von Dein
c374abf6fa added pf restart 2020-12-17 20:07:12 +01:00
Thomas von Dein
32455bb1ee added -v and -b to reinstall command 2020-12-14 20:18:20 +01:00
Thomas von Dein
569cc6bb6d fixed clone function 2020-12-14 15:26:32 +01:00
Thomas von Dein
ee34a551b5 same with base 2020-12-13 14:58:54 +01:00
Thomas von Dein
906c59aee8 fix version conflict 2020-12-13 14:54:16 +01:00
Thomas von Dein
6bcdb1ac20 version 2020-12-13 14:49:39 +01:00
Thomas von Dein
25d207daf7 _ fix 2020-12-13 14:45:08 +01:00
Thomas von Dein
26b000dff5 do not fiddle w/ networking on build chroot's 2020-12-13 14:43:18 +01:00
Thomas von Dein
914d4c24f8 fetch => fetchports (more clarity) 2020-12-13 14:37:20 +01:00
Thomas von Dein
643c10d777 catch invalid usage 2020-12-13 14:24:14 +01:00
Thomas von Dein
2f38a0c7d8 fixed "jaildk status' (w/o jail) and jaildk_rc all 2020-12-13 14:17:13 +01:00
Thomas von Dein
9a420006c5 Merge branch 'dev' into main 2020-12-04 20:35:11 +01:00
Thomas von Dein
b26f64ed4e +path 2020-12-03 19:06:03 +01:00
Thomas von Dein
8f10788e55 added pf support 2020-12-03 19:01:05 +01:00
Thomas von Dein
615939bccd various modifications to pull request #10:
- re-fill paragraphs in README
- added section about booting ipfw rules
- added way to execute ipfw function from commandline (required
  for booting)
- enhanced ipfw.conf parser
- enhanced ip address parsing
- added v6 support
- added jail.conf variable support
2020-12-01 18:40:32 +01:00
T.v.Dein
cc30589b1f Merge pull request #10 from Culsu/dev
IPFW support
2020-12-01 18:04:31 +01:00
Culsu
6c544268ed separated add and delete into their own functions. 2020-11-30 23:04:30 +01:00