freeipa/ipapython
Tomas Krizek af0ba66188 ipa-replica-conncheck: do not close listening ports until required
Previously, a separate thread would be created for each socket used
for conncheck. It would also time out after one second, after which it
would be closed and reopened again. This caused random failures of
conncheck.

Now all sockets are handled in a single thread and once the server
starts to listen on a port, it does not close that connection until the
script finishes.

Only IPv6 socket is used for simplicity, since it can handle both IPv6
and IPv4 connections. This requires IPv6 kernel support, which is
required by other parts of IPA anyway.

https://fedorahosted.org/freeipa/ticket/6487

Reviewed-By: Petr Spacek <pspacek@redhat.com>
2016-12-01 15:20:21 +01:00
..
install Python3 pylint fixes 2016-11-25 16:18:22 +01:00
__init__.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
admintool.py Python3 pylint fixes 2016-11-25 16:18:22 +01:00
certdb.py ipapython: remove hard dependency on ipaplatform 2016-11-29 14:50:51 +01:00
config.py ipautil: remove get_domain_name() 2016-11-29 14:50:51 +01:00
cookie.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
dn.py dn: support conversion from python-cryptography Name 2016-11-10 10:21:47 +01:00
dnsutil.py Fix internal errors in host-add and other commands caused by DNS resolution 2016-07-01 10:35:39 +02:00
dogtag.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
errors.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
graph.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
ipa_log_manager.py install: allow specifying verbosity and console log format in CLI 2016-11-11 12:17:25 +01:00
ipaldap.py Fix Python 3 bugs discovered by pylint 2016-11-25 16:18:22 +01:00
ipautil.py ipa-replica-conncheck: do not close listening ports until required 2016-12-01 15:20:21 +01:00
ipavalidate.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
kerberos.py Enhance __repr__ method of Principal 2016-11-30 09:40:43 +01:00
kernel_keyring.py Fix session cookies 2016-07-22 16:30:32 +02:00
log_manager.py remove trailing newlines form python modules 2016-10-12 10:38:52 +02:00
Makefile.am Build: properly integrate version.py into build system 2016-11-29 15:28:24 +01:00
nsslib.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
README Replace DNS client based on acutil with python-dns 2012-05-24 13:55:56 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Adjustments for setup requirements 2016-11-30 13:32:30 +01:00
ssh.py Remove unused imports 2015-12-23 07:59:22 +01:00
version.py.in Build: move version handling from Makefile to configure 2016-11-09 13:08:32 +01:00

This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.

A brief overview:

config.py - identify the IPA server domain and realm. It uses python-dns to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.

ipautil.py - helper functions

entity.py - entity is the main data type. User and Group extend this class
            (but don't add anything currently).

ipavalidate.py - basic data validation routines