Re: (Newbie question) Can Jabber act as a gateway for HTTPS-based WebDAV?
Ajay Garg <[email protected]> Wed, 28 Mar 2012 12:10:54 +0530
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Message-ID | <CAHP4M8Wt-_aO8HEDb4PCVQYgnRTAKK0=C__LxmQhNFyy5f673A@mail.gmail.com> |
--===============1216311037==
Content-Type: multipart/alternative; boundary=e89a8ff1c080a2af2004bc47e350
--e89a8ff1c080a2af2004bc47e350
Content-Type: text/plain; charset=ISO-8859-1
Thanks Garrett, and sorry for me being unclear.
The use-case is as follows ::
a) Alice is running HTTPS-based WebDAV (listening on port 443), in the
context of "httpd".
b) Alice is also logged onto a Jabber Server (which may be configured if
desired, by Tom - the Jabber Admin).
c) Bob is also logged onto the same Jabber Server of step b).
d) Now, Bob is wanting to get a listing of Alice' shared WebDAV files,
through his (Mozilla/Chrome) browser.
(Note that when Alice was on the same network as Bob's, Bob could
access Alice's share by typing "https://<Alice's IP Address>/webdav" in
his
browser).
e) Once Bob is able to get a listing of Alice's shared WebDAV files
(through his browser), he also wants to be able to download the files.
So, yes, I am wanting to know how (if at all) steps d) and e) could be made
possible (with the Firefox/Chrome acting as the WebDAV Clients).
I am ok with any of the following scenarios (as long as steps d) and e) get
fulfilled) ::
(i) Jabber acts as a tunnel for WebDAV
(ii) Jabber acts as an intermediatery.
Thanks and Regards,
Ajay
On Wed, Mar 28, 2012 at 11:59 AM, Garrett Kuchta <[email protected]> wrote:
> I'm on my phone, so sorry about the brief responses. It sounds like you're
> looking for a solution in want of a problem, though. I can't think of a use
> case where this would be necessary. So you're saying alice and bob have
> inbound 443 or whatever blocked at their upstream, and you want to tunnel
> webdav through jabber somehow? Or use the jabber server as an intermediary?
> How would this work on the client side? So I log in with a webclient you're
> developing and I'd see the other users' shared files? Or I'd use pidgin or
> whatever and then use my browser to connect to some url on the jabber
> server? I guess I don't really understand what you're trying to do
> On Mar 28, 2012 1:18 AM, "Ajay Garg" <[email protected]> wrote:
>
>> Thanks Garrett for the link.
>>
>> Well, that certainly is an option; but I am wishing something which has
>> already been tested in field.
>>
>> I am thinking if the Jabber server could simply act as a gateway for HTTP
>> transfers between Alice and Bob.
>> I did some googling and found terms such as "Jabber HTTP Polling",
>> "BOSH", "XMPP over BOSH" (though I am afraid I haven't looked a bit in the
>> details).
>>
>> Could these come to the rescue? :)
>>
>>
>> Regards,
>> Ajay
>>
>> On Wed, Mar 28, 2012 at 10:34 AM, Garrett Kuchta <[email protected]> wrote:
>>
>>> http://en.wikipedia.org/wiki/XDCC
>>>
>>> On Tue, Mar 27, 2012 at 11:48 PM, Ajay Garg <[email protected]>
>>> wrote:
>>> > Thanks Garrett for the reply.
>>> >
>>> > But I am afraid it's gone over my head (I am sorry, I only understand
>>> > English).
>>> > What's "CDDC-esque"?
>>> >
>>> > Regards,
>>> > Ajay
>>> >
>>> >
>>> > On Wed, Mar 28, 2012 at 10:11 AM, Garrett Kuchta <[email protected]>
>>> wrote:
>>> >>
>>> >> Just do this on the client-side. Skip webdav entirely and just write
>>> an
>>> >> IRC CDDC-esque bot.
>>> >>
>>> >> On Mar 27, 2012 11:36 PM, "Ajay Garg" <[email protected]> wrote:
>>> >>>
>>> >>> Just one more note ::
>>> >>>
>>> >>> Alice and Bob are running their WebDAV in the context of "httpd"
>>> service;
>>> >>> that is why they are able to access each other's shares via the
>>> browser.
>>> >>>
>>> >>> Regards,
>>> >>> Ajay
>>> >>>
>>> >>> On Tue, Mar 27, 2012 at 8:26 PM, Ajay Garg <[email protected]>
>>> >>> wrote:
>>> >>>>
>>> >>>> Hi all.
>>> >>>>
>>> >>>> I am sorry if I might sound like a complete fool; but I have been
>>> lately
>>> >>>> investigating the basics of WebDAV; and wonder that if the following
>>> >>>> use-case is feasible at all ::
>>> >>>>
>>> >>>> "There are two users Bob and Alice. Each of Bob and Alice have
>>> setup a
>>> >>>> WebDAV server on their local machines over SSL, and listen on port
>>> 443. In a
>>> >>>> normal environment, Bob is able to access Alice's share by typing
>>> >>>> "https://<Alice's IP Address>/webdav". Alice is able to the same.
>>> >>>>
>>> >>>> Next, both Alice and Bob log onto a Jabber server set up by their
>>> common
>>> >>>> friend Tom; and the only way they can communicate is via Jabber.
>>> They still
>>> >>>> want to make their shares available to each other; and wish for the
>>> simplest
>>> >>>> way to do it - via their browser. So, can Tom configure his Jabber
>>> server in
>>> >>>> a manner, so as to allow Bob and Alice to access each other's
>>> WebDAV shares'
>>> >>>> via their respective browsers?"
>>> >>>>
>>> >>>>
>>> >>>> Looking forward to a reply.
>>> >>>>
>>> >>>>
>>> >>>> Thanks and Regards,
>>> >>>> Ajay
>>> >>>
>>> >>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> JAdmin mailing list
>>> >>> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>>> >>> Unsubscribe: [email protected]
>>> >>> _______________________________________________
>>> >>>
>>> >>
>>> >> _______________________________________________
>>> >> JAdmin mailing list
>>> >> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>>> >> Unsubscribe: [email protected]
>>> >> _______________________________________________
>>> >>
>>> >
>>> >
>>> > _______________________________________________
>>> > JAdmin mailing list
>>> > Info: http://mail.jabber.org/mailman/listinfo/jadmin
>>> > Unsubscribe: [email protected]
>>> > _______________________________________________
>>> >
>>> _______________________________________________
>>> JAdmin mailing list
>>> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>>> Unsubscribe: [email protected]
>>> _______________________________________________
>>>
>>
>>
>> _______________________________________________
>> JAdmin mailing list
>> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>> Unsubscribe: [email protected]
>> _______________________________________________
>>
>>
> _______________________________________________
> JAdmin mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: [email protected]
> _______________________________________________
>
>
--e89a8ff1c080a2af2004bc47e350
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thanks Garrett, and sorry for me being unclear.<br><br>The use-case is as f=
ollows ::<br><br>a) Alice is running HTTPS-based WebDAV (listening on port =
443), in the context of "httpd".<br><br>b) Alice is also logged o=
nto a Jabber Server (which may be configured if desired, by Tom - the Jabbe=
r Admin).<br>
<br>c) Bob is also logged onto the same Jabber Server of step b).<br><br>d)=
Now, Bob is wanting to get a listing of Alice' shared WebDAV files, th=
rough his (Mozilla/Chrome) browser. <br>=A0=A0=A0 (Note that when Alice was=
on the same network as Bob's, Bob could access Alice's share by ty=
ping "https://<Alice's IP Address>/webdav" in his=A0=A0=
<br>
=A0=A0=A0=A0 browser).<br><br>e) Once Bob is able to get a listing of Alice=
's shared WebDAV files (through his browser), he also wants to be able =
to download the files.<br><br><br>So, yes, I am wanting to know how (if at =
all) steps d) and e) could be made possible (with the Firefox/Chrome acting=
as the WebDAV Clients).<br>
<br>I am ok with any of the following scenarios (as long as steps d) and e)=
get fulfilled) ::<br><br>(i)=A0 Jabber acts as a tunnel for WebDAV<br>(ii)=
Jabber acts as an intermediatery.<br><br><br>Thanks and Regards,<br>Ajay<b=
r>
<br><div class=3D"gmail_quote">On Wed, Mar 28, 2012 at 11:59 AM, Garrett Ku=
chta <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">[email protected]=
du</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">
<p>I'm on my phone, so sorry about the brief responses. It sounds like =
you're looking for a solution in want of a problem, though. I can't=
think of a use case where this would be necessary. So you're saying al=
ice and bob have inbound 443 or whatever blocked at their upstream, and you=
want to tunnel webdav through jabber somehow? Or use the jabber server as =
an intermediary? How would this work on the client side? So I log in with a=
webclient you're developing and I'd see the other users' share=
d files? Or I'd use pidgin or whatever and then use my browser to conne=
ct to some url on the jabber server? I guess I don't really understand =
what you're trying to do</p>
<div class=3D"HOEnZb"><div class=3D"h5">
<div class=3D"gmail_quote">On Mar 28, 2012 1:18 AM, "Ajay Garg" &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">ajaygargnsit=
@gmail.com</a>> wrote:<br type=3D"attribution"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex">
Thanks Garrett for the link.<br><br>Well, that certainly is an option; but =
I am wishing something which has already been tested in field.<br><br>I am =
thinking if the Jabber server could simply act as a gateway for HTTP transf=
ers between Alice and Bob.<br>
I did some googling and found terms such as "Jabber HTTP Polling"=
, "BOSH", "XMPP over BOSH" (though I am afraid I haven&=
#39;t looked a bit in the details).<br><br>Could these come to the rescue? =
:)<br>
<br><br>Regards,<br>Ajay<br><br><div class=3D"gmail_quote">On Wed, Mar 28, =
2012 at 10:34 AM, Garrett Kuchta <span dir=3D"ltr"><<a href=3D"mailto:gk=
[email protected]" target=3D"_blank">[email protected]</a>></span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex">
<a href=3D"http://en.wikipedia.org/wiki/XDCC" target=3D"_blank">http://en.w=
ikipedia.org/wiki/XDCC</a><br>
<div><div><br>
On Tue, Mar 27, 2012 at 11:48 PM, Ajay Garg <<a href=3D"mailto:ajaygargn=
[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br>
> Thanks Garrett for the reply.<br>
><br>
> But I am afraid it's gone over my head (I am sorry, I only underst=
and<br>
> English).<br>
> What's "CDDC-esque"?<br>
><br>
> Regards,<br>
> Ajay<br>
><br>
><br>
> On Wed, Mar 28, 2012 at 10:11 AM, Garrett Kuchta <<a href=3D"mailto=
:[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br>
>><br>
>> Just do this on the client-side. Skip webdav entirely and just wri=
te an<br>
>> IRC CDDC-esque bot.<br>
>><br>
>> On Mar 27, 2012 11:36 PM, "Ajay Garg" <<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>>=
; wrote:<br>
>>><br>
>>> Just one more note ::<br>
>>><br>
>>> Alice and Bob are running their WebDAV in the context of "=
;httpd" service;<br>
>>> that is why they are able to access each other's shares vi=
a the browser.<br>
>>><br>
>>> Regards,<br>
>>> Ajay<br>
>>><br>
>>> On Tue, Mar 27, 2012 at 8:26 PM, Ajay Garg <<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</a>>=
<br>
>>> wrote:<br>
>>>><br>
>>>> Hi all.<br>
>>>><br>
>>>> I am sorry if I might sound like a complete fool; but I ha=
ve been lately<br>
>>>> investigating the basics of WebDAV; and wonder that if the=
following<br>
>>>> use-case is feasible at all ::<br>
>>>><br>
>>>> "There are two users Bob and Alice. Each of Bob and A=
lice have setup a<br>
>>>> WebDAV server on their local machines over SSL, and listen=
on port 443. In a<br>
>>>> normal environment, Bob is able to access Alice's shar=
e by typing<br>
>>>> "https://<Alice's IP Address>/webdav".=
Alice is able to the same.<br>
>>>><br>
>>>> Next, both Alice and Bob log onto a Jabber server set up b=
y their common<br>
>>>> friend Tom; and the only way they can communicate is via J=
abber. They still<br>
>>>> want to make their shares available to each other; and wis=
h for the simplest<br>
>>>> way to do it - via their browser. So, can Tom configure hi=
s Jabber server in<br>
>>>> a manner, so as to allow Bob and Alice to access each othe=
r's WebDAV shares'<br>
>>>> via their respective browsers?"<br>
>>>><br>
>>>><br>
>>>> Looking forward to a reply.<br>
>>>><br>
>>>><br>
>>>> Thanks and Regards,<br>
>>>> Ajay<br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> JAdmin mailing list<br>
>>> Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmi=
n" target=3D"_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
>>> Unsubscribe: <a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a><br>
>>> _______________________________________________<br>
>>><br>
>><br>
>> _______________________________________________<br>
>> JAdmin mailing list<br>
>> Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmin" t=
arget=3D"_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
>> Unsubscribe: <a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a><br>
>> _______________________________________________<br>
>><br>
><br>
><br>
> _______________________________________________<br>
> JAdmin mailing list<br>
> Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmin" targe=
t=3D"_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
> Unsubscribe: <a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a><br>
> _______________________________________________<br>
><br>
_______________________________________________<br>
JAdmin mailing list<br>
Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmin" target=3D"=
_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
Unsubscribe: <a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a><br>
_______________________________________________<br>
</div></div></blockquote></div><br>
<br>_______________________________________________<br>
JAdmin mailing list<br>
Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmin" target=3D"=
_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
Unsubscribe: <a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a><br>
_______________________________________________<br>
<br></blockquote></div>
</div></div><br>_______________________________________________<br>
JAdmin mailing list<br>
Info: <a href=3D"http://mail.jabber.org/mailman/listinfo/jadmin" target=3D"=
_blank">http://mail.jabber.org/mailman/listinfo/jadmin</a><br>
Unsubscribe: <a href=3D"mailto:[email protected]">JAdmin-unsubs=
[email protected]</a><br>
_______________________________________________<br>
<br></blockquote></div><br>
--e89a8ff1c080a2af2004bc47e350--
--===============1216311037==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
JAdmin mailing list
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: [email protected]
_______________________________________________
--===============1216311037==--