[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] pts/x (fwd)
Hi again
On 4 Mar 2001, Alex Hudson wrote:
> On 03 Mar 2001 22:57:11 +0000, Guennadi Liakhovetski wrote:
> > 1) kernel 2.2.18 1 user (apart from root), login via terminal, rlogin,
> > ssh, X (like rlogin x, xterm)
> > right now who reports me on pts/1,3,4,5,6; ls /dev/pts gives the same -
> > 1,3,4,5,6
> >
> > 2) kernel 2.4.2 users can rlogin, ssh, X into the host, same - who's
> > report agrees with ls /dev/pts.
>
> Check the X start-up log, and see if GNOME (or whatever you run) has
> grabbed a pts, although it ought to show up.. might be worth grepping
> through all your logs, X, /var/log/messages, etc., for any mention of
> the device.
Nothing suspicious. Only 'su to root on pts/x' in messages. And there's NO
X-server running on the 2.2.18-one AT ALL - just couple X-clients.
> > > * are people able to login through a masq'ing server or some other
> > > NATing router?
> >
> > Not sure what this means, sorry, only can tell that I can ssh to it from
> > outside the firewall, which IS a masq'ing server, I assume.
>
> By masq'ing I'm talking about a specific form of NAT - source nat, a
> many-to-one relationship where machines behind a firewall connect to
> machines outside the network via the firewall and appear as the
> firewall. What can happen is that if you leave a ssh session, or
> similar, connected because they're quiet protocols no data gets passed
> unless you use it. The masq'ing gateway maintains a table of
> connections, but these time out after a while, so if the connection gets
> timed out that means the ssh session loses communication one way.
> However, the sockets at either end will remain open, so you've lost a
> tty, at least until the ssh session times out (usually via keepalive).
Ok, I did have a lot of times, when an ssh session (via a firewall, which
doesn't matter here, does it?) was cut (ic24 disconnects you every hour),
but I am sure this happened not only to pts/2. And remember - there's NO
'2' in /dev/pts/... What else keeps track of pts's? some static array in
the kernel?...
A completely different query - looks like you (Alex, Will, others?) are
pretty well familiar with the linux kernel... I want to port a piece of
code from 2.0.39 to 2.2.x / 2.4.x (it was just lost...). But I can't
reasonably do it myself... Can (and want?) anybody help me with that? The
actual author / maintainer of this piece of code (Andre Hedrick) did help
a lot, but he appears to be too busy these days... Yes, it's about IDE...
Thanks
Guennadi
>
> > What does this mean?
>
> Dunno :) As Will said, the tty code looks fairly safe, as does the
> /fs/devpts system, so can't believe it's a bug in any shape or form. And
> there aren't any special cases in there which would account for it.
> Either it's in use, or for some reason it can't be used - try checking
> the logs, see if there are any references to it..
>
> Cheers,
>
> Alex.
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word
> "unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
>
>
>
___
Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, U.K.
email: G.Liakhovetski [at] sheffield.ac.uk
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.