Skip to contentSkip to conversation

RPC patch creates kernel panic

DISCUSSION Ian Latter 2 participants 3 messages Apr 1, 2004 netfilter

lore
Share & tools
lore

Ian Latter

author
#0 lore raw

Hello John,

Thank you for this report.

The RPC conntrack helper was written to support ONC RPC -
typically used on Unix hosts - where as Windows uses DCE RPC. When I last looked at that module, I tried to find technical information on the differences of the two, and was unable to find any - but had the impression from what I could find that the two weren't compatible.

Whether or not the module recieves valid/invalid traffic, it shouldn't
crash - and I want to fix that.

However, if you have access to documentation on DCE RPC
protocol/standards then please forward that/them through, as any such documentation would be useful for broadening support.

On the report details; what was typically on both sides of the
filtering engine (Windows 2000 Server on the server side and Windows XP Pro on the client side?) and do you have any idea what type of activity was performed at the time of the crash? (Ie, is there any way that I can repeat the fault directly?)

Thanks again for your time and info, John.

----- Original Message -----

Quoted 14 lines

From: "John A. Sullivan III" <[email protected]>
To: <[email protected]>
Subject: RPC patch creates kernel panic
Date: Thu, 01 Apr 2004 16:03:11 -0500

I would imagine the RPC patch developers are well aware of this but I have consistently generated kernel panics when using the RPC patch. This was the case using RedHat with several different kernels > 2.4.18 and patch-o-matic-20030107 (I believe).

I thought I would give patch-o-matic-20031219 a try on SUSE with kernel 2.4.25 from kernel.org patched with StrongSWAN 2.0.1 (FreeS/WAN successor) to see if it behaved any better. Alas, the same problem.

Quoted 18 lines

We have neither the skills nor time to contribute code to this patch but it is important for us especially for our support of Microsoft shops with their pervasive use of services spawned off of the port mapper on 135/tcp. If there is anything we can do to help outside of development such as testing, please let us know - John

Signature · 9 lines
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
[email protected]
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 

--
Ian Latter
Internet and Networking Security Officer
Macquarie University

#1 lore raw

I'll have to see what I can dig up. I recall there is a very extensive document on how Microsoft makes use of DCE somewhere on their public archives.

Regarding my kernel panics, they were all very simple; they occurred on boot! As soon as I remove RPC from the kernel, I can boot again - John

Quoted 71 lines · Ian Latter

Hello John,

Thank you for this report.

The RPC conntrack helper was written to support ONC RPC -
typically used on Unix hosts - where as Windows uses DCE RPC. When I last looked at that module, I tried to find technical information on the differences of the two, and was unable to find any - but had the impression from what I could find that the two weren't compatible.

Whether or not the module recieves valid/invalid traffic, it shouldn't
crash - and I want to fix that.

However, if you have access to documentation on DCE RPC
protocol/standards then please forward that/them through, as any such documentation would be useful for broadening support.

On the report details; what was typically on both sides of the
filtering engine (Windows 2000 Server on the server side and Windows XP Pro on the client side?) and do you have any idea what type of activity was performed at the time of the crash? (Ie, is there any way that I can repeat the fault directly?)

Thanks again for your time and info, John.

----- Original Message -----

Quoted 14 lines

From: "John A. Sullivan III" <[email protected]>
To: <[email protected]>
Subject: RPC patch creates kernel panic
Date: Thu, 01 Apr 2004 16:03:11 -0500

I would imagine the RPC patch developers are well aware of this but I have consistently generated kernel panics when using the RPC patch. This was the case using RedHat with several different kernels > 2.4.18 and patch-o-matic-20030107 (I believe).

I thought I would give patch-o-matic-20031219 a try on SUSE with kernel 2.4.25 from kernel.org patched with StrongSWAN 2.0.1 (FreeS/WAN successor) to see if it behaved any better. Alas, the same problem.

Quoted 18 lines

We have neither the skills nor time to contribute code to this patch but it is important for us especially for our support of Microsoft shops with their pervasive use of services spawned off of the port mapper on 135/tcp. If there is anything we can do to help outside of development such as testing, please let us know - John

Signature · 9 lines
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
[email protected]
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net

--
Ian Latter
Internet and Networking Security Officer
Macquarie University

Signature · 3 lines
Open Source Development Corporation
Financially Sustainable open source development
http://www.opensourcedevelopmentcorp.com
#2 lore raw
In reply to Ian Latter

Regarding documentation on MS RPC, I would imagine that the real trick is to get a hold of the "RPC Programmer's Guide and Reference" from the MS SDK. I did not find the article I thought I recalled seeing. Much can probably be gleaned indirectly from support articles such as these:

http://support.microsoft.com/default.aspx?scid=kb;en-us;159298
http://support.microsoft.com/default.aspx?scid=kb;en-us;325930
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/rpcank.asp hmm . . may be we can get explicit information with this one above In fact, the whole site looks like a searchable gold mine:
http://msdn.microsoft.com/library/default.asp

I'm not entirely sure what you need so here are some others. They are probably less helpful:
http://www.microsoft.com/com/wpaper/dcomfw.asp?SD=GN&LN=EN-US&gssnb=1
http://support.microsoft.com/default.aspx?kbid=154596
http://support.microsoft.com/default.aspx?scid=kb;en-us;832017
http://support.microsoft.com/default.aspx?scid=kb;en-us;129143
http://support.microsoft.com/default.aspx?scid=kb;en-us;197814
http://support.microsoft.com/default.aspx?scid=kb;en-us;96781

I hope it helps - John

Quoted 71 lines · Ian Latter

Hello John,

Thank you for this report.

The RPC conntrack helper was written to support ONC RPC -
typically used on Unix hosts - where as Windows uses DCE RPC. When I last looked at that module, I tried to find technical information on the differences of the two, and was unable to find any - but had the impression from what I could find that the two weren't compatible.

Whether or not the module recieves valid/invalid traffic, it shouldn't
crash - and I want to fix that.

However, if you have access to documentation on DCE RPC
protocol/standards then please forward that/them through, as any such documentation would be useful for broadening support.

On the report details; what was typically on both sides of the
filtering engine (Windows 2000 Server on the server side and Windows XP Pro on the client side?) and do you have any idea what type of activity was performed at the time of the crash? (Ie, is there any way that I can repeat the fault directly?)

Thanks again for your time and info, John.

----- Original Message -----

Quoted 14 lines

From: "John A. Sullivan III" <[email protected]>
To: <[email protected]>
Subject: RPC patch creates kernel panic
Date: Thu, 01 Apr 2004 16:03:11 -0500

I would imagine the RPC patch developers are well aware of this but I have consistently generated kernel panics when using the RPC patch. This was the case using RedHat with several different kernels > 2.4.18 and patch-o-matic-20030107 (I believe).

I thought I would give patch-o-matic-20031219 a try on SUSE with kernel 2.4.25 from kernel.org patched with StrongSWAN 2.0.1 (FreeS/WAN successor) to see if it behaved any better. Alas, the same problem.

Quoted 18 lines

We have neither the skills nor time to contribute code to this patch but it is important for us especially for our support of Microsoft shops with their pervasive use of services spawned off of the port mapper on 135/tcp. If there is anything we can do to help outside of development such as testing, please let us know - John

Signature · 9 lines
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
[email protected]
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net

--
Ian Latter
Internet and Networking Security Officer
Macquarie University

Signature · 5 lines
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
[email protected]