Revision:

Revisions

# Date Author Comment
529dadc5 04/01/2013 12:02 pm Vangelis Koukis

Use /bin/sh instead of "/usr/bin/env sh" in ci/

Use /bin/sh instead of "/usr/bin/env sh" in ci/ scripts consistently.
Yes, in theory the Bourne shell may not be in /bin, but POSIX doesn't
seem to specify the location of /usr/bin/env explicitly, either.

4908cdde 04/01/2013 11:57 am Vangelis Koukis

Add CI functionality

Add various scripts under ci/, enabling support for
Continuous Integration.

Among others, there are scripts for automated: * pep8/flake8/pylint reports * installation in a virtualenv * execution of unit tests (not yet enabled) * building of docs (not yet enabled)...

f6eb1be8 03/30/2013 01:01 pm Vangelis Koukis

Fix possible race in returning source port to pool

First make sure all sockets for a connection are closed,
then return the source port number to the port pool.

This fixes a possible race where the greenlet gets preempted right after
returning a port to the pool, and the port is picked up from the pool by...

020f4a9e 03/30/2013 12:55 pm Vangelis Koukis

Improve cleanup of worker greenlets

There are two worker greenlets per direction of an established
connection. This patch improves the way they are cleaned up
by the main connection greenlet.

The workers are no longer linked together. This removes the hideous...

d5705e2c 03/30/2013 12:46 pm Vangelis Koukis

Fix a few more instances of logging

Fix a few more instances of logging, per pylint W6501,
after commit c87d99e96.

0423d976 03/30/2013 12:44 pm Vangelis Koukis

Use gevent.sleep instead of time.sleep

Use green version of sleep() from gevent,
so other greenlets get to run while a specific greenlet sleeps.

c87d99e9 03/29/2013 01:34 pm Vangelis Koukis

Make logging more consistent

Generate all logging-specific function members of VncAuthProxy
("info", "error", etc) dynamically, from a single template.

Pass arguments to format string separately, as per pylint W6501,
PEP282.

fe5fc466 03/29/2013 12:48 pm Vangelis Koukis

Fix minor typo

68caea79 03/29/2013 12:35 pm Vangelis Koukis

Add support for devflow

Add support for computing version numbers using devflow infrastructure.

6e40f2a8 03/28/2013 05:08 pm Vangelis Koukis

Be more verbose when waiting for client to connect

03a592b9 03/26/2013 07:36 pm Vangelis Koukis

Support argument parsing in command line client

Make the vncauthproxy client a proper command line tool,
by adding support for argument parsing. Also output debugging
information to stderr.

180a750f 03/22/2013 07:02 pm Vangelis Koukis

Work with multiple versions of python-daemon

31965126 03/22/2013 07:00 pm Vangelis Koukis

Make source PEP8-compliant

a1b7bd68 07/13/2012 04:25 pm Vangelis Koukis

Merge branch 'master' into snf-debian

75eed2cf 07/13/2012 04:25 pm Vangelis Koukis

Minor fixes to diagnostics for pidfile handling

c7b5ae3f 07/13/2012 04:04 pm Vangelis Koukis

Update debian/changelog before release

1b4d35f9 07/13/2012 04:04 pm Vangelis Koukis

Merge branch 'master' into snf-debian

2c83c28c 07/13/2012 04:03 pm Vangelis Koukis

Version bump to 1.3

39840bd3 07/13/2012 03:54 pm Vangelis Koukis

Remove stale pid lockfiles on daemon invocation

4b3d914f 03/22/2012 10:16 pm Stratos Psomadakis

Update debian/changelog before release

49edbb71 03/22/2012 09:43 pm Stratos Psomadakis

Merge branch 'master' into snf-debian

da142b1f 03/22/2012 09:41 pm Stratos Psomadakis

Version bump to 1.2

30c77623 03/22/2012 09:37 pm Stratos Psomadakis

Merge branch 'master' into snf-debian

7eb27319 03/22/2012 11:05 am Stratos Psomadakis

Make server connect retries and retry wait tunable

e02fb257 03/20/2012 02:44 pm Vangelis Koukis

Merge branch 'server-connect' into snf-debian

512c571e 03/16/2012 05:43 pm Stratos Psomadakis

Wait for VNC server connection establishment

Wait until the connection to the VNC server has been
established, before sending a successful response to the
client.

Sending a response before establishing a connection to the
server could allow a malicious user to access a different...

89181cbe 02/02/2012 03:34 pm Constantinos Venetsanopoulos

Install default and init.d file as `vncauthproxy'

This is done to ensure there is an upgrade path, if package
`vncauthproxy' is already installed

22ec5c8e 02/02/2012 01:16 pm Constantinos Venetsanopoulos

