STAF currently requires that it can successfully do a reverse lookup on 
the hostname. This is important for people using DHCP as the dynamic IP 
address changes often so some people need to use the host name to 
determine the STAF trust level, etc. We have an open feature request, 
#1346181 "Add option to make STAF _NOT_ lookup hostname", that we'll look 
at implementing sometime in the future. If that feature would be helpful 
to you, add a comment to it explaining why.  If you needed this feature 
implemented sooner, feel free to look at the STAF source code and 
implement a change to allow configuring STAF to disable hostname lookup 
and contributing it back to the project.

Note that if you are use a IP address when submitting a STAF service 
request, STAF initiailly makes the connection via the IP address.  But, 
once STAF is connected, it tries to fill in some data about the remote 
side, including its hostname (for which we do a DNS lookup).  This happens 
on both ends of the connection (i.e.g when STAFProc receives the 
connection, via an accept(), it will try to get the hostname of the client 
on the other side).  It seems reasonable enough on the client side to not 
do the hostname lookup if you specify the IP address to begin with.  But, 
I'm not sure what the best way would be for STAFProc to determine whether 
it should do the hostname lookup (perhaps via a configuration setting in 
STAF.cfg?)

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




"Sai Ram Purandhar-B22305" <b22...@freescale.com> 
02/18/2010 06:41 AM

To
<staf-users@lists.sourceforge.net>
cc

Subject
[staf-users] Need Suggestion






Hi,
 
I?m trying to test a gateway product with different networking protocols.
 
As STAF uses hostnames for end-end communication, it?s giving me hard time 
in testing the product where DNS is involved
 
Even if i automate, most of the time i had to do some system configuration 
manually.
 
Can any one suggest me some ideas?
 
I was thinking, how can i disable hostname lookup in STAF communication.
 
Thanks in advance,
Sairam
 
------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to