jra1mw.git
13 years agocanl_get_error_code() and canl_get_error_message() added
Daniel Kouřil [Tue, 6 Dec 2011 14:09:40 +0000 (14:09 +0000)]
canl_get_error_code() and canl_get_error_message() added

13 years agoon error return -1
Daniel Kouřil [Tue, 6 Dec 2011 13:59:08 +0000 (13:59 +0000)]
on error return -1

13 years agoclose() not fclose()
Marcel Poul [Tue, 6 Dec 2011 12:41:17 +0000 (12:41 +0000)]
close() not fclose()

13 years agoerror handling tweaks in read/write
Daniel Kouřil [Tue, 6 Dec 2011 11:22:34 +0000 (11:22 +0000)]
error handling tweaks in read/write

13 years agotypo
Daniel Kouřil [Tue, 6 Dec 2011 11:07:39 +0000 (11:07 +0000)]
typo

13 years agoother error handling improvements and some cosmetics
Daniel Kouřil [Tue, 6 Dec 2011 11:06:26 +0000 (11:06 +0000)]
other error handling improvements and some cosmetics

13 years agoclose sockets properly
Marcel Poul [Tue, 6 Dec 2011 10:55:05 +0000 (10:55 +0000)]
close sockets properly

13 years agoimproved error handling
Daniel Kouřil [Tue, 6 Dec 2011 10:39:44 +0000 (10:39 +0000)]
improved error handling

13 years ago#ifdef DEBUG; set_error() instead of update_error() where necessary;
Marcel Poul [Tue, 6 Dec 2011 10:33:23 +0000 (10:33 +0000)]
#ifdef DEBUG; set_error() instead of update_error() where necessary;

13 years agomake canl_set_err() return appropriate error code
Daniel Kouřil [Tue, 6 Dec 2011 10:13:28 +0000 (10:13 +0000)]
make canl_set_err() return appropriate error code

13 years agouse user defined port in canl_io_accept()
Marcel Poul [Mon, 5 Dec 2011 23:50:08 +0000 (23:50 +0000)]
use user defined port in canl_io_accept()

13 years agossl close connection functions added; destroy ssl connection handler and BIO in canl_...
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

13 years agounsigned long ssl_ret only for ERR_get_error; human readable error codes better forma...
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)

13 years agoerrors, return values; ERR_clear_error where suitable
Marcel Poul [Sun, 4 Dec 2011 16:55:50 +0000 (16:55 +0000)]
errors, return values; ERR_clear_error where suitable

13 years agoreturn values check improvement; minor error messages changes
Marcel Poul [Sun, 4 Dec 2011 00:54:13 +0000 (00:54 +0000)]
return values check improvement; minor error messages changes

13 years agoreturn values checking improved, set_error with unsigned long parameter;
Marcel Poul [Sat, 3 Dec 2011 20:46:02 +0000 (20:46 +0000)]
return values checking improved, set_error with unsigned long parameter;

13 years agounsigned long instead of CANL_ERROR (ssl default type for error code variables)
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)

13 years agodbg info added; terena_ca_file location hardcoded for testing purposes; SSL_VERIFY_NO...
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

13 years agosample server and client print better error messages now
Marcel Poul [Sat, 3 Dec 2011 20:33:44 +0000 (20:33 +0000)]
sample server and client print better error messages now

13 years agoset appropriate error message when connection closed by the peer
Marcel Poul [Fri, 2 Dec 2011 21:46:51 +0000 (21:46 +0000)]
set appropriate error message when connection closed by the peer

13 years agoset options to SSL_CTX on server as well as client side
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

13 years agomyproxy with default lifetime
Zdeněk Šustr [Fri, 2 Dec 2011 08:14:30 +0000 (08:14 +0000)]
myproxy with default lifetime

13 years agoUsefil hint for future
Zdeněk Šustr [Fri, 2 Dec 2011 08:12:53 +0000 (08:12 +0000)]
Usefil hint for future

13 years agoserver with key and certificate (still SSL3_GET_CLIENT_HELLO error)
Marcel Poul [Fri, 2 Dec 2011 00:19:49 +0000 (00:19 +0000)]
server with key and certificate (still SSL3_GET_CLIENT_HELLO error)

13 years agocertificate and private key read fctions added
Marcel Poul [Thu, 1 Dec 2011 16:40:31 +0000 (16:40 +0000)]
certificate and private key read fctions added

