Menu

Tree [e655bf] master /
 History

HTTPS access


File Date Author Commit
 Sauron 2010-02-18 Timo Kokkonen Timo Kokkonen [aeb472] fix to import-zone to handle SRV entries & upda...
 aux 2002-12-10 Timo Kokkonen Timo Kokkonen [7323d3] updated config.{guess,sub}
 cgi 2005-02-01 Timo Kokkonen Timo Kokkonen [ce867d] detect database errors due invalid regexp
 contrib 2005-02-15 Timo Kokkonen Timo Kokkonen [b88ddf] bug fixes by Riku Meskanen
 doc 2005-05-21 Timo Kokkonen Timo Kokkonen [c7422c] some notes about the CGIutil module
 icons 2002-12-14 Timo Kokkonen Timo Kokkonen [3af1df] moved images to icons directory
 init 2001-01-06 Timo Kokkonen Timo Kokkonen [aa17b4] fixes to import stuff
 plugins 2003-12-27 Timo Kokkonen Timo Kokkonen [256f2b] added initial plugin support to CGI interface
 redhat 2008-02-28 Timo Kokkonen Timo Kokkonen [82fa25] version number update to 0.7.3
 solaris 2004-08-15 Timo Kokkonen Timo Kokkonen [25049f] added --basedir option
 sql 2010-05-01 Timo Kokkonen Timo Kokkonen [8d4971] fix to database version
 test 2005-05-13 Timo Kokkonen Timo Kokkonen [a61b52] updated demo database to v1.3 database format
 COPYING 2000-08-27 Timo Kokkonen Timo Kokkonen [18f27b] ecksecksecks
 COPYRIGHT 2004-01-05 Timo Kokkonen Timo Kokkonen [99cd23] year update
 ChangeLog 2012-08-08 Timo Kokkonen Timo Kokkonen [e655bf] enhancement to export-networks
 Makefile.in 2008-02-28 Timo Kokkonen Timo Kokkonen [f27e9d] fix: Makefile.in add sql/dbconvert_1.3to1.4 as ...
 README 2011-09-25 Timo Kokkonen Timo Kokkonen [5dabee] added sourceforge links
 README.upgrade 2010-02-18 Timo Kokkonen Timo Kokkonen [b1ff1a] update to 0.7.3
 TODO 2005-05-13 Timo Kokkonen Timo Kokkonen [ec43b7] version updates
 acconfig.h 2000-03-10 Timo Kokkonen Timo Kokkonen [5612a1] more foundations
 addgroup 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 addhosts 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 adduser 2005-03-29 Timo Kokkonen Timo Kokkonen [639e41] fixed problem of group membership not being add...
 check-pending 2003-03-19 Timo Kokkonen Timo Kokkonen [a6a1a2] added --dir & --cmd options for running command...
 config-browser.in 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 config.h.in 2000-03-10 Timo Kokkonen Timo Kokkonen [5612a1] more foundations
 config.in 2007-10-15 Timo Kokkonen Timo Kokkonen [b7b000] new config option SAURON_DNSNAME_CHECK_MODE
 configure 2003-06-24 Timo Kokkonen Timo Kokkonen [c4a922] changed DBI as default datbase access method
 configure.in 2003-06-24 Timo Kokkonen Timo Kokkonen [c4a922] changed DBI as default datbase access method
 createtables 2005-05-13 Timo Kokkonen Timo Kokkonen [812b6e] added table "leases"
 delgroup 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 deluser 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 expire-hosts 2006-02-23 Timo Kokkonen Timo Kokkonen [8f5a1c] patch to add --skipname option by Riku Meskanen
 export-by-group 2005-12-06 Timo Kokkonen Timo Kokkonen [469302] new utility export-by-group
 export-hosts 2004-08-02 Timo Kokkonen Timo Kokkonen [a302f9] initial version
 export-ip-list 2004-04-07 Timo Kokkonen Timo Kokkonen [44e7db] added new option "--netsonly" for listing only ...
 export-networks 2012-08-08 Timo Kokkonen Timo Kokkonen [e655bf] enhancement to export-networks
 export-vmps 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 generatehosts 2004-10-28 Timo Kokkonen Timo Kokkonen [e11da7] fix to :N: parameter handling by Ken McKinlay
 import 2004-01-19 Timo Kokkonen Timo Kokkonen [bc0c23] fixed bug in use of is_cidr
 import-dhcp 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 import-ethers 2004-01-03 Timo Kokkonen Timo Kokkonen [1ca57e] fix to parser (certain addresses were being inc...
 import-jyu 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 import-nets 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 import-roots 2008-03-31 Timo Kokkonen Timo Kokkonen [e25148] AAA record support for root hints
 import-zone 2010-02-18 Timo Kokkonen Timo Kokkonen [aeb472] fix to import-zone to handle SRV entries & upda...
 keygen 2005-01-28 Timo Kokkonen Timo Kokkonen [c4751a] added --regen & --verbose option
 last 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 modhosts 2005-04-26 Timo Kokkonen Timo Kokkonen [441f12] fix to allow MAC address used as host selection...
 moduser 2008-03-31 Timo Kokkonen Timo Kokkonen [2cf520] moduer utlilty fixes
 remove-hosts 2005-04-27 Timo Kokkonen Timo Kokkonen [1d4aa9] patch to add new option --host by Otto Fuetterer
 runsql 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface
 sauron 2010-02-18 Timo Kokkonen Timo Kokkonen [9c8e49] fix to reserved and expired hosts not included ...
 status 2008-08-25 Timo Kokkonen Timo Kokkonen [fd87dc] status script patch to report Net::IP version b...
 update-dhcp-info 2005-12-06 Timo Kokkonen Timo Kokkonen [1e4c6c] patch to add --commit option by Ken McKinlay
 update-hosts 2003-12-28 Timo Kokkonen Timo Kokkonen [18fe0d] changed database connection interface

Read Me

Sauron v.0.7.4 - DNS/DHCP Management System
==============

This is a development branch release (current stable branch is v0.6.x).
However, based on reports from users current development branch releases
should be more stable than the current "stable" branch :)


