[svlug] Re: Best way to monitor for a remote connection?
lists-svlug at ira.abramov.org
Tue Aug 6 14:51:54 PDT 2002
Quoting Jim, from the post of Tue, 06 Aug:
> GOAL: Let the server monitor for a specified remote connection then send
> the tool bar automatically to that system. (rather then logging in to
> fetch it).
well, one way of doing this is the toolbar running on your system and
sending signals (say, via short TCP sessions to the server) to trigger
Another is by a web interface. buttons trigger stuff by CGI.
If you have your mind set on a remote poping X app, why is rsh not an
option? in a single commandline (which you then attach to an icon) you
can pop up a remote app.
as a last option, if, say, you don't want the insecurity of rsh and ssh
is a mess (setting up non-interactive login) or whatever other reason,
just have a little script triggered from xinetd or DJB daemontools. the
latter sets a few environment vars with the remote IP and port and all
and passes them to the triggered app, and voila. I don't know if there's
an open source version that does that (maybe xinetd does? I know the
regular inetd doesn't)
Live & Uncensored
http://ira.abramov.org/email/ This post is encrypted twice with ROT-13.
Documenting or attempting to crack this encryption is illegal.
More information about the svlug