mikma / esasl Goto Github PK
View Code? Open in Web Editor NEWSimple Authentication and Security Layer (SASL) support for Erlang
License: Other
Simple Authentication and Security Layer (SASL) support for Erlang
License: Other
An empty README isn't really helping… ;-)
Hi,
as you already know maybe, there exists a ietf draft for OAuth2.0 over GSS-API.
Is there any possiblity that you implement this? ;)
Would be very nice.
Hi!
When used with ejabberd it seems like gsasl_drv leaks an file descriptor everytime someone connects:
# lsof -p `pgrep gsasl_drv` | grep xmpp_
gsasl_drv 29209 jabber 3u REG 8,1 1651 258494 /var/tmp/xmpp_0
gsasl_drv 29209 jabber 4u REG 8,1 1651 258494 /var/tmp/xmpp_0
gsasl_drv 29209 jabber 5u REG 8,1 1651 258494 /var/tmp/xmpp_0
gsasl_drv 29209 jabber 6u REG 8,1 1651 258494 /var/tmp/xmpp_0
gsasl_drv 29209 jabber 7u REG 8,1 1651 258494 /var/tmp/xmpp_0
gsasl_drv 29209 jabber 8u REG 8,1 1651 258494 /var/tmp/xmpp_0
When it hits 130 file descriptors it stops accepting authentications.
I'm realizing that this is probably an gsasl issue but didn't find any fixes for filedescriptor leaks in their NEWS or git logs.
I've tried to find the leak myself but my C and erlang skills are too weak = )
Versions:
ejabberd: 2.1.x
esasl: master
# dpkg -l '*sasl*' | grep '^ii'
ii libauthen-sasl-cyrus-perl 0.13-server-5 Perl extension for Cyrus SASL library
ii libauthen-sasl-perl 2.13-1 Authen::SASL - SASL Authentication framework
ii libgsasl7 1.4.4-1ubuntu1 GNU SASL library
ii libsasl2-2 2.1.23.dfsg1-5ubuntu1 Cyrus SASL - authentication abstraction libr
ii libsasl2-modules 2.1.23.dfsg1-5ubuntu1 Cyrus SASL - pluggable authentication module
ii libsasl2-modules-gssapi-heimdal 2.1.23.dfsg1-5ubuntu1 Pluggable Authentication Modules for SASL (G
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.