mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 13:25:56 +03:00
[GH-ISSUE #12] Rejects passwords #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-otp#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haarp on GitHub (Apr 6, 2016).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/12
Hello,
I'm trying to set this up on pfSense. I managed to get it compiled and loaded, but all I'm ever getting are failed authentications. Is there some way to increase log verbosity so I can see what's going on? It would be very useful if this plugin could log (temporarily) what passwords it expects and which ones it receives.
Thanks!
@evgeny-gridasov commented on GitHub (Apr 12, 2016):
This is what I actually wanted to implement some time later.. may be it is the time to do it now. I'll see what I can do.
@calve commented on GitHub (Apr 12, 2016):
Doesn't pfSense comes bundle with SELinux ? In which case you may read https://github.com/evgeny-gridasov/openvpn-otp#selinux
@haarp commented on GitHub (Apr 12, 2016):
@calve pfSense is based on FreeBSD
@calve commented on GitHub (May 13, 2016):
You can try adding something like
LOG("expected %s read %s", secret, vpn_secret);around https://github.com/evgeny-gridasov/openvpn-otp/blob/master/src/otp.c#L410@kobuki commented on GitHub (May 16, 2016):
Same issue here. No totp passwords are accepted at all. Cross-checked mobile-generated 6-digit codes with ones generated on the server. They always match. With or without pin, doesn't work at all.
EDIT: I found the issue. I've set totp_step=60 but that's not compatible with the phone app. Setting it to totp_step=30 works.
@evgeny-gridasov commented on GitHub (May 18, 2016):
Implemented debug mode in
0d6099eAdd debug=1 to your settings to turn debug mode on.
@bbrendon commented on GitHub (Sep 5, 2017):
@haarp how did you get this to compile on pfsense? Can you provide some guidance? I've been trying on freebsd thinking I can copy it to pfsense : https://github.com/evgeny-gridasov/openvpn-otp/issues/18