You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ICS.UCI.EDU> on 1999/11/02 23:00:23 UTC

Re: Simple Object Access Protocol

The reason not to is that SOAP makes use of a security hole in most
firewalls (the ones that only check port numbers) in order to transfer
non-Web information across port 80 in spite of a site's security restrictions.
Other than that, it is just an incredibly stupid way to perform RPC.
As soon as the firewall makers get off their butts and fix the holes,
SOAP will be completely useless.

There is no SOAP working group -- it is just an MS draft.  As far as
impleentation is concerned, just create a mod_soap with features similar
to mod_cgi (all SOAP does is change the encoding format of a
request body to an XML variant of DCOM).

....Roy

In message <00...@raleigh.ibm.com>,
Bill Stoddard writes:
>Is anyone on the list familier with SOAP?
>
> http://www.ietf.org/internet-drafts/draft-box-http-soap-00.txt
>
>SOAP is an HTTP/XML based RPC mechanism being pushed by MS, I think, as a
>replacement for DCOM. Does anyone see any inherent difficulties with
>accomodating SOAP in Apache? From reading the IETF draft, it appears we
>would need to support the M-Post method and recognise some additional
>headers. Doesn't sound to onorous.  Beyond that, seems the capability to
>build and transport SOAP objects would rely on a good XML parser and a
>scripting engine (PHP, mod_perl, Jakarta, etc). What's SOAPs status in the
>IETF?  The upcoming IETF in DC doesn't mention it or an HTTP WG meeting
>either.
>
>Bill

Re: Simple Object Access Protocol

Posted by Ben Laurie <be...@algroup.co.uk>.
Manoj Kasichainula wrote:
> 
> On Fri, Nov 05, 1999 at 11:49:12AM -0800, Dean Gaudet wrote:
> > um, this is still as stupid as trying to prevent porn from going across a
> > firewall.  there is absolutely no difference.  it's all just bits.
> 
> On Sat, Nov 06, 1999 at 09:46:44PM +0000, Ben Laurie wrote:
> > Err? If I want, I can run anything on any port. If anyone wants to try
> > to restrict traffic on untrusted servers on the basis of port numbers
> > then they need their head examining.
> 
> I'm not going to even try to defend the way firewalls do and don't
> work, or what means firewalls use to block traffic.
> 
> But this argument can be turned around.  Designing a protocol with the
> explicit purpose of fooling a firewall is silly. If a firewall's
> policies are silly, the solution is to change the policies, not to
> standardize protocols to fool the firewall. Unless the goal is some
> sort of political crusade to show how silly firewalls are sometimes.
> But somehow, I'm guessing that's not Microsoft's goal here.
> 
> If the admins seriously don't want to let this sort of stuff through,
> and they have any competance, SOAP will eventually be blocked anyway.
> So what's the point?

I'm not going to argue with that, however, I suspect that MS are
designing a protocol for an environment that would only ever be found
where there are people silly enough to think that using SOAP is a good
idea.

>From where I'm sitting, it won't work any better than any other RPC
mechanism through my firewalls, because it'll be blocked (no, not by
port number) where it might be running, and not running where it isn't
blocked.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Re: Simple Object Access Protocol

Posted by Manoj Kasichainula <ma...@io.com>.
On Fri, Nov 05, 1999 at 11:49:12AM -0800, Dean Gaudet wrote:
> um, this is still as stupid as trying to prevent porn from going across a
> firewall.  there is absolutely no difference.  it's all just bits.

On Sat, Nov 06, 1999 at 09:46:44PM +0000, Ben Laurie wrote:
> Err? If I want, I can run anything on any port. If anyone wants to try
> to restrict traffic on untrusted servers on the basis of port numbers
> then they need their head examining.

I'm not going to even try to defend the way firewalls do and don't
work, or what means firewalls use to block traffic.

But this argument can be turned around.  Designing a protocol with the
explicit purpose of fooling a firewall is silly. If a firewall's
policies are silly, the solution is to change the policies, not to
standardize protocols to fool the firewall. Unless the goal is some
sort of political crusade to show how silly firewalls are sometimes.
But somehow, I'm guessing that's not Microsoft's goal here.

If the admins seriously don't want to let this sort of stuff through,
and they have any competance, SOAP will eventually be blocked anyway.
So what's the point?

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/

Re: Simple Object Access Protocol

