NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Any security risk with DBG?


Joined: 27 Apr 2006
Posts: 3
Reply with quote
Hallo forum,

i have a remote server with a cms in php.
When i setup a local testserver i must every day download scripts, db's and other files to my local server.
I have seen that i can use ssh to connect to dbg session and i would use dbg on the production server.
Have someone experiences with running dbg on productions server.
is there a security risk or make this the server unstable.

Thanks in advance.

lars
View user's profileFind all posts by LLaehnSend private message


Joined: 09 Dec 2003
Posts: 92
Reply with quote
As to stability, I don't know because I don't use DBG on production machines.

As to security, I don't think you take too much risk if you configure DBG to allow connections to "localhost" only, which in this case will be the endpoint of your ssh tunnel. Probably your PHP scripts will provide more and better exploitable attack vectors than the DBG extension Smile
View user's profileFind all posts by mpSend private message


Joined: 27 Apr 2006
Posts: 3
Reply with quote
thanks mp for reply,

thats right, with ssh i use only the localhost connection to the server. other user can't see some vars (mysql-user or password) if they don't login into ssh-con ( i hope so ?!? ).

is the dbg extension everytime active or only if i connect to dbg session?
does dbg influences the server performance of the non debugged sessions?


thanks
lars
View user's profileFind all posts by LLaehnSend private message


Joined: 09 Dec 2003
Posts: 92
Reply with quote
Dmitri should be able to answer that precisely.

I suspect that - besides from a neglectible overhead at request start-up - having the DBG extension enabled or not does not make a performance difference.
View user's profileFind all posts by mpSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8351
Reply with quote
Quote:
is the dbg extension everytime active or only if i connect to dbg session?

it's all time loaded but remains passive until debug session is activated.

Quote:
does dbg influences the server performance of the non debugged sessions?

Less than 1% for empty scripts (the shortest scripts) and much less for non-empty ones.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 27 Apr 2006
Posts: 3
Reply with quote
thanks mp and ddmitrie,

this will help me.
i try to use the dbg extension on my production server.

i will report.

thanks for reply and thanks for the dbg extension.


greetings from germany

lars
View user's profileFind all posts by LLaehnSend private message
Any security risk with DBG?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic