I'm trying to setup a ppp link using FreeBSD 4.9p1 and it appears that
the "MYADDR" keyword is being expanded to the IP address associated
with the hostname, rather than the IP address associated with the
PPP tunnel.

As an example, the following maching has 192.168.123.159 associated
with ep0 and its hostname.  ppp shows:
tun0: Command: xyzzy: set ifaddr 192.168.236.102 192.168.236.101
...
tun0: Command: xyzzy: ! ipfw add 11000 count log logamount 0 tcp from MYADDR to 
HISADDR out xmit INTERFACE setup
ppp: Pausing until ipfw finishes
11000 count log tcp from 192.168.123.159 to 192.168.236.101 out xmit tun0 setup

Note that "MYADDR" has turned into "192.168.123.159" instead of
"192.168.236.102" as set in the "set ifaddr" command.  ifconfig shows
that the actual addresses used on the link are as per the "set ifaddr"
command.  Based on errors reported by logging "Filter", it appears
that "set filter" has a similar problem with MYADDR.

I know this definitely worked with FreeBSD 4.6 and I think it works
with 4.7.  Has anyone else seen this?

Peter
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to