FreeBSD Bugzilla – Attachment 11746 Details for
Bug 22998
ipf fails to load the rules if IPFILTER is not statically linked
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1016 bytes, created by
dl
on 2000-11-21 00:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dl
Created:
2000-11-21 00:40:01 UTC
Size:
1016 bytes
patch
obsolete
>--- /etc/rc.network Tue Nov 21 00:55:01 2000 >+++ /tmp/rc.network.patched Tue Nov 21 01:21:47 2000 >@@ -48,8 +48,21 @@ > # Establish ipfilter ruleset as early as possible (best in > # addition to IPFILTER_DEFAULT_BLOCK in the kernel config file) > # >+ if /sbin/ipfstat -i > /dev/null 2>&1; then >+ ipfilter_in_kernel=1 >+ else >+ ipfilter_in_kernel=0 >+ fi >+ > case "${ipfilter_enable}" in > [Yy][Ee][Ss]) >+ if [ "${ipfilter_in_kernel}" -eq 0 ] && kldload ipl; then >+ ipfilter_in_kernel=1 >+ echo "Kernel ipfilter module loaded." >+ elif [ "${ipfilter_in_kernel}" -eq 0 ]; then >+ echo "Warning: ipfilter kernel module failed to load." >+ fi >+ > if [ -r "${ipfilter_rules}" ]; then > echo -n ' ipfilter'; > ${ipfilter_program:-ipf -Fa -f} "${ipfilter_rules}" ${ipfilter_flags}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22998
: 11746