<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Request Assistance with XMP API - Linux FreeRadius Perl in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-assistance-with-xmp-api-linux-freeradius-perl/m-p/520435#M3242</link>
    <description>&lt;P&gt;Hi PAN Peoples,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My FreeRadius/Perl to PAN skills are a little rusty.&amp;nbsp; We have a requirement to send UserID-IP Address Mappings from Wifi to PAN and have a Linux FreeRadius box in the middle doing Accounting only for this purpose.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm the API Key has been entered into the Perl script and command line tests confirm connection to PAN from the Linux host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are getting the following issue in the debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rlm_perl: ***** Accounting type: Stop, host/Computer.Domain.Internal, ip: 10.x.x.x&lt;BR /&gt;rlm_perl: ***** Sending to PA: &lt;A href="https://panhost.domain/api/?type=user-id" target="_blank"&gt;https://panhost.domain/api/?type=user-id&lt;/A&gt;&lt;BR /&gt;rlm_perl: Error connecting to host: panhost.domain&lt;BR /&gt;rlm_perl: ***** Sending to PA: &lt;A href="https://panhost.domain/api/?type=user-id" target="_blank"&gt;https://panhost.domain/api/?type=user-id&lt;/A&gt;&lt;BR /&gt;rlm_perl: Error connecting to host: panhost.domain&lt;BR /&gt;rlm_perl: Error updating user-mapping for host/Computer.Domain.Internal with IP:10.x.x.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN OS 10.2.2&lt;/P&gt;&lt;P&gt;Ubuntu 18 LTS&lt;/P&gt;&lt;P&gt;FreeRadius 3.0.16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen this particular error and can you recall how it was resolved, please?&lt;/P&gt;&lt;P&gt;I can post Perl config if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Nov 2022 22:59:18 GMT</pubDate>
    <dc:creator>PhillipNottage</dc:creator>
    <dc:date>2022-11-05T22:59:18Z</dc:date>
    <item>
      <title>Request Assistance with XMP API - Linux FreeRadius Perl</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-assistance-with-xmp-api-linux-freeradius-perl/m-p/520435#M3242</link>
      <description>&lt;P&gt;Hi PAN Peoples,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My FreeRadius/Perl to PAN skills are a little rusty.&amp;nbsp; We have a requirement to send UserID-IP Address Mappings from Wifi to PAN and have a Linux FreeRadius box in the middle doing Accounting only for this purpose.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm the API Key has been entered into the Perl script and command line tests confirm connection to PAN from the Linux host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are getting the following issue in the debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rlm_perl: ***** Accounting type: Stop, host/Computer.Domain.Internal, ip: 10.x.x.x&lt;BR /&gt;rlm_perl: ***** Sending to PA: &lt;A href="https://panhost.domain/api/?type=user-id" target="_blank"&gt;https://panhost.domain/api/?type=user-id&lt;/A&gt;&lt;BR /&gt;rlm_perl: Error connecting to host: panhost.domain&lt;BR /&gt;rlm_perl: ***** Sending to PA: &lt;A href="https://panhost.domain/api/?type=user-id" target="_blank"&gt;https://panhost.domain/api/?type=user-id&lt;/A&gt;&lt;BR /&gt;rlm_perl: Error connecting to host: panhost.domain&lt;BR /&gt;rlm_perl: Error updating user-mapping for host/Computer.Domain.Internal with IP:10.x.x.x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN OS 10.2.2&lt;/P&gt;&lt;P&gt;Ubuntu 18 LTS&lt;/P&gt;&lt;P&gt;FreeRadius 3.0.16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen this particular error and can you recall how it was resolved, please?&lt;/P&gt;&lt;P&gt;I can post Perl config if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 22:59:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-assistance-with-xmp-api-linux-freeradius-perl/m-p/520435#M3242</guid>
      <dc:creator>PhillipNottage</dc:creator>
      <dc:date>2022-11-05T22:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Request Assistance with XMP API - Linux FreeRadius Perl</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-assistance-with-xmp-api-linux-freeradius-perl/m-p/520637#M3245</link>
      <description>&lt;P&gt;My first thought would be to enable more verbose logging, the message of "&lt;SPAN&gt;Error connecting to host: panhost.domain" doesn't really provide much valuable information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems like there is an issue with building the connection, and with your confirmation that you can reach the firewall from your CLI leaves me with the impression that it's either an authentication issue or you need to disable SSL certificate validation within your script.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 12:48:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-assistance-with-xmp-api-linux-freeradius-perl/m-p/520637#M3245</guid>
      <dc:creator>cremsburg</dc:creator>
      <dc:date>2022-11-08T12:48:16Z</dc:date>
    </item>
  </channel>
</rss>

