authenticating users for the control socket

martin f krafft madduck at debian.org
Tue Jun 12 09:04:10 UTC 2007


Unless I am doing something wrong, SO_PEERCRED is currently unusable
in Python, for it returns the server process PID, and no ucred
structure:

>>> SO_PEERCRED = 17
>>> s.getsockopt(SOL_SOCKET, SO_PEERCRED)
17110
>>> os.getpid()
17110

investigating further...

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
review of a chemistry paper:
  "paper should be greatly reduced or completely oxidized."
                                                    -- frank vastola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/netconf-devel/attachments/20070612/e824b37b/attachment.pgp 


More information about the netconf-devel mailing list