Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 86237
Collapse All | Expand All

(-)firewall (-14 / +11 lines)
Lines 959-968 Link Here
959
        [ -z "$rulenum" ] && rulenum=1
959
        [ -z "$rulenum" ] && rulenum=1
960
960
961
	case $level in
961
	case $level in
962
#<ET> ULOG target not yet supported
962
	    ULOG)
963
#	    ULOG)
963
    		eval ip6tables -A $chain $@ -j ULOG $LOGPARMS --ulog-prefix '"`printf "$LOGFORMAT" $chain $rulenum $disposition`"'
964
#    		eval ip6tables -A $chain $@ -j ULOG $LOGPARMS --ulog-prefix '"`printf "$LOGFORMAT" $chain $rulenum $disposition`"'
964
                ;;
965
#                ;;
966
	    *)
965
	    *)
967
    		eval ip6tables -A $chain $@ -j LOG $LOGPARMS --log-level $level --log-prefix '"`printf "$LOGFORMAT" $chain $rulenum $disposition`"'
966
    		eval ip6tables -A $chain $@ -j LOG $LOGPARMS --log-level $level --log-prefix '"`printf "$LOGFORMAT" $chain $rulenum $disposition`"'
968
		;;
967
		;;
Lines 977-986 Link Here
977
	eval ${chain}_logrules=$rulenum
976
	eval ${chain}_logrules=$rulenum
978
        else
977
        else
979
	case $level in
978
	case $level in
980
#<ET> ULOG target not yet supported
979
            ULOG)
981
#            ULOG)
980
                eval ip6tables -A $chain $@ -j ULOG $LOGPARMS --ulog-prefix '"`printf "$LOGFORMAT" $chain $disposition`"'
982
#                eval ip6tables -A $chain $@ -j ULOG $LOGPARMS --ulog-prefix '"`printf "$LOGFORMAT" $chain $disposition`"'
981
            ;;
983
#            ;;
984
            *)
982
            *)
985
		eval ip6tables -A $chain $@ -j LOG $LOGPARMS --log-level $level --log-prefix '"`printf "$LOGFORMAT" $chain $disposition`"'
983
		eval ip6tables -A $chain $@ -j LOG $LOGPARMS --log-level $level --log-prefix '"`printf "$LOGFORMAT" $chain $disposition`"'
986
		;;
984
		;;
Lines 1487-1498 Link Here
1487
    # Setup Logging variables
1485
    # Setup Logging variables
1488
    #
1486
    #
1489
    if [ -n "$EUI64_LOG_LEVEL" ]; then
1487
    if [ -n "$EUI64_LOG_LEVEL" ]; then
1490
# ULOG target not yet supported
1488
	if [ "$EUI64_LOG_LEVEL" = ULOG ]; then
1491
#	if [ "$EUI64_LOG_LEVEL" = ULOG ]; then
1489
	    logpart="-j ULOG $LOGPARMS --ulog-prefix"
1492
#	    logpart="-j ULOG $LOGPARMS --ulog-prefix"
1490
	else
1493
#	else
1494
	    logpart="-j LOG $LOGPARMS --log-level $EUI64_LOG_LEVEL --log-prefix"
1491
	    logpart="-j LOG $LOGPARMS --log-level $EUI64_LOG_LEVEL --log-prefix"
1495
#	fi
1492
	fi
1496
    else
1493
    else
1497
	logpart=
1494
	logpart=
1498
    fi
1495
    fi
Lines 3302-3308 Link Here
3302
    osversion=`uname -r`
3299
    osversion=`uname -r`
3303
3300
3304
    case $osversion in
3301
    case $osversion in
3305
    2.4.*|2.5.*)
3302
    2.4.*|2.5.*|2.6.*)
3306
	;;
3303
	;;
3307
    *)
3304
    *)
3308
	startup_error "6wall version $version does not work with kernel version $osversion"
3305
	startup_error "6wall version $version does not work with kernel version $osversion"

Return to bug 86237