Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Kea
Kea
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 416
    • Issues 416
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 67
    • Merge Requests 67
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #67

Closed
Open
Opened Aug 24, 2018 by trac migrator@trac-migrateDeveloper

Need a mechanism to output binary expressions as hexadecimal strings

A prospective user attempted to use the following expression for a value of a Radius attribute:

{ "name": "Password" "expr": "pkt4.mac" }

The value produced by pkt4.mac, is a series of binary bytes, which cannot be expressed in a Radius authorization file. The radius server actually errors out stating the values do not match. We need a way to convert an expression result to a string literal such as:

"0xXXXXX" or "xx:xx:xx"

We could do it as perhaps a function:

hexString(pkt4.mac)

This would be useful beyond this particular case involving Radius. As an aside using the same expression for User Name or Connection Id work because we convert it to a string, under the covers.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Kea1.5-beta1
Milestone
Kea1.5-beta1 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: isc-projects/kea#67