User Tools

Site Tools


en:tools


Part 2 - Tools

For all that follows the same rules apply as written in the Introduction:

  • The main purpose of this part is to collect and describe several recommandable Tools regarding the Copfilter-Addon for IPCop 1.4.2x (abbreviated: V1) and 1.9.x/2.x (abbreviated: V2).
  • If problems occur while using these tools, please open a new thread in the Copfilter-Forum or send us (karesmakro, severus, fischerm) a PM (Private Message) via Copfilter Forum.
    Any requests for changes or extensions will be taken in account.

Please note:

  • The line informations regarding code changes may not necessarily be *absolutely*, so always use search functions for text or code-passages.
  • This comes with absolutely no functional guarantees!

ATTENTION!

  • Extensive knowledge about the working(s) of the IPCop-Firewall and Copfilter in general, plus extensive Linux experiences are an absolute must for using the tools that are described!
  • This is not for novices to experiment, you need to know what you are doing and what the consequences may be…
  • A full backup, a functioning restore, and the willingness to reinstall a defective IPCop-system are prerequisites!

V1-Logo

1. Wget - Downloadmanager

Description

http://www.gnu.org/software/wget/wget.html

http://www.gnu.org/software/wget/manual/html_node/index.html

gnu.org wrote:

Introduction to GNU Wget

GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.

GNU Wget has many features to make retrieving large files or mirroring entire web or FTP sites easy, including:
Can resume aborted downloads, using REST and RANGE
Can use filename wild cards and recursively mirror directories
NLS-based message files for many different languages
Optionally converts absolute links in downloaded documents to relative, so that downloaded documents may link to each other locally
Runs on most UNIX-like operating systems as well as Micky Mouse Windows
Supports HTTP proxies
Supports HTTP cookies
Supports persistent HTTP connections
Unattended background operation
Uses local file timestamps to determine whether documents need to be re-downloaded when mirroring
GNU Wget is distributed under the GNU General Public License.

Download

IPCop 1.4.x ONLY: V1-Logo

V1:wget-v1-1.13.4.tar.gz 113 KB
MD5SUM: EFD005614F9B0109B41C9740C241C50D

Installation

Installation proceeds - with two exceptions! - as described in The installation of the software archives:

  1. Download
    Since 'wget' often doesn't exist on a standard IPCop, download should be made via Browser. If 'wget' exists, you only need:
    wget http://www.it-connect-unix.de/jdownloads/general/wget-v1-1.13.4.tar.gz
  2. Starting the installation
    Difference:
    tar xzvf wget-v1-1.13.4.tar.gz -C /
  3. Installation ok?
    If everything went right, 'wget' was installed in '/usr/bin'.

Usage

Log in on the console as 'root' using a suitable client (ssh, PuTTY, …):

Change to target-directory::

cd /directory/were/you/want/to/download

[ENTER]

Launch 'wget' including URL + Filename:

wget Proto://Download-URL

[ENTER]

For example:

cd /tmp

[ENTER]

wget ftp://knoppix.ftp.fu-berlin.de/ADRIANE-KNOPPIX_V6.7.0CD-2011-08-01-DE.iso

[ENTER]

Tip

This way you can test the quality of your internet connection.

Log in as 'root' and download an arbitrary, somewhat larger file. In my example I used '\tmp' as target-directory and a german Knoppix-mirror-server. The downloaded ISO file can afterwards be deleted. For this test only the download rate is important, in this case it corresponds to a reasonably good-humored 4400er DSL line…*

Screenshot

Wget-Speedtest

*And yes, I know - we're living in the country…

Other parameters you need only in special cases, the command

wget --help

provides an overview of all command line options.

VIM-Logo

2. gVim - Unix-Texteditor for Windows

Description

Since editing Unix files on Windows is always something to be problematic (different line break conventions have many scripts rendered useless, not to mention the handling of control characters), here is the alternative for Windows users in the form of an Unix editor.
In connection with a binary (=unchanged) transmission of data through WinSCP, gVim is one of the best editors for editing Unix files on a Windows machine.
The package includes a full-screen and a command line version, syntax highlighting is self-evident in both variants.

Homepage

Download

