Changeset 771


Ignore:
Timestamp:
Nov 19, 2016, 9:29:07 PM (3 years ago)
Author:
amain
Message:

Load netfilter/iptable modules manually in firewall script. This is needed because for some reason the autoloading does not work. More info: http://www.debwrt.net/forum/debwrt-group1/networking-forum3/debwrt-cannot-setup-basic-nat-please-help-thread97. Update cron to not execute cron.{hourly,daily,weekly,monthly} to prevent from heavy background jobs rendering the device unresponsive. Remove unused diag module from octeon and ar71xx.

Location:
trunk/debian
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/package/debwrt-net/etc/firewall/firewall.sh

    r292 r771  
    33# Minimal firewal script
    44#
    5 # Amain <amain@debwrt.net>
     5# Johan van Zoomeren <amain@debwrt.net>
    66
    77. /lib/lsb/init-functions
    88
    99IPT=/sbin/iptables
     10
     11modules() {
     12    log_warning_msg 'Loading iptables/netfilter kernel modules manually. Auto loading is broken...'
     13
     14    modprobe -a nf_conntrack_ipv4 \
     15                xt_state
     16}
    1017
    1118flush() {
     
    3845case $1 in
    3946        start)
     47                modules
    4048                log_action_begin_msg 'Loading firewall - starting'
    4149                start
     
    4957        ;;
    5058esac
     59
  • trunk/debian/rootfs/files/all/etc/init.d/debwrt

    r770 r771  
    6363                :
    6464            fi
    65             #touch /etc/debwrt/target.installed
     65            touch /etc/debwrt/target.installed
    6666        fi
    6767    else
  • trunk/debian/rootfs/files/ar71xx/etc/modules

    r769 r771  
    88# http://dev.debwrt.net/ticket/10094
    99ath9k
    10 
    11 diag
Note: See TracChangeset for help on using the changeset viewer.