2

Is there any way in Dante that I can create my own authentication script? Take this squid configuration for example:

auth_param basic program /usr/bin/python /etc/auth.py
Romeo Mihalcea
  • 522
  • 1
  • 9
  • 27

1 Answers1

1

Yes, you can use socksmethod=pam.username in config and develop your own pam module.

Jinxmcg
  • 111
  • 4
  • Perhaps an example share or a relevant reference would significantly support the answer. – Artfaith Sep 27 '22 at 17:39
  • 1
    Sure, bottom of page https://www.inet.no/dante/doc/latest/config/auth_pam.html has more details. Then write and add a pam auth module to your box. example in go: https://github.com/msteinert/pam – Jinxmcg Sep 28 '22 at 21:04