Commit Graph

742 Commits

Author SHA1 Message Date
tschettervictor
2669d8126b Merge branch 'master' into rdr-multiple-interfaces 2024-12-16 22:55:14 -07:00
Barry McCormick
4c58fd984e Merge pull request #768 from tschettervictor/patch-5
Fix error produced by pfctl when no rules are returned
2024-12-16 18:58:32 -08:00
tschettervictor
0c80326e3a fix quotes 2024-12-16 09:34:54 -07:00
tschettervictor
05e0eb27f4 Merge branch 'master' into rdr-multiple-interfaces 2024-12-16 07:26:39 -07:00
tschettervictor
f79cc609d3 Merge branch 'BastilleBSD:master' into patch-5 2024-12-16 07:25:37 -07:00
tschettervictor
f91f24695b fix for new shell check 2024-12-16 07:02:09 -07:00
Barry McCormick
fb21ff1be3 Merge pull request #752 from michael-o/issues/688
"bastille boostrap" gives spurious and wrong warning about "bastille_…
2024-12-15 22:58:22 -08:00
Juan David Hurtado G
889308465f shellcheck: mount. Style: indication of line continuation 2024-12-15 21:06:59 -05:00
Juan David Hurtado G
78d2ae9b2c shellcheck: fix create intentional '@' and disable SC2140 2024-12-15 11:02:28 -05:00
Juan David Hurtado G
124e968b65 shellcheck: fix zfs intentional '@' and disable SC2140 2024-12-15 10:59:30 -05:00
tschettervictor
a717b09d0f print less info 2024-12-15 08:57:02 -07:00
tschettervictor
71b1f8ce1d simply print rdr file when listing ports 2024-12-15 08:55:46 -07:00
Juan David Hurtado G
a906f14ce8 shellcheck: fix double quote on update TEMPLATES 2024-12-15 10:51:30 -05:00
Juan David Hurtado G
63964b107d shellcheck: disable=SC3003 on verify.sh 2024-12-15 09:58:05 -05:00
Juan David Hurtado G
fd175fddca shellcheck: disable=SC2046 on verify.sh pt2 2024-12-15 09:57:30 -05:00
Juan David Hurtado G
763184ad52 shellcheck: disable=SC2046 on verify.sh 2024-12-15 09:43:24 -05:00
tschettervictor
85fecea04f var rename for clarity 2024-12-14 18:42:28 -07:00
tschettervictor
afd7ea7f8f Typo 2024-12-14 16:43:35 -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
5b4cb721e5 add support for dual/ipv4/ipv6 options 2024-12-14 12:44:59 -07:00
tschettervictor
031f47f394 fix ipv6 (inet > inet6) 2024-12-14 10:53:33 -07:00
tschettervictor
9d37a15703 revert/ persist first then load rule 2024-12-14 10:49:48 -07:00
tschettervictor
7cb3e4a8b9 fix ip6 rule syntax 2024-12-14 10:46:50 -07:00
tschettervictor
e6ae0ebf20 too much green, minimize color and info when redirecting 2024-12-13 14:56:33 -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
744dd10a1c remove . 2024-12-13 07:43:03 -07:00
tschettervictor
0ce5c27d8e add small info to reset command 2024-12-13 07:41:27 -07:00
tschettervictor
29bd130b24 final revision 2024-12-13 07:31:58 -07:00
tschettervictor
3a16c047d2 merge case commands, better error handling 2024-12-13 06:57:03 -07:00
tschettervictor
ebf9c89555 missing done 2024-12-12 20:26:06 -07:00
tschettervictor
ae9a33a50e error handling 2024-12-12 20:23:50 -07:00
tschettervictor
216a4a5412 spacing 2024-12-12 19:41:52 -07:00
tschettervictor
3f97dd7e58 split options and regular case commands 2024-12-12 18:52:46 -07:00
tschettervictor
d6cbbf2ac6 quick fix 2024-12-12 18:42:52 -07:00
tschettervictor
20a291c689 add reset to help command 2024-12-12 18:40:32 -07:00
tschettervictor
ab54842061 error handling + add reset command to remove all rdr rules 2024-12-12 18:39:08 -07:00
tschettervictor
4377e1413a help message conform to case command 2024-12-12 17:25:08 -07:00
tschettervictor
7ab9188b3a Use case command instead of getopts to remain consistent 2024-12-12 17:23:21 -07:00
tschettervictor
606d8da0de only persist rdr rule if it can be properly loaded, else exit 2024-12-12 16:55:56 -07:00
tschettervictor
449a0ae8e1 add check when setting source IP + supress echo output 2024-12-12 07:41:23 -07:00
tschettervictor
492b64b302 fix help usage command 2024-12-11 18:28:10 -07:00
tschettervictor
53b47306f5 better error handling 2024-12-11 16:10:11 -07:00
tschettervictor
74eab248ca add error notify to pfctl commands/add better info commands 2024-12-11 15:56:31 -07:00
tschettervictor
8f3ad2f972 change to -ge 6 2024-12-11 12:13:05 -07:00
tschettervictor
5b7b848b12 revert listing of IP and interface 2024-12-11 11:37:16 -07:00
tschettervictor
4b5655470a add protocol to printed info 2024-12-11 11:36:10 -07:00
tschettervictor
7f1be3d480 more spacing 2024-12-11 11:06:33 -07:00
tschettervictor
f627aadac2 spacing 2024-12-11 11:06:16 -07:00