"Fossies" - the Fresh Open Source Software Archive

Member "fake-1.1.11/instance_config/192.168.89.19.cfg" (8 Jul 2009, 2501 Bytes) of package /linux/misc/old/fake-1.1.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Sample instance configuration file for fake
    2 
    3 # IFCONFIG
    4 # Set to TRUE to bring up and shutdown the interface
    5 # Set to FALSE to leave the interface alone
    6 # default: false
    7 IFCONFIG=FALSE
    8 
    9 # SPOOF_IP
   10 # ipaddress to spoof
   11 # The name of this file should be /etc/fake/instance_config/SPOOF_IP.cfg
   12 # e.g. /etc/fake/instance_config/192.168.89.19.cfg
   13 # No default
   14 SPOOF_IP=192.168.89.19
   15 
   16 # SPOOF_NETMASK
   17 # netmask of the network that SPOOF_IP belongs to
   18 # Only used if IFCONFIG=TRUE
   19 # No default
   20 #SPOOF_NETMASK=255.255.255.0
   21 
   22 # SPOOF_BROADCAST
   23 # netmask of the network that SPOOF_IP belongs to
   24 # broadcast address of the network that SPOOF_IP belongs to
   25 # No default
   26 SPOOF_BROADCAST=192.168.89.255
   27 
   28 # TARGET_INTERFACE
   29 # local interface to create with SPOOF_IP
   30 # Also used as the interface to send arp packets from
   31 # No default
   32 TARGET_INTERFACE=eth0
   33 
   34 # SEND_ARP_TARG_HW
   35 # Mac address to send arp packets to
   36 # default: ff:ff:ff:ff:ff:ff
   37 SEND_ARP_TARG_HW=00:33:33:33:33:33
   38 
   39 # SEND_ARP_TARG_IP
   40 # IP address to send arp packets to
   41 # default: SPOOF_BROADCAST
   42 SEND_ARP_TARG_IP=192.168.89.254
   43 
   44 # Delay between ARP packets in seconds
   45 ARP_DELAY=5
   46 
   47 
   48 # The values below are only needed if you wish to send gratuitous arp
   49 # advertising the "real" mac address when turning fake off
   50 # Comment them out if you do not want this feature
   51 
   52 # Set FOREIGN_INTERFACE to STATIC and define
   53 # FOREIGN_MACADDR for a static mac address for the interface
   54 # on the foreign host.
   55 # Else define FOREIGN_INTERFACE to be the name of the 
   56 # interface on the remote host and FAKE_RSH to be
   57 # the name of the RSH command to use (usually rsh or ssh).
   58 
   59 # FOREIGN_INTERFACE
   60 # Interface on foreign host for SPOOF_IP
   61 # Used to determine the foreign mac address of SPOOF_IP
   62 # May be STATIC in which case FOREIGN_MACADDR should be set
   63 # to the mac address to use
   64 # May be unset, in which case the foreign mac address will not be
   65 # adverstiesed
   66 # Default is unset
   67 FOREIGN_INTERFACE=STATIC
   68 
   69 # FOREIGN_MACADDR
   70 # Mac address to advertise when turning fake off
   71 # Only used if FOREIGN_INTERFACE is STATIC
   72 # No default
   73 FOREIGN_MACADDR=00:22:22:22:22:22
   74 
   75 # FAKE_RSH
   76 # RSH programme to use to log into the foreign host
   77 # to determine the "real" mac address of SPOOF_IP.
   78 # Usually rsh or ssh.
   79 # Only used if FOREIGN_INTERFACE is set and is not STATIC
   80 # No default
   81 FAKE_RSH=ssh
   82 
   83 # FOREIGN_ARP
   84 # Number of times to send an ARP packet adversising the foeign
   85 # mac address when turning fake off
   86 # Only used if FOREIGN_INTERFACE is STATIC
   87 # No default
   88 FOREIGN_ARP=20