DBI (DBD::Pg) is now the default database access method, but Pg can still
be used by specifying --with-Pg option to configure script.


UPGRADE
	See README.upgrade if upgradig from a previous version.

REQUIREMENTS
	- BIND v8 or later [9.2.x or newer recommended]
	- ISC dhcpd v2 or later [3.x or newer recommended] (optional)
	- Perl 5 or better [at least 5.6 recommended]
		- CGI module
		- DBD::Pg (and DBI) module (or Pg module)
		- Net::DNS module
		- Net::IP module
		- Net::Netmask module
		- Digest::MD5 module
		- Digest::HMAC module
		- Digest::SHA1 module
		- MIME::Base64
		- Crypt::RC5
	- PostgresSQL [7.4 or newer (may work fine with earlier 7.x versions)] 
	  (or add support to your favorite db yourself :)
	- www-server (Apache or any other www-server with CGI support)

SOURCE
	http://sourceforge.net/p/sauron-dns/code/

DOWNLOAD
	Sauron and related files are available from:
	 WWW: http://sauron.jyu.fi/
               or
              http://sourceforge.net/projects/sauron-dns/files/ 

	 FTP: ftp://ftp.jyu.fi/pub/sauron/


TESTED PLATFORMS
	Sauron is currently developed using Red Hat Linux,GNU/Debian Linux,
	and Solaris but it should work pretty much on any Unix variant 
	(if required programs are available).


INSTALLATION 

  See User Guide for complete installation instruction. This section
  is only a quick overview of the installation process:

  1) Build and install the program (SKIP this if you're installing the RPM):
	./configure
	make
	make docs	(optional)
	make install

  2) Create database for Sauron to use in PostgreSQL
     	(use createdb command to create the database, see PostgreSQL
	 documentation for more help)

  3) Edit configuration files: config and config-browser
	(these are usually in /usr/local/etc/sauron or /etc/sauron)
	at minimum you need to check paths and setup database
	connection string (DB_CONNECT)

  4) Create tables in the newly created database:
	<change to installation directory (/usr/local/sauron)>
	./createtables
	./status		(check that everything worked)

  5) Populate OUI (Ethernet card manufacturer) table (optional):
	./import-ethers contrib/Ethernet.txt
	./import-ethers --force contrib/additional-ether-codes.txt
	   (NOTE! you may want to download IEEE's public list
	    of OUIs from: http://standards.ieee.org/regauth/oui/index.shtml
	    and import it as well)

  6) Populate global root servers table:
	./import-roots default contrib/named.root
	  (NOTE! you should download latest version of this file
	   from: ftp://ftp.rs.internic.net/domain/ and use it)

  7) Create administrator account:
	./adduser 		(remember to set superuser flag)

  8) Setup www interface
	You need to make sauron.cgi and browser.cgi available through
	your www server. One way to do this is to make symbolic links
	for sauron.cgi and browser.cgi in your cgi-bin directory.
	Copy images under icons/ directory to sauron/icons/ directory
	under your web server root directory (or just make a symbolic link)

  9) now you can use the web interface to create a server and zones, or
     you can import existing named/dhcpd configurations using
     import/iport-dhcp utilities. Or you can try out the demo database
     that can be found under test/ directory in source tree.



COMMANDS

 addgroup	
   Creates user groups. It's recommended to assign
   users to groups and assign privileges to groups and not
   directly to users.
   
 addhosts
   Utility for adding hosts to a existing zone from given
   file. Input file format is same as in normal zone files.

 adduser
   Creates new user accounts. Use --help option for more help.

 check-pending  
   Program to be run from crontab that check for pending
   changes in database and sends notification of pending changes
   to address defined in configuration.

 delgroup
   Removes user group from the system.

 deluser
   Removes users accounts from the system. (accounts can also be locked
   with moduser command).

 expire-hosts
   Utility for expiring unused (no DHCP activity within given time-frame)
   host entries.

 export-networks
   Generates Unix /etc/networks format file of networks defined for
   given server.

 generatehosts
   Utility for generating number of host entries into database.

 import
   Reads complete named (BIND) configuration file set and generates
   new server and related zones into Sauron.

 import-dhcp
   Utility for updating existing server using dhcpd configuration; 
   adds Ethernet addressess for hosts and to builds network map for
   the server.

 import-ethers
   Utility for adding OUI (Ethernet card manufacturer) information
   into global table. This table enable Sauron to recognize and display
   NIC manufacturer information for hosts.

 import-roots
   Utility for importing root server hints into Sauron. Sauron has
   global table and option for server specific root server lists.

 keygen
   Utility for generating TSIG keys and master key for protecting key for
   Sauron database.

 last
   Unix 'last' command style utility for listing lastlog information
   about Sauron www-interface users.

 modgroup
   Modifies privileges associated with groups.

 modhosts
   Simple utility for modifying several hosts at a time in the database.

 moduser
   Modifies user account privileges and attributes.

 runsql
   Utility for running SQL code from file into Sauron database.

 sauron
   Program to for generating named/dhcpd configuration files from Sauron 
   database for given server.

 status
   Utility for listing database connection and www-interface status.
   Also displays currently logged in users.

 update-dhcp-info
   Program to be run from crontab that parses dhcpd logs and updates
   'last seen by dhcp server' fields for hosts.



SUGGESTED READING
	RFC: 952,953,974,1032,1034,1035,1123,1912


--
Timo <tjko@iki.fi>			        

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.