Re: rtentry and rtrequest

2007-04-18 Thread Alan Garfield
On Wed, 2007-04-18 at 19:56 +0100, Bruce M. Simpson wrote: > The ARP code is pretty well documented in TCP/IP Illustrated Volume 2 > and hasn't really significantly changed. Whilst I personally dislike how > reentry happens in some of the paths, it works. Might have to this book to my collecti

Re: fake MAC addresses and ARP

2007-04-18 Thread Alan Garfield
On Wed, 2007-04-18 at 19:50 +0100, Bruce M. Simpson wrote: > Some ideas: > > 1. Enable IFF_STATICARP on your interface to stop ARP sending out to > resolve the IP/MAC address tuple. I'll try this. > 2. Consider that you can deal with resolution in userland (RTF_RESOLVE) > but this involves cha

Re: rtentry and rtrequest

2007-04-18 Thread Alan Garfield
On Wed, 2007-04-18 at 16:06 +0400, Yar Tikhiy wrote: > > > I just want an idea of the structures involved, and what I need to > > implement to intercept and injecting a fake MAC so my buffer driver can > > communicate with the other side without ARP errors. > > Could you tell more details on the

Re: cvs commit: src/sbin/ifconfig Makefile ifconfig.8 iflagg.c iftrunk.c src/share/man/man4 Makefile lagg.4 trunk.4 src/sys/modules Makefile src/sys/modules/if_lagg Makefile src/sys/modules/if_trunk M

2007-04-18 Thread Andrew Thompson
Please note the following change. trunk was only in HEAD for a week so the few people who tried it out already need to be aware of the name change. Andrew On Tue, Apr 17, 2007 at 12:35:11AM +, Andrew Thompson wrote: > thompsa 2007-04-17 00:35:11 UTC > > FreeBSD src repository > > M

Re: rtentry and rtrequest

2007-04-18 Thread Bruce M. Simpson
Alan Garfield wrote: Hi all! One word HOW! :) I've no clue what this FreeBSD ARP stuff is all about, there is little or no documentation, there are 14 different sock_addr's which seem to have a bazillion different fields, and I cannot output a simple debug statement without getting 'error:

Re: fake MAC addresses and ARP

2007-04-18 Thread Bruce M. Simpson
Some ideas: 1. Enable IFF_STATICARP on your interface to stop ARP sending out to resolve the IP/MAC address tuple. 2. Consider that you can deal with resolution in userland (RTF_RESOLVE) but this involves changing the net's entry (route) in the FTE. You'd then process RTM_RESOLVE messages an

Re: rtentry and rtrequest

2007-04-18 Thread Yar Tikhiy
On Wed, Apr 18, 2007 at 11:50:09AM +1000, Alan Garfield wrote: > Hi all! > > One word HOW! :) > > I've no clue what this FreeBSD ARP stuff is all about, there is little > or no documentation, there are 14 different sock_addr's which seem to > have a bazillion different fields, and I cannot ou

Re: rtentry and rtrequest

2007-04-18 Thread Ivo Vachkov
please, give us more info about the connection between ARP (address resolution protocol) and rtentry/rtrequest. about the debug information: man 9 printf man 9 log On 4/18/07, Alan Garfield <[EMAIL PROTECTED]> wrote: Hi all! One word HOW! :) I've no clue what this FreeBSD ARP stuff is all