<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2>Oops.  Looks like I missed the obvious 
(again!).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2>bb accepts a message of type "client".  What do you 
bet I've answered my own question here? (again!)  I think I'll try a 
"client" message, and I bet I'll be pleasantly 
surprized.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2>And if anyone wants to know the answer to the question 
running around in your minds ... YES, it does hurt to be this stupid!  
Ouch!  ;-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=832040602-23062007><FONT face=Arial 
color=#0000ff size=2>Thanks</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Haertig, David F (Dave) 
[mailto:haertig@avaya.com] <BR><B>Sent:</B> Friday, June 22, 2007 7:27 
PM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] hobbitfetch 
replacement with ssh<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>I'm still thinking 
about my hobbitfetch/msgcache replacement I asked about a few weeks ago.  
Using only ssh from the Hobbit server.  Client machine is out in DMZ, thus 
unable to talk to Hobbit server.  I cannot run a listener (msgcache) 
on the client (policy reasons, not technical ones).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>Here are my 
thoughts.  Maybe someone can expand on them or suggest a different 
approach.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>(1) Run normal 
Hobbit client on DMZ machine.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>(1a) Client 
appears to collect data just fine into 
~hobbit/tmp/msg.XXX.txt</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>(1b) Client 
would try to connect to Hobbit server to transmit this file, and fail.  
Fine.  Let it fail.  It appears to do so 
gracefully.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>Question: Any 
simple way to make it stop trying to connect and still behave gracefully?  
chmod 000 ~hobbit/bin/bb?  Change BBDISP="" in 
~hobbit/etc/hobbitclient.cfg?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>(2) Create a Hobbit 
server script to use socks/ssh to retrieve that 
~hobbit/tmp/msg.XXX.txt file from the client machine (it's trivial to write 
such a thing)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>(3) Have this server 
script feed the raw data retrieved in step (2) into the Hobbit listener (which 
would be localhost:1984), such that it appears to the Hobbit listener the data 
came in from the client computer in the normal manner.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>Step (3) is what I 
don't quite know how to implement yet.  I'm familiar with using the bb 
command to send messages, but those are formatted messages, not raw data as 
would be present in the retrieved msg.XXX.tmp file.  I want to assure that 
the guts of the Hobbit server processes this proxied client raw data just as if 
the client had sent it instead of my custom server script.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=297365900-23062007>Is there 
some trivial way to accomplish (3) that I'm just missing searching through 
the man pages?  I could have my custom server script parse the raw 
data itself and then create individual Hobbit messages (to send via the bb 
command), but that sounds like I'd be reinventing the wheel.  Hobbit server 
processes already know how to parse this data ... if I could just tap into that 
part of it.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=297365900-23062007>Thanks!</SPAN></FONT></DIV></BODY></HTML>