HP3000-L Archives

September 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
James P Hofmeister <[log in to unmask]>
Reply To:
Date:
Sat, 13 Sep 2003 04:35:04 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Hello Gavin,

RE FTP IP addressing bug?

Your enthusiasm raised my curiosity...  I took a look at the "name to ip" and "ip to name" resolution routines and found we are extracting the the ip parts with 'ultoa'.

  strcpy(qbuf, ultoa((unsigned)addr[3] & 0xff));

It appears to me that the '0xff' definition of this ultoa is stripping the leading bits off of any number greater than $ff = 255.  I will have to look into this further to determine it's functionality,  but I was surprised that the MPE resolver is working differently than HP-UX 11.0 as the resolver code is a direct port from HP-UX with few changes, mostly MPE'ism's (opening files RESLFCNF.NET.SYS, HOSTS.NET.SYS & NSSWITCH.NET.SYS as examples).

Regards,

James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.

________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2