###################################################################### # supersparrow.conf # # Configuration file for supersparrow to work with Apache's # mod_rewrite. # # Format is where key is either a short or long # option as per perdition -h, without the leading - or --. Blank # lines are ignored, as is anything including and after a # # (hash) on a line. # # Options that do not make sense in the configuration file such # as h|help and f|config_file are ignored. Options specified on # the command line override the options in this file. # # "(null)" is a NULL value, not the string "(null)". ###################################################################### # Peer AS numbers # -a|--peer # ',' delimited list of peers. # peer is of the form as[=host[:host]...] # Where host may be a host name or IP address # (default "(null)") peer 64700=www.x.apache-test.supersparrow,64702=www.y.apache-test.supersparrow # Cache Timeout # -C|--cache_timeout # Number of seconds objects in the result cache # remain vaild. Setting to 0 turns cache off. # (default 10) #C 0 #cache_timeout 60 # Cache Size # -c|--cache_size # Number of objects to store in result cache # Setting to 0 turns cache off. # (default 16) #c 0 #cache_size 64 # Non-Batch mode # -B|--no_batch # Negates -b|--batch # Non-batch mode is the default. # Disable reading of sources from stdin. # Probably only useful in conjunction with supersparrow provided with # libsupersparrow #B #no_batch # Batch mode # -b|--batch # Negates -B|--no_batch # Enable reading new-line delimited sources from from stdin. # Probably only useful in conjunction with supersparrow provided with # libsupersparrow #b batch # No Debuging # -d|--debug # Disable verbose debuging to syslog. # Negates -d|--debug # No Debugging is the default #d #debug # Debuging # -d|--debug # Enable verbose debuging to syslog. # Negates -D|--no_debug #d debug # Host # -H|--host # Host to connect to. # (default "localhost") #H localhost #host localhost # Port # -P|--port # Port to connect to. # (default "protocol independant") #P gii #port 616 # Password # -p|--password # Password to use when connecting to host. # (default "") #P password frub # Result Count # -r|--result_count # Maximum number of IP addresses to return. # Must be at least 1. # (default 3) #r 4 #result_count 4 # Route Server # -r|--route_server # Route Server type to use. # (default "zebra") # available route server types: "gated, gii, zebra, cisco, ios" #r gated route_server zebra # No Lookup # -L|-n|--no_lookup # Disable host and port lookup. # Negates -l|--lookup #L #n #no_lookup # Lookup # -l|--lookup # Enable host and port lookup. # This is the default # Negates -L|-n|--no_lookup #l #lookup # Self # ':' delimited list of hosts, some of which # may be returned if no peer can be found. # Hosts may be host names or IP addresses # (default "(null)") # -s|--self self www.x.apache-test.supersparrow # Timeout # Idle timeout in seconds. Value of zero sets infinite timeout. # -t|--timeout # (default 60) #t 60 #timeout 600 # No Verbose # -V|--no_verbose # Disable Verbose output to stdout # This is the default # Negates -v|--verbose #V #no_verbose # Verbose # -v|--verbose # Enable Verbose output to stdout # Negates -V|--no_verbose #v #verbose