Re: Sendto(2) Never Reaches Wire

From: Michael B Allen (mba2000_at_ioplex.com)
Date: 02/19/05


Date: Sat, 19 Feb 2005 16:41:38 -0500

On Sat, 19 Feb 2005 11:41:31 -0500, Barry Margolin wrote:

>> [1] If I run tests back to back within a few seconds all requests are
>> sent successfully but if I wait a few minutes the first two packets
>> never reach the wire.
>
> My guess is the destination address isn't in the ARP cache when you send
> the first request. And that the OS will only buffer one packet while
> waiting for the ARP response, so if you send additional packets in quick
> succession they replace each other.

Yup. I bet that's exactly what's happening. Which means I probably *can*
do more than 2 or 3 async queries at the same time because once the ARP
cache is hot (has the DNS server / gateway's address) the success rate
should be much higher.

Thanks,
Mike



Relevant Pages

  • Re: False negative on anti sniffing programme.
    ... >> folowed the approach of sending arp request packets to the IP of the ... >> responding to these packets despite not being in promiscuous mode. ... sniffers, we can't help you, cos you really can't do anything worthwhile". ...
    (Security-Basics)
  • Re: Layer 2 arp snooping without Layer 3?
    ... Arp is used to map l2 to l3. ... So if you send rogue ... having one the hosts will start sending packets to the rogue ip address ( ...
    (Pen-Test)
  • RE: ARP Spoof Question
    ... I remember reading an article a while back about sending frequent ... spoofed ARP packets to receive packets but have been unable to locate ... Subject: ARP Spoof Question ... I have it in my switch table, because ...
    (Security-Basics)
  • Re: Layer 2 arp snooping without Layer 3?
    ... Arp is used to map l2 to l3. ... So if you send rogue ... having one the hosts will start sending packets to the rogue ip address ( ...
    (Pen-Test)
  • Re: ARP requests
    ... Keep in mind that ARP packets are a normal part of the communication process ... Your IP layer will issue an ARP ... > packet, a DHCP Request, with just your hardware (MAC) address. ...
    (comp.security.firewalls)