Displaying 4 results from an estimated 4 matches for "ovirt_server_port".
2009 Jun 10
1
[PATCH] add cmd line option for server vnc port
...PTION_ARG_NONE, &check_cert,
diff --git a/tunnel.c b/tunnel.c
index c6d091d..17b512c 100644
--- a/tunnel.c
+++ b/tunnel.c
@@ -53,9 +53,6 @@ const int VM_NAME_MAX_LEN = 250;
// max length of vnc data
const int VNC_DATA_MAX_LEN = 800000;
-// port which to connect to on ovirt server
-const int OVIRT_SERVER_PORT = 5900;
-
/* Private thread functions */
static gpointer tunnel_thread(gpointer data);
static gpointer client_server_thread(gpointer data);
@@ -164,7 +161,7 @@ tunnel_thread (gpointer _data)
}
ovirt_server_address.sin_family = PF_INET;
ovirt_server_address.sin_addr.s_addr = ((struct in_...
2009 Jun 08
2
[PATCH] few minor bugfixes
...uot;);
+ return NULL;
+ }
ovirt_server_address.sin_family = PF_INET;
- ovirt_server_address.sin_addr.s_addr = inet_addr(hostname);
+ ovirt_server_address.sin_addr.s_addr = ((struct in_addr*)(dns_serv->h_addr))->s_addr; //inet_addr(hostname);
ovirt_server_address.sin_port = htons(OVIRT_SERVER_PORT);
ovirt_server_len = sizeof(ovirt_server_address);
@@ -165,18 +173,21 @@ tunnel_thread (gpointer _data)
sockets = g_slist_prepend(sockets, c_socket);
// local server address
- tunnel_port = PORT_RANGE_START;
local_server_address.sin_family = PF_INET;
local_server_address.sin_add...
2009 Jun 01
2
[PATCH viewer] few minor bugfixes
...uot;);
+ return NULL;
+ }
ovirt_server_address.sin_family = PF_INET;
- ovirt_server_address.sin_addr.s_addr = inet_addr(hostname);
+ ovirt_server_address.sin_addr.s_addr = ((struct in_addr*)(dns_serv->h_addr))->s_addr; //inet_addr(hostname);
ovirt_server_address.sin_port = htons(OVIRT_SERVER_PORT);
ovirt_server_len = sizeof(ovirt_server_address);
@@ -165,18 +173,21 @@ tunnel_thread (gpointer _data)
sockets = g_slist_prepend(sockets, c_socket);
// local server address
- tunnel_port = PORT_RANGE_START;
local_server_address.sin_family = PF_INET;
local_server_address.sin_add...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
run on startup by default like the other ovirt services
---
conf/ovirt-vnc-proxy | 49 ++++++++
installer/modules/ovirt/manifests/ovirt.pp | 1 +
ovirt-server.spec.in | 5 +
src/vnc-proxy/vnc-proxy.rb | 167 ++++++++++++++++++++++++++++
4 files changed, 222 insertions(+), 0 deletions(-)
create mode 100755 conf/ovirt-vnc-proxy