<?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 requesting connection status via code or through CLI in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222657#M64032</link>
    <description>&lt;P&gt;Hey there, I'm designing windows 10 app which needs to connect to a office based&amp;nbsp;database via a remote laptop.&lt;/P&gt;&lt;P&gt;The laptop will have access to the office through the GlobalProtect VPN.&lt;/P&gt;&lt;P&gt;I need a way to query the GlobalProtect windows agent to see if there is an active VPN connection so I can start making database calls or use locally stored data.&lt;/P&gt;&lt;P&gt;Any ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I can either ping the officer server which will pause the app while it times out, or read through the Global Protect logs.&lt;/P&gt;&lt;P&gt;I am hoping I can make a quick call to the installed client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 03:50:52 GMT</pubDate>
    <dc:creator>megabytes</dc:creator>
    <dc:date>2018-07-18T03:50:52Z</dc:date>
    <item>
      <title>requesting connection status via code or through CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222657#M64032</link>
      <description>&lt;P&gt;Hey there, I'm designing windows 10 app which needs to connect to a office based&amp;nbsp;database via a remote laptop.&lt;/P&gt;&lt;P&gt;The laptop will have access to the office through the GlobalProtect VPN.&lt;/P&gt;&lt;P&gt;I need a way to query the GlobalProtect windows agent to see if there is an active VPN connection so I can start making database calls or use locally stored data.&lt;/P&gt;&lt;P&gt;Any ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I can either ping the officer server which will pause the app while it times out, or read through the Global Protect logs.&lt;/P&gt;&lt;P&gt;I am hoping I can make a quick call to the installed client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 03:50:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222657#M64032</guid>
      <dc:creator>megabytes</dc:creator>
      <dc:date>2018-07-18T03:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: requesting connection status via code or through CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222735#M64049</link>
      <description>&lt;P&gt;What if you inspect the routing table?&lt;/P&gt;&lt;P&gt;It may take some tweaking to the GP configuration, but you should be able to have it install a route to the network or server that you can look for in the routing table.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:48:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222735#M64049</guid>
      <dc:creator>JoeAndreini</dc:creator>
      <dc:date>2018-07-18T12:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: requesting connection status via code or through CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222879#M64077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Joe,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not as eligent as I was hoping, but certainly a much better step up then running through logs.&amp;nbsp; I'll most likely run with this solution for now until something better comes along.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 01:24:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222879#M64077</guid>
      <dc:creator>megabytes</dc:creator>
      <dc:date>2018-07-19T01:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: requesting connection status via code or through CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222916#M64085</link>
      <description>&lt;P&gt;There may be a better solution that I do not know of, just offering something I thought was better than pinging the host or searching the logs&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 11:22:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/222916#M64085</guid>
      <dc:creator>JoeAndreini</dc:creator>
      <dc:date>2018-07-19T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: requesting connection status via code or through CLI</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/223008#M64115</link>
      <description>&lt;P&gt;what about checking the network adapters? when Global protect isn't connected the network adapter will show also a disconnected status. One possible powershell command is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;get-netadapter&lt;/PRE&gt;&lt;P&gt;This will show all network adapters and their connection status and where you get a nice list of up and disconnected adapters. The Global Protect network adapters description is normally "PANGP Virtual Ethernet Adapter".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 20:27:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/requesting-connection-status-via-code-or-through-cli/m-p/223008#M64115</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2018-07-19T20:27:03Z</dc:date>
    </item>
  </channel>
</rss>

