<?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 Re: Insert data in http stream? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7008#M184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah, something along those lines, or any creative way to do this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could I set up a simple block page that embeds the original page within it?&amp;nbsp; i don't think that would work, but wasn't sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just trying to think of anything creative.&amp;nbsp; would a continue page work that automatically 'continues'?&amp;nbsp; I assume that would work fine if it was an actual user as the client.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 15:55:00 GMT</pubDate>
    <dc:creator>berkheimert</dc:creator>
    <dc:date>2013-07-17T15:55:00Z</dc:date>
    <item>
      <title>Insert data in http stream?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7006#M182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My goal is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have the palo alto insert something into the http stream that would allow me to detect which firewall it went through. I am working on a FW load balancing scenario in which multiple active firewalls can handle each request.&amp;nbsp; I have a script set up on a client to initiate multiple connections to a server and simply download the web page (it's just a curl command).&amp;nbsp; I just want the PA to insert SOMETHING, SOMEWHERE, that i can parse out either on the server or client.&amp;nbsp; This is a lab setup, so I have full control of all devices.&amp;nbsp; I don't care if it's a custom response page, inserting an HTTP GET variable into the URL, or whatever.&amp;nbsp; as long as i can parse it out using a script (i can't require a 'mouse click'), i'm fine.&amp;nbsp; Since i'm fairly new to Palo Alto stuff, I'm not sure if this is even possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 13:56:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7006#M182</guid>
      <dc:creator>berkheimert</dc:creator>
      <dc:date>2013-07-17T13:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Insert data in http stream?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7007#M183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically what you're looking for is something like the way you can inject an X-Forwarded-For header into an HTTP data stream from the PA (really you'd want "X-Forwarded-By"). I only know of ways to do this with proxies... I'm not aware of a way to do it with PA with their current feature set. PA can PARSE X-Forwarded-For, but I don't see a way where the firewall itself can inject it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 14:24:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7007#M183</guid>
      <dc:creator>ericgearhart</dc:creator>
      <dc:date>2013-07-17T14:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Insert data in http stream?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7008#M184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah, something along those lines, or any creative way to do this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could I set up a simple block page that embeds the original page within it?&amp;nbsp; i don't think that would work, but wasn't sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just trying to think of anything creative.&amp;nbsp; would a continue page work that automatically 'continues'?&amp;nbsp; I assume that would work fine if it was an actual user as the client.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 15:55:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7008#M184</guid>
      <dc:creator>berkheimert</dc:creator>
      <dc:date>2013-07-17T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Insert data in http stream?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7009#M185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I’m attempting to do the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a ‘continue’ or ‘override’ page that just redirects the user to the existing url with “?fw=X” appended to it.&amp;nbsp; I think that part works, but I can’t get the block/allow match to keep me out of an infinite loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set my “block list” to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*/cgi-bin/script.pl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my “allow list” to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*/cgi-bin/script.pl?fw=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it appears that the block list is processed before the allow list because of the infinite loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas how to specify the block list to be "exactly this and nothing else at the end".&amp;nbsp; I tried a '$' for regex 'end of line' but that didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my 'continue/override' page is nothing more than the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;meta http-equiv="refresh" content="0; url=&amp;lt;url/&amp;gt;?fw=X"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 'X' is a number that indicates the firewall i'm traversing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 19:15:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/insert-data-in-http-stream/m-p/7009#M185</guid>
      <dc:creator>berkheimert</dc:creator>
      <dc:date>2013-07-25T19:15:36Z</dc:date>
    </item>
  </channel>
</rss>

