Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 1999 08:57:47 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Bob Johnson <bobj@atlantic.net>
Cc:        Mike Heffner <aheffner@lakefield.net>, stable@freebsd.org, Charles Mott <cmott@srv.net>, Eivind Eklund <perhaps@yes.no>, Ari Suutari <ari@suutari.iki.fi>
Subject:   Re: "Unknown type" messages in ppp 
Message-ID:  <199902260857.IAA00498@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Thu, 25 Feb 1999 01:48:26 EST." <3.0.2.32.19990225014826.030da87c@mail.atlantic.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
*CHOKE*

Your diagnosis is correct - but looking in libalias, I see that this 
is a *BIG* problem :-(

Ppp closes all file descriptors that it's not using.  A quick grep in 
the libalias code shows a rather generous helping of printf()s and 
fprintf()s.  This could cause some pretty nasty problems....

I'm going to merge the latest libalias stuff into FreeBSD-current in 
the next few days.  After that, I'll look at removing all printf()s, 
fprintf()s, warn()s err()s etc from the code (the DEBUG stuff is 
fine).

If anyone has any objections to this, please let me know asap.

> Regarding:
> >Date: Sun, 21 Feb 1999 18:08:44 -0600 (CST)
> >From: Mike Heffner <aheffner@lakefield.net>
> >Subject: "Unknown type" messages in ppp
> >
> >My recent upgrade from 2.2-stable to 3.1-stable went pretty well. Though
> >when
> >running ppp, i get weird messages:
> >
> >Unknown Type on Question 1
> >Unknown Type on Question 1
> >Unknown Type of Resource 100
> >
> >and they repeat on and on, about 10 lines of 3 like that, they seem to
> >occur
> >at various network traffic times, ie. checking mail, browsing web, but
> >not 
> >all the time.
> >
> >Anyone know what could be causing these messages? Are they safe to
> >disregard?
> >
> 
> 
> OK.  I think I found the source code that generates these error messages in
> /usr/src/lib/libalias/alias_nbt.c
> 
> In general, libalias appears to be a collection of routines to handle
> aliasing of TCP/IP packets (i.e. translating between your local IP numbers
> and the public number that your gateway uses to send them out on the
> Internet -- if I understand it correctly).  I predict that if you disable
> aliasing on tun0 (the ppp connection) you will stop seeing those error
> messages.  Of course, that's not real helpful as a long term solution, but
> it would tend to confirm that this is the source of the messages.
> 
> The particular routine in question handles netbios packets.  If you aren't
> doing anything that requires netbios (Windows networking through your
> gateway), you might be able to safely ignore the messages, but when I saw
> them in my system things were definitely unstable.  The code is rather
> inscrutable to someone who doesn't know the netbios protocol, so the best
> guess I have is that it means just what it says: for some reason, a Windows
> system on your network is sending a netbios query that the aliasing code
> doesn't recognize, and doesn't know how to handle.  Of course, if you don't
> have a Windows system on your network, it gets even more mysterious.
> 
> And I thought it was simply a matter of copying packets from one interface
> to another.  Silly me.
> 
> I hope that's helpful.  Does this sound accurate to anyone?
> 
> -- Bob
> 
> 
> +--------------------------------------------------------
> | Bob Johnson
> | bobj@cisi.com
> +--------------------------------------------------------

-- 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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