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
Dietmar Maurer
ff9c330c5d
add bootlog
...
we use boodlogd on wheezy
2013-03-26 07:59:57 +01:00
Dietmar Maurer
d0e55a8553
setup /etc/lsb-base-logging.sh in postinst
2013-03-26 07:16:26 +01:00
Dietmar Maurer
7fc8e02051
cleanup C wrapper
2013-03-25 17:47:33 +01:00
Dietmar Maurer
46c17bd23b
use C-wrapper for setgid perl script
...
Because perl-suid does not exist on wheezy.
2013-03-25 12:39:40 +01:00
Dietmar Maurer
2401834625
depend on postfix or mail-transport-agent
...
To fix a lintian warning.
2013-03-25 12:38:44 +01:00
Dietmar Maurer
df27aa6e70
bump version to 3.0-3
2013-03-25 09:06:02 +01:00
Dietmar Maurer
9003d6e339
pvebanner: overwrite /etc/issue instead of printing to stdout
...
That way be get the pve banner for all spanned getty.
We also create /etc/lsb-base-logging.sh and set FANCYTTY=0, because this
work better wit bootlogd (no control characters in /var/log/boot.
2013-03-25 09:01:59 +01:00
Dietmar Maurer
520fa3376d
mark service vz optional in pve-manager init script
...
We do not depend on vzctl, so this is needed to avoid errors on install.
2013-03-22 06:18:46 +01:00
Dietmar Maurer
c4113f6c3a
add comment about why we do not use the CA file
2013-03-21 08:41:20 +01:00
Dietmar Maurer
15d29886e7
disable verify_hostname with LWP
...
This was the default for libwww-perl-5.837 and earlier releases.
2013-03-21 06:57:27 +01:00
Dietmar Maurer
61d0e6677d
depend on libhttp-daemon-perl
...
Http::Daemon moved into this package on wheezy
2013-03-20 09:48:03 +01:00
Dietmar Maurer
91aa2c95b3
bump version to 3.0-1
...
remove perl-suid dependency
2013-03-15 08:39:09 +01:00
Dietmar Maurer
1904114e36
network config: allow empty IP address/netmask
...
bump version to 2.3-13
2013-03-05 06:48:26 +01:00
Dietmar Maurer
d09f6f7d3c
fix IP address verification
2013-03-04 06:56:42 +01:00
Dietmar Maurer
572c2d2bd7
bump version to 2.3-11
2013-03-01 06:25:14 +01:00
Damien PIQUET
8989e8478b
bugfix #301 Add container hostname validation in GUI
...
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-03-01 06:23:08 +01:00
Damien PIQUET
e16a27be12
Added ipv4 validation, forbid network and broadcast addresses
...
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-02-27 10:34:09 +01:00