mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
proxyarp: Do not limit NDISC snoop packet size to 150
The RA, NS, and NA packets may be longer, so do not arbitrarily limit the packet socket capture size to 150 bytes in the socket filter. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
bcb132e185
commit
3c02cfdb3a
@ -56,7 +56,7 @@ static const struct sock_fprog dhcp_sock_filter = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Generated by 'sudo tcpdump -dd -s 150 multicast and ip6[6]=58' */
|
/* Generated by 'sudo tcpdump -dd -s 1500 multicast and ip6[6]=58' */
|
||||||
static struct sock_filter ndisc_sock_filter_insns[] = {
|
static struct sock_filter ndisc_sock_filter_insns[] = {
|
||||||
{ 0x30, 0, 0, 0x00000000 },
|
{ 0x30, 0, 0, 0x00000000 },
|
||||||
{ 0x45, 0, 5, 0x00000001 },
|
{ 0x45, 0, 5, 0x00000001 },
|
||||||
@ -64,7 +64,7 @@ static struct sock_filter ndisc_sock_filter_insns[] = {
|
|||||||
{ 0x15, 0, 3, 0x000086dd },
|
{ 0x15, 0, 3, 0x000086dd },
|
||||||
{ 0x30, 0, 0, 0x00000014 },
|
{ 0x30, 0, 0, 0x00000014 },
|
||||||
{ 0x15, 0, 1, 0x0000003a },
|
{ 0x15, 0, 1, 0x0000003a },
|
||||||
{ 0x6, 0, 0, 0x00000096 },
|
{ 0x6, 0, 0, 0x000005dc },
|
||||||
{ 0x6, 0, 0, 0x00000000 },
|
{ 0x6, 0, 0, 0x00000000 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user