How-To: Remote Includes + cURL.sh Install Script

These are old archives. They are kept for historic purposes only.
Locked
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

How-To: Remote Includes + cURL.sh Install Script

Post by jewles »

What is Curl Auto Install Script?
From jewles:
For those who are having problems with Remote Includes, the new feature within Unreal3.2, this is the script to help. This script downloads both curl and c-ares, extracts them, and the installs them. All you have to do is run ./Config when it is done.
What is curl?
From Curl Developer:
Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and a busload of other useful tricks.
What is c-ares?
From C-ares Developer:
c-ares is a C library that performs DNS requests and name resolves asynchronously.
(CVS IS GONE FOR GOOD!)

$ wget || fetch http://www.fbsd-dev.org/cURL/cURL.sh
$ sh cURL.sh

NOTE: If for any reason the links here fall out of date with updates on the FBSD-DEV server, feel free to visit http://www.fbsd-dev.org/?data=cURL

Note: cURL.sh Script was writen by FBSD-DEV with support from Unreal coders. Do not contact Unreal for help with this sciprt in the support channel. If there is a bug or a problem please visit the website and our bug -tracker http://www.fbsd-dev.org && http://bugs.fbsd-dev.org.

How To:

Common Uses:

I Have found remote include useful for several of the configuration blocks in unreal. Such as o:lines, link blocks, spamfilters, ulines, sets blocks and various other stuff...

How it make sense? Well lets say you have a hub that is linked to several other leafs. And you want your opers the ability to oper up on multiple servers if theirs is down or whatnot, you can inculde a o:line file in all the servers unrealircd.conf and edit it in a centralized place, rehash each server, and you are set! Same idea with the other various aspects of unreal. If you change settings a lot this is the best way to make sure all servers have the same changes, instead of visiting each configuration file on different servers. And with this feature (if used correctly) you lose some of the problems of not being able to directly access various servers on your network.

Examples:

Basic Include

Code: Select all

include "http://server.com/file.conf";
Baisc Include + Auth

Code: Select all

include "http://user:[email protected]/file.conf";
Advanced Include + Auth + SSL

Code: Select all

include "https://user:[email protected]/file.conf";
Basic FTP Include

Code: Select all

include "ftp://server.com/file.conf";
Baisc FTP Include + Auth

Code: Select all

include "ftp://user:[email protected]/file.conf";
Advanced FTP Include + Auth + SSL

Code: Select all

include "ftps://user:[email protected]/file.conf";
Last edited by jewles on Sat Dec 24, 2005 5:21 am, edited 1 time in total.
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Locked