Age | Commit message (Collapse) | Author | Files |
|
* src/ispeek.c: New file.
* src/ispeek-cl.opt: New file
* src/Makefile.am: Add ispeek
* src/io.c (dump, eclat_trace_fun): Moved to the library.
(eclat_io_setup): Use eclat_set_curl_trace.
* NEWS: Document ispeek.
* doc/Makefile.inc: Add ispeek.1
* doc/eclat.1man: Mention ispeek(1) in the "see also" section.
* doc/eclat.conf.5: Update.
* doc/ispeek.1: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add trace.c
* lib/libeclat.h (eclat_trace_fun)
(eclat_set_curl_trace): New proto.
* lib/trace.c: New file.
|
|
|
|
|
|
* NEWS: Update.
* src/config.c: New statement "authentication-provider"
* src/eclat.c (authentication_provider): New variable.
(main): Select credentials depending on the value of
authentication_provider.
* src/eclat.h (authentication_provider): New enum and extern.
|
|
* lib/reqsign.c (querysign4): Pass credentials in HTTP headers,
instead of parameters.
|
|
* lib/reqsign.c (querysign4): Add X-Amz-Security-Token param.
|
|
* lib/reqsign.c (eclat_hex_encode): add terminating zero
|
|
* NEWS: Update.
* doc/eclat.1man: Update.
* lib/.gitignore: Update.
* lib/Makefile.am (libeclat_a_SOURCES): Add new files.
* lib/json.h: New file.
* lib/jsongrm.y: New file.
* lib/jsonlex.l: New file.
* lib/yytrans: New file.
* lib/libeclat.h (ec2_query) <token>: New member
(eclat_query_create): Change signature.
* lib/qcreat.c (eclat_query_create): Take security token as 5th
argument.
* lib/reqsign.c (querysign2): Add security token.
* src/cmdline.opt: Update copyright years
* src/ec2map.c (ec2_map_get): Pass security token to
eclat_query_create.
* src/eclat.c (security_token): New variable.
(eclat_do_command): Pass security token to
eclat_query_create.
(main): Get authentication credentials from the instance
store, if not found in the access file.
* src/eclat.h (security_token): New extern.
(eclat_get_instance_creds): New proto.
* src/util.c (eclat_get_instance_zone): Use json parser.
(eclat_get_instance_creds): New function.
* tests/Makefile.am (noinst_PROGRAMS): add tjson
* tests/tjson.c: New file.
|
|
* src/eclat.c: If no region is specified, try to get it
from the instance store.
* src/eclat.h (eclat_trace_fun): New proto.
(eclat_get_instance_zone): New proto.
* src/io.c (eclat_trace_fun): Remove static qualifier.
* src/util.c (eclat_get_instance_meta_data): New function.
(eclat_get_instance_zone): New function.
|
|
* grecs: Upgrade
* src/sg.c (add_source_cidr): Accept /0 mask; improve error detection.
|
|
* lib/forlan.c (coerce_value): Handle NULL nodes.
(values_equal): Handle NULL strings.
(dump_expr): Handle EQ and NE.
* lib/forlanlex.l: Fix distinction before negative numeric and
identifier.
* etc/describe-security-groups.fln: ipProtocol == "-1" means "all".
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Likewise.
* tests/comp00.at: New file.
* tests/comp01.at: New file.
* tests/comp02.at: New file.
* tests/comp03.at: New file.
* tests/comp04.at: New file.
* tests/tforlan.c (main): Optionally read XML from standard input.
|
|
* etc/flncat.c: Add boundary check
|
|
* etc/flncat.c (main): Reset outchars after opening a new file
|
|
|
|
* lib/qaddparm.c (eclat_query_add_header): Remove leading and
trailing whitespace.
* lib/reqsign.c (querysign4): Add all custom headers to signed
headers.
Abort if EC2_QF_POST flag is set (not implemented yet).
|
|
* lib/libeclat.h (ec2_param) <encoded>: New member.
(ec2_query) <signature>: Remove.
<headers,region,access_key>: New members
(eclat_query_create): Take two more arguments. All uses changed.
(eclat_query_add_param_encoded)
(eclat_query_add_header): New functions.
* lib/q2url.c (eclat_query_to_url): Don't create Signature param:
it is already in the param list (for v2 process).
* lib/qaddparm.c (eclat_query_add_param_encoded): New function.
(eclat_query_add_header): New function.
* lib/qcreat.c (eclat_query_create): Take region and access key
as additional parameters.
* lib/qencode.c (encode_param): Skip parameters that have encoded
set to true.
* lib/reqsign.c (querysign2): Store access key in AWSAccessKeyId
and the generated signature in the Signature parameters.
(eclat_hex_encode): New function.
(querysign4): Implement signature version 4 signing process.
* src/ec2map.c: Update call to eclat_query_create.
* src/eclat.c: Likewise.
* src/util.c (eclat_send_query): Sign the query and add
requested headers prior to sending.
* doc/eclat.conf.5: Document signature-version.
* NEWS: Likewise.
|
|
* doc/eclat-mkinst.1: Escape dashes
* etc/get-console-output.fln: Handle empty output case.
|
|
|
|
* TODO: Update.
* doc/Makefile.inc: Add new files.
* doc/eclat-lsaattr.1: New file.
* doc/eclat-setaattr.1: New file.
* etc/Makefile.am (FLNFILES): Add new files.
* etc/describe-image-attribute.fln: New file.
* etc/modify-image-attribute.fln: New file.
* src/Makefile.am (eclat_SOURCES,OPTFILES): Add new files.
* src/eclat.c (cmdtab): New commands: lsaattr and setaattr.
* src/eclat.h (eclat_describe_image_attribute)
(eclat_modify_image_attribute,canonattrname): New protos.
* src/lsaattr.c: New file.
* src/lsiattr.c: Use canonattrname to simplify usage.
* src/lssattr.c (canonattrname): Remove. Use external version.
* src/setaattr-cl.opt: New file.
* src/setaattr.c: New file.
* src/setiattr.c: New file.
* src/util.c (canonattrname): New function.
|
|
|
|
|
|
* etc/Makefile.am (lsattr.forlan): Fix dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* doc/eclat-lssg.1: New file.
* doc/eclat-sg.1: New file.
* doc/Makefile.inc: Add new files.
* etc/create-security-group.fln: New file.
* etc/delete-security-group.fln: New file.
* etc/Makefile.am: Add new files.
* src/mksg-cl.opt: New file.
* src/mksg.c: New file.
* src/rmsg-cl.opt: New file.
* src/rmsg.c: New file.
* src/sg.h: New file.
* src/Makefile.am: Add new files.
* src/eclat.c (cmdtab): New commands "mksg" and
"rmsg".
* src/eclat.h (eclat_create_security_group)
(eclat_delete_security_group): New protos.
* src/lssg.c: Include sg.h. Use groupkw instead of the
static rt[], which is removed.
* src/sg-cl.opt: Use groupkw
* src/sg.c (groupkw): New global.
* TODO: Update.
|
|
|
|
|
|
|
|
|
|
* TODO: Update.
* doc/Makefile.inc: Add eclat-sg.1
* doc/eclat-lssg.1: Update.
* doc/eclat-sg.1: New file.
* src/sg-cl.opt: Fix docstrings.
|
|
Accept --list without argument (list all groups). Accept host
and service names as arguments to the --source and --port options.
* src/sg-cl.opt (parse_options): Accept --list without argument.
* src/sg.c (add_source_cidr, str2port): New functions.
(flush_rule): Use the above to process source CIDRs and port numbers.
|
|
|
|
|
|
|
|
* src/sg.c (flush_rule): Add default source address, unless specified.
|
|
* etc/Makefile.am (FLNFILES): Add lsattr.fln
(.fln.forlan): Use all prerequisites, not only the first one.
(FORMATFILES): Remove lsattr.forlan
(lsattr.forlan): Use implicit rule.
(sg.forlan): New rule
* etc/flncat.c (comment): Optionally output the comment.
(main): Output " else " only if some non-whitespace and non-comment
characters were output before.
* etc/lsattr.fln: New file
* src/sg-cl.opt: New option --list.
* src/sg.c (list_option): New variable.
|
|
* src/lssg.c (eclat_describe_security_groups): Fix the --name option.
* src/sg-cl.opt: Use -N as a shorcut for --next, and -n as the one
for --name, for compatibility with lssg.
|
|
* etc/sg.fln: New file.
* etc/Makefile.am (FLNFILES): Add sg.fln
* src/sg.c: New file.
* src/sg-cl.opt: New file.
* src/Makefile.am (eclat_SOURCES): Add sg.c
(OPTFILES): Add sg-cl.opt
* src/eclat.c (cmdtab): Add entry for "sg".
(eclat_do_command): Ignore tag if it is NULL.
* src/eclat.h (eclat_sg): New proto.
|
|
|
|
|
|
* lib/ldapmap.c (ldap_map_open): Return if unable to open map.
|
|
|
|
|
|
* lib/hmac_sha256.c: New file.
* lib/sha256.c: New file.
* lib/sha256.h: New file.
* lib/Makefile.am (libeclat_a_SOURCES): Add new files.
* lib/libeclat.h (hmac_sha256): New proto.
(eclat_query_signature): Rename to eclat_query_sign,
take signature version as argument.
(eclat_encode_devmap): Remove prototype.
* lib/reqsign.c: Use HMAC256
* src/config.c (eclat_kw): New keyword: signature-version,
* src/devmap.c (eclat_encode_devmap): Bugfixes. Translate snapshot ids.
* src/eclat.c (signature_version): New variable.
* src/eclat.h (signature_version): New proto.
(eclat_encode_devmap): New proto.
* src/util.c (eclat_send_query): Use eclat_query_sign.
* tests/hmac01.at: Update.
* tests/hmac02.at: Update.
* tests/hmac03.at: Update.
* tests/thmac.c: Use HMAC256
|
|
* lib/envmap.c: Rename to ...
* src/devmap.c (eclat_encode_devmap): Translate snapshot identifiers.
Fix check for the number of parts in device specification.
* lib/Makefile.am: Update.
* src/Makefile.am: Update.
|
|
* lib/envmap.c (eclat_encode_devmap): Fix recognition of optional parts.
|