1. 12 7月, 2013 1 次提交
    • P
      remote: Improve libssh2 password authentication · 273745b4
      Peter Krempa 提交于
      This patch enables the password authentication in the libssh2 connection
      driver. There are a few benefits to this step:
      
      1) Hosts with challenge response authentication will now be supported
      with the libssh2 connection driver.
      
      2) Credential for hosts can now be stored in the authentication
      credential config file
      273745b4
  2. 11 7月, 2013 1 次提交
  3. 10 7月, 2013 1 次提交
  4. 23 5月, 2013 1 次提交
  5. 21 5月, 2013 1 次提交
  6. 08 5月, 2013 2 次提交
  7. 03 5月, 2013 1 次提交
  8. 02 5月, 2013 1 次提交
    • M
      virutil: Move string related functions to virstring.c · 7c9a2d88
      Michal Privoznik 提交于
      The source code base needs to be adapted as well. Some files
      include virutil.h just for the string related functions (here,
      the include is substituted to match the new file), some include
      virutil.h without any need (here, the include is removed), and
      some require both.
      7c9a2d88
  9. 21 3月, 2013 1 次提交
    • G
      Don't fail if SELinux is diabled · 82eec793
      Guido Günther 提交于
      but libvirt is built with --with-selinux. In this case getpeercon
      returns ENOPROTOOPT so don't return an error in that case but simply
      don't set seccon.
      82eec793
  10. 20 3月, 2013 1 次提交
  11. 19 3月, 2013 1 次提交
  12. 14 3月, 2013 1 次提交
    • D
      Re-add DTrace probes on 'dispose' functions · ad9ea4a9
      Daniel P. Berrange 提交于
      When converting to virObject, the probes on the 'Free' functions
      were removed on the basis that there is a probe on virObjectFree
      that suffices. This puts a burden on people writing probe scripts
      to identify which object is being dispose. This adds back probes
      in the 'Dispose' functions and updates the rpc monitor systemtap
      example to use them
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      ad9ea4a9
  13. 06 2月, 2013 1 次提交
  14. 16 1月, 2013 3 次提交
  15. 14 1月, 2013 2 次提交
  16. 12 1月, 2013 1 次提交
  17. 11 1月, 2013 1 次提交
  18. 09 1月, 2013 1 次提交
  19. 21 12月, 2012 6 次提交
  20. 15 12月, 2012 1 次提交
    • R
      Socket identity support for FreeBSD. · 0c94357f
      Roman Bogorodskiy 提交于
      This adds an implementation of virNetSocketGetUNIXIdentity()
      using LOCAL_PEERCRED socket option and xucred struct, defined
      in <sys/ucred.h> on systems that have it.
      0c94357f
  21. 02 11月, 2012 1 次提交
  22. 16 10月, 2012 1 次提交
    • D
      Add JSON serialization of virNetSocketPtr objects for process re-exec() · c2981453
      Daniel P. Berrange 提交于
      Add two new APIs virNetSocketNewPostExecRestart and
      virNetSocketPreExecRestart which allow a virNetSocketPtr
      object to be created from a JSON object and saved to a
      JSON object, for the purpose of re-exec'ing a process.
      
      As well as saving the state in JSON format, the second
      method will disable the O_CLOEXEC flag so that the open
      file descriptors are preserved across the process re-exec()
      
      Since it is not possible to serialize SASL or TLS encryption
      state, an error will be raised if attempting to perform
      serialization on non-raw sockets
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      c2981453
  23. 26 9月, 2012 2 次提交
  24. 21 9月, 2012 1 次提交
  25. 22 8月, 2012 1 次提交
    • P
      libssh2_session: Add support for creating known_hosts file · f1d0b92a
      Peter Krempa 提交于
      The libssh2 code wasn't supposed to create the known_hosts file, but
      recent findings show, that we can't use the default created by OpenSSH
      as libssh2 might damage it. We need to create a private known_hosts file
      in the config path.
      
      This patch adds support for skipping error if the known_hosts file is
      not present and let libssh2 create a new one.
      f1d0b92a
  26. 21 8月, 2012 1 次提交
    • P
      libssh2_transport: add ssh context support to virNetSocket · 637ea542
      Peter Krempa 提交于
      This patch enables virNetSocket to be used as an ssh client when
      properly configured.
      
      This patch adds function virNetSocketNewConnectLibSSH2() that takes all
      needed parameters and creates a libssh2 session and performs steps
      needed to open the connection and then create a virNetSocket that
      seamlesly encapsulates the communication.
      637ea542
  27. 20 8月, 2012 1 次提交
  28. 07 8月, 2012 3 次提交