Electronic Manual - FreeSurfer
© SunnyScript - www.sunnyscript.com

 
Table of contents
 
Installation and configuration [go] Directory structure
[go] File transfer to the server
[go] Configuration
Administration panel [go] Admin menu
[go] Edit system parameters
Web-frontend and software usage [go] How to access FreeSurfer
[go] Browse Internet content
[go] Send anonymous mails
[go] FreeSurfer's application
Customer services [go] Need help ? Contact the SunnyScript service department !

Smart tip: This handbook is also designed to be printed... set your printer's page orientation to landscape format, so there is enough space to place hand-written notes on the left and right margin easily.
 


 
Installation and configuration
 
SunnyScript offers an optional available installation service, if you don't want to install the software yourself.
Please contact our customer service department by e-mail for detailed information and pricing.
 
Directory structure...

The software can be installed at any place that allows the execution of CGI software: Most server systems provide a special directory called "cgi-bin" where you have to install the application, while others are not limited to a particular location.

In a common environment, we recommend to create a new sub-directory within the existing "cgi-bin" folder to separate the software from other already installed products.

Required "template.en" directory:

Inside the directory you desired for installation, please create a new sub-directory called "template.en". It's used to hold the content of "template.en" directory delivered with your software package.

Adjust path to Perl:

Open all program files (*.pl and *.cgi) in a text editor and change the first line "#!/usr/bin/perl" that it reflects the correct path to Perl 5 (or higher version) on your system. This is required to let your server know where the Perl interpreter is located.

Usage note: On most systems, /usr/bin/perl is already the default path to Perl and so no modifications are required.
 

File transfer to the server...

Upload all files to the created directories. If a ftp client is used, ensure to set the "ASCII transfer mode" for file submissions.

Detailed file table: Scheme: [filename | suggested place to upload (short description); file permission]:
 
