Re: [PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 31.01.2014 17:02, Andrey Borzenkov wrote: > Using large ping size is quite common during network troubleshooting. > This looks like rather arbitrary restriction. ARP != ICMP signature.asc Description: OpenPGP digital signature ___ Grub-devel mailin

Re: [PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 31.01.2014 16:35, Paulo Flabiano Smorigo wrote: > * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with abnormal > size. > > GRUB uses arp request to create the arp response. If the incoming packet is > foobared, GRUB needs to trim the arp response packet before sending it. > >

Re: [PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Paulo Flabiano Smorigo
Fri, Jan 31, 2014 at 08:02:07PM +0400, Andrey Borzenkov wrote: > В Fri, 31 Jan 2014 13:35:11 -0200 > Paulo Flabiano Smorigo пишет: > > > * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with > > abnormal size. > > > > GRUB uses arp request to create the arp response. If the incomi

Re: [PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Andrey Borzenkov
В Fri, 31 Jan 2014 13:35:11 -0200 Paulo Flabiano Smorigo пишет: > * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with abnormal > size. > > GRUB uses arp request to create the arp response. If the incoming packet is > foobared, GRUB needs to trim the arp response packet before se

[PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Paulo Flabiano Smorigo
* grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with abnormal size. GRUB uses arp request to create the arp response. If the incoming packet is foobared, GRUB needs to trim the arp response packet before sending it. This is just a fix in time for 2.02. I'm planning to rewrite the