You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Aymerick Jéhanne <aj...@yahoo.fr> on 2002/10/29 20:00:04 UTC
UDP Support
I want to add UDP Support to Apache, and i can see that I'm not the only one
(there were already discussions about it in August and September on this
list).
Ok, but before starting to code, I want be sure to understand the "Protocol
Modules" logic.
For example, if I want HTTP, Echo and POP3, here is an example of
httpd.conf:
Listen 7
Listen 80
Listen 110
<VirtualHost *:110>
POP3protocol on
...
</VirtualHost>
<VirtualHost *:7>
ProtocolEcho on
...
</VirtualHost>
But now, if I want to serve HTTP, HTTPU, Echo, UDP Echo, and POP3,
I need something like that (with a new directive ListenUDP to setup UDP
Listening Sockets) :
Listen 7
ListenUDP 7
Listen 80
ListenUDP 80
Listen 110
<VirtualHost *:110>
POP3protocol on
...
</VirtualHost>
<VirtualHost *:7>
ProtocolEcho on
...
</VirtualHost>
<VirtualHost *:7(UDP ???)>
ProtocolEcho on
...
</VirtualHost>
Ok, now i need your opinion: "Is this logic ok ?".
And if so, we will need to improve <VirtualHost> syntax to specify the port
type.
If you are ok with this, I'll start coding this stuff...
Aymerick JEHANNE
ajehanne@yahoo.fr
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
Re: UDP Support
Posted by Randall Stewart <ra...@stewart.chicago.il.us>.
Aymerick:
I am wondering why you want to support UDP in apache... I see you
mention discussions in Aug/Sept.. that i missed.. I will hvae
to go dig in the archive..
My take on UDP is it is very very dangerous to enable http over
UDP.. if UDP were every had a wide scale deployment the internet
itself could easily get to a state of congestion collapse. Especially
considering that most traffic IS http (around 70% last I heard).
Is there some special purpose for this that you want to use it?
Thanks
R
Aymerick Jéhanne wrote:
> I want to add UDP Support to Apache, and i can see that I'm not the only one
> (there were already discussions about it in August and September on this
> list).
>
> Ok, but before starting to code, I want be sure to understand the "Protocol
> Modules" logic.
>
> For example, if I want HTTP, Echo and POP3, here is an example of
> httpd.conf:
>
> Listen 7
> Listen 80
> Listen 110
>
> <VirtualHost *:110>
> POP3protocol on
> ...
> </VirtualHost>
>
> <VirtualHost *:7>
> ProtocolEcho on
> ...
> </VirtualHost>
>
> But now, if I want to serve HTTP, HTTPU, Echo, UDP Echo, and POP3,
> I need something like that (with a new directive ListenUDP to setup UDP
> Listening Sockets) :
>
> Listen 7
> ListenUDP 7
> Listen 80
> ListenUDP 80
> Listen 110
>
> <VirtualHost *:110>
> POP3protocol on
> ...
> </VirtualHost>
>
> <VirtualHost *:7>
> ProtocolEcho on
> ...
> </VirtualHost>
>
> <VirtualHost *:7(UDP ???)>
> ProtocolEcho on
> ...
> </VirtualHost>
>
> Ok, now i need your opinion: "Is this logic ok ?".
> And if so, we will need to improve <VirtualHost> syntax to specify the port
> type.
>
> If you are ok with this, I'll start coding this stuff...
>
> Aymerick JEHANNE
> ajehanne@yahoo.fr
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
--
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)