Re: openbsd 5.7 crash

2015-03-18 Thread Martin Pieuchot
On 18/03/15(Wed) 21:01, Henk Jan Agteresch wrote:
 On Tue, 17 Mar 2015, Martin Pieuchot wrote:
 
   
   # dmesg |grep arp
   arpresolve: 213.154.229.23: incorrect arp information
   arpresolve: 213.154.229.23: incorrect arp information
   arpresolve: 213.154.229.23: incorrect arp information
   arpresolve: 213.154.229.23: incorrect arp information
   arpresolve: 213.154.229.23: incorrect arp information
   arp info overwritten for 213.154.229.23 by fe:54:00:b2:8c:98 on pcn0
  
  Could you tell me if the diff below let you use your configuration and
  remove the incorrect arp information messages?
  
 
 My configuration works with patched /sbin/route. (and previous kernel
 patch). arpresolve message has changed to:
 
 $ dmesg|grep arpresolve 
 arpresolve: unresolved and rt_expire == 0

Good!  We're making progress :)

To prevent such message you *should* add -llinfo to your route(8)
command line.  This is because you're adding a link-layer gateway
information without passing the link-layer flag.  Right now the
kernel is too permissive and add the flag for you.  I'll try to
cook a diff to make this flag mandatory.



Re: openbsd 5.7 crash

2015-03-18 Thread Henk Jan Agteresch
On Tue, 17 Mar 2015, Martin Pieuchot wrote:

  
  # dmesg |grep arp
  arpresolve: 213.154.229.23: incorrect arp information
  arpresolve: 213.154.229.23: incorrect arp information
  arpresolve: 213.154.229.23: incorrect arp information
  arpresolve: 213.154.229.23: incorrect arp information
  arpresolve: 213.154.229.23: incorrect arp information
  arp info overwritten for 213.154.229.23 by fe:54:00:b2:8c:98 on pcn0
 
 Could you tell me if the diff below let you use your configuration and
 remove the incorrect arp information messages?
 

My configuration works with patched /sbin/route. (and previous kernel
patch). arpresolve message has changed to:

$ dmesg|grep arpresolve 

   
arpresolve: unresolved and rt_expire == 0

-- 
Met vriendelijke groet,
Henk Jan Agteresch, Unix Engineer
BIT BV| henk...@bit.nl | +31 318 648688 
KvK: 09090351 | GPG: 8D3FE368