« February 2006 | Main | April 2006 »

March 12, 2006

Installing OpenSUSE on a SuperMicro with an Adaptec 2015S

What you need to do to ensure OpenSUSE and mkinitrd will see your Adaptec 2015S after install

The adaptec 2015s supermicro system needs to be installed with the i20 block driver, it will install fine but will not boot after the system is successfully installed, or at least it didnt for me with OpenSUSE 10.x, after installing you need to boot with the install disk again then get to the unix command line and edit /etc/sysconfig/kernel , it will have a line:
INITRD_MODULES="piix i2o_core i2o_block i2o_config processor thermal fan reiserfs"
make sure all 3 i2o drivers are listed... the block driver was excluded in my install....

Once it is added the 2015S works fine.

Freebsd Dovecot Drac Plugin

I noticed the following error in my dovecot.log :

dlopen(/usr/local/lib/dovecot/pop3/drac.so) failed: /usr/local/lib/dovecot/pop3/drac.so: Undefined symbol "dracauth"

After reading Timo's read me on building drac.c (http://www.dovecot.org/patches/drac.c), there a few things you need to do to get rid of this error:

first extract the object from the drac library:
mkdir dracobj
cd dracobj
ar x /usr/local/lib/libdrac.a
cd ..

set your dovecot source location:

set dovecot=/usr/ports/mail/dovecot/work/dovecot-1.0.beta3

Then build drac with the following arguments:

gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib drac.c -o drac.so dracobj/*

This should remove that error completely.

March 11, 2006

How to prevent abuse of a remote signup page (PHP)

I have a ticket website and a night life mailer that goes out weekly, on the ticket website I want to allow the users to remotely sign up for the nightlife mailer, but I cannot leave this un-encrypted or it will be subject to abuse so my mechanism is a remote post using the following method.

Here is the code on the nightlife site:

$key=$_GET['key'];
$name=urldecode($_GET['name']);
$namestr= str_replace(" ",'',urldecode($_GET['name']));
$email=urldecode($_GET['email']);
$newsletter=$_GET['newsletter'];
if ($key==MD5($namestr.date('jdy')))
{
if (!is_user($email,$newsletter))
{
insert_user ($name,$email,$newsletter,'html');
echo "ok";
}
else
echo "member";
}
else
echo "bad";
BREAK;

Then I just create a function in the ticket website code to post to the URL on the night life website like so :

$nname=$frm['firstname']." ".$frm['lastname'];
$namestr= str_replace(" ",'',$nname);
$key=MD5($namestr.date('jdy'));
$geturl="http://www.nitelife.com/signup.php?key=$key&name=".urlencode($nname)."&email=".urlencode($frm['email'])."&newsletter=1";
$result=file_get_contents ($geturl);

Then test result for ok or bad and preventing false sign-ups from my remote site

Media Bistro

My friend Scott Ritchie and I were at Swig and ended up in a photo :
tn_13.jpg

Media Bistro Event page

Elly Chou's Macys Comercial

One of many of Elly's comercials that have aired in the US

View/Download

Resume

My current resume

Doug Dalton
ddalton at netreveal.com
San Francisco, CA
________________________________________

SUMMARY OF QUALIFICATIONS

• Proven track record of successful mergers and acquisitions (Inex to Troy Systems, Knowledge Universe acquisitions, and Gloss.com to Estee Lauder Companies).
• 10 years of hands-on experience designing and developing transition plans between several next generation systems from legacy systems on time and under budget.
• 8 years experience managing teams across multiple global locations (UK, Ireland, France, Germany, Brazil, and Australia)
• Successful collaboration with executive teams on strategic business models, identifying technology solutions, and managing the successful execution of the technology initiatives.
• Diverse technology expertise
• Selected by Keybridge L.L.C. CEO to be a member of corporate advisory board.
• Selected to be Advisor to the Tides foundation, the largest US Non-Profit Organization.
• Founded Neopolitan Networks in 2001, developing target markets, evaluation of wireless broadband solutions, product definition and business plan development which lead to its funding in January 2002 by Oakstone Venture Partners.
• In 2002, founded Starvine Corporation, as CTO, to lead product development, market focus, and competitive analysis. Delivering a prototype in January 2003.
• Marketing and product development experience: Managed internal/external teams of creative designers, writers, and web architects.


PROFESSIONAL HISTORY AND HIGHLIGHTS

Chief Technology Officer, BranchIt Corporation, 2004-Current
• Complete development of a Data Mining / Social Networking Platform
• Integration with Microsoft and WebDAV products
• Established 3 tier architecture to scale to 100+ Million relations
• Developed internal interaction processes for QA, engineering and operations.
• Opensource development platform based on best of breed technologies (PHP/MySQL)


Chief Technology Officer, Telecom Italia Mobile USA, 2003-2004
• Managed a team of 50 engineers in 2 countries. Supervising software development, operations, customer care and research and development for a network of 17 carriers in 10 countries.
• Reorganization of team to remove legacy structures, resulting changes resulted in higher performance with reduced headcount to meet board of directors profitability expectations.
• Established a formalized internal product pipeline.
• Developed internal interaction processes for QA, engineering and operations.
• Removal of single points of failure from the infrastructure and the applications.
• Managed mergers and acquisitions as well as strategic partnerships.
• Development and deployment of STK and J2me based applications. R&D with Brew and Symbian applications.
• 99.9% availability for high throughput telecom grade java based applications.

Chief Technology Officer, Estee Lauder Companies, 1999-2001
• Built and managed a division of 42 team members, including four directors. Supervised software development, operations, website design, and quality assurance.
• Managed the successful development and deployment of 16 media and ecommerce sites
• Identified and met technology goals for the company based on long-term product and profitability goals.
• Deployed the core infrastructure for the ELC online website including development and integration of accounting, supply chain management, fulfillment, ecommerce, and reporting systems on the ATG Dynamo java based (J2EE) application server.
• Key player in Gloss's acquisition by Estee Lauder Companies.

Vice President of Operations and Engineering, Knowledge Universe, 1998-1999
• Managed a team of 12 employees, including one director, and one manager.
• Participated on the KU acquisition team led by Michael Milken, that manages a $.5 B account funded by Michael Milken, Rupert Murdoch and Larry Ellison.
• Built and managed the operations team, merging the IT operations of KU's 20 companies under a unified IT facility of the parent corporation including redundancy and disaster recovery plans.

Director of Network Engineering, Netscape Communications, 1996-1998
• Hands-on management experience includes: four engineers in three countries supervising website operations, infrastructure engineering, and site design; Netscape's Network Engineering and Website Architecture teams; global website infrastructure expansion and maintenance; network peering agreements and partnerships.
• Strategic engineer for new technology discovery and implementation. Implemented IP Next Generation for the Netscape website, as well as Topological DNS (network traffic localization) and SONET/OC3/OC12 technologies. Responsible for the core systems, such as e-mail, calendar programs, Internet connectivity, and general infrastructure systems.
• Managed Netscape's extranet hosting initiative for companies like Ford Motor Company
• Built and implemented a global disaster recovery plan using pioneering technology.

Chief Technical Officer, Inex L.L.C. (Internet Technology Incubator) 1994-1996
• Managed a team of five engineers.
• Led product engineering, operations, and project development.
• Led the engineering and operational support of Inex incubated ideas including:
o An Internet service provider and services hosting Internet based training and education.
o Satellite Internet network services (partnered with Comsat).
o Managed the sale of all incubated ideas and finalized the sale of the company model to Troy Systems in Washington D.C.


Backbone/Core Network and Systems Engineering, Global One/ Sprint 1994-1996
• Core Engineer in team successfully deploying the first global Internet backbone.
• Developed global network architecture design and deployment.
• Developed support systems, network monitoring and customer services (News, Mail, and Domain Name Services) development and deployment.

EDUCATION

George Mason University
MS in Computer Science
Research: The C3 Constraints Object-Oriented Database System

Emory and Henry College
Bachelor of Arts
Major: Computer Science
Minor: Sociology

PROFESSIONAL AFFILIATIONS:
Internet Engineering Task Force (IETF)
North American Network Operators Group (NANOG)
Bay Area Wireless Users Group (BAWUG)

TECHNOLOGY EXPERIENCE:
Technology expertise includes but is not limited to ATG Dynamo, WebLogic, Blue Martini, Oracle, Peoplesoft, C++, C, SQL, Perl, PHP, Java, UNIX, Linux, Solaris, BSD, Irix, AIX, Windows NT, Cisco, BGP, OSPF, ISIS, 802.11a/b, 802.16, and 802.1x.


The SkateMag

I got my photo in the SkateMag, years of skating never paid off, but a few beers with a friend did

http://www.netreveal.com/ddalton/images/2006/03/mag-thumb.jpg

Getting WebDAV to Work with Calendar

I have a series of bars in San Francisco and I want to share our daily calendars for events, new projects etc... so I started looking at iCal using WebDAV and Sunbird or Calendar.

After following all of the install directions from :

http://www.webdav.org/mod_dav/install.html

I ran into some problems. First off installing apache mod_dav for multi users requires a lock files.... none of this is directly stated anywhere so when you add :

DAVLockDB /var/db/DAVLock

to your httpd.conf it really means two files under /var/db :
DAVLock.dir
DAVLock.pag

and they both must be in your www user/group and you must create them

As for your config, in the apache docs it never explicited tells you whether to put DAV On in a Directory or Location tab, I used a directory tab and it works well:

DAV On
AuthType Basic
AuthName DAV
AuthUserFile /home/stuff/.htpasswd

require user admin

The last item that tripped me up was that calendar does create blank ics files... so you need to create a blank calendar file with the permissions for your webserver, for example doug.ics would have :
BEGIN:VCALENDAR
END:VCALENDAR

If you dont have that and you have a blank file instead calendar will say its invalid.