Thomas Gentsch wrote:
Hi Damitha,
many thx for your fast reply! Also, when re-reading my posting, it
sounded a bit like a complaint - this was not my intention, sorry for
that!
Technically, yes, this would be for security reasons, to protect a
server from remote access entirely.
This means you have a use case where you use the server internally
entirely?
The advantages I see
- very simple config + implementation (extending
axutil_network_handler_create_server_socket should be no major problem,
however I did not look at the calling code yet ... :-)
- all config is in my own hands whereas setting up a firewall I have to
ask other people (-> also a risk of breaking something)
If I can formulate a wish, I'd prefer a way to set this programmatically
similar to the port in axis2_http_server_create_*() but probably
axis2.xml would be a nice place too (like "port").
I think it is better to pass a server start parameter like -i (run
server internally) to do that.
If you feel, this would help, I'm happy to contribute.
Please send a patch.
Thanks,
Damitha
Many thx + best regards,
tge
On Mon, 2010-06-14 at 09:24 +0530, Damitha Kumarage wrote:
Thomas Gentsch wrote:
Hello there,
I was trying to find out whether there is any way to set up a SOAP
server to listen only at 127.0.0.1 instead of * but could not find any
to do this.
Even worse, looking at the source in
axutil_network_handler_create_server_socket() which appears to be the
place, where this would happen, it seems as is this is not possible at
all.
The simple reason you need your server only listen to 127.0.0.1 must be
security.
But you can configure firewall to prevent access to port on all IPs
other than 127.0.0.1.
If this option is necessary we can implement it in
axutil_network_handler_create_server_socket()
as you suggested.
Thanks,
Damitha
Am I missing something? If this is really the case, are there any plans
to add this?
Many thx + regards,
tge
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org