fixed security issue
[www.git] / www / psensor / remote.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 1.5.4">
8 <title>psensor remote monitoring</title>
9 <link rel="stylesheet" href="./../style.css">
10 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
11 <script src="nav.js"></script>
12 <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
13 </head>
14 <body class="article">
15 <div id="header">
16 <h1>psensor remote monitoring</h1>
17 </div>
18 <div id="content">
19 <div id="preamble">
20 <div class="sectionbody">
21 <div class="paragraph">
22 <p><code>psensor-server</code> is a minimalist Web server hosting
23 a JSON Web service which allows <code>psensor</code> to monitor a remote computer.</p>
24 </div>
25 </div>
26 </div>
27 <div class="sect1">
28 <h2 id="_usage">Usage</h2>
29 <div class="sectionbody">
30 <div class="paragraph">
31 <p><code>psensor-server</code> must be run on the monitored computer then run psensor
32 on the desktop computer with the following command line:</p>
33 </div>
34 <div class="listingblock">
35 <div class="content">
36 <pre>psensor --url=server_hostname:3131</pre>
37 </div>
38 </div>
39 <div class="paragraph">
40 <p><code>psensor-server</code> is included in the source package of <code>psensor</code>.</p>
41 </div>
42 </div>
43 </div>
44 <div class="sect1">
45 <h2 id="_psensor_server_web_server">Psensor Server Web Server</h2>
46 <div class="sectionbody">
47 <div class="paragraph">
48 <p>In addition to psensor, you can also use any browser to view the information of the remote computer. Just open the URL: <a href="http://server_hostname:3131" class="bare">http://server_hostname:3131</a>.</p>
49 </div>
50 <div class="paragraph">
51 <p><span class="image"><img src="http://wpitchoune.net/psensor/screenshots/psensor_server_20120326.png" alt="psensor server 20120326"></span></p>
52 </div>
53 </div>
54 </div>
55 <div class="sect1">
56 <h2 id="_security">Security</h2>
57 <div class="sectionbody">
58 <div class="paragraph">
59 <p>psensor-server does not provide any way to restrict the connection to the HTTP server, worst, no effort has been made against malicious HTTP attacks.  You should make the psensor-server port available only to a network or computer you trust by using the usual network security tools of the system (for example, iptables).</p>
60 </div>
61 </div>
62 </div>
63 </div>
64 <div id="footer">
65 <div id="footer-text">
66 Last updated 2016-06-14 10:12:07 CEST
67 </div>
68 </div>
69 </body>
70 </html>