From nobody  Fri Jan 24 06:06:22 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id GAA29673;
          Fri, 24 Jan 1997 06:06:22 -0800 (PST)
Message-Id: <199701241406.GAA29673@freefall.freebsd.org>
Date: Fri, 24 Jan 1997 06:06:22 -0800 (PST)
From: Roman.Pavlik@skynet.cz
To: freebsd-gnats-submit@freebsd.org
Subject: arpresolve: cant allocate llinfo
X-Send-Pr-Version: www-1.0

>Number:         2570
>Category:       kern
>Synopsis:       arpresolve: cant allocate llinfo
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    fenner
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 24 06:10:01 PST 1997
>Closed-Date:    Sat May 23 01:03:50 PDT 1998
>Last-Modified:  Sat May 23 01:04:30 PDT 1998
>Originator:     Roman Pavlik
>Release:        2.1.6.1
>Organization:
SkyNet, Czech Republic
>Environment:
>Description:
This problem is already reported as "kern/1982" on FreeBSD 2.1.5 release.
The problem appears on our machine when we try to run ipfilter.
>How-To-Repeat:
Start ipfilter.
>Fix:

>Release-Note:
>Audit-Trail:

From: Bill Fenner <fenner@parc.xerox.com>
To: Roman.Pavlik@skynet.cz
Cc: freebsd-gnats@freebsd.org, fenner@parc.xerox.com
Subject: Re: kern/2570: arpresolve: cant allocate llinfo 
Date: Fri, 24 Jan 1997 11:18:34 PST

 >>How-To-Repeat:
 >Start ipfilter.
 
 Roman,
 
   Could you please include your network configuration (e.g. the relevant lines from /etc/sysconfig), the output of "netstat -nr" and "ifconfig -a", and your ipfilter configuration?  If you send a message to freebsd-gnats@freebsd.org with a subject: of ke rn/2570 (e.g. reply to this message), the information will be attached to your bug report.
 
 Thanks,
   Bill
 
State-Changed-From-To: open->feedback 
State-Changed-By: fenner 
State-Changed-When: Sun Feb 2 10:02:21 PST 1997 
State-Changed-Why:  
Please supply your network configuration.  Specifically, 
- The relevant lines from /etc/sysconfig 
- The output of "netstat -nr" 
- The output of "ifconfig -a" 
- Your ipfilter configuration. 

You can send a message to freebsd-gnats@freebsd.org with 
subject kern/2570 to include this information in the 
problem report. 


Responsible-Changed-From-To: freebsd-bugs->fenner 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Sun Feb 2 10:02:21 PST 1997 
Responsible-Changed-Why:  
fenner is mr. "can't allocate llinfo" 

From: "Roman Pavlik" <rpav@www.cz>
To: freebsd-gnats@freebsd.org
Cc:  Subject: kern/2570
Date: Fri, 7 Feb 1997 13:22:11 +0000

 The relevant lines from /etc/sysconfig:
 network_interfaces="ep0 ep1 ep2 lo0"
 
 ifconfig_ep0="inet 192.168.2.2 netmask 255.255.255.0"
 ifconfig_ep1="inet 192.168.1.2 netmask 255.255.255.0"
 ifconfig_ep2="inet 192.168.3.1 netmask 255.255.255.0"
 ifconfig_lo0="inet localhost"static_routes=""
 static_routes=""
 defaultrouter="193.165.192.129"
 router="routed"
 routerflags=-q
 mrouted=NO
 
 The output of "netstat -nr"
 Routing tables
 
 Internet:
 Destination        Gateway            Flags     Refs     Use     Netif Expire
 default            192.168.1.1        UGc         0      721       ep1
 127.0.0.1          127.0.0.1          UH          0      264       lo0
 192.168.1          link#2             UC          0        0
 192.168.1.1        link#2             UHLW        4      431
 192.168.2          link#1             UC          0      661
 192.168.2.1        0:20:18:60:36:11   UHLW        1     1272       ep0   1138
 192.168.3          link#3             UC          0        0
 192.168.3.1        0:20:af:89:22:3d   UHLW        0      204       lo0
 192.168.3.2        8:0:69:8:5e:6e     UHLW        1     4742       ep2    659
 193.165.192        192.168.1.1        UGc         0       31       ep1
 193.165.192.1      192.168.1.1        UGH         0        0       ep1
 193.165.192.13     192.168.1.1        UGH         0        0       ep1
 
 The output of "ifconfig -a":
 
 ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
 ep1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
 ep2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet 127.0.0.1 netmask 0xff000000
 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
 tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
 
 Your ipfilter configuration:
 
 We use Darren Reed (darrenr@cyber.com.au) IP filter
 (http://cheops.anu.edu.au/~avalon/)
 ipf.conf:
 pass in all
 pass out all
 pass in on ep2 to ep0:192.168.2.1 proto icmp all
 pass in on ep2 to ep0:192.168.2.1 proto udp  all
 pass in on ep2 to ep0:192.168.2.1 proto tcp  from any to any port = 53
 pass in on ep2 to ep0:192.168.2.1 proto tcp  from any port = 53 to any
 pass in from any to 192.168.3.1
 pass in from any to 192.168.1.2
 pass in from any to 192.168.2.2
 
 ipnat.conf:
 rdr ep0 192.168.3.0/24  port telnet     -> 127.0.0.1 port telnet
 rdr ep2 0.0.0.0/0       port telnet     -> 127.0.0.1 port telnet
 rdr ep0 192.168.3.0/24  port domain     -> 127.0.0.1 port domain
 rdr ep2 0.0.0.0/0       port domain     -> 127.0.0.1 port domain
 
 
 
 Thank you very much for your help.
 
 Reagrds
 Roman Pavlik
 
 
 
 Feb  6 18:01:07 fwtk /kernel: arpresolve: can't allocate llinfo for 192.168.2.1
 Feb  6 18:05:07 fwtk /kernel: arpresolve: can't allocate llinfo for 192.168.2.1
 Feb  6 18:09:07 fwtk /kernel: arpresolve: can't allocate llinfo for 192.168.2.1
 Feb  6 18:13:07 fwtk /kernel: arpresolve: can't allocate llinfo for 192.168.2.1
 
 
 -- 
 Roman Pavlik       e-mail:Roman.Pavlik@www.cz
                    http://www.cz
 SkyNet, s.r.o.     TIS Authorized Security Partner
 Kabatnikova 5      tel: +42 5 74 97 75, (749778, 749781, 749786, 748611)
 602 00 Brno        fax: +42 5 74 97 52
 Czech Republic
 

From: Bill Fenner <fenner@parc.xerox.com>
To: Roman.Pavlik@www.cz, freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: kern/2570: arpresolve: cant allocate llinfo
Date: Mon, 26 May 1997 19:57:06 PDT

 Roman,
 
   Are you still having "can't allocate llinfo" problems under 2.1.7
 with ipfilter?  If so, can you apply this patch and tell me what
 the new error message is?
 
 Thanks,
   Bill
 
 cvs diff: Diffing .
 Index: if_ether.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netinet/if_ether.c,v
 retrieving revision 1.17.4.3
 diff -u -r1.17.4.3 if_ether.c
 --- if_ether.c	1997/05/14 16:45:42	1.17.4.3
 +++ if_ether.c	1997/05/27 02:55:06
 @@ -314,8 +314,9 @@
  			rt = la->la_rt;
  	}
  	if (la == 0 || rt == 0) {
 -		log(LOG_DEBUG, "arpresolve: can't allocate llinfo for %s\n",
 -			inet_ntoa(SIN(dst)->sin_addr));
 +		log(LOG_DEBUG, "arpresolve: can't allocate llinfo for %s%s%s\n",
 +			inet_ntoa(SIN(dst)->sin_addr), la ? "la" : "",
 +				rt ? "rt" : "");
  		m_freem(m);
  		return (0);
  	}

From: "Barry D. Ayow" <barry@educ.lsuc.on.ca>
To: freebsd-gnats-submit@freebsd.org, fenner@parc.xerox.com
Cc:  Subject: Re: kern/2570: arpresolve: cant allocate llinfo
Date: Fri, 15 Aug 1997 11:55:00 -0400

 I apologize for revisiting this issue but I am experiencing an identical
 problem with the use of v2.1.6 and 2.2.1.  In any event, I didn't see a
 follow up to this so I'm not sure if the patch worked.  I myself
 attempted to apply this patch but the make bailed at that function
 during the compile.  You must understand that I am not a C programmer so
 the modifications I made were verbatim. The compiler complains about gt
 and a parse error before ; in inet_ntoa. Any thoughts or undocumented
 outcomes from these previous prs.  Thankyou in advance.
 
 barry
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Sat May 23 01:03:50 PDT 1998 
State-Changed-Why:  
I have added fenners patch to -current. 
this PR times out.  If this resurfaces, hopefully we can get more details. 
>Unformatted:
