Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Openvpn and cisco-avpair - attributes check

    Scheduled Pinned Locked Moved OpenVPN
    bugphp error
    1 Posts 1 Posters 122 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Olivier_Thibault
      last edited by Olivier_Thibault

      Hello,

      I am using freeradius to authenticate my users on openvpn.
      I use cisco-avpair to push routes and ACL.
      If the radius reply is more than 4096 bytes, it is truncated (standard behaviour, not a problem).
      It seems there is a problem when the reply is truncated just after the vendor id.
      (last attribute in hexa is : 1a 06 00 00 00 09)
      In this case, pfsense doesn't load any attributes.
      When the reply ends with ip:route = => no problem, the attributes are processed.
      Idem if the reply ends with ip:route = 10.20.30.40 (without mask).
      The openvpn client complains (Options error: route parameter netmask 'vpn_gateway' must be an IP address), but all attributes are processed.

      Not sure if the problem is in the parse_cisco_acl function in /etc/inc/util.inc.

      Has anybody already encountered this problem ?

      Thank you

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.