The default value of net.graph.nonstandard_pppoe is changed to -1,
which means "always stay in the standard mode of PPPoE operation regardless of any junk floating around." As the referenced PR stated clearly, the old default setting of 0 was extremely dangerous because it opened a possibility for a spurious frame not only to put down a single PPPoE node running FreeBSD, but to plague *every* FreeBSD node in a PPPoE network in such a way that those nodes would keep poisoning each other until rebooted simultaneously. PR: kern/47920 Reviewed by: Gleb Smirnoff <glebius <at> cell.sick.ru> MFC after: 1 week
This commit is contained in:
parent
3c75dd4b07
commit
127f4e3f65
@ -246,9 +246,9 @@ struct ether_header eh_prototype =
|
||||
ETHERTYPE_PPPOE_DISC};
|
||||
|
||||
#define PPPOE_KEEPSTANDARD -1 /* never switch to nonstandard mode */
|
||||
#define PPPOE_STANDARD 0 /* try standard mode (default) */
|
||||
#define PPPOE_STANDARD 0 /* try standard mode (dangerous!) */
|
||||
#define PPPOE_NONSTANDARD 1 /* just be in nonstandard mode */
|
||||
static int pppoe_mode = PPPOE_STANDARD;
|
||||
static int pppoe_mode = PPPOE_KEEPSTANDARD;
|
||||
|
||||
static int
|
||||
ngpppoe_set_ethertype(SYSCTL_HANDLER_ARGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user