help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copying files hangs behind NAT


From: Adrian Phillips
Subject: Copying files hangs behind NAT
Date: 23 Apr 2002 12:56:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

I'm using cfengine to setup user mode linux
(http://user-mode-linux.sourceforge.net/) "hosts" which sit behind the
host linux which is running NAT. Doing a copy hangs it seems because
when running NAT and SkipVerify the host and username are not
defined. The following patch fixes this problem but I've not figured
out why the RefuseAccess call is not being received correctly by
cfagent (perhaps the fact that username is not set ?).

--- cfengine-2.0.0/src/cfservd.c~    Fri Mar  8 12:24:28 2002
+++ cfengine-2.0.0/src/cfservd.c     Tue Apr 23 10:43:08 2002
@@ -1591,6 +1591,11 @@
    {
    snprintf(conn->output,bufsize*2,"Allowing %s to connect without checking ID 
(NAT)\n",ip_assert);
    CfLog(cfinform,conn->output,"");
+   Verbose("Host ID is %s\n",dns_assert);
+   strncpy(conn->hostname,dns_assert,maxvarsize);
+ 
+   Verbose("User ID seems to be %s\n",username); 
+   strncpy(conn->username,username,maxvarsize);
    return true;
    }
  

Sincerely,

Adrian Phillips

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]