VICE home Knowledge Base - Article 11-002


[Howto] Enable networking on VICE/Unix


The information in this article applies to the following versions of VICE:

PROBLEMEXPOSITION

Starting with VICE 1.15, there is support for two ethernet cartridges allowing network access: The "The Final Ethernet" (TFE) and the "Retroreplay-Net" (RR-Net) cartridges. If you want to enable support for these, you have to follow the instructions below.

!WARNING!

Installing support for networking with VICE requires you to install 3rd party products on your machine. The VICE team cannot be made responsible for any problems and/or damage which arises from this! The rejection of any warranty for VICE applies, too.
You have to install two libraries, libpcap and libnet. libpcap is a capture library, that is, it captures every packet which is available on the network, regardless if it was destined for your machine or not. libnet, on the other hand, is a library which allows injection of arbitrary packets into the network.

From this, it follows that it may pose a security problem using these two libraries in a network. Using libpcap can result in disclosure of any information that is available on your network which is not secured by other means! Furthermore, libnet might allow even further attacks on your infrastructure!

Many other tools use both these libraries. Anyway, all these tools were developed with security in mind, especially since they all need root privileges on your machine. VICE is NOT designed with security aspects in mind, so there may be flaws that could allow exploitation of VICE bugs even over the network! See, for example, VICE security advisory 01/2004.

Installing libpcap and libnet, you acknowledge that you're well aware of these security problems and that the VICE team cannot be made responsible for any problems and/or damage which may arise from the use of these libraries! If you don't acknowledge this, don't install the tools and/or use VICE networking.

PREREQUISITES

You need two libraries installed, libpcap and libnet. You can get them from your OS manufacturer or distributor, or you can use the vanilla sources from http://www.tcpdump.org/ for libpcap, and http://www.packetfactory.net/libnet/ for libnet. If you use the manufacturers' version, don't forget to install the development packages, too. Most times, they are named like the main package, but with a "-dev" or "-devel" suffix. These are needed for compiling VICE.

SOLUTION

For networking support, you need root privileges on your local machine. Without this, there's currently no chance to have networking work! Please, read the WARNING above about this topic!

If you have root privileges, follow these instructions to install networking with VICE:

Enjoy the new surfing experience.

FAQ

STATUS

This document is for information purpose only. The behaviour reported is intentional in the VICE versions listed at the beginning of this article.

LINKS

REVISION

Last Reviewed: August 25, 2004