Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2003 02:51:38 -0400
From:      Doug Lee <dgl@dlee.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: mpd VPN won't work after upgrade from 4.6-STABLE to 4.8-STABLE
Message-ID:  <20030624065138.GB478@kirk.dlee.org>
In-Reply-To: <20030624051941.GA22883@rot13.obsecurity.org>
References:  <20030624051121.GA478@kirk.dlee.org> <20030624051941.GA22883@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 23, 2003 at 10:19:41PM -0700, Kris Kennaway wrote:
> On Tue, Jun 24, 2003 at 01:11:22AM -0400, Doug Lee wrote:
> > I upgraded a week ago from 4.6-STABLE to 4.8-STABLE, and subsequently
> > my mpd-based VPN ceased to function, giving me all kinds of "protocol
> > rejected" messages.  I haven't seen any such reports lately on this
> > list or questions about it on freebsd-questions, so I'm wondering what
> > it's related to.  I can provide more details on request, but I first
> > wanted to see if anyone knows of an issue already.  This is the latest
> > mpd port (3.13) on both ends (FreeBSD on both ends), and I use
> > mpp-e128.  The link claims to come up, but any traffic on it causes
> > protocol-reject messages and doesn't get through (pings don't return
> > etc.).
> > 
> > Thanks for any and all help.
> 
> Did you try rebuilding it?  mpd uses netgraph (a kernel interface),
> and it's possible that backwards-compatibility was broken somewhere
> along the way.
> 
> Kris

Yes, but it's a good enough idea that I'm doing it again just to be
totally sure...and you reminded me that I forgot to rm -r work before
doing it last time :P

...but I am getting the same results after just having done

cd /usr/ports/net/mpd
rm -r work
make
make install
rehash

and starting mpd and trying pings...

I do note a lot of warnings during compilation...could this be the
problem somehow:

Kirk 3#	make
===>  Extracting for mpd-3.13
>> Checksum OK for mpd-3.13.tar.gz.
===>  Patching for mpd-3.13
===>  Configuring for mpd-3.13
===>  Building for mpd-3.13
===> src
Warning: Object directory not changed from original /usr/ports/net/mpd/work/mpd-3.13/src
cc -O -pipe -march=pentium  -DPATH_CONF_DIR=\"/usr/local/etc/mpd\" -DSYSLOG_FACILITY=LOG_DAEMON -DMPD_VERSION='"3.13 (root@kirk.dlee.org 01:37 24-Jun-2003)"' -g -Wall  -Wcast-align  -Wchar-subscripts  -Wformat  -Winline  -Wmissing-declarations  -Wmissing-prototypes  -Wnested-externs  -Wpointer-arith  -Wstrict-prototypes  -Wwrite-strings -DPHYSTYPE_MODEM -DPHYSTYPE_UDP -DPHYSTYPE_NG_SOCKET -DPHYSTYPE_PPTP '-DPPTP_VENDOR_NAME="FreeBSD mpd-3.13"' -DPHYSTYPE_PPPOE -DENCRYPTION_DES -DENCRYPTION_MPPE -DMICROSOFT_CHAP -DCOMPRESSION_MPPC   -c modem.c
In file included from /usr/include/openssl/ui_compat.h:63,
                 from /usr/include/openssl/des_old.h:439,
                 from /usr/include/openssl/des.h:101,
                 from ecp_des.h:15,
                 from ecp.h:19,
                 from bund.h:20,
                 from ppp.h:46,
                 from modem.c:10:
/usr/include/openssl/ui.h:220: warning: function declaration isn't a prototype
cc -O -pipe -march=pentium  -DPATH_CONF_DIR=\"/usr/local/etc/mpd\" -DSYSLOG_FACILITY=LOG_DAEMON -DMPD_VERSION='"3.13 (root@kirk.dlee.org 01:37 24-Jun-2003)"' -g -Wall  -Wcast-align  -Wchar-subscripts  -Wformat  -Winline  -Wmissing-declarations  -Wmissing-prototypes  -Wnested-externs  -Wpointer-arith  -Wstrict-prototypes  -Wwrite-strings -DPHYSTYPE_MODEM -DPHYSTYPE_UDP -DPHYSTYPE_NG_SOCKET -DPHYSTYPE_PPTP '-DPPTP_VENDOR_NAME="FreeBSD mpd-3.13"' -DPHYSTYPE_PPPOE -DENCRYPTION_DES -DENCRYPTION_MPPE -DMICROSOFT_CHAP -DCOMPRESSION_MPPC   -c chat.c
In file included from /usr/include/openssl/ui_compat.h:63,
                 from /usr/include/openssl/des_old.h:439,
                 from /usr/include/openssl/des.h:101,
                 from ecp_des.h:15,
                 from ecp.h:19,
                 from bund.h:20,
                 from ppp.h:46,
                 from chat.c:10:
/usr/include/openssl/ui.h:220: warning: function declaration isn't a prototype

I seem to have both base OpenSSL and an OpenSSL in /usr/local... I
built sendmail from ports once... perhaps I've caused some confusion
here.

Comments welcome.

-- 
Doug Lee           dgl@dlee.org        http://www.dlee.org
Bartimaeus Group   doug@bartsite.com   http://www.bartsite.com
"This page is best viewed with your monitor switched on."
--from Antiword web site (http://www.winfield.demon.nl/index.html)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624065138.GB478>