Re: [Twisted-Python] Setting socket options before bind/listen

2014-02-04 Thread David Timothy Strauss
You can also accomplish this using systemd socket activation with the
ReusePort= option [1]. Twisted supports inheriting such sockets from
systemd.

[1] http://www.freedesktop.org/software/systemd/man/systemd.socket.html

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Sending feedback on SSH authentication failures

2014-02-04 Thread David Timothy Strauss
Is there a straightforward way to send text feedback to users when
their authentication fails? At Pantheon, we use a custom
implementation of IRealm. I'm hoping there's a way to send or return
the output from there.

We particularly need this because users will have various two-factor
authentication modes configured, and a simple pass/fail for
authentication will leave many scratching their heads.

I don't see any examples of such output on the relevant documentation page [1].

[1] https://twistedmatrix.com/documents/current/core/howto/cred.html

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python