Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 09:34:00 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        Aslak Evang <nyogtha@flipp.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: identd+nat and usbmouse
Message-ID:  <20010820093400.A67659@comp04.prc.uic.edu>
In-Reply-To: <5.1.0.14.2.20010820024326.00a56400@freenix.no>; from nyogtha@flipp.net on Mon, Aug 20, 2001 at 02:52:14AM %2B0200
References:  <5.1.0.14.2.20010820024326.00a56400@freenix.no>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've been lurking here for a while picking up useful tips. I
> installed fbsd a couple of months ago and have just about everything
> running ok...

Welcome.

> ... but there are two things I still can't get to work properly.

Please don't ask >1 unrelated questions in a single post.  See

  http://www.lemis.com/questions.html

> 1: identd server on my freebsd box. I have both my computers, one
> with fbsd and one with windows, behind a D-link Dl-704 ADSL
> router. I have forwarded port 113 to my bsd box as I'd like to run
> an identd server on it. I've tried a number of different servers
> with no luck. Right now I'm running the internal one, with a "fake"
> output set so it will reply the chosen username and systemname no
> matter what.

``auth'' behind NAT is always dodgy, since the protocol depends on the
client port number.  (The source port used by the NAT box is very
unlikely to be the same as the source port on the actual client
machine.)  I think I see what's coming.

> I can telnet to port 113 of the box and I get a connect. As soon as
> type something I get the message 0 , 0 : ERROR : X-INVALID-REQUEST
> Connection closed by foreign host.  I don't really know if this
> message is supposed to be there or if something is wrong.

Unless you typed a valid auth request (something of the form
"1234,5678"), then this is correct behavior.  Your daemon appears to
be working.

> Anyhow, even though I can connect to port 113 identd does not work
> (irc still displays my nick with a ~ in front of my "ident", and I
> get a "no response from identd server" when i try to connect.)

Do you have shell access to a machine outside your network?  You could
always use your same telnet command from above to test if your port
forwarding is working.  If you get "Connection refused," then your
port forward is broken.

Once your port forward is working, you'll probably need the `-d'
option to the auth service to work around the NAT source port problem
I mumbled about above.  See inetd(8).

> I read somewhere midentd was recommended but I cant find a freebsd
> build...

I've heard some talk about midentd, but I've never used it, and I
don't see it in ports.

> 2: My logitech usb mouse...

I have no idea.  I don't own a single USB peripheral.

Lucas

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




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