Summary: | [PATCH] allow route to create "proxy only" arp entries | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Craig Leres <leres> | ||||
Component: | bin | Assignee: | ru <ru> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | 3.2-RELEASE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Craig Leres
1999-06-23 07:10:00 UTC
<<On Tue, 22 Jun 1999 23:05:50 PDT, Craig Leres <leres@ee.lbl.gov> said: > It would be really nice if route(8) could add the necessary > magic to create "proxy only" arp entries. As titular networking czar, I don't have a strong feeling about this patch, so if someone wants to apply it, that's fine with me. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick On Wed, Jun 23, 1999 at 08:20:02AM -0700, Garrett Wollman wrote: > As titular networking czar, I don't have a strong feeling about this > patch, so if someone wants to apply it, that's fine with me. I'd like to commit it, but what about renaming the option -announce instead of -proxy, for consistency with the route flag name? Besides, it's a patch for 3.2 and this doesn't exactly qualify as a stability fix, should it be committed to the stable branch? -- Pierre Beyssac pb@enst.fr <<On Fri, 25 Jun 1999 21:28:08 +0200, Pierre Beyssac <beyssac@enst.fr> said: > I'd like to commit it, but what about renaming the option -announce > instead of -proxy, for consistency with the route flag name? Hmmm. I'm not sure I like either name much.... > Besides, it's a patch for 3.2 and this doesn't exactly qualify as > a stability fix, should it be committed to the stable branch? No. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick > I'd like to commit it, but what about renaming the option -announce
> instead of -proxy, for consistency with the route flag name?
Let me suggest adding -announce as a command line alias for -proto2
(since RTF_ANNOUNCE and RTF_PROTO2 are the same bit) and then have
-proxy do the SIN_PROXY (i.e. "proxy only") magic.
The example would then be:
fun 216 # route -n add -host 131.243.1.120 \
-link fxp0:0.a0.c9.b7.e3.3c -llinfo -proxy -announce -iface
or:
fun 216 # route -n add -host 131.243.1.120 \
-link fxp0:0.a0.c9.b7.e3.3c -llinfo -proxy -proto2 -iface
Craig
State Changed From-To: open->analyzed I have just fixed the arp(8) command so that it can create published proxy-only ARP entries irrespective of whether or not the route to a destination already exists. Responsible Changed From-To: freebsd-bugs->ru But I think having a similar functionality in route(8) would also be great. State Changed From-To: analyzed->closed Committed, thanks! It's pity that you can't use the new -proxy modifier to provide a single cloning entry for a whole subnet, due to SIN_PROXY bit being reset by applying the netmask to the key (destination) when putting an entrey into the routing table. |