<?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: Dynamic Objects 應用 in Chinese 中文</title>
    <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10840#M216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;這個厲害~~ 可以當 RD 了~~ 拍手~~~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 05:29:38 GMT</pubDate>
    <dc:creator>Jacky_Chen</dc:creator>
    <dc:date>2018-04-18T05:29:38Z</dc:date>
    <item>
      <title>Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10835#M211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 各位看官,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;在R77版本中的fw policy中的物件若要使用domain object會有DNS反查的問題, 這使得在R77中的fw policy非常不彈性&lt;/P&gt;&lt;P&gt;之前遇到user想開放某幾個網址給內部的防毒主機去做更新, 在R77卻是不好處理.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我這邊參考sk106251以及skI1915做法, 利用nslookup去查詢目的網址IP, 取得結果放到Dynamic Objects, 這樣一來就可以解決上述問題...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;作法如下:&lt;/P&gt;&lt;P&gt;1. 建立Dynamic Objects, 如要網址是4.sophosxl.net, 則建立DO_4.sophosxl.net, 若是www.google.com, 則建立DO_www.google.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64221" class="image-1 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64221_pastedImage_1.png" style="width: 620px; height: 39px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Run Script , (script動作大致如下)&lt;/P&gt;&lt;P&gt;~nslookup查詢網址IP, 並暫存到Dynamic Objects&lt;/P&gt;&lt;P&gt;~將上述動作寫到/var/log/messages&lt;/P&gt;&lt;P&gt;~建立Job Scheduler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.Script內如無須修改參數, 直接執行即可...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;執行語法:&lt;/P&gt;&lt;P&gt;./dyno_nslookup.sh 4.sophosxl.net 1 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.sophosxl.net&amp;gt;代表要nslookup的網址&lt;/P&gt;&lt;P&gt;1&amp;gt;代表建立Job Scheduler&lt;/P&gt;&lt;P&gt;15&amp;gt;代表每15分鐘nslookup一次&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script內說明:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64228" class="image-6 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64228_pastedImage_9.png" style="width: 620px; height: 100px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;執行畫面如下, 若在Job Scheduler有設定mail通知, 會將此次與上次的nslookup 結果mail給相關人員&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64224" class="image-3 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64224_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64225" class="jive-image image-4" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64225_pastedImage_5.png" style="width: 620px; height: 57px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64226" class="image-5 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/64226_pastedImage_6.png" style="width: 620px; height: 99px;" /&gt;&lt;/P&gt;&lt;P&gt;若有個網址請在多建立Dynamic Objects, 並再跑一次script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;若要刪除的話, 請刪除物件及Job Scheduler即可...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;以上供大家參考...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;根據SK,,,,R80應該也適用, 但R80以解決此一問題 &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 16:28:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10835#M211</guid>
      <dc:creator>Jarvis_Lin1</dc:creator>
      <dc:date>2018-03-29T16:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10836#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amazing! 謝謝家維Jarvis的分享!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2018 03:58:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10836#M212</guid>
      <dc:creator>Danny_Yang</dc:creator>
      <dc:date>2018-03-31T03:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10837#M213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;厲害!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 01:43:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10837#M213</guid>
      <dc:creator>Neville_Kuo</dc:creator>
      <dc:date>2018-04-03T01:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10838#M214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;感謝提供，非常實用&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 02:51:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10838#M214</guid>
      <dc:creator>Sung-Lun_Yang1</dc:creator>
      <dc:date>2018-04-09T02:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10839#M215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;我今天晚上會去客戶那實做過一遍 XD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 00:41:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10839#M215</guid>
      <dc:creator>Mike_Wu1</dc:creator>
      <dc:date>2018-04-11T00:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Objects 應用</title>
      <link>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10840#M216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;這個厲害~~ 可以當 RD 了~~ 拍手~~~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 05:29:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Chinese-%E4%B8%AD%E6%96%87/Dynamic-Objects-%E6%87%89%E7%94%A8/m-p/10840#M216</guid>
      <dc:creator>Jacky_Chen</dc:creator>
      <dc:date>2018-04-18T05:29:38Z</dc:date>
    </item>
  </channel>
</rss>