gvim74.exe 6532 KB
MD5SUM: 9F6E4AA233C1EB8A18526681308B42D6

Installation

Via Windows-Installer.

Instructions

Screenshot

VIM

Notes

To get into insert mode, you must press “i” (as in vi). Most keyboard shortcuts are adapted to Windows (eg Copy&Paste) that means, they don't correspond to the familiar 'vi'. This can certainly be changed in the configuration. The program is translated into various languages (including German). Of course, there are versions for various operating systems..

3. PuTTY

Information

(Simon Tatham) - Telnet- and SSH-Client

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Download (32-bit)

putty-0.70-installer.msi 2.8 MB
MD5SUM: 9047A29B7C2ED333536A7FB6D6C8BAE6

Download (64-bit)

putty-64bit-0.70-installer.msi 2.9 MB
MD5SUM: 983D8C71DD6EEED78012112B85734318

Installation

Via Windows-Installer.

Instructions

Screenshot

PuTTY

Please note:

  • IPCop V1 uses SSH-Port 222 (V2: 8022).

Notes

To insert copied lines of code from clipboard to PuTTY, you should proceed as follows (CTRL-V will not work):

  1. Mark corresponding line, press CTRL-C to copy to clipboard.
  2. In the PuTTY window, right-click to insert copied content at the prompt.

ATTENTION:
If you copied a paragraph-end, contained/copied command line will run immediately - useful or not!

WinSCP-Logo

4. WinSCP

Description

(Martin Prikryl) - graphical SFTP client for Windows supports SSH and SCP, with Putty Integration.

Very convenient Remote File manager, the two-pane view makes file operations in both directions very easy, the keyboard shortcuts are oriented on Norton/Midnight Commander.

Download and Installation

Screenshot

WinSCP

Notes

In any case (even and especially in text files, scripts, etc.!) the binary transfer mode has to be preferred. Correct file handling - on Windows - has to be guaranteed through careful selection of the editor being used. gVim is one of the most reliable partners for working with Unix-text files. A PuTTY-Session can be started with the touch of a button and you can even transfer PuTTY-credentials so you don't need to login again under PuTTY.

Attention:

The remote file view is being cached! Changes - especially if not initiated in WinSCP - will be visible only after pressing the Refresh button (recycle symbol)!

MC-Logo

5. Midnight Commander

Homepage

FAQ

Description

GNU Midnight Commander is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included.

Screenshot

Midnight Commander

MC-Logo
V1-Logo

5.1. Midnight Commander (sfeddersen)

Information

Version: 0.0.8 (4.7.0-pre1) - for IPCop V1

The Midnight Commander is a directory browser/file manager for Unix-like operating systems.

ATTENTION:

This version is for IPCop-Version V1 ONLY!

Download

IPCop 1.4.x ONLY: V1-Logo

V1:mc-0.0.8.tar.gz 2.8 MB
MD5SUM:736FA8628C92B30E46EC3F9A164D899F

Installation

After downloading the Midnight Commander AddOn this must now be loaded to the IPCop via WinSCP to the '/tmp' directory. Now make a connection with PuTTY and change to this directory.

cd /tmp

Now the Midnight Commander AddOn can be unpacked with the command:

tar xvfz mc-x.x.x.tar.gz

Now change to the Midnight Commander directory

cd mc

and start the installation of the Midnight Commander AddOn with the following command

./install

Now follow the instructions on the screen and the installation begins.

Midnight Commander is started simply by entering mc at the command line.

Function Keys:
[F1] Help
[F2] Shortcut menu
[F3] Fileviewer
[F4] Editor
[F5] Copy/Rename
[F6] Move/Rename
[F7] Create directory
[F8] Delete
[F9] Menu
[F10] Quit

Notes

First you open settings and select “Lynx-like motion”.
Enter following command sequence:
[F9] (Menu), [Alt]+[o] (Options), [Alt]+[c] (Configuration…), maneuver with the cursor keys, [Space] (Select).
Or use mouse…
This option means that you can use the cursor keys left and right to change the directory level.
You can take an easy look into archive files. Simply select the archive and press [Enter]. Depending on the size and number of files it takes a moment, once the file is open, you can handle files as if you were working on file-level, using [F3], [F5] and so on…

