curl problems

These are old archives. They are kept for historic purposes only.
Post Reply
nexus
Posts: 14
Joined: Fri Mar 12, 2004 5:45 pm
Contact:

curl problems

Post by nexus »

Heya, I can't seem to get unreal 3.2 stable started (with remote includes):

Code: Select all

sources@shitbox:~/devel/test1$ ./unreal start
Starting UnrealIRCd
 _   _                      _ ___________  _____     _ 
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2
                     using OpenSSL 0.9.7b 10 Apr 2003
                     using zlib 1.1.4
                     using libcurl/7.11.1 OpenSSL/0.9.7b zlib/1.1.4 c-ares/1.2.0

* Loading IRCd configuration ..
[error] unrealircd.conf:10: include: error downloading 'ftp://conf:[email protected]:35569/help.conf': Weirdly formatted EPSV reply
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemily not started)
=====================================================
Check above for possible errors, and this output of  
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: /home/sources/devel/test1/ircd.log: No such file or directory
but all the needed files are on the ftp server, and I can access them with all other ftp clients.. any ideas? The ftp server is proftpd 1.2.9 (with mod_tls)..

the include in unrealircd.conf:

Code: Select all

include "ftp://conf:[email protected]:35569/help.conf";
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

Well, if I was in your place I would try different combinations such at seeing whether or not it likes the _ as part of the password.... first try with a simple username and password like "ftp://conf:[email protected]"; if that works build from there... :)
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

If it is using TLS, then you probably want ftps, not ftp.
-- codemastr
nexus
Posts: 14
Joined: Fri Mar 12, 2004 5:45 pm
Contact:

Post by nexus »

yeah I seem to have other problems when using ftps with it.. And I don't understand it because I'm able to use ftp-ssl on the server with other clients like flash fxp (using Auth TLS).. But when I try to use ftps with my remote includes, I cannot even log in at all (I can atleast log in when not using ftps, but I can't get any files to download).

Code: Select all

sources@shitbox:~/devel/test1$ ./unreal start
Starting UnrealIRCd
 _   _                      _ ___________  _____     _ 
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2
                     using OpenSSL 0.9.7b 10 Apr 2003
                     using zlib 1.1.4
                     using libcurl/7.11.1 OpenSSL/0.9.7b zlib/1.1.4 c-ares/1.2.0

* Loading IRCd configuration ..
[error] unrealircd.conf:11: include: error downloading 'ftps://conf:[email protected]:35569/help.conf': SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemily not started)
=====================================================
Check above for possible errors, and this output of  
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: /home/sources/devel/test1/ircd.log: No such file or directory
sources@shitbox:~/devel/test1$ 
nexus
Posts: 14
Joined: Fri Mar 12, 2004 5:45 pm
Contact:

Post by nexus »

well I did find something about this on the curl site but it's months old and I don't know if there is a solution yet :(

http://curl.haxx.se/mail/lib-2003-11/0081.html
nexus
Posts: 14
Joined: Fri Mar 12, 2004 5:45 pm
Contact:

Post by nexus »

ok I have another question hehe

I've found a few command line switches I can use with curl that help with my problem, but the problem is using those switches with remote includes in unreal..

From what I've read, I guess its also possible to put the same command line switches into a ~/.netrc file and curl will process the contents of that file when it runs, but when I start unreal it doesn't seem that curl is reading from that file.. Is the usage of a .curlrc file disabled somehow with remote includes or what? Any suggestions or ideas would be really appreciated ;)
Post Reply