Filename...
Description...
Filename...
Description...
* cgi-bin (program & data files); 755 template.en/* template.en (templates); 666
    sample/* Sample layout files (explained later)

Important notes: Please double-check file permissions and transfer mode, otherwise the software may not work as intended. Depending upon the server configuration, different file permissions than the ones stated above may be necessary.

Smart tip: Our installation helper install.cgi makes it easier... just call it from your web browsing software (requires correct installation of this script) and it automatically checks your entire installation, adjusts permissions and fixes typical errors.
 

Configuration...

After you have uploaded all files, you may wish to start the admin panel first time to initialize the system parameters. In order to do so, please call admin.cgi with your favorite web browsing software:
 
Action to perform...
URL to call (location varies on your system, of course)...
Open admin panel http://www.sunnyscript.com/cgi-bin/fs/admin.cgi

Before you proceed, it is highly recommended to set an administration password. After this is done, access to the admin panel is granted only by authenticating yourself with the chosen password.

Now click on the button "Edit system parameters" and configure the shown parameters according your needs.

Usage note: Since all parameters are automatically filled with correct values, modifications on your side may not be required.

Directories and files:
 
Name of parameter to set...
Description...
CGI files directory
Example: /usr/www/cgi-bin/fs
Absolute path to the location of FreeSurfer on your server.

URLs:
 
Name of parameter to set...
Description...
URL of CGI files directory
Example: http://www.sunnyscript.com/cgi-bin/fs
URL to the location of FreeSurfer on your server.
HTTPS URL of CGI files directory
Example: https://www.sunnyscript.com/cgi-bin/fs
URL to the location of FreeSurfer on your server by using the SSL protocol. Should the server not support SSL, then leave this parameter empty.

Usage note: All other parameters managing the system behavior are described more detailed below.

After you have verified all settings carefully, click on the button "Save parameters" to take over modifications to the system. It is also possible to bring back previous values with the "Let the script restore defaults" button.
 

Congratulations - you have successfully installed the software :-)

 
Administration panel

The administration panel is a convenient way to work interactively with FreeSurfer. You can start the admin panel by calling admin.cgi with your favorite web browsing software:
 
Action to perform...
URL to call (location varies on your system, of course)...
Open admin panel http://www.sunnyscript.com/cgi-bin/fs/admin.cgi
 
Admin menu...

This screen allows the following actions:
 
Main menu options...
Description...
Start FreeSurfer Click on the button "Start FreeSurfer" in order to start the software right away.

Usage note: It is also possible to call FreeSurfer from HTML based forms, see later.

Change password Change admin password.

Important note: If you forgot the admin password, please remove admin.pass file located in "auth" directory (see software directory of FreeSurfer). Then you can set a new password next time accessing the admin panel.

Edit system parameters Click on this button to modify system related parameters.

Usage note: The top menu line provides links to all menu entries regardless on which page you are currently. This will help you to navigate more convenient through the software.
 

Edit system parameters...

The system parameters allowing to customize FreeSurfer according your requirements. So this is the right place to set security options and manage the software's general settings.

Usage note: Some parameters (required during installation) are skipped here, since they were already described above.

Privacy preferences:

All settings made here takes effect to the anonymity level and behavior of FreeSurfer.
 

FreeSurfer asks...
Description...
Client-to-proxy traffic encryption Determine the protocol used for data transfers between your web browser (client) and FreeSurfer (proxy).
 
Setting...
Description...
Use protocol of original URL Same protocol as pre-set by the target resource (default).
Send encrypted requests to FreeSurfer Use HTTPS protocol for all data transfers (highest security level).
Send unencrypted requests Use HTTP protocol for all data transfers (may be insecure).

Important note: For accepting encrypted requests, the parameter "HTTPS URL of CGI files directory" must be filled correctly (see "URLs" section of the screen).

Hide page referrer Mark this button to remove the page referrer information to prevent tracking of previously visited websites by actually called ones.
Remove page titles Mark this button to remove page titles of visited websites (increases local security).
Cookies
Decide how FreeSurfer will handle cookie requests. Cookies are commonly used to collect personal user information or to provide interaction between an intelligent website and its visitors (e.g. individualized site content).
Cookies filter
 
Setting...
Description...
Block all cookies Block all kinds of cookies.
Allow all cookies Allow all kinds of cookies.
Block cookies, allow image cookies Block cookies, but allow delivery of cookies sent by images (e.g. ad banners).
Allow cookies, block image cookies Allow cookies, but block delivery of cookies sent by images (e.g. ad banners).
Block cookies from selected servers Block only cookies delivered by known servers (see setting below).
Allow cookies from selected servers Allow only cookies delivered by known servers (see setting below).
 
Allowed cookie servers If "Cookies filter" is set to "Allow cookies from selected servers", this parameter contains the list of servers (one domain per line) allowed to deliver cookies.
Blocked cookie servers If "Cookies filter" is set to "Block cookies from selected servers", this parameter contains the list of servers (one domain per line) blocked to deliver cookies.
Scripts
Decide how FreeSurfer will handle received scripts. Scripts are commonly used to enhance websites with goodies, but can be also dangerous when auto-executing software on your local computer or containing viruses.
Scripts filter
 
Setting...
Description...
Block all scripts Block all kinds of cookies.
Allow all scripts Allow all kinds of scripts.
Block scripts from selected servers Block only scripts delivered by known servers (see setting below).
Allow scripts from selected servers Allow only scripts delivered by known servers (see setting below).
 
Allowed script servers If "Scripts filter" is set to "Allow scripts from selected servers", this parameter contains the list of servers (one domain per line) allowed to deliver scripts.
Blocked script servers If "Block scripts" is set to "Block scripts from selected servers", this parameter contains the list of servers (one domain per line) blocked to deliver scripts.
Block these scripts This parameters contains a list of MIME types (one per line) recognized as "scripts". Found scripts are handled according your settings above.
Ad blocking
Decide how FreeSurfer will handle advertisements on websites.
Block ads from known servers Mark this button in order to remove graphical banner advertisements from websites (this increases performance especially in case of slow Internet access).
Block ads from these servers If "Block ads from known servers" is enabled, this parameter contains the list of servers (one per line) blocked to deliver images (ad banners).

Technical note: In order to allow a high flexibility of possible settings, you can use Perl regular expressions for each domain, e.g. to cover also personal domains by one entry.

Replace removed banners with
a transparent gif image
In order to keep the layout of websites containing many graphical advertisements, this setting should be enabled.

Anonymous mail:

FreeSurfer is able to allow sending of anonymous mails (hides your local IP address).
 

FreeSurfer asks...
Description...
Enable anonymous mail for visitors Mark this button in order to allow sending of anonymous mails.
Mailing program (for Unix only) System path to Sendmail (or compatible) application on your server.
SMTP server SMTP server for handling mails; when left blank, default mail application is used. This setting is required for non-Unix systems, otherwise optional.
Optional message fields Select additional input fields provided to the users, e.g. for adding attachments.
Maximum message size (bytes) In order to prevent abuse of anonymous mailing, you can limit the max. allowed size of the message's text body here.

Technical note: This limitation does not cover attachments.

Limit number of daily messages
allowed per unique IP address
Type in the number of daily messages allowed being sent per unique IP address. Like the previous parameter, also this one is dedicated to prevent abuse.
Append this footer to each message Specify a footer that will be added to each outgoing anonymous mail.

HTML insertion:

You can add headers and footers to each website visited anonymously (HTML blocks are not added to frame-based sites in order to avoid destroying their layout).

You may add a form to visit another URL anonymously or some kind of advertisements (e.g. to offer a free anonymizing service).
 

FreeSurfer asks...
Description...
Insert this HTML block after
<BODY> tag
Insert text or HTML code being displayed as header on each webpage.

Usage note: Leave the field empty to disable HTML insertion.

Insert this HTML block before
</BODY> tag
Insert text or HTML code being displayed as footer on each webpage.

Usage note: Leave the field empty to disable HTML insertion.

Anonymize inserted HTML blocks Mark this button in order to process the inserted HTML header and footer by FreeSurfer before displaying them.

Important note: If you use HTML insertion to display ad banners, then you may disable this feature to prevent that your advertisements are removed by FreeSurfer.

Other special settings:
 

FreeSurfer asks...
Description...
Allow user settings of soft. behavior Mark this button to allow people managing cookie, script and ad blocking as well as other features individually (limitations in admin panel may be ignored).
Limit delivered content to text data Show only the textual content of a website (no images).
Show FTP welcome message Enable this setting to see messages delivered by FTP servers.
Limit the size of POST requests Type in the max. size of a POST (form submission) request in bytes. By default, it is set to 5 MB which should be more than adequate.
Max. duration of admin session Time frame keeping the admin authentication valid (after expiration, admin must log in again); recommended value: 21.600 seconds (6 hours).
Allow only admin to use the software Mark this button to require the admin password before granting usage of FreeSurfer (otherwise the password is only necessary to access the admin panel).

Usage note: Enable this feature to prevent unauthorized accesses to FreeSurfer on your system unless you protect the software in an other way.

 

 
Web-frontend and software usage
How to access FreeSurfer...

1. Directly through the admin panel:

Click on "Start FreeSurfer" button located on the main admin menu screen in order to work with FreeSurfer. A hard-coded layout will be used which allows having FreeSurfer ready-to-run immediately after installation.

Now type in an URL to visit; FreeSurfer supports HTTP, HTTPS (http://... or https://...) and FTP (ftp://...) based sessions.

Alternative way: Call nph-fs.cgi (FreeSurfer main program) directly from your web browser.

2. By using frames and HTML based forms:

We have prepared a set of sample template files (see within sample/* directory), which are very useful to achieve a custom layout and also makes it easier to work with FreeSurfer by providing a frame based environment.
 

Filename...
Description...
index.htm Frame definition.
go.htm Form used for anonymous browsing; please see customization notes below.
footer.htm "Jump back" footer linking to the form at go.htm.

In order to start FreeSurfer, please call index.htm from your web browser (ensure that path in go.htm is correct, see below).

Pre-requisite: Adjust path in the sample files:

Before you can use our pre-defined sample files, open go.htm and adjust the URL to FreeSurfer used in the "form action" tag (please keep all other parts of this tag intact).

Enable or disable user settings:

As you see, the user is able to decide about basic system behavior. If you wish to disallow such individual settings, just remove the appropriate checkboxes from the HTML form located at go.htm.

Technical note: If individual settings are available, these have priority compared with the settings made in the admin panel. You may disable ability of having individual user settings, please refer to the screen "System parameters".

Special applications of the footer file:

Because of the frame based environment, the footer.htm file is not just suited to go back to enter a new URL, but also the right place for holding advertising banners or any other kind of information.

When displaying ad banners in the footer, there is the problem that just one banner is shown regardless of the time people are using FreeSurfer on your system. You can force this frame being reloaded (and so showing new banners) from time to time...

Add the following line somewhere between the <head> </head> tags of footer.htm:
 
<meta http-equiv="refresh" content="{interval};{URL}">

Replace {interval} with the waiting time (in seconds, use positive integers only) till reloading the page. Replace{URL} with the URL pointing to footer.htm.

Usage note: Alternatively you can let display ad banners as headers / footers. See screen "System parameters" for details.

Security notes regarding software usage:

If you wish to sell memberships for using FreeSurfer, then disable the parameter "Allow only admin to use the software" and ensure that the installation is protected (we recommend AccessGuardian from SunnyScript).

Otherwise (e.g. should you intend to use the software for your own purposes only), it is strongly recommended to enable this security setting to prevent that everybody has access to your installation.
 

Browse Internet content...

After you have entered an URL, the concerned resource (website or ftp session) will be called. FreeSurfer modifies the entire resource before displaying it (e.g. removes scripts and banners and changes embedded links).

Now you can navigate through the resource: All links you follow (even form submissions) are called by FreeSurfer to keep your anonymity. So you can almost forget that you run FreeSurfer in the background.

In order to enter a new URL, either close the browser window and click on "Start FreeSurfer (from admin panel) or use the appropriate form to type in the location address to go to (frame based environments or links at inserted HTML blocks).
 

Send anonymous mails...

If enabled in admin panel, users of FreeSurfer can send anonymous e-mails (user's true IP address is hidden in mail headers and instead of, the server's one is shown).

In order to do so, click on "Anonymous mail" link in the top menu line or call anonmail.cgi directly.
 

FreeSurfer asks...
Description...
Sender's name The sender's name used in the header of outgoing mails.
Sender's e-mail address The e-mail address used in the header of outgoing mails.
Organization The organization's name used in the header of outgoing mails.
Recipient's e-mail address The e-mail address of the recipient this message will be directed to.
Message subject The subject used in the header of outgoing mails.
Priority Priority setting used in the header of outgoing mails. Select from "Lowest" to "Highest".
Message body Body of the anonymous mail (allowed size may be limited in "System parameters").

After you have filled the form completely, click on the button "Send message".

Usage note: Depending upon the settings in admin panel, additional fields may appear at this mailing form.
 

FreeSurfer's application...

Censorship is a controversial subject and some governments and companies have strict rules about what kind of information you should have access to. The purpose of FreeSurfer is to keep your personal information from being revealed to others.

SunnyScript is not liable or responsible how FreeSurfer is used. This software is not intended to hurt existing laws that may apply to you. You take over all legal risks and responsibilities, if you bypass rules which are applicable at your location.
 


 
Customer services

Depending upon your license type, this software package includes various support services. Please refer to the license document or visit our website for more information about available services.

Before you contact our customer service department, please read this manual first. In most cases you find the answer here. However if you still experience problems, we will be more than happy to help you...

For all support inquiries, please contact support@sunnyscript.com and provide the following information:

* The license number of the concerned product.
* A close description of the problem or question you have (no file attachments, please).
* For technical inquiries: Used server environment, URL of admin panel & admin password.
 

Now we wish you a great time with our software products :-)

 
© SunnyScript - A subsidiary of Star Enterprise. Visit the SunnyScript website.
Please read our terms of business located at... http://www.sunnyscript.com/terms.htm