MC-Logo
V1-Logo

5.2. Midnight Commander for IPCop V1 (modified by karesmakro)

Homepage und description see: Midnight Commander

Information

Midnight Commander - Version 4.7.5.6 - for IPCop V1

ATTENTION:

This version is for IPCop-Version V1 ONLY!

Changelog

Download

IPCop 1.4.x ONLY: V1-Logo

V1:ipcop_mc-4.7.5.6.tgz 1.9 MB
MD5SUM:84048E59242A0B05DD5AF6EED28DA958

Installation

Note

One important hint, to enable correct UTF-8 support:
login to ipcop
modify last lines of /etc/profile to something like this:

# IPCop language settings
LANG=en_US.utf8
#PS1='\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
PS1='\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[0m\]\$ '
#echo -n -e '\033%G'

export LANG PS1

safe file
logout and login again

voilà, midnight commander shows correct lines

MC-Logo
V2-Logo

5.3. Midnight Commander for IPCop V2 (modified by karesmakro)

Information

Midnight Commander - Version 4.7.5.6, 4.8.0, 4.8.1.4 and 4.8.2 - for IPCop V2

ATTENTION:

These versions are for IPCop-Version V2 ONLY!

Changelog

Download

IPCop 1.9.x/2.x ONLY: V2-Logo

V2:ipcop_v2_mc-4.7.5.6.tgz 1.7 MB
MD5SUM:D9D97AEC250AB5145A51686BE0420292


IPCop 1.9.x/2.x ONLY: V2-Logo

V2:ipcop_v2_mc-4.8.0.tgz 2.0 MB
MD5SUM:DEB7E34AE1C60A18A0DF9B2052610E38


IPCop 1.9.x/2.x ONLY: V2-Logo

V2:ipcop_v2_mc-4.8.1.4.tgz 2.1 MB
MD5SUM:1846948C6F73A9C30B3D3C2938B2E8F2


IPCop 1.9.x/2.x ONLY: V2-Logo

V2:ipcop_v2_mc-4.8.2.tgz 2.1 MB
MD5SUM:48BF93D7F91B3141A5ED0648727EE876

Installation

6. HashTab

Homepage

Description

Context menu extension for Windows for displaying hashes (SHA-1, MD5, CRC-32, …)

Under windows there is no way to check out the various file checksums.
What is missing, is a small program which can compare a known checksum with the corresponding file checksum of a downloaded file (eg specified on the download page).

HashTab solves this in a very elegant manner: it provides an additional tab in the file context menu. It displays and compares the current file with another file or a known hash. It could hardly be easier!

Download

HashTab v5.1.0.23 Setup.zip 1.7 MB
MD5SUM: 4BEACDB474258858E1ED0032D7C77916

Installation

Via Windows-Installer.

Screenshot

HashTab

Rsync-Logo
V1-Logo

7. RSync

'rsync'-Version 3.0.9 (Wayne Davison) - universal download tool - for Copfilter V1

Homepage

Documentation

Changelog

Download

IPCop 1.4.x ONLY: V1-Logo

V1:rsync-3.09_copfilter.tar.gz 190 KB
MD5SUM:FDBEF24117CCA0C6E20145C8F99508BA

Installation

This is only the rsync binary, which you have to copy to the right location!

For IPCop:

  • Extract binary in '/tmp'
    tar xzvf rsync-3.09_copfilter.tar.gz

    and copy to '/usr/bin'.

  • Delete/overwrite older versions.

For Copfilter:

  • Overwrite old binary in '/var/log/copfilter/default/opt/tools/bin', delete version in /'usr/bin'.

Rights: root:root, 0755

8. FastStone Capture

Homepage

Description

FastStone Capture is a powerful, lightweight, yet full-featured screen capture tool and screen video recorder. It allows you to easily capture and annotate anything on the screen including windows, objects, menus, full screen, rectangular / freehand / fixed regions as well as scrolling windows / web pages.

Detailed description, see: http://www.faststone.org/FSCaptureDetail.htm

Shareware, you may try the software free for 30 days.

Screenshot

en/tools.txt · Last modified: 2017/07/11 20:56 by fischerm