Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Remote Debugging again
Remote Debugging again [message #159612] Thu, 20 November 2003 13:29 Go to next message
Eclipse UserFriend
Originally posted by: hans.schwaebli.schwaebli.de

We have a remote computer in Switzerland and want to remote debug on it from
Germany.

In Eclipse I can enter the Host. What should I enter there? The IP address?
What about the login and password? How would such a Host address look like
in our case? What about the port? Does the firewall need to be configured
for the used port number?
Re: Remote Debugging again [message #159635 is a reply to message #159612] Thu, 20 November 2003 14:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thomas_maeder.ch.ibm.com

Here's what you do:

1) log in to the computer in Switzerland (let's say it's called
figugegl.somecompany.ch)
2) Start your VM with -Xrunjdwp:....,address=8888, server=y, ...
3) In Germany, point the eclipse debugger at host
figugegl.somecompany.ch, port 8888 (i.e. create a new Remote Application
launch configuration).
4) connect.

Any firewall will have to be configured to allow IP connections on
whichever port you use.

Thomas

Hans Schwaebli wrote:
> We have a remote computer in Switzerland and want to remote debug on it from
> Germany.
>
> In Eclipse I can enter the Host. What should I enter there? The IP address?
> What about the login and password? How would such a Host address look like
> in our case? What about the port? Does the firewall need to be configured
> for the used port number?
>
>
Re: Remote Debugging again [message #159642 is a reply to message #159635] Thu, 20 November 2003 14:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hans.schwaebli.schwaebli.de

You write figugegl.somecompany.ch

But it is no web server. It is a EJB application server.

And what about the user name and password? How can I connect to a remote
machine without it?


"Thomas M
Re: Remote Debugging again [message #159713 is a reply to message #159642] Thu, 20 November 2003 15:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.sell.netcologne.de

Hans Schwaebli schrieb:
> You write figugegl.somecompany.ch
>
> But it is no web server. It is a EJB application server.

figugegl.somecompany.ch is a domain name, which translates into an IP
address. You could replace it with the IP address of the target host as
well.


> And what about the user name and password? How can I connect to a remote
> machine without it?

connect and login are different things. If the debugger is listening on
a given port, it can be accessed by anyone who knows the IP and port number.

>
> "Thomas Mäder" <thomas_maeder@ch.ibm.com> wrote in message
> news:bpj36b$s6t$1@eclipse.org...
>
>>Here's what you do:
>>
>>1) log in to the computer in Switzerland (let's say it's called
>>figugegl.somecompany.ch)
>>2) Start your VM with -Xrunjdwp:....,address=8888, server=y, ...
>>3) In Germany, point the eclipse debugger at host
>>figugegl.somecompany.ch, port 8888 (i.e. create a new Remote Application
>>launch configuration).
>>4) connect.
>>
>>Any firewall will have to be configured to allow IP connections on
>>whichever port you use.
>>
>>Thomas
>>
>>Hans Schwaebli wrote:
>>
>>>We have a remote computer in Switzerland and want to remote debug on it
>
> from
>
>>>Germany.
>>>
>>>In Eclipse I can enter the Host. What should I enter there? The IP
>
> address?
>
>>>What about the login and password? How would such a Host address look
>
> like
>
>>>in our case? What about the port? Does the firewall need to be
>
> configured
>
>>>for the used port number?
>>>
>>>
>>
>
>
Re: Remote Debugging again [message #159719 is a reply to message #159713] Thu, 20 November 2003 15:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hans.schwaebli.schwaebli.de

> > And what about the user name and password? How can I connect to a remote
> > machine without it?
>
> connect and login are different things. If the debugger is listening on
> a given port, it can be accessed by anyone who knows the IP and port
number.

Is this secure? What about hackers?
Re: Remote Debugging again [message #159807 is a reply to message #159719] Thu, 20 November 2003 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.sell.netcologne.de

Hans Schwaebli schrieb:
>>>And what about the user name and password? How can I connect to a remote
>>>machine without it?
>>
>>connect and login are different things. If the debugger is listening on
>>a given port, it can be accessed by anyone who knows the IP and port
>
> number.
>
> Is this secure? What about hackers?

What damage can somebody incur by connecting to the JPDA debugger? If
the debuggee process is not running with root privileges, I dont see
much danger. In any case, the hole is only open while the debuggee
process is running, and you are not connected to it.

christian
Re: Remote Debugging again [message #159900 is a reply to message #159807] Fri, 21 November 2003 01:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hans.schwaebli.schwaebli.de

The hacker could terminate the remote vm! This would be very bad in a
production system!


"Christian Sell" <christian.sell@netcologne.de> wrote in message
news:bpje9g$98u$1@eclipse.org...
> Hans Schwaebli schrieb:
> >>>And what about the user name and password? How can I connect to a
remote
> >>>machine without it?
> >>
> >>connect and login are different things. If the debugger is listening on
> >>a given port, it can be accessed by anyone who knows the IP and port
> >
> > number.
> >
> > Is this secure? What about hackers?
>
> What damage can somebody incur by connecting to the JPDA debugger? If
> the debuggee process is not running with root privileges, I dont see
> much danger. In any case, the hole is only open while the debuggee
> process is running, and you are not connected to it.
>
> christian
>
Re: Remote Debugging again [message #159951 is a reply to message #159900] Fri, 21 November 2003 04:32 Go to previous message
Eclipse UserFriend
Originally posted by: christian.sell.netcologne.de

Hans Schwaebli schrieb:
> The hacker could terminate the remote vm! This would be very bad in a
> production system!

you mean you would run the production system under a debugger??

>
>
> "Christian Sell" <christian.sell@netcologne.de> wrote in message
> news:bpje9g$98u$1@eclipse.org...
>
>>Hans Schwaebli schrieb:
>>
>>>>>And what about the user name and password? How can I connect to a
>
> remote
>
>>>>>machine without it?
>>>>
>>>>connect and login are different things. If the debugger is listening on
>>>>a given port, it can be accessed by anyone who knows the IP and port
>>>
>>>number.
>>>
>>>Is this secure? What about hackers?
>>
>>What damage can somebody incur by connecting to the JPDA debugger? If
>>the debuggee process is not running with root privileges, I dont see
>>much danger. In any case, the hole is only open while the debuggee
>>process is running, and you are not connected to it.
>>
>>christian
>>
>
>
>
Previous Topic:3.0M4 no longer running on Debian Sid
Next Topic:No clean refactoring
Goto Forum:
  


Current Time: Thu May 08 23:36:45 EDT 2025

Powered by FUDForum. Page generated in 0.10154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top