Dietmar Maurer
9c5a54db6e
make lint happy
2013-04-25 10:25:01 +02:00
Stefan Priebe
a1890e2281
Nodeselector: change default sort to name instead of mem
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-04-25 10:10:20 +02:00
Dietmar Maurer
0945c97495
bump version to 3.0-11
2013-04-24 09:57:54 +02:00
Dietmar Maurer
04a3ef7ac7
fix NodeSelector
2013-04-24 09:50:10 +02:00
Dietmar Maurer
0ee3bc7a67
bump version to 3.0-10
2013-04-24 08:05:18 +02:00
Stefan Priebe
91b0d3c2c7
Qemu CreateWizard preselect current node
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-04-24 05:58:54 +02:00
Dietmar Maurer
88ad410336
pveproxy: implement if-modified-since
2013-04-23 11:53:32 +02:00
Dietmar Maurer
a908636e70
pveproxy: implement host based access control
2013-04-23 10:30:10 +02:00
Stefan Priebe
0455911df1
implement node netstat call to get current tap network counters
...
Changes since V2:
- swap in / out / transmit / receive again
Changes since V1:
- new return format (use an arrayref instead of a hash to be JS compatible)
- swap in / out / transmit / receive
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-04-19 11:43:09 +02:00
Dietmar Maurer
6735c379f5
display correct error message on file uploads
2013-04-17 09:03:56 +02:00
Dietmar Maurer
f6c357cf35
code cleanups
2013-04-17 08:28:05 +02:00
Dietmar Maurer
757b733c99
bump version to 3.0-9
2013-04-16 11:56:08 +02:00
Dietmar Maurer
7a05d783d8
remove all references to apache2
2013-04-16 11:54:25 +02:00
Dietmar Maurer
2c32df3609
improve syslog for file uploads
...
Log correct file size and MD5SUM.
2013-04-16 09:37:47 +02:00
Dietmar Maurer
0266798235
stop keep-alive when there are many open connections
...
We try to avoid to reach the max_conn limit.
2013-04-16 09:09:41 +02:00
Dietmar Maurer
209b203ebf
improve security by setting size limits
2013-04-16 08:59:50 +02:00
Dietmar Maurer
6bfd3d8021
bump version to 3.0-8
2013-04-16 07:47:33 +02:00
Dietmar Maurer
682d12c530
disable Nagle algorithm
2013-04-16 07:47:23 +02:00
Dietmar Maurer
e66d68a923
accept len=0 for http requests
2013-04-16 07:02:58 +02:00
Dietmar Maurer
d5ae478444
use correct name for libqb0
2013-04-16 06:40:05 +02:00
Dietmar Maurer
a81182b00b
fix multipart parser
...
Content-Type is optional and not well defined, so do not use it.
2013-04-16 06:29:23 +02:00
Dietmar Maurer
a1d78a68bc
bump version to 3.0-7
2013-04-16 06:28:44 +02:00
Dietmar Maurer
96d981eb38
correctly encode PVEAuthCookie
2013-04-15 12:29:03 +02:00
Dietmar Maurer
d0547f7fde
use correct protocol version for http response
2013-04-15 12:26:20 +02:00
Dietmar Maurer
d06a1c62c3
implement file upload
...
And remove CGI.pm dependency (because we want nonblocking upload).
2013-04-15 11:20:17 +02:00
Dietmar Maurer
5a68b2b2f0
do not use keep_alive for connections to localhost
2013-04-11 09:06:38 +02:00
Dietmar Maurer
353fef2430
add tls_ctx to proxy requests
...
and fix a typo
2013-04-11 08:53:35 +02:00
Dietmar Maurer
f91072d56f
code cleanups
2013-04-11 08:31:03 +02:00
Dietmar Maurer
c2e9823c0a
use syncrounous IO for log writer
2013-04-11 07:47:33 +02:00
Dietmar Maurer
48c658a41c
give more time for daemon stop/restart
2013-04-11 06:53:51 +02:00
Dietmar Maurer
57f93db1b9
move HTTPServer into separate file
2013-04-11 06:48:01 +02:00
Dietmar Maurer
d846ca61bd
implement api proxy calls using AnyEvent::HTTP
2013-04-11 06:43:00 +02:00
Dietmar Maurer
71aed650ea
implement signal handler for clean reload/restart
2013-04-10 11:12:03 +02:00
Dietmar Maurer
3dad8dc716
run pveproxy as unpriviledged user (www-data)
...
We log to /var/log/pveproxy/access.log. Extra directory is needed because we run
as www-data (no permissions to write into /var/log/pve/).
2013-04-10 09:58:35 +02:00
Dietmar Maurer
026fd9cf6e
only allow pre-defined directories (avoid regex)
...
Just to be more secure.
2013-04-10 07:10:50 +02:00
Dietmar Maurer
b52c0d2151
cleanup header parser
2013-04-10 06:13:55 +02:00
Dietmar Maurer
05c7c27fe4
use liburi-perl to get query params
2013-04-10 06:08:03 +02:00
Dietmar Maurer
f34ca46009
fix APIDaemon header parser
2013-04-09 14:02:59 +02:00
Dietmar Maurer
0c308a030e
remove apache2 dependency
...
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00
Dietmar Maurer
bd7333661e
implement new event based api server
2013-04-09 11:51:51 +02:00
Dietmar Maurer
16ea210512
add new protocol parameter for API2Client
2013-04-05 16:42:37 +02:00
Dietmar Maurer
e313c642f2
depend on libanyevent-perl
2013-04-03 10:02:53 +02:00
Dietmar Maurer
c2dde0d811
Depend on ibnet-http-perl (>= 6.06-1)
...
bump version to 3.0-6
2013-03-28 13:17:43 +01:00
Dietmar Maurer
cb3e5146a0
cleanup performance test
2013-03-28 13:11:01 +01:00
Dietmar Maurer
bbc2837298
fix API2Client - disable verify_hostname
2013-03-28 09:52:26 +01:00
Dietmar Maurer
15dd125754
add performance test using Net::SSLeay
2013-03-28 09:48:09 +01:00
Dietmar Maurer
52713981aa
add simply perf test using 'ab'
2013-03-28 09:47:51 +01:00
Dietmar Maurer
7d6b16f13a
bump version to 3.0-5
2013-03-27 06:31:24 +01:00
Dietmar Maurer
e659819599
avoid warning about undefined value
2013-03-27 06:29:41 +01:00
Dietmar Maurer
3648a28c27
bump version to 3.0-4
2013-03-26 08:02:05 +01:00