Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2006, 02:01 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
Default Restricting access to Server-API

Hi,

by default Server-API-Access is restricted to 127.0.0.1 - because I want to enable our users to create their own chat-room via web-form I need to grant our webserver access to the API.
Because we operate more than one server these requests may come from more than one private adress.
Is there a way to restrict server-api access to a subnet (like 10.0.1.0/24) or several IPs using a comman separated list (like 10.0.1.1,10.0.1.2,10.0.1.3)?

Regards,
Michael
  #2 (permalink)  
Old 03-06-2006, 03:05 AM
Junior Member
 
Join Date: Feb 2006
Posts: 9
Default Re:Restricting access to Server-API

Hi

Thanks for inquiry.
You can set it like 10.0.1.* .
And there isn't a feature to sparate it with a comma.

Best wishes
Cain
  #3 (permalink)  
Old 03-11-2006, 02:12 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
Default Re:Restricting access to Server-API

doesn't work for my release, sorry.

$ ./fcserver.sh restart
Stopping server ......
Server stoped
Starting server ......
----== ->->->-> www.123flashchat.com <-<-<-< ==-----
Welcome to use 123 Flash Chat Server 5.0 (build 0915)
This is a full version of 123 Flash Chat Server 5.0 (build 0915) for 250 users license
----== ->->->-> www.123flashchat.com <-<-<-< ==-----

Starting the server ...
Set System Timezone GMT+1
Loading ip-to-country data ...
Loading connection policy ...
Start chat server failed: configuration file error etc/groups/default.xml

tried:
<allow-access-from-ip>10.0.1.*</allow-access-from-ip>
  #4 (permalink)  
Old 03-14-2006, 06:12 AM
joy joy is offline
Senior Member
 
Join Date: Nov 2003
Posts: 361
Default Re:Restricting access to Server-API

sorry whether in 5.0 or 5.1_2, the asterisk is not allowed in allowed IP, it's gotta be a specific IP or entirely "*".
  #5 (permalink)  
Old 03-14-2006, 09:39 AM
Junior Member
 
Join Date: Oct 2005
Posts: 12
Default Re:Restricting access to Server-API

Hi,

will this be a "new feature" in an upcoming release or was it a feature of v4 ???
(Sorry, cant't interpret your "whether in 5.0 or 5.1_2")
  #6 (permalink)  
Old 03-21-2006, 09:20 AM
joy joy is offline
Senior Member
 
Join Date: Nov 2003
Posts: 361
Default Re:Restricting access to Server-API

This will be a "new feature" in an upcoming release,
the format will be like this: 192.168.0.*
  #7 (permalink)  
Old 03-21-2006, 09:40 AM
Junior Member
 
Join Date: Oct 2005
Posts: 12
Default Re:Restricting access to Server-API

Found a temporairly workaround for this problem 'till the new release get's public ;D

Limit Server-API Access to 127.0.0.1 and establish a xinet.d-forwarding (which is restricted to wanted IPs). Quite "ugly" but it works ...
  #8 (permalink)  
Old 03-22-2006, 03:06 AM
joy joy is offline
Senior Member
 
Join Date: Nov 2003
Posts: 361
Default Re:Restricting access to Server-API

good idea!
Closed Thread

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:35 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.