Changeset 32648


Ignore:
Timestamp:
Jul 9, 2017, 9:17:41 PM (2 weeks ago)
Author:
brainslayer
Message:

enable arp spoofing by default

Location:
src/router/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/firewall.c

    r32647 r32648  
    27592759        system("cat /proc/sys/net/netfilter/nf_conntrack_flush 2>&1");
    27602760        if (nvram_matchi("arp_spoofing", 1))
    2761                 sysprintf("echo 1 > /proc/net/arp_spoofing_enable");
     2761                writeproc("/proc/net/arp_spoofing_enable", "1");
    27622762        else
    2763                 sysprintf("echo 0 > /proc/net/arp_spoofing_enable");
     2763                writeproc("/proc/net/arp_spoofing_enable", "0");
    27642764        insmod("shortcut-fe");
    27652765        writeint("/sys/fast_classifier/skip_to_bridge_ingres", 1);
  • src/router/services/sysinit/defaults.c

    r32602 r32648  
    18731873        {"limit_pptp", "0"},    /* Impede DDoS/Brutforce [1|0] */
    18741874#endif
    1875         {"arp_spoofing", "0"},
     1875        {"arp_spoofing", "1"},
    18761876#ifdef HAVE_DDLAN
    18771877        {"remote_management", "1"},     /* Remote Management [1|0] */
Note: See TracChangeset for help on using the changeset viewer.