Daniel Kouřil [Tue, 13 Dec 2011 10:00:52 +0000 (10:00 +0000)]
Make use the netdb error codes.
Daniel Kouřil [Tue, 13 Dec 2011 09:30:22 +0000 (09:30 +0000)]
some comments to address
Daniel Kouřil [Tue, 13 Dec 2011 09:12:48 +0000 (09:12 +0000)]
All #include's moved to the _locl header
Daniel Kouřil [Tue, 13 Dec 2011 09:04:55 +0000 (09:04 +0000)]
Automatically generated descriptions of errors (incl. openssl error codes, if available)
Daniel Kouřil [Mon, 12 Dec 2011 14:47:17 +0000 (14:47 +0000)]
OK isn't an error
Daniel Kouřil [Mon, 12 Dec 2011 12:51:35 +0000 (12:51 +0000)]
import of VOMS routines to handle grid-specific stuff
František Dvořák [Mon, 12 Dec 2011 12:20:13 +0000 (12:20 +0000)]
Standalone start-up scripts.
Marcel Poul [Sun, 11 Dec 2011 23:54:08 +0000 (23:54 +0000)]
to keep it simple, redundant or needless LOCs left out
František Dvořák [Sun, 11 Dec 2011 22:54:56 +0000 (22:54 +0000)]
Don't delete debian/ directory from 'clean' target, update package names (preparation for new packaging).
Marcel Poul [Sun, 11 Dec 2011 15:50:07 +0000 (15:50 +0000)]
IPv6 support in canl_io_connect()
Daniel Kouřil [Fri, 9 Dec 2011 14:41:10 +0000 (14:41 +0000)]
Definition of error codes automatically generated
Marcel Poul [Thu, 8 Dec 2011 12:01:54 +0000 (12:01 +0000)]
no need of BACKLOG anymore
Daniel Kouřil [Thu, 8 Dec 2011 10:51:47 +0000 (10:51 +0000)]
handle hostent properly
Daniel Kouřil [Thu, 8 Dec 2011 10:39:41 +0000 (10:39 +0000)]
close the connection from the destroy routine
Daniel Kouřil [Thu, 8 Dec 2011 10:28:41 +0000 (10:28 +0000)]
socket initialized to -1
Daniel Kouřil [Thu, 8 Dec 2011 10:24:56 +0000 (10:24 +0000)]
removed some fields from the IO structure
Daniel Kouřil [Thu, 8 Dec 2011 10:14:46 +0000 (10:14 +0000)]
cleanups in cleanups
Daniel Kouřil [Thu, 8 Dec 2011 10:06:32 +0000 (10:06 +0000)]
addressed some warnings
Daniel Kouřil [Thu, 8 Dec 2011 09:10:14 +0000 (09:10 +0000)]
- some error handling improvements
- canl_io_destroy is enough to close connection
Daniel Kouřil [Thu, 8 Dec 2011 08:55:28 +0000 (08:55 +0000)]
- changes to handling of error messages
- results of cleanup calls needn't be checked
- some cosmetics
Marcel Poul [Wed, 7 Dec 2011 14:41:18 +0000 (14:41 +0000)]
init. ssl library in canl_create_ctx (for now)
Marcel Poul [Wed, 7 Dec 2011 14:28:34 +0000 (14:28 +0000)]
canl_io_accept do only ssl_accept; server serves accept() on his own; typo
Marcel Poul [Wed, 7 Dec 2011 13:07:43 +0000 (13:07 +0000)]
error messages revised
Daniel Kouřil [Tue, 6 Dec 2011 14:21:08 +0000 (14:21 +0000)]
Error handling improvements
Daniel Kouřil [Tue, 6 Dec 2011 14:09:40 +0000 (14:09 +0000)]
canl_get_error_code() and canl_get_error_message() added
Daniel Kouřil [Tue, 6 Dec 2011 13:59:08 +0000 (13:59 +0000)]
on error return -1
Marcel Poul [Tue, 6 Dec 2011 12:41:17 +0000 (12:41 +0000)]
close() not fclose()
Daniel Kouřil [Tue, 6 Dec 2011 11:22:34 +0000 (11:22 +0000)]
error handling tweaks in read/write
Daniel Kouřil [Tue, 6 Dec 2011 11:07:39 +0000 (11:07 +0000)]
typo
Daniel Kouřil [Tue, 6 Dec 2011 11:06:26 +0000 (11:06 +0000)]
other error handling improvements and some cosmetics
Marcel Poul [Tue, 6 Dec 2011 10:55:05 +0000 (10:55 +0000)]
close sockets properly
Daniel Kouřil [Tue, 6 Dec 2011 10:39:44 +0000 (10:39 +0000)]
improved error handling
Marcel Poul [Tue, 6 Dec 2011 10:33:23 +0000 (10:33 +0000)]
#ifdef DEBUG; set_error() instead of update_error() where necessary;
Daniel Kouřil [Tue, 6 Dec 2011 10:13:28 +0000 (10:13 +0000)]
make canl_set_err() return appropriate error code
Marcel Poul [Mon, 5 Dec 2011 23:50:08 +0000 (23:50 +0000)]
use user defined port in canl_io_accept()
Marcel Poul [Mon, 5 Dec 2011 14:07:56 +0000 (14:07 +0000)]
ssl close connection functions added; destroy ssl connection handler and BIO in canl_io_destroy
Marcel Poul [Sun, 4 Dec 2011 20:47:58 +0000 (20:47 +0000)]
unsigned long ssl_ret only for ERR_get_error; human readable error codes better formatted (prefixes added)
Marcel Poul [Sun, 4 Dec 2011 16:55:50 +0000 (16:55 +0000)]
errors, return values; ERR_clear_error where suitable
Marcel Poul [Sun, 4 Dec 2011 00:54:13 +0000 (00:54 +0000)]
return values check improvement; minor error messages changes
Marcel Poul [Sat, 3 Dec 2011 20:46:02 +0000 (20:46 +0000)]
return values checking improved, set_error with unsigned long parameter;
Marcel Poul [Sat, 3 Dec 2011 20:44:18 +0000 (20:44 +0000)]
unsigned long instead of CANL_ERROR (ssl default type for error code variables)
Marcel Poul [Sat, 3 Dec 2011 20:41:12 +0000 (20:41 +0000)]
dbg info added; terena_ca_file location hardcoded for testing purposes; SSL_VERIFY_NONE - testing
Marcel Poul [Sat, 3 Dec 2011 20:33:44 +0000 (20:33 +0000)]
sample server and client print better error messages now
Marcel Poul [Fri, 2 Dec 2011 21:46:51 +0000 (21:46 +0000)]
set appropriate error message when connection closed by the peer
Marcel Poul [Fri, 2 Dec 2011 10:40:32 +0000 (10:40 +0000)]
set options to SSL_CTX on server as well as client side
Zdeněk Šustr [Fri, 2 Dec 2011 08:14:30 +0000 (08:14 +0000)]
myproxy with default lifetime
Zdeněk Šustr [Fri, 2 Dec 2011 08:12:53 +0000 (08:12 +0000)]
Usefil hint for future
Marcel Poul [Fri, 2 Dec 2011 00:19:49 +0000 (00:19 +0000)]
server with key and certificate (still SSL3_GET_CLIENT_HELLO error)
Marcel Poul [Thu, 1 Dec 2011 16:40:31 +0000 (16:40 +0000)]
certificate and private key read fctions added
Marcel Poul [Thu, 1 Dec 2011 11:03:00 +0000 (11:03 +0000)]
ssl_ctx moved to glb_ctx
Marcel Poul [Thu, 1 Dec 2011 09:50:18 +0000 (09:50 +0000)]
certificate processing fctio stubs added
Marcel Poul [Wed, 30 Nov 2011 22:54:27 +0000 (22:54 +0000)]
certificate processing functions stubs
Zdeněk Šustr [Wed, 30 Nov 2011 14:05:06 +0000 (14:05 +0000)]
Get fake cert path from the generator as well
Use myproxy-init rather than store
Zdeněk Šustr [Wed, 30 Nov 2011 13:54:17 +0000 (13:54 +0000)]
Act harmlessly when called with 'source'
Zdeněk Šustr [Wed, 30 Nov 2011 13:41:07 +0000 (13:41 +0000)]
Output path to trusted certs
Marcel Poul [Wed, 30 Nov 2011 12:14:18 +0000 (12:14 +0000)]
remember error code type (origin); set_error() modified accordingly
Daniel Kouřil [Wed, 30 Nov 2011 07:10:41 +0000 (07:10 +0000)]
yes, it is.
Daniel Kouřil [Tue, 29 Nov 2011 14:01:38 +0000 (14:01 +0000)]
Support for multiple GSSAPI mechanisms
- added example client and server
Marcel Poul [Tue, 29 Nov 2011 11:38:16 +0000 (11:38 +0000)]
update_error without error codes; set_error replaced update_error where appropriate
Marcel Poul [Mon, 28 Nov 2011 20:03:09 +0000 (20:03 +0000)]
canl_io_accept with ssl support, sample server modified accordingly
Marcel Poul [Mon, 28 Nov 2011 17:07:08 +0000 (17:07 +0000)]
canl_io_read with ssl support
František Dvořák [Sun, 27 Nov 2011 18:14:42 +0000 (18:14 +0000)]
Typo in apache config file path.
František Dvořák [Sun, 27 Nov 2011 18:07:41 +0000 (18:07 +0000)]
Use $(libdir) to prevent searching 32-bit libraries on 64-bit platforms during linking.
František Dvořák [Sun, 27 Nov 2011 18:04:42 +0000 (18:04 +0000)]
Check that the response from gsoap call is not empty, to prevent possible crash (it may happen with incompatible gsoap library).
František Dvořák [Sat, 26 Nov 2011 12:40:38 +0000 (12:40 +0000)]
lsof required.
František Dvořák [Fri, 25 Nov 2011 19:09:23 +0000 (19:09 +0000)]
Gridsite autonomous tests improvements:
- store and use apache configuration file from /etc/httpd on SL, it solves problems with file context in SELinux
- required nc
- kill previously launched apache
Marcel Poul [Fri, 25 Nov 2011 11:36:28 +0000 (11:36 +0000)]
canl_io_ssl_write over ssl
Marcel Poul [Fri, 25 Nov 2011 11:27:15 +0000 (11:27 +0000)]
communication over ssl support
Marcel Poul [Thu, 24 Nov 2011 21:59:39 +0000 (21:59 +0000)]
segmentation fault avoided when host unreachable
Marcel Poul [Thu, 24 Nov 2011 19:59:46 +0000 (19:59 +0000)]
canl_io_connect with ssl support (wo user credentials)
František Dvořák [Wed, 23 Nov 2011 01:31:16 +0000 (01:31 +0000)]
Change configuratin file for PostgreSQL to be valid in both SL5 and SL6.
František Dvořák [Mon, 21 Nov 2011 15:14:37 +0000 (15:14 +0000)]
Empty check target (required for build).
František Dvořák [Mon, 21 Nov 2011 14:15:04 +0000 (14:15 +0000)]
ETICS support for canl-c.
František Dvořák [Fri, 18 Nov 2011 19:39:06 +0000 (19:39 +0000)]
Use wget instead of curl on systems with NSS flavour of curl (SL6). But still prefer curl over wget otherwise (problems with long URLs in wget on SL5).
František Dvořák [Fri, 18 Nov 2011 02:51:09 +0000 (02:51 +0000)]
PostgreSQL initialization on SL6. Missing package for statistics test.
František Dvořák [Fri, 18 Nov 2011 02:17:47 +0000 (02:17 +0000)]
Portability (on SL6 'sh' drops bourne shell features).
František Dvořák [Fri, 18 Nov 2011 00:44:45 +0000 (00:44 +0000)]
Create example installation script only as default (installation from production) when don't exist.
Marcel Poul [Thu, 17 Nov 2011 22:09:59 +0000 (22:09 +0000)]
orphaned error check removed
Marcel Poul [Thu, 17 Nov 2011 22:06:15 +0000 (22:06 +0000)]
accept inproved - try all addresses in hostent structure
Zdeněk Šustr [Wed, 16 Nov 2011 08:07:13 +0000 (08:07 +0000)]
Create and populate /etc/vomses
Zdeněk Šustr [Tue, 15 Nov 2011 21:39:53 +0000 (21:39 +0000)]
Longer timeout, just for testing. Will be replaced by a more clever solution soon
Zdeněk Šustr [Tue, 15 Nov 2011 16:02:44 +0000 (16:02 +0000)]
- separate site-info for voms\n- generate arrange_user in /tmp
Zdeněk Šustr [Tue, 15 Nov 2011 14:51:59 +0000 (14:51 +0000)]
Install VOMS server for testing
Marcel Poul [Mon, 14 Nov 2011 21:40:21 +0000 (21:40 +0000)]
proper error codes and messages assigned
Marcel Poul [Mon, 14 Nov 2011 18:53:09 +0000 (18:53 +0000)]
proper error codes assigned
Marcel Poul [Mon, 14 Nov 2011 16:13:59 +0000 (16:13 +0000)]
samle server and client command line opts added
Zdeněk Šustr [Mon, 14 Nov 2011 14:27:47 +0000 (14:27 +0000)]
Generate also lsc file
Zdeněk Šustr [Mon, 14 Nov 2011 14:24:41 +0000 (14:24 +0000)]
Missing $ sign
Zdeněk Šustr [Mon, 14 Nov 2011 14:21:52 +0000 (14:21 +0000)]
Cmdline option to generate lsc file
Zdeněk Šustr [Mon, 14 Nov 2011 14:12:10 +0000 (14:12 +0000)]
Make the downloaded script executable
Zdeněk Šustr [Mon, 14 Nov 2011 13:38:28 +0000 (13:38 +0000)]
Pass proxy lifetime if set
Zdeněk Šustr [Mon, 14 Nov 2011 13:07:22 +0000 (13:07 +0000)]
show MyProxy storage status
Zdeněk Šustr [Mon, 14 Nov 2011 13:02:13 +0000 (13:02 +0000)]
Store proxy
Marcel Poul [Mon, 14 Nov 2011 12:50:20 +0000 (12:50 +0000)]
simple server (wo ssl) added
Zdeněk Šustr [Mon, 14 Nov 2011 12:12:48 +0000 (12:12 +0000)]
Support configurable lifetime for proxy
Zdeněk Šustr [Mon, 14 Nov 2011 11:52:28 +0000 (11:52 +0000)]
Download it but do not source it
Zdeněk Šustr [Mon, 14 Nov 2011 11:46:37 +0000 (11:46 +0000)]
Yet another file from the L&B suite.
Zdeněk Šustr [Mon, 14 Nov 2011 11:42:04 +0000 (11:42 +0000)]
- Do not install sudo
- the OTHER LB common
Zdeněk Šustr [Mon, 14 Nov 2011 11:33:51 +0000 (11:33 +0000)]
Also get common definitions from LB
Zdeněk Šustr [Mon, 14 Nov 2011 11:31:45 +0000 (11:31 +0000)]
Check or get proxy