Skip to content

User-Password attribute is not represented in IRadiusPacket #2

@OlegNadymov

Description

@OlegNadymov

Hi!
I'm trying to write own IPacketHandler implementation. I need to have value of User-Password attribute there. But the radius packet doesn't have this attribute. The code packet.GetAttribute<string>("User-Password") returns null.

My client is Windows 10 Pro.
RDP with manual RD gateway. For test purpose I use the same server for RDP and RD gateway.

My server is Windows Server 2019 Standard with configured RD Gateway and Network Policy Server.

Central RD CAP options:

  1. Local server running NPS.
  2. Selfsigned certificate (installed as trusted in server as well as in client).

NPS options:

  1. Radius client with server IP 172.16.-.-
  2. Radius server with IP 127.0.0.1
  3. Connection request policy with condition by Client Friendly Name.

My IPacketHandler implementation catches the request but this request doesn't have User-Password attribute.
My packet handler is very simple so far. I used the code from your TestPacketHandler.

Could you tell me where is a problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions