# ipdb/cgi-bin/MyIPDB.pm # Contains site-specific functions for IPDB # May override some functions from IPDB.pm, wraps others ### # SVN revision info # $Date: 2010-07-04 20:01:22 +0000 (Sun, 04 Jul 2010) $ # SVN revision $Rev: 420 $ # Last update by $Author: kdeugau $ ### # Copyright (C) 2004-2010 - Kris Deugau # don't remove! required for GNU/FHS-ish install from tarball ##uselib## use IPDB 2.0 qw(:ALL); ## connectDB_My() # Wrapper for IPDB::connectDB # Takes no arguments, returns whatever IPDB::connectDB returns. sub connectDB_My { return connectDB("ipdb", "ipdb", "ipdbpwd"); } # end connectDB_My() # Set some globals declared in IPDB.pm. Most of these only affect mailNotify(). # Note that while you *can* leave these at defaults, it's probably a Really Bad Idea. #$IPDB::orgname = "Bob's Big Bonaza"; #$IPDB::smtphost = '127.0.0.1'; #$IPDB::domain = 'bob.com'; #$IPDB::defcustid = '5554242'; # Globals for db2rwhois.pl #$IPDB::rwhoisDataPath = '/usr/local/rwhoisd/etc/rwhoisd'; #$IPDB::org_street = '123 4th Street'; #$IPDB::org_city = 'Anytown'; #$IPDB::org_prov_state = 'ON'; #$IPDB::org_pocode = 'H0H 0H0'; #$IPDB::org_country = 'CA'; #$IPDB::org_phone = '000-555-1234'; # note: following may also just be a bare email address #$IPDB::org_techhandle = 'ISP-ARIN-HANDLE'; # Logging destination. Defaults to local2. See your local syslog docs for valid facilities. # Note that the value here should have the LOG_ prefix removed, and convert to lower-case. # local0 through local7 and user make the most sense. #$IPDB::syslog_facility = 'daemon'; # Keep Perl from complaining. 1;