Bug 18895

Summary: 'fe80::<ether>' cannot be used in "via"
Product: Base System Reporter: trost <trost>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description trost 2000-05-30 00:00:00 UTC
	If an address starting "fe80::..." is used as the interface in
	an ip6fw "via" clause, the address is not recognized but is
	(apparently) interpreted as the hostname "fe80".

Fix: 

Prepending a zero to the front of the address causes the desired
	interpretation.  However, the firewall rule still doesn't work
	when that is done, so I switched to the interface name instead.
How-To-Repeat: 
	ip6fw add 55555 deny all from any to any via `ifconfig -au |
				fmt 1 | grep fe80 | head -1`
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2002-08-19 18:06:59 UTC
Responsible Changed
From-To: freebsd-bugs->luigi

luigi is our ipfw guru.
Comment 2 Luigi Rizzo freebsd_committer freebsd_triage 2002-09-03 02:53:38 UTC
Responsible Changed
From-To: luigi->freebsd-bugs

i am not handling ip6fw (yet), i will do at some point by 
merging the functionality into ipfw2
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2003-07-13 06:47:40 UTC
State Changed
From-To: open->closed

Please report problems with the IPv6 code to the KAME 
developers (www.kame.net)