Add the `snf-' prefix to the package name

1c0b9d8f 11/18/2011 11:37 pm Vangelis Koukis

Update maintainer field in Synnefo branch

999a37cc 11/18/2011 06:35 pm Vangelis Koukis

Update debian packaging after script name change

Update debian packaging to reflect console script name change
vncauthproxy.py -> vncauthproxy in setup.py.

6f6c6e0d 11/18/2011 06:34 pm Vangelis Koukis

Merge branch 'master' into debian

a699949f 11/18/2011 06:31 pm Vangelis Koukis

Fix dependencies in setup.py, bump version to 1.1

Fix dependencies in setup.py (python-daemon instead of daemon)
to prevent the console script entry point from barfing on execution.

Also bump version number to 1.1.

0e02cdc8 11/18/2011 06:02 pm Vangelis Koukis

Introduce setuptools entry_points functionality

Modify setup.py, replace vncauthproxy.py wrapper with a console
script generated automatically using the 'entry_points' functionality
of setuptools.

05f6f6a2 09/06/2011 04:53 pm Vangelis Koukis

Merge branch 'master' into debian

376a8634 09/06/2011 04:48 pm Vangelis Koukis

Workaround libevent-dns fd lost after daemonizing

Currently, gevent uses libevent-dns for asynchornous DNS resolution,
which opens a socket upon initialization time. This fails when
becoming a daemon, leading to all DNS queries timing out, since all file...

79f2ee00 07/11/2011 05:59 pm Vangelis Koukis

Merge branch 'master' into debian

5a196d84 07/11/2011 05:20 pm Vangelis Koukis

Fix crash, Use self.{listeners,password} in proxy

39f9b704 06/20/2011 07:56 pm Faidon Liambotis

Minor fixes to the Debian packaging

b00b9a69 06/20/2011 07:56 pm Faidon Liambotis

Drop daemon's privileges

Since there is no support for this in the daemon itself nor a proper
configuration file, do that in the (Debian) init script by using a
/etc/default/vncauthproxy file plus start-stop-daemon.

ea81e37e 06/20/2011 07:56 pm Faidon Liambotis

Initial Debian packaging

1c241b27 06/20/2011 07:52 pm Faidon Liambotis

Adjust the control sockets umask

Add g=rwx to the control socket's umask as to allow the owning group to
control the proxy (useful e.g. when wanting to do chgrp www-data)

88420a63 06/20/2011 07:12 pm Faidon Liambotis

Fix logger crash

Commit 138d0e8 scoped the main flow to a main() function. It seems that
the variable "logger" was being set there and used in the rest of the
program implicitly global, which of course make the proxy the crash
whenever it wanted to log something :-)...

08845665 06/20/2011 06:47 pm Faidon Liambotis

Add setup.py and friends

Use setuptools and add setup.py, MANIFEST.in etc. in the package
distribution.

138d0e8b 06/20/2011 06:36 pm Faidon Liambotis

Major restructuring of the directory layout

Create a proper Python package called "vncauthproxy" and move the proxy
and the client there; also create a vncauthproxy.py, that imports from
the package and calls its main()

0a78eb3c 06/20/2011 06:11 pm Faidon Liambotis

Restore Python 2.5 compatibility

The 2.6 syntax for octal numbers (0oNNN) was used for umask; use 0022
which is implicitly octal instead, to restore 2.5 compatibility.

7183f55d 06/20/2011 06:10 pm Faidon Liambotis

Adjust the default location of the control socket

Move it from the (insecure) /tmp/vncproxy.sock to
/var/run/vncauthproxy/ctrl.sock

8799ab6d 05/11/2011 12:46 pm Vangelis Koukis

Add RFB 3.3 support, minor fixes

Add support for RFB 3.3 handshake, along with RFB 3.8
Tested to work with RFB 3.3 and RFB 3.8 clients.

48b1400e 04/12/2011 06:18 pm Vangelis Koukis

Support dynamic port pool, encode reqs in JSON

Support dynamic allocation of client ports off a configurable port
pool, if the client so requests. The pool is initialized to the IANA
dynamic port range of 49152-65535 by default.

Use JSON encoding for requests and replies on the control channel....

035424b6 04/11/2011 02:15 am Vangelis Koukis

Handle socket errors, improve exception handling

Handle failure of socket operations (e.g., could not bind socket
due to address already in use), and inform the client accordingly.
To achieve this, the listening sockets get created by the main thread,
and passed to the greenlet that waits for client connections....

1ef76eb2 04/03/2011 02:19 am Vangelis Koukis

Make vncauthproxy a proper daemon, improve logging

Have vncauthproxy daemonize properly.
Introduce pidfile under /var/run/vncauthproxy,
logfile under /var/log/vncauthproxy.

179aa9ec 04/03/2011 12:42 am Vangelis Koukis

Add graceful SIGTERM handling

Install a signal handler for fatal signals using gevent.signal().
This allows vncauthproxy to unlink its control socket and exit
gracefully when SIGTERM is received.

5cf1d655 12/01/2010 04:25 pm Apollon Oikonomopoulos

Retry connecting to the backend server if initial connection fails

The proxy now takes turns trying to connect to all backend sockets and sleeps
for 200ms if it is unable to do so. This allows the backend server to come up
up to 10 seconds after the client has authenticated....

668a9ced 11/16/2010 09:42 pm Faidon Liambotis

Switch from Mercurial to Git

.hgignore -> .gitignore

0c251ab5 11/10/2010 11:41 am Apollon Oikonomopoulos

Fixed copyright

5da701ba 11/10/2010 11:40 am Apollon Oikonomopoulos

Rename files

vncproxy.py -> vncauthproxy.py
vncproxyclient.py -> vapclient.py

eeb14dde 11/10/2010 11:36 am Apollon Oikonomopoulos

Document some TODO actions in vncproxy.py

b9866dc8 09/10/2010 08:28 pm Apollon Oikonomopoulos

Remove obsolete struct dependency from vncproxy.py

9c6144cb 09/10/2010 08:22 pm Apollon Oikonomopoulos

Code cleanup/refactoring

8790958b 09/10/2010 08:22 pm Apollon Oikonomopoulos

Add copyright/license to rfb.py

66d17b40 09/10/2010 05:21 pm Apollon Oikonomopoulos

Initial import

« Previous 1 2 (101-160/160) | Per page: 25, 50, 100

Also available in: Atom