Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 1998 05:20:18 -0800 (PST)
From:      Ollivier Robert <roberto@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG
Subject:   cvs commit: src/usr.sbin/rarpd rarpd.c
Message-ID:  <199804021320.FAA12997@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
roberto     1998/04/02 05:20:17 PST

  Modified files:
    usr.sbin/rarpd       rarpd.c 
  Log:
  Fix bug in rarpd:
  
       Explanation of the bug: when processing its first request, rarpd
       opens a routing socket to send requests to the arp table. It keeps
       that socket open afterwards, while waiting for new RARP requests.
  
       Meanwhile, the data received on the routing socket fill up until
       they are about 8Kbytes in size. Any additional data is lost.
  
       When rarpd receives its next RARP request, it tries to access the
       ARP table via a routing socket call, then waits for the answer to
       its own request. This answer is lost because the received data is
       already filled: when looking for the reply, rarpd receives only
       8kbytes worth of data, then loops waiting forever.
  
       Someone please test it on -STABLE and commit it. We can close the PR
       when testing on STABLE is done.
  
  PR:		bin/5669
  Submitted by:	Pierre Beyssac <pb@fasterix.freenix.org>
  
  Revision  Changes    Path
  1.19      +13 -11    src/usr.sbin/rarpd/rarpd.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804021320.FAA12997>