| #
ce083385 |
| 27-Feb-2024 |
Aaron LI <aly@aaronly.me> |
rc.d: Clean up and tweak dependencies
- Don't use real entries in the dummy scripts; instead, use the dummy entries in the real rc scripts. This makes the dummy entries clean.
- Use dummy entrie
rc.d: Clean up and tweak dependencies
- Don't use real entries in the dummy scripts; instead, use the dummy entries in the real rc scripts. This makes the dummy entries clean.
- Use dummy entries instead of one/multiple real entries (such as 'root') wherever appropriate.
- Use 'REQUIRE' instead of 'BEFORE' wherever appropriate, which makes it clearer to understand.
- Simplify and clean up various dependencies; remove unnecessary requires.
- Tweak dependencies of some scripts to make the startup order more sensible. For example, make 'hostname' and 'ip6addrctl' run a bit later, after 'FILESYSTEMS' but before 'NETWORKING'.
Referred to FreeBSD for some changes.
show more ...
|
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1 |
|
| #
b0a4258d |
| 09-Dec-2018 |
Aaron LI <aly@aaronly.me> |
rc: Use SYSCTL{,_N,_W} variables
With minor cleanups to IO redirections.
|
|
Revision tags: v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0 |
|
| #
6fd380c2 |
| 29-Mar-2018 |
Aaron LI <aly@aaronly.me> |
rc.d: Add ipfw3 rc script
To use ipfw3, add 'ipfw3_enable=YES' to /etc/rc.conf . By default, only the 'ipfw3' and 'ipfw3_basic' modules will be loaded. If you need more ipfw3 modules, set them wit
rc.d: Add ipfw3 rc script
To use ipfw3, add 'ipfw3_enable=YES' to /etc/rc.conf . By default, only the 'ipfw3' and 'ipfw3_basic' modules will be loaded. If you need more ipfw3 modules, set them with 'ipfw3_modules="<modules> ..."' in /etc/rc.conf . See also the rc.conf(5) man page.
This ipfw3 rc script is largely based on the ipfw script.
The /etc/ipfw3.rules (a shell script) should be present to setup the firewall rules, otherwise the default setup will block all incoming connections, including your current connection!
NOTE: I wrote this script for use in my VPS last year, but switched to PF later, so more tests and improvements (e.g., flush tables on stop) to this script are needed.
Reviewed-by: swildner
show more ...
|