Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 07:42 PM 2/12/2010, Luiz Otavio O Souza wrote: The "-S" tries to remove the entry first, but it fails because it doesn't exist. As far as I can tell, the -S option doesn't cause the command to fail if no routing table entry already exists. It just deletes any route that does exist. Also

Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Luiz Otavio O Souza
Brett, Change the "-S" to "-s" in the following line: if (ExecCmdNosh(LG_IFACE2, b->name, "%s -S %s %x:%x:%x:%x:%x:%x pub", PATH_ARP, u_addrtoa(&iface->peer_addr,hisaddr,sizeof(hisaddr)), The "-S" tries to remove the entry first, but it fails because it doe

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Li, Qing
Okay, well, I need to pack. So will get back to it in a week. -- Qing -Original Message- From: Brett Glass [mailto:br...@lariat.net] Sent: Fri 2/12/2010 6:22 PM To: Li, Qing Cc: n...@freebsd.org; Li, Qing; Luiz Otavio O Souza Subject: RE: Routing problems on VPN servers running FreeBSD

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Li, Qing
O Souza Subject: RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE P.S. -- It occurs to me that perhaps adding the word "only" at the end of the command string used by mpd 5.3 might help. Should I try this? ___ freebsd-net@free

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
P.S. -- It occurs to me that perhaps adding the word "only" at the end of the command string used by mpd 5.3 might help. Should I try this? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, s

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
This patch seems to have had a positive effect on ppp(8)/PoPToP, though more testing is needed. However, It appears that mpd uses arp(8) rather than the socket interface to set up proxy ARP. Here's the code (from the file iface.c in mpd 5.3): if (Enabled(&iface->options, IFACE_CONF_PROXY))

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 07:03 PM 2/12/2010, Li, Qing wrote: Luiz Otavio and I have been discussing offline about an issue with the file /usr.sbin/ppp/arp.c in the past week or so. The ARP related code in arp.c was missing a flag bit called "RTF_LLDATA". What about mpd? --Brett ___

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Li, Qing
> > It'd be good to resolve this as soon as possible, because I have > two clients who need servers installed this weekend. (They wanted > them last week, but I was trapped away from the office by a snowstorm.) > Luiz Otavio and I have been discussing offline about an issue with the file /usr.sb

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 05:28 PM 2/12/2010, Li, Qing wrote: Okay. I will be on a business trip for a week staring tomorrow. I'd be more than happy to work with you offline right after I get back, that's if you can wait and no one else has picked this issue up. It'd be good to resolve this as soon as possible, b

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Li, Qing
reebsd.org , and whatever other pieces of information you are willing to share. Thanks, -- Qing From: Brett Glass [mailto:br...@lariat.net] Sent: Fri 2/12/2010 4:04 PM To: Li, Qing Cc: n...@freebsd.org Subject: RE: Routing problems on VPN servers running F

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
Qing: On my test system, the file /usr/src/sys/netinet/in.c contains the following tag: __FBSDID("$FreeBSD: src/sys/netinet/in.c,v 1.143.2.13 2010/02/09 19:27:54 qingli Exp $"); The date above matches the date of revision 203718, which is 3 days old. --Brett At 04:26 PM 2/12/2010, Li, Qin

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Li, Qing
org/viewvc/base/stable/8/sys/netinet/in.c?view=log Then please report back the result of your verification. --Qing From: Brett Glass [mailto:br...@lariat.net] Sent: Fri 2/12/2010 2:39 PM To: David Horn Cc: Li, Qing; n...@freebsd.org Subject: Re: Routing problems

Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
At 03:09 PM 2/12/2010, David Horn wrote: If you have not already, make certain you use the appropriate tag of "RELENG_8", and not "RELENG_8_0" Yup, that's what I did. I used /usr/share/examples/stable-supfile with only one mod: I explicitly inserted the name of the mirror into the file rathe

Re: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread David Horn
On Fri, Feb 12, 2010 at 4:32 PM, Brett Glass wrote: > Qing: > > Last night, I updated an 8.0-RELEASE test machine to 8.0-RELENG using csup, If you have not already, make certain you use the appropriate tag of "RELENG_8", and not "RELENG_8_0" as per: http://www.freebsd.org/doc/handbook/cvs-tags.ht

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-12 Thread Brett Glass
Qing: Last night, I updated an 8.0-RELEASE test machine to 8.0-RELENG using csup, and then rebuilt the world and the kernel. I then tested both ppp(8) (with PoPTop) and mpd 5.3 on the machine. (I did not recompile mpd, but ppp(8) was of course recompiled when I rebuilt the world.) Proxy ARP

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-11 Thread Brett Glass
and see if the latest patches resolve your problems before we carry on with the "merge into 8-release" or other alternatives discussion ? -- Qing Date: Thu, 04 Feb 2010 22:41:38 -0700 From: Brett Glass To:"Li, Qing" , Subject: RE: Routing problems on

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-11 Thread Li, Qing
ing" , Subject: RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE Message-ID: <201002050541.waa04...@lariat.net> In-Reply-To: Qing: What about the possibility of going to 7.3-RELEASE? There is a lot that is good about 8.x, but when I build a production system I pr

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-04 Thread Brett Glass
Qing: What about the possibility of going to 7.3-RELEASE? There is a lot that is good about 8.x, but when I build a production system I prefer to use a release that will have extended support. After all, it's awkward to build a production server that will need to be taken down for a major upg

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-04 Thread Li, Qing
> > Not since the ARP table and the routing table have been split. > However, the addresses for which the machine is doing proxy ARP do > need to show up there, and they do not. > You described a bug symptom that should have been fixed. The proxy ARP entry should be displayed in the ARP table a

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-04 Thread Brett Glass
At 02:35 AM 2/3/2010, Li, Qing wrote: Proxy ARP entries are not installed into the routing table. Not since the ARP table and the routing table have been split. However, the addresses for which the machine is doing proxy ARP do need to show up there, and they do not. I believe I have fixe

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-03 Thread Li, Qing
> > The problems seem to be that (a) proxy ARP doesn't get set > up in either the ARP table or the routing table, and > Proxy ARP entries are not installed into the routing table. I believe I have fixed this issue in svn r201282 and merged into 8-STABLE http://svn.freebsd.org/viewvc/base?view=

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-02 Thread Brett Glass
Qing: Unfortunately, I am heading to Washington DC tomorrow to speak with the FCC and ask it not to regulate ISPs out of business. But when I return, I will certainly test it and help you fix whatever is still broken. The problems seem to be that (a) proxy ARP doesn't get set up in either the

RE: Routing problems on VPN servers running FreeBSD 8.0-RELEASE

2010-02-02 Thread Li, Qing
Few of the symptoms you described here were present in the vanilla 8.0-RELEASE but I have been fixing these in 8-STABLE since the official announcement. Could you please try 8-STABLE and report back if these problems persist there? -- Qing > -Original Message- > From: owner-freebsd-...@