13 years agossl_ctx moved to glb_ctx
Marcel Poul [Thu, 1 Dec 2011 11:03:00 +0000 (11:03 +0000)]
ssl_ctx moved to glb_ctx

13 years agocertificate processing fctio stubs added
Marcel Poul [Thu, 1 Dec 2011 09:50:18 +0000 (09:50 +0000)]
certificate processing fctio stubs added

13 years agocertificate processing functions stubs
Marcel Poul [Wed, 30 Nov 2011 22:54:27 +0000 (22:54 +0000)]
certificate processing functions stubs

13 years agoGet fake cert path from the generator as well
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

13 years agoAct harmlessly when called with 'source'
Zdeněk Šustr [Wed, 30 Nov 2011 13:54:17 +0000 (13:54 +0000)]
Act harmlessly when called with 'source'

13 years agoOutput path to trusted certs
Zdeněk Šustr [Wed, 30 Nov 2011 13:41:07 +0000 (13:41 +0000)]
Output path to trusted certs

13 years agoremember error code type (origin); set_error() modified accordingly
Marcel Poul [Wed, 30 Nov 2011 12:14:18 +0000 (12:14 +0000)]
remember error code type (origin); set_error() modified accordingly

13 years agoyes, it is.
Daniel Kouřil [Wed, 30 Nov 2011 07:10:41 +0000 (07:10 +0000)]
yes, it is.

13 years agoSupport for multiple GSSAPI mechanisms
Daniel Kouřil [Tue, 29 Nov 2011 14:01:38 +0000 (14:01 +0000)]
Support for multiple GSSAPI mechanisms
- added example client and server

13 years agoupdate_error without error codes; set_error replaced update_error where appropriate
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

13 years agocanl_io_accept with ssl support, sample server modified accordingly
Marcel Poul [Mon, 28 Nov 2011 20:03:09 +0000 (20:03 +0000)]
canl_io_accept with ssl support, sample server modified accordingly

13 years agocanl_io_read with ssl support
Marcel Poul [Mon, 28 Nov 2011 17:07:08 +0000 (17:07 +0000)]
canl_io_read with ssl support

13 years agoTypo in apache config file path.
František Dvořák [Sun, 27 Nov 2011 18:14:42 +0000 (18:14 +0000)]
Typo in apache config file path.

13 years agoUse $(libdir) to prevent searching 32-bit libraries on 64-bit platforms during linking.
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.

13 years agoCheck that the response from gsoap call is not empty, to prevent possible crash ...
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).

13 years agolsof required.
František Dvořák [Sat, 26 Nov 2011 12:40:38 +0000 (12:40 +0000)]
lsof required.

13 years agoGridsite autonomous tests improvements:
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

13 years agocanl_io_ssl_write over ssl
Marcel Poul [Fri, 25 Nov 2011 11:36:28 +0000 (11:36 +0000)]
canl_io_ssl_write over ssl

13 years agocommunication over ssl support
Marcel Poul [Fri, 25 Nov 2011 11:27:15 +0000 (11:27 +0000)]
communication over ssl support

13 years agosegmentation fault avoided when host unreachable
Marcel Poul [Thu, 24 Nov 2011 21:59:39 +0000 (21:59 +0000)]
segmentation fault avoided when host unreachable

13 years agocanl_io_connect with ssl support (wo user credentials)
Marcel Poul [Thu, 24 Nov 2011 19:59:46 +0000 (19:59 +0000)]
canl_io_connect with ssl support (wo user credentials)

13 years agoChange configuratin file for PostgreSQL to be valid in both SL5 and SL6.
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.

13 years agoEmpty check target (required for build).
František Dvořák [Mon, 21 Nov 2011 15:14:37 +0000 (15:14 +0000)]
Empty check target (required for build).

13 years agoETICS support for canl-c.
František Dvořák [Mon, 21 Nov 2011 14:15:04 +0000 (14:15 +0000)]
ETICS support for canl-c.

13 years agoUse wget instead of curl on systems with NSS flavour of curl (SL6). But still prefer...
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).

13 years agoPostgreSQL initialization on SL6. Missing package for statistics test.
František Dvořák [Fri, 18 Nov 2011 02:51:09 +0000 (02:51 +0000)]
PostgreSQL initialization on SL6. Missing package for statistics test.

