


NEMESIS-OSPF(1)					  NEMESIS-OSPF(1)


NAME
       nemesis-ospf - OSPF Protocol (The Nemesis Project)

SYNOPSIS
       nemesis-ospf [-v] [optlist]

DESCRIPTION
       The Nemesis Project is designed to be a commandline-based,
       portable human IP stack for UNIX/Linux.	The suite is bro-
       ken  down by protocol, and should allow for useful script-
       ing of injected packet streams from simple shell	 scripts.

   OSPF Packet Types
       -p OSPF Protocol (-pH, -pL, -pR)
	      Hello (-pH), Database Description (-pD), Link State
	      Request (-pL),  Link  State  Update  (-pU),  Router
	      Links Advertisement (-pR), Network Links Advertise-
	      ment (-pN), IP Summary Links  Advertisement  (-pM),
	      AS External Link Advertisement (-pA),

   OSPF HELLO options
       -N Neighbor Router Address
	      Neighbor Router Address.

       -i Dead Router Interval
	      Dead Router Interval.

       -l OSPF Interval
	      OSPF Interval.

   OSPF Database Description (DBD) options
       -z MAX DGRAM Length
	      OSPF Maximum Datagram Length

       -x Exchange Type
	      OSPF DBD Exchange Type

   OSPF Link State Update (LSU) options
       -x Num LSAs to bcast
	      Number of Link State Advertisements to broadcast

   OSPF Link State Advertisement (LSA) related options
       -L  Router ID Router ID for Link State Advertisement pack-
       ets.

       -G LSA Age
	      Link State Advertisement Age.

   OSPF Router Links Advertisement (LSA_RTR) options
       -u LSA_RTR Number Router Links Advertisement Number

       -y LSA_RTR Router Type
	      Router Links Advertisement Router Type




			   20 June 2001				1





NEMESIS-OSPF(1)					  NEMESIS-OSPF(1)


       -k LSA_RTR Router Data
	      Router Links Advertisement Router Data

   OSPF	  Autonomous   System	External    Link    Advertisement
       (LSA_AS_EXT) options
       -f  LSA_AS_EXT  Forward	Address Autonomous System Forward
       Address

       -g LSA_AS_EXT Tag
	      Autonomous System Tag

   OSPF options
       -m OSPF Metric OSPF Metric

       -s OSPF Sequence Number
	      OSPF Sequence Number

       -r OSPF Advertising Router Address
	      OSPF Advertising Router Address

       -n OSPF Netmask
	      OSPF Netmask Address

       -O OSPF Options
	      OSPF Options

       -R OSPF Router ID
	      OSPF Router Identifier

       -A OSPF Area ID
	      OSPF Area Identifier

       -P Payload File
	      Filename to read for packet payload.

       -v Verbose Mode
	      Display human readable output of currently injected
	      packet.

IP OPTIONS
       -D destination-IP-address
	      Specify  the  destination-IP-address  within the IP
	      header.

       -F fragmentation-offset
	      Specify  the  fragmentation-offset  within  the  IP
	      header.

       -I IP-ID
	      Specify the IP-ID within the IP header.

       -O IP-options-file
	      This  will  cause nemesis-ospf to use the specified
	      IP-options-file as the options when building the IP



			   20 June 2001				2





NEMESIS-OSPF(1)					  NEMESIS-OSPF(1)


	      header for the injectect packet.	IP options can be
	      up to 40 bytes in length.	 The IP options file must
	      be created manually based upon the desired options.
	      IP options can also be read from stdin by	 specify-
	      ing '-O -' instead of an IP-options-file.

       -S source-IP-address
	      Specify the source-IP-address within the IP header.

       -t IP-TOS
	      Specify the IP-type-of-service (TOS) within the  IP
	      header.  Valid type of service values:

	      2	 (Minimize monetary cost)
	      4	 (Maximize reliability)
	      8	 (Maximize throughput)
	      24 (Minimize delay)

	      Note: type of service values cannot be combined.

       -T IP-TTL
	      Specify  the  IP-time-to-live  (TTL)  within the IP
	      header.

DATA LINK OPTIONS
       -d Ethernet-device
	      Specify the name of the Ethernet-device to use (eg.
	      ne0, fxp0, eth0).

       -H source-MAC-address
	      Specify the source-MAC-address (XX:XX:XX:XX:XX:XX).

       -M destination-MAC-address
	      Specify	      the	   destintion-MAC-address
	      (XX:XX:XX:XX:XX:XX).

DIAGNOSTICS
       Nemesis-ospf returns 0 on a successful exit, 1 if it exits
       on an error.

BUGS
       Send  concise  and  clearly   written   bug   reports   to
       jeff@snort.org

AUTHOR
       Jeff Nathan <jeff@snort.org>

       Originally developed by Mark Grimes <mark@stateful.net>

SEE ALSO
       nemesis-arp(1), nemesis-dns(1), nemesis-ethernet(1), neme-
       sis-icmp(1),  nemesis-igmp(1),	nemesis-ip(1),	 nemesis-
       rip(1), nemesis-tcp(1), nemesis-udp(1)




			   20 June 2001				3