Posted by Ben Laurie <be...@algroup.co.uk>.
Manoj Kasichainula wrote:
> 
> On Thu, Nov 04, 1999 at 08:14:42AM -0800, Dean Gaudet wrote:
> > what exactly is "web information" ?  i can put whatever i want on a "web
> > page".  information is just bits.  what you're saying sounds a lot like
> > saying fetching porn is a security hole which firewall vendors should be
> > fixing.
> 
> SOAP (from what I've read) is an attempt to shoehorn arbitrary
> client-server protocols into port 80 connactions, for the explicit
> purpose of circumventing firewalls. Of course anything can be sent via
> port 80 or through HTTP, but it's not really done commonly right now,
> and that makes the lives of firewall coders and admins far easier,
> because people aren't installing programs on their desktops to do
> this. If SOAP were to become common, then the firewall admins would be
> pushed into blocking port 80 completely or putting in fancier (and
> slower) filters.

Err? If I want, I can run anything on any port. If anyone wants to try
to restrict traffic on untrusted servers on the basis of port numbers
then they need their head examining. Firewalls are for protecting
trusted servers, not enforcing contracts with your staff. Jeez.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Re: Simple Object Access Protocol

Posted by Dean Gaudet <dg...@arctic.org>.
um, this is still as stupid as trying to prevent porn from going across a
firewall.  there is absolutely no difference.  it's all just bits.

Dean

On Thu, 4 Nov 1999, Manoj Kasichainula wrote:

> On Thu, Nov 04, 1999 at 08:14:42AM -0800, Dean Gaudet wrote:
> > what exactly is "web information" ?  i can put whatever i want on a "web
> > page".  information is just bits.  what you're saying sounds a lot like
> > saying fetching porn is a security hole which firewall vendors should be
> > fixing.
> 
> SOAP (from what I've read) is an attempt to shoehorn arbitrary
> client-server protocols into port 80 connactions, for the explicit
> purpose of circumventing firewalls. Of course anything can be sent via
> port 80 or through HTTP, but it's not really done commonly right now,
> and that makes the lives of firewall coders and admins far easier,
> because people aren't installing programs on their desktops to do
> this. If SOAP were to become common, then the firewall admins would be
> pushed into blocking port 80 completely or putting in fancier (and
> slower) filters.
> 
> Of course, I curse at firewalls almost daily, so it does not break my
> heart to see protocols that work around them.
> 
> -- 
> Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
> 


Re: Simple Object Access Protocol

Posted by Manoj Kasichainula <ma...@io.com>.
On Thu, Nov 04, 1999 at 08:14:42AM -0800, Dean Gaudet wrote:
> what exactly is "web information" ?  i can put whatever i want on a "web
> page".  information is just bits.  what you're saying sounds a lot like
> saying fetching porn is a security hole which firewall vendors should be
> fixing.

SOAP (from what I've read) is an attempt to shoehorn arbitrary
client-server protocols into port 80 connactions, for the explicit
purpose of circumventing firewalls. Of course anything can be sent via
port 80 or through HTTP, but it's not really done commonly right now,
and that makes the lives of firewall coders and admins far easier,
because people aren't installing programs on their desktops to do
this. If SOAP were to become common, then the firewall admins would be
pushed into blocking port 80 completely or putting in fancier (and
slower) filters.

Of course, I curse at firewalls almost daily, so it does not break my
heart to see protocols that work around them.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/

Re: Simple Object Access Protocol

Posted by Peter Galbavy <Pe...@knowledge.com>.
On Thu, Nov 04, 1999 at 08:14:42AM -0800, Dean Gaudet wrote:
> what exactly is "web information" ?  i can put whatever i want on a "web
> page".  information is just bits.  what you're saying sounds a lot like
> saying fetching porn is a security hole which firewall vendors should be
> fixing.

While I agree with you in principle, I think that the point the
original poster was trying to put across was that "SOAP" is just
another way of using an information transfer medium to move
application programs (ala Java and other scriptiong languages) but
maybe with a different aim.

The security issue is that of providing a backdoor that the client and
server both use, without the consent of the security policy / admins
on a site - usually without the client actually knowing that they are
breaking some policy. Just look at the appaling ActiveX controls...

I may be teaching my cynical grandmother to suck eggs here of course.

Regards,
-- 
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/

Re: Simple Object Access Protocol

Posted by Rasmus Lerdorf <ra...@apache.org>.
> The reason not to is that SOAP makes use of a security hole in most
> firewalls (the ones that only check port numbers) in order to transfer
> non-Web information across port 80 in spite of a site's security restrictions.
> Other than that, it is just an incredibly stupid way to perform RPC.
> As soon as the firewall makers get off their butts and fix the holes,
> SOAP will be completely useless.

Well, one feature it does give you is the fact that it makes an easily
parsable XML packet which means it is much more portable.  No need to
strain your brain trying to figure out DCOM.  I completely agree with you
on the firewall issue and I don't think SOAP should be tied to HTTP in any
way whatsoever similar to Allaire's WDDX.  Just a mechanism for completely
different end-points to send complex data objects back and forth between
each other.  Shoe-horning this through HTTP is dumb, but the concept of
portable data packets like this is useful, especially if we could all
agree on which one to use.

-Rasmus


Re: Simple Object Access Protocol

Posted by Dean Gaudet <dg...@arctic.org>.
what exactly is "web information" ?  i can put whatever i want on a "web
page".  information is just bits.  what you're saying sounds a lot like
saying fetching porn is a security hole which firewall vendors should be
fixing.

Dean

On Tue, 2 Nov 1999, Roy T. Fielding wrote:

> The reason not to is that SOAP makes use of a security hole in most
> firewalls (the ones that only check port numbers) in order to transfer
> non-Web information across port 80 in spite of a site's security restrictions.
> Other than that, it is just an incredibly stupid way to perform RPC.
> As soon as the firewall makers get off their butts and fix the holes,
> SOAP will be completely useless.
> 
> There is no SOAP working group -- it is just an MS draft.  As far as
> impleentation is concerned, just create a mod_soap with features similar
> to mod_cgi (all SOAP does is change the encoding format of a
> request body to an XML variant of DCOM).
> 
> ....Roy
> 
> In message <00...@raleigh.ibm.com>,
> Bill Stoddard writes:
> >Is anyone on the list familier with SOAP?
> >
> > http://www.ietf.org/internet-drafts/draft-box-http-soap-00.txt
> >
> >SOAP is an HTTP/XML based RPC mechanism being pushed by MS, I think, as a
> >replacement for DCOM. Does anyone see any inherent difficulties with
> >accomodating SOAP in Apache? From reading the IETF draft, it appears we
> >would need to support the M-Post method and recognise some additional
> >headers. Doesn't sound to onorous.  Beyond that, seems the capability to
> >build and transport SOAP objects would rely on a good XML parser and a
> >scripting engine (PHP, mod_perl, Jakarta, etc). What's SOAPs status in the
> >IETF?  The upcoming IETF in DC doesn't mention it or an HTTP WG meeting
> >either.
> >
> >Bill
>