Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


Library ospf

A minimalistic OSPF (Open Shortest Path First routing protocol) library, currently supporting IPv4 and the following OSPF message types: HELLO

The library consists of an OSPF class that contains code to handle OSPFv2 packets.

Author:
"Patrik Karlsson <patrik@cqure.net>"

Copyright© Same as Nmap--See http://nmap.org/book/man-legal.html

Source: http://nmap.org/svn/nselib/ospf.lua

Functions

addNeighbor (self, neighbor)

Adds a neighbor to the list of neighbors.

setAreaID (self, areaid)

Sets the OSPF Area ID

setBackupRouter (self, router)

Sets the OSPF backup Router.

setDesignatedRouter (self, router)

Sets the OSPF designated Router.

setLength (self, length)

Sets the OSPF Packet length

setNetmask (self, netmask)

Sets the OSPF netmask.

setRouterId (self, router_id)

Sets the OSPF Router ID



Functions

addNeighbor (self, neighbor)

Adds a neighbor to the list of neighbors.

Parameters

  • self:
  • neighbor: IP Address of the neighbor.
setAreaID (self, areaid)

Sets the OSPF Area ID

Parameters

  • self:
  • areaid: Area ID.
setBackupRouter (self, router)

Sets the OSPF backup Router.

Parameters

  • self:
  • router: IP Address of the backup router.
setDesignatedRouter (self, router)

Sets the OSPF designated Router.

Parameters

  • self:
  • router: IP address of the designated router.
setLength (self, length)

Sets the OSPF Packet length

Parameters

  • self:
  • length: Packet length.
setNetmask (self, netmask)

Sets the OSPF netmask.

Parameters

  • self:
  • netmask: Netmask in A.B.C.D
setRouterId (self, router_id)

Sets the OSPF Router ID

Parameters

  • self:
  • router_id: Router ID.

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]