leonoosterwijk / flexircclient

Automatically exported from code.google.com/p/flexircclient
0 stars 0 forks source link

Problem connecting to any irc server #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running the swf on an open server
2. trying to connect to any irc server including the one of the system itself

What is the expected output? What do you see instead?
The expected output I would assume would be an MOTD instead I get nothing.

What version of the product are you using? On what operating system?
The only version out.

Please provide any additional information below.

None

Original issue reported on code.google.com by arich...@gmail.com on 10 Dec 2008 at 11:10

GoogleCodeExporter commented 9 years ago
connecting to a server requires you have setup your cross domain xml file 
correctly.
if you are having trouble connecting to localhost there might be some other 
trouble.
can another client connect to the local irc server? 

Original comment by leon.oos...@gmail.com on 11 Dec 2008 at 11:49

GoogleCodeExporter commented 9 years ago
Cross domain XML file? I'm not to firmilar with XML might I get help setting it 
up?
And I have no problem when other people try to connect to my server VIA Mirc, 
BitchX
or any other client.

Original comment by arich...@gmail.com on 11 Dec 2008 at 11:57

GoogleCodeExporter commented 9 years ago
If this is some irc server that is not yours it might be hard since it may not 
supply
a cross domain xml file. If you are running a server that is yours when the swf
connects to the server is will send <policy-file-request /> (just
strstr(policy-file-request)) your server must reply with an appropriate cross 
domain
xml file and then close the socket connection. The swf will then reconnect and
everything should work.

Original comment by gfunch...@gmail.com on 1 Feb 2009 at 1:31

GoogleCodeExporter commented 9 years ago
anyone git this working at all?

Original comment by anso...@gmail.com on 7 Jun 2009 at 9:51

GoogleCodeExporter commented 9 years ago
Hey guys, had the same problem and just got it working.
Read the following concerning changes in cross domain policies:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html#_Conf
iguring_URL_Meta-
Policies

In a nutshell: (if you own the server) you need to run a policy daemon 
listening to port 843 and pointing 
towards your policy file. 
e.g. ./flashpolicyd.pl --port=843 
--file=/srv/www/vhosts/blablabla/httpdocs/flashpolicy.xml

Whereas the flash policy is something like:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM 
"adobe.com/xml/schemas/PolicyFileSocket.xsd">
<cross-domain-policy>
   <site-control permitted-cross-domain-policies="all"/>
   <allow-access-from domain="swf.domain.com" to-ports="6667" />
</cross-domain-policy>

Regards.

Original comment by neitzel....@googlemail.com on 29 Sep 2009 at 1:46