OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Sensei using Captive Portal to track user names
« previous next »
  • Print
Pages: [1]

Author Topic: Sensei using Captive Portal to track user names  (Read 3741 times)

mcmahoc

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Sensei using Captive Portal to track user names
« on: September 25, 2020, 10:37:02 am »
Hi,

Is there a guide for configuring Captive Portal for use with Sensei? Currently all traffic is dedicated to anonymous users. I don't have the AD / LDAP integration feature on my subscription and it would be great to know who is doing what.

Not sure what other details anyone would need if they are able to assist other than:
OPNSense v20.7.2
Sensei v1.6
Currently monitoring LAN network

One other question: Should I look at adding my WAN interface to Sensei?


Thanks,
Chris
Logged

mb

  • Hero Member
  • *****
  • Posts: 913
  • Karma: 97
    • View Profile
    • Sunny Valley Networks
Re: Sensei using Captive Portal to track user names
« Reply #1 on: September 25, 2020, 05:31:20 pm »
Hi Chris,

No need for any configuration. If you've enabled Captive Portal; and started authenticating users; Sensei should be able to pick up user information automatically.

For the WAN interface, we do not recommend that, since Sensei is better meant for inner-facing interfaces like LAN. We suggest you use Suricata for the WAN interface.
Logged

mcmahoc

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #2 on: October 09, 2020, 11:00:38 am »
Hi,

I think I'm missing something fairly fundamental about Captive Portal configuration (apologies for being a bit dim). I have enabled it Captive Portal for one my interfaces that Sensei is monitoring, and I assume it's working because I had to "log in" to get access to the internet from the clients connected to that network zone. I know Sensei is monitoring the interface because I get the sensei block page when visiting a restricted page.

However, Sensei still only shows anonymous egress / ingress.

Captive Portal config screenshot attached.
Logged

mb

  • Hero Member
  • *****
  • Posts: 913
  • Karma: 97
    • View Profile
    • Sunny Valley Networks
Re: Sensei using Captive Portal to track user names
« Reply #3 on: October 09, 2020, 04:05:45 pm »
That's not expected. As soon as you get Captive Portal working, Sensei should be able to pick user information.

Let's have a closer look. Can you send a PR through the "Report Bug" menu (upper right corner of the screen)?
Logged

mcmahoc

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #4 on: October 09, 2020, 05:16:18 pm »
Hi mb,

Sent a bug report.

Thanks
Logged

A_V

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #5 on: March 01, 2022, 10:29:12 am »
Hi together,

I know Im a bit late, but I guess Im facing the same problem right now too.

Im logged in into the Captive Portal, but in Zenarmor Reports there are no usernames.

Is there a public solution for this Problem?

Thanks
Adrian
Logged

sy

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: 28
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #6 on: March 01, 2022, 03:38:29 pm »
Hi,

Normally, it's working as expected. Can you share a bug report to look into closer?


Logged

A_V

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #7 on: March 02, 2022, 08:25:55 am »
Hi,

Ive created a Bug Report.

Thanks
Logged

dant98

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #8 on: March 26, 2022, 01:09:51 am »
Is there a link to the bug report for tracking?  I'm having the same issue it seems.  Completely new opnsense w. a licensed copy of zenarmor.  I also see all the traffic by IP, but all egress users are anonymous even though the opnsense captive portal is tracking sessions.
Logged

sy

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: 28
    • View Profile
Re: Sensei using Captive Portal to track user names
« Reply #9 on: March 29, 2022, 09:43:04 pm »
Hi,

This is solved with 1.11 that will be published this week.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Sensei using Captive Portal to track user names
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2