summaryrefslogtreecommitdiffstats
path: root/proxy/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Use secure_getenv in client and mechglue modulegetenvSimo Sorce2013-11-201-3/+4
| | | | | | | | proxymehc.so may be used in setuid binaries so follow best security practices and use secure_getenv() if available. Fallback to poorman emulation when secure_getenv() is not available. Resolves: https://fedorahosted.org/gss-proxy/ticket/110
* Add service match using SeLinux ContextSimo Sorce2013-07-021-0/+1
| | | | | | | | | | | | Using getpeercon we can know the elinux context of the process talking to gssproxy. Use this information as an optional additional filter to match processes to service definitions. If a selinux_context option with a full user;role;type context is specified into a service section, then the connecting process must also be running under the specified selinux context in order to be allowed to connect. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com>
* Make sure dlopen.sh is part of the tarballGünther Deschner2013-05-221-1/+1
| | | | Signed-off-by: Günther Deschner <gdeschner@redhat.com>
* Add dlopen script to check for unresolved symbols.Günther Deschner2013-05-151-0/+6
| | | | | | | | Vendors can call "make test_proxymech" from their specfile to make sure proxymech.so can be properly loaded by the GSSAPI. Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Fix unresolved symbol gp_boolean_is_true() in mechglue plugin.Günther Deschner2013-05-151-2/+3
| | | | | | | | At the same time, rename gp_common.c to gp_util.c to make it more visible there is no relation to gp_common.h. Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Add --with-gpstate-path=PATH configure switch.Günther Deschner2013-05-061-2/+2
| | | | | Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Add support for per-service socketsSimo Sorce2013-04-231-0/+1
| | | | | | | | This way different processes running as the same user can be configured as different servervices Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com>
* Improve default configuration.Simo Sorce2013-04-231-1/+0
| | | | | | | | Install by default working nfs configuration. For RPM also install by default file to configure interposer plugin. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com>
* Add generic function to get creds defaultsSimo Sorce2013-04-101-4/+5
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Günther Deschner <gdeschner@redhat.com>
* Add dinglibs ini configuration detection and backend.Günther Deschner2013-04-081-0/+3
| | | | | Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Abstract configuration layer for gssproxy.Günther Deschner2013-04-081-0/+3
| | | | | Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Use gssrpc instead of system rpcSimo Sorce2013-03-141-1/+1
| | | | | This avoids issues with libraris like libtirpc as gssrpc renames all the symbols to avoid clashes with system libraries.
* Add custom implementation of xdr_uint64_tSimo Sorce2013-03-141-1/+2
| | | | This is needed because gssrpc doesn't have one.
* Add example GSS-API mechanism plugins config file.Günther Deschner2013-01-151-0/+2
| | | | The file is not installed automatically yet.
* Use new gss_import/export_cred functionsSimo Sorce2012-10-251-1/+0
| | | | | | | This allows us to remove the ring_buffer hack and become completely stateless as well as remove a possible DoS avenue. R.I.P. Ring Buffer :-)
* Makefile: Add src/mechglue/gss_plugin.h to header list.Günther Deschner2012-10-251-1/+2
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* New test program to exercise the mechglue pluginSimo Sorce2012-10-251-2/+10
|
* Implement misc spi callsSimo Sorce2012-10-251-0/+1
|
* Implement privacy/integrity mechglue wrappersSimo Sorce2012-10-251-0/+1
|
* Implement indicate mechs related mechglue wrappersSimo Sorce2012-10-251-0/+1
|
* Implement name related mechglue wrappersSimo Sorce2012-10-251-0/+1
|
* Implement display status mechglue wrappersSimo Sorce2012-10-251-0/+1
|
* Implement init sec context mechglue wrapperSimo Sorce2012-10-251-0/+1
|
* Implement accept sec context mechglue wrappersSimo Sorce2012-10-251-0/+1
|
* Implement context related mechglue wrappersSimo Sorce2012-10-251-0/+1
| | | | | Use the new spi call in order to be able to properly implement a context locally.
* Implement cred related mechglue wrappersSimo Sorce2012-10-251-0/+2
|
* Add initialization codeSimo Sorce2012-10-251-2/+5
| | | | | | | For now return fixed list of mechanisms. Later on we can try to fetch this list from the proxy. Also split RPC client code from actual plugin
* Build mechglue as a pluginSimo Sorce2012-10-251-0/+13
|
* Implement gpm_wrap_size_limit().Günther Deschner2012-09-141-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gpm_unwrap().Günther Deschner2012-09-141-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gpm_wrap()Günther Deschner2012-09-141-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gpm_verify_mic().Günther Deschner2012-09-141-0/+1
|
* Implement gpm_get_mic().Günther Deschner2012-09-141-0/+1
|
* Implement gpm_inquire_contextSimo Sorce2012-09-141-0/+1
|
* Move client lib files in their own directorySimo Sorce2012-08-311-9/+9
| | | | | | | Make space for the actual mechglue plugin interface. The mechglue interface will use the client library to communicate with the gss-proxy but will reimplement all GSSAPI SPI as wrappers in order to properly handle fallbacks to local mechanism and other input/output transformations.
* Implement gp_wrap_size_limit().Günther Deschner2012-08-311-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gp_unwrap().Günther Deschner2012-08-311-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gp_wrap().Günther Deschner2012-08-311-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gp_verify_mic().Günther Deschner2012-08-231-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Implement gp_get_mic().Günther Deschner2012-08-231-0/+1
| | | | Acked-by: Simo Sorce <simo@redhat.com>
* Add missing headers to Makefile.amSimo Sorce2012-07-101-1/+15
|
* Add logging helpersSimo Sorce2012-04-151-0/+1
|
* creds: add code to import krb5 credentials based on configuration.Simo Sorce2012-04-051-0/+2
|
* There is no need anymore to load the server config in the client test program.Simo Sorce2012-02-091-1/+0
|
* Rename test program.Simo Sorce2012-02-091-5/+5
| | | | | The test program is now testing almost all functions so change name to reflect reaility.
* Implement init_sec_context mechglue functionSimo Sorce2012-02-091-0/+1
|
* Implement server side init_sec_context function.Simo Sorce2012-02-091-0/+1
|
* Implement import_and_canon_name mechglue functions familySimo Sorce2012-02-071-0/+1
|
* Implement server side import_and_canon_name()Simo Sorce2012-02-071-0/+1
| | | | | Also fix name conversion functions, to properly handle exporting/importing names.
* Add tests for indicate_mechs functionsSimo Sorce2012-02-051-0/+1
|