13 years agoPortability (on SL6 'sh' drops bourne shell features).
František Dvořák [Fri, 18 Nov 2011 02:17:47 +0000 (02:17 +0000)]
Portability (on SL6 'sh' drops bourne shell features).

13 years agoCreate example installation script only as default (installation from production...
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.

13 years agoorphaned error check removed
Marcel Poul [Thu, 17 Nov 2011 22:09:59 +0000 (22:09 +0000)]
orphaned error check removed

13 years agoaccept inproved - try all addresses in hostent structure
Marcel Poul [Thu, 17 Nov 2011 22:06:15 +0000 (22:06 +0000)]
accept inproved - try all addresses in hostent structure

13 years agoCreate and populate /etc/vomses
Zdeněk Šustr [Wed, 16 Nov 2011 08:07:13 +0000 (08:07 +0000)]
Create and populate /etc/vomses

13 years agoLonger timeout, just for testing. Will be replaced by a more clever solution soon
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

13 years ago- separate site-info for voms\n- generate arrange_user in /tmp
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

13 years agoInstall VOMS server for testing
Zdeněk Šustr [Tue, 15 Nov 2011 14:51:59 +0000 (14:51 +0000)]
Install VOMS server for testing

13 years agoproper error codes and messages assigned
Marcel Poul [Mon, 14 Nov 2011 21:40:21 +0000 (21:40 +0000)]
proper error codes and messages assigned

13 years agoproper error codes assigned
Marcel Poul [Mon, 14 Nov 2011 18:53:09 +0000 (18:53 +0000)]
proper error codes assigned

13 years agosamle server and client command line opts added
Marcel Poul [Mon, 14 Nov 2011 16:13:59 +0000 (16:13 +0000)]
samle server and client command line opts added

13 years agoGenerate also lsc file
Zdeněk Šustr [Mon, 14 Nov 2011 14:27:47 +0000 (14:27 +0000)]
Generate also lsc file

13 years agoMissing $ sign
Zdeněk Šustr [Mon, 14 Nov 2011 14:24:41 +0000 (14:24 +0000)]
Missing $ sign

13 years agoCmdline option to generate lsc file
Zdeněk Šustr [Mon, 14 Nov 2011 14:21:52 +0000 (14:21 +0000)]
Cmdline option to generate lsc file

13 years agoMake the downloaded script executable
Zdeněk Šustr [Mon, 14 Nov 2011 14:12:10 +0000 (14:12 +0000)]
Make the downloaded script executable

13 years agoPass proxy lifetime if set
Zdeněk Šustr [Mon, 14 Nov 2011 13:38:28 +0000 (13:38 +0000)]
Pass proxy lifetime if set

13 years agoshow MyProxy storage status
Zdeněk Šustr [Mon, 14 Nov 2011 13:07:22 +0000 (13:07 +0000)]
show MyProxy storage status

13 years agoStore proxy
Zdeněk Šustr [Mon, 14 Nov 2011 13:02:13 +0000 (13:02 +0000)]
Store proxy

13 years agosimple server (wo ssl) added
Marcel Poul [Mon, 14 Nov 2011 12:50:20 +0000 (12:50 +0000)]
simple server (wo ssl) added

13 years agoSupport configurable lifetime for proxy
Zdeněk Šustr [Mon, 14 Nov 2011 12:12:48 +0000 (12:12 +0000)]
Support configurable lifetime for proxy

13 years agoDownload it but do not source it
Zdeněk Šustr [Mon, 14 Nov 2011 11:52:28 +0000 (11:52 +0000)]
Download it but do not source it

13 years agoYet another file from the L&B suite.
Zdeněk Šustr [Mon, 14 Nov 2011 11:46:37 +0000 (11:46 +0000)]
Yet another file from the L&B suite.

13 years ago- Do not install sudo
Zdeněk Šustr [Mon, 14 Nov 2011 11:42:04 +0000 (11:42 +0000)]
- Do not install sudo
- the OTHER LB common

13 years agoAlso get common definitions from LB
Zdeněk Šustr [Mon, 14 Nov 2011 11:33:51 +0000 (11:33 +0000)]
Also get common definitions from LB

13 years agoCheck or get proxy
Zdeněk Šustr [Mon, 14 Nov 2011 11:31:45 +0000 (11:31 +0000)]
Check or get proxy

13 years agoInitial commit
Zdeněk Šustr [Mon, 14 Nov 2011 10:40:29 +0000 (10:40 +0000)]
Initial commit

13 years agoNew deps, take 2
Zdeněk Šustr [Thu, 10 Nov 2011 14:13:41 +0000 (14:13 +0000)]
New deps, take 2

13 years agoNew deps
Zdeněk Šustr [Thu, 10 Nov 2011 14:09:22 +0000 (14:09 +0000)]
New deps

13 years agotypo
Zdeněk Šustr [Thu, 10 Nov 2011 13:26:20 +0000 (13:26 +0000)]
typo

13 years ago- Test delegation with user proxies (hard-coded for the time being)
Zdeněk Šustr [Thu, 10 Nov 2011 13:22:31 +0000 (13:22 +0000)]
- Test delegation with user proxies (hard-coded for the time being)
- Update VOMS server DN

13 years agosimple tcp connection(wo ssl); client side at the moment
Marcel Poul [Thu, 10 Nov 2011 12:32:12 +0000 (12:32 +0000)]
simple tcp connection(wo ssl); client side at the moment

13 years agoMakefile with debug tags
Marcel Poul [Thu, 10 Nov 2011 12:24:33 +0000 (12:24 +0000)]
Makefile with debug tags

13 years agoFix function naming ambiguity
Zdeněk Šustr [Thu, 10 Nov 2011 11:41:10 +0000 (11:41 +0000)]
Fix function naming ambiguity

13 years agoHeader is now generated by a sgared function.
Zdeněk Šustr [Thu, 10 Nov 2011 11:24:23 +0000 (11:24 +0000)]
Header is now generated by a sgared function.

13 years agoDeployment section header is now generated by a common function in the L&B suite
Zdeněk Šustr [Thu, 10 Nov 2011 11:21:56 +0000 (11:21 +0000)]
Deployment section header is now generated by a common function in the L&B suite

13 years agoNew common function
Zdeněk Šustr [Thu, 10 Nov 2011 11:19:15 +0000 (11:19 +0000)]
New common function

13 years agoRemove blanks that mess up formatting.
Zdeněk Šustr [Thu, 10 Nov 2011 10:57:05 +0000 (10:57 +0000)]
Remove blanks that mess up formatting.

13 years agoMinor changes in formatting
Zdeněk Šustr [Thu, 10 Nov 2011 10:43:44 +0000 (10:43 +0000)]
Minor changes in formatting

13 years agoProper escaping
Zdeněk Šustr [Thu, 10 Nov 2011 10:29:15 +0000 (10:29 +0000)]
Proper escaping

13 years agoDon't forget to checkout the tests.
Zdeněk Šustr [Thu, 10 Nov 2011 10:11:36 +0000 (10:11 +0000)]
Don't forget to checkout the tests.

13 years agoAutomated testing support. Initial commit.
Zdeněk Šustr [Thu, 10 Nov 2011 09:51:46 +0000 (09:51 +0000)]
Automated testing support. Initial commit.

13 years ago+uptime in report
Zdeněk Šustr [Wed, 9 Nov 2011 14:47:27 +0000 (14:47 +0000)]
+uptime in report

13 years agoBetter syntax, after all
Zdeněk Šustr [Mon, 7 Nov 2011 22:07:30 +0000 (22:07 +0000)]
Better syntax, after all

13 years agoCorrect syntax of sed (hopefully)
Zdeněk Šustr [Mon, 7 Nov 2011 22:01:36 +0000 (22:01 +0000)]
Correct syntax of sed (hopefully)

13 years agoRecord test user identity.
Zdeněk Šustr [Mon, 7 Nov 2011 21:46:42 +0000 (21:46 +0000)]
Record test user identity.

13 years agoOutput arguments
Zdeněk Šustr [Mon, 7 Nov 2011 20:13:08 +0000 (20:13 +0000)]
Output arguments

13 years agoMore debugging output.
Zdeněk Šustr [Mon, 7 Nov 2011 18:34:49 +0000 (18:34 +0000)]
More debugging output.

13 years agoTry checking the sudoers file after modifying.
Zdeněk Šustr [Mon, 7 Nov 2011 18:32:54 +0000 (18:32 +0000)]
Try checking the sudoers file after modifying.

13 years agoSome dubug output. To be removed later.
Zdeněk Šustr [Mon, 7 Nov 2011 16:28:28 +0000 (16:28 +0000)]
Some dubug output. To be removed later.