<?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 ASA SunRPC inspection in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-sunrpc-inspection/m-p/1466876#M635154</link>
    <description>&lt;P&gt;I would like to understand what configuration pieces need to be in place for SunRPC inspection to work properly. I have the following scenario: NFS server is on higher security interface, and NFS clients are on lower security interface. I have default sunrpc inspection enabled on UDP port 111. Also, I added TCP port 111 inspection because I saw from capture information that SUSE system were using TCP instead of UDP for port mapper process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;class-map SUNRPC-TCP&lt;BR /&gt; match port tcp eq sunrpc&lt;BR /&gt;class-map inspection_default&lt;BR /&gt; match default-inspection-traffic&lt;BR /&gt;!&lt;BR /&gt;policy-map global_policy&lt;BR /&gt; class inspection_default&lt;BR /&gt;&amp;nbsp; inspect sunrpc &lt;BR /&gt; class SUNRPC-TCP&lt;BR /&gt;&amp;nbsp; inspect sunrpc &lt;BR /&gt;!&lt;BR /&gt;service-policy global_policy global&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clinets that use UDP are can mount file shares, but SUSE systems, which use TCP can not until I added the following command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sunrpc-server High_Interface 10.1.1.1 255.255.255.255 service 100005 protocol TCP port 111 timeout 0:01:00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inspecting global service policy counters confims that SUNRPC-TCP class-map does not register any hit counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Global policy: &lt;BR /&gt;&amp;nbsp; Service-policy: global_policy&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: inspection_default&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inspect: sunrpc, packet 208, drop 0, reset-drop 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: SUNRPC-TCP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inspect: sunrpc, packet 0, drop 0, reset-drop 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;rpcinfo command on NFS server produces the following output (I removed &lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}
&lt;/style&gt;
&lt;![endif]--&gt;irrelevant program numbers for this discussions):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;nbmaster ## rpcinfo -p&lt;BR /&gt;&amp;nbsp;&amp;nbsp; program vers proto&amp;nbsp;&amp;nbsp; port&amp;nbsp; service&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp;&amp;nbsp; 111&amp;nbsp; rpcbind&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp;&amp;nbsp; 111&amp;nbsp; rpcbind&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if someone who really understands how sunrpc inspection works explains to me the follwoing questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) What is exactly the purpose of &lt;SPAN style="font-family: courier new,courier;"&gt;sunrpc-server &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;commands, and how are they different from service policy inspect commands?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) Why my "SUNRPC-TCP" class-map does not seem to work, but "sunrpc-server" command seems to do the trick for systems that use TCP for port mapper process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 17:56:34 GMT</pubDate>
    <dc:creator>frame6500</dc:creator>
    <dc:date>2019-03-11T17:56:34Z</dc:date>
    <item>
      <title>ASA SunRPC inspection</title>
      <link>https://community.cisco.com/t5/network-security/asa-sunrpc-inspection/m-p/1466876#M635154</link>
      <description>&lt;P&gt;I would like to understand what configuration pieces need to be in place for SunRPC inspection to work properly. I have the following scenario: NFS server is on higher security interface, and NFS clients are on lower security interface. I have default sunrpc inspection enabled on UDP port 111. Also, I added TCP port 111 inspection because I saw from capture information that SUSE system were using TCP instead of UDP for port mapper process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;class-map SUNRPC-TCP&lt;BR /&gt; match port tcp eq sunrpc&lt;BR /&gt;class-map inspection_default&lt;BR /&gt; match default-inspection-traffic&lt;BR /&gt;!&lt;BR /&gt;policy-map global_policy&lt;BR /&gt; class inspection_default&lt;BR /&gt;&amp;nbsp; inspect sunrpc &lt;BR /&gt; class SUNRPC-TCP&lt;BR /&gt;&amp;nbsp; inspect sunrpc &lt;BR /&gt;!&lt;BR /&gt;service-policy global_policy global&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clinets that use UDP are can mount file shares, but SUSE systems, which use TCP can not until I added the following command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sunrpc-server High_Interface 10.1.1.1 255.255.255.255 service 100005 protocol TCP port 111 timeout 0:01:00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inspecting global service policy counters confims that SUNRPC-TCP class-map does not register any hit counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Global policy: &lt;BR /&gt;&amp;nbsp; Service-policy: global_policy&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: inspection_default&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inspect: sunrpc, packet 208, drop 0, reset-drop 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: SUNRPC-TCP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inspect: sunrpc, packet 0, drop 0, reset-drop 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;rpcinfo command on NFS server produces the following output (I removed &lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}
&lt;/style&gt;
&lt;![endif]--&gt;irrelevant program numbers for this discussions):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;nbmaster ## rpcinfo -p&lt;BR /&gt;&amp;nbsp;&amp;nbsp; program vers proto&amp;nbsp;&amp;nbsp; port&amp;nbsp; service&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100003&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 2049&amp;nbsp; nfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100005&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp; 1234&amp;nbsp; mountd&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; udp&amp;nbsp;&amp;nbsp;&amp;nbsp; 111&amp;nbsp; rpcbind&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; tcp&amp;nbsp;&amp;nbsp;&amp;nbsp; 111&amp;nbsp; rpcbind&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if someone who really understands how sunrpc inspection works explains to me the follwoing questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) What is exactly the purpose of &lt;SPAN style="font-family: courier new,courier;"&gt;sunrpc-server &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;commands, and how are they different from service policy inspect commands?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) Why my "SUNRPC-TCP" class-map does not seem to work, but "sunrpc-server" command seems to do the trick for systems that use TCP for port mapper process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:56:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-sunrpc-inspection/m-p/1466876#M635154</guid>
      <dc:creator>frame6500</dc:creator>
      <dc:date>2019-03-11T17:56:34Z</dc:date>
    </item>
    <item>
      <title>ASA SunRPC inspection</title>
      <link>https://community.cisco.com/t5/network-security/asa-sunrpc-inspection/m-p/1466877#M635155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, this is kind of a bump since I'm also looking at an issue with SUNRPC, which doesn't work under inspection but we have to use 1-1 NAT so suspect there's no way around this unfortunately.&lt;/P&gt;&lt;P&gt;Was hoping if someone who might be able to answer frame6500's questions might also be able to advise if this will ever work, and if not - why not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can provide specific info if required to my issue however the basic config is that two sets of servers communicate using SUNRPC and the return traffic is denied, however all we've done for configuration is to allow in the default inspection traffic SUNRPC inspection. NAT is configured also.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 13:56:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-sunrpc-inspection/m-p/1466877#M635155</guid>
      <dc:creator>sam mackenzie</dc:creator>
      <dc:date>2012-03-07T13:56:47Z</dc:date>
    </item>
  </channel>
</rss>

