connection idle time too long

59 views
Skip to first unread message

Slimani Azzeddine

unread,
Jul 26, 2023, 12:31:33 PM7/26/23
to Event-Driven Servers
Hello Sir, 
I have an ldap mavis backend working fine. 

My problem is when a user try to connect with a bad password, the connection seems to stay hanging till idle.
How can the server let go of the conncetion and indicate that bad password used.

Thank you

● tac_plus-ng.service - TACACS+ NG Service
     Loaded: loaded (/etc/systemd/system/tac_plus-ng.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2023-07-26 15:39:39 UTC; 1s ago
   Main PID: 4416 (tac_plus-ng)
      Tasks: 11 (limit: 9426)
     Memory: 114.7M
     CGroup: /system.slice/tac_plus-ng.service
             ├─3189 tac_plus-ng: 2 connections left, dying when idle
             ├─3190 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─3191 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─3192 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─3193 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─4416 tac_plus-ng: 0 connections, accepting up to 1920 more
             ├─4417 tac_plus-ng: 0 connections
             ├─4418 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─4419 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             ├─4420 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl
             └─4421 perl /usr/local/lib/mavis/mavis_tacplus_ldap.pl

Marc Huber

unread,
Jul 26, 2023, 12:32:52 PM7/26/23
to event-driv...@googlegroups.com

Hi,

please upgrade to the latest GIT. I think this problem should already be resolved.

Thanks,

Marc

--
You received this message because you are subscribed to the Google Groups "Event-Driven Servers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to event-driven-ser...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/event-driven-servers/9981be73-1578-4cb7-9a1d-9e98dc9759d5n%40googlegroups.com.

Slimani Azzeddine

unread,
Jul 26, 2023, 1:19:51 PM7/26/23
to Event-Driven Servers
Hi, 
Will do shortly, 

thank you, for your time and effort.

Slimani Azzeddine

unread,
Jul 27, 2023, 10:21:04 AM7/27/23
to Event-Driven Servers
after last update to the  mavis_tacplus_ldap.py:

I am getting this error when launching : make


Compiling '/home/xx/event-driven-servers/build/linux-5.4.0-153-generic-x86_64/fakeroot/usr/local/lib/mavis/mavis_tacplus_ldap.py'...
***   File "/home/xx/event-driven-servers/build/linux-5.4.0-153-generic-x86_64/fakeroot/usr/local/lib/mavis/mavis_tacplus_ldap.py", line 241
    continue
    ^
SyntaxError: invalid syntax

make[4]: *** [GNUmakefile:31: install] Error 1
make[4]: Leaving directory '/home/xx/event-driven-servers/mavis/python'
make[3]: *** [GNUmakefile:34: install_stage] Error 2
make[3]: Leaving directory '/home/xx/event-driven-servers/mavis/python'
make[2]: *** [/home/xx/event-driven-servers/mavis/Makefile.obj:265: install_python_stage] Error 2
make[2]: Leaving directory '/home/xx/event-driven-servers/build/linux-5.4.0-153-generic-x86_64/mavis'
make[1]: *** [GNUmakefile:21: build] Error 2
make[1]: Leaving directory '/home/xx/event-driven-servers/mavis'
make: *** [GNUmakefile:31: dirs] Error 1

Slimani Azzeddine

unread,
Jul 27, 2023, 10:23:20 AM7/27/23
to Event-Driven Servers
Before this git push from your part, it worked fine. 

And the problem with connection till idle was resolved with yesterday git (version tac_plus-ng version 5edf45259c939c33eb79e4edf5a112956b584d50/PCRE2/CRYPTO/ARES/CURL/SSL)

Regards

Marc Huber

unread,
Jul 27, 2023, 11:44:35 AM7/27/23
to event-driv...@googlegroups.com

Hi,

thanks, somehow my development system didn't complain about a missing brace. Please git pull and retry.

Cheers,

Marc

Reply all
Reply to author
Forward
0 new messages