[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Establishing TCP Connection after power-up

From: address@hidden
Subject: Re: [lwip-users] Establishing TCP Connection after power-up
Date: Mon, 21 Feb 2011 19:10:33 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: Gecko/20101207 Thunderbird/3.1.7

farid mahini wrote:
Question: Since the SYN message has both source and destination addresses (IP and MAC), why does MyServer request it? Wouldn't it get added to ARP table as the SYN message travels up the stack to TCP layer.
You can configure lwIP to behave like that, but it's not a good idea to do so as it
a) is a security issue and
b) can have a large performance impact as every incoming packet leads to scanning the ARP table for a hit to update.

You should enable ARP_QUEUEING instead (define it to 1 in lwipopts.h) so that the outgoing SYN is buffered by lwIP until the ARP response is received. 1.4.0rc2 does this automatically.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]