From owner-freebsd-current Sun Jun 7 03:52:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09726 for freebsd-current-outgoing; Sun, 7 Jun 1998 03:52:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA09641 for ; Sun, 7 Jun 1998 03:52:04 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id LAA00965; Sun, 7 Jun 1998 11:46:30 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806071046.LAA00965@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: John Polstra cc: toj@gorillanet.gorilla.net, current@FreeBSD.ORG Subject: Re: IP Packet Aliasing Broke? In-reply-to: Your message of "Mon, 01 Jun 1998 19:27:22 PDT." <199806020227.TAA25559@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 11:46:30 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This stuff should be fixed now. dlopen() searches for the lib if the name has no ``/'' characters and the library's specified differently in ppp/loadalias.c for -current..... Now all we need is char *dlfind(const char *, int *major, int *minor) so that we can char *name; void *dl; int major = 2, minor = -1; name = dlfind("alias", &major, &minor); if (name) { if (minor < 5) fprintf(stderr, "Found version 2.%d, require at least " "version 2.5\n", minor); else { dl = dlopen(name, ....); .... } } free(name); Has anyone any objections to me implementing dlfind() ? > > > > On May 28 packet forwarding was working, on the 29 it was *not*. > > > > Any ideas or did I miss something? All I have done is make world > > > > and kernel rebuid. > > > > No, sorry for not being clear. User ppp ip packet aliasing. Trying to > > figure out what happened but haven't yet. > > You might have gotten bitten by the move of the libraries from > /usr/lib to /usr/lib/aout. Where is libalias.so.*? If it is in > /usr/lib/aout, try creating a symlink to it in /usr/lib. > > John > -- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Self-knowledge is always bad news." -- John Barth -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message