On Thu, 2005-06-09 at 19:17 +0200, Blaisorblade wrote: > On Thursday 09 June 2005 18:53, antoine wrote: > > On Thu, 2005-06-09 at 17:31 +0100, antoine wrote: > > > > > Now, if someone could have a look at hppfs I could resurect my > > > > > honeypots. > > > > > > > > I've not the time, however test the attached patches. The first one > > > > fixes the basical bugs; the second one could be needed to fix a fd > > > > leak... but I don't think it's needed at all, so test with only the > > > > first and let me know if the 2nd is needed, or if there are any > > > > problems (in that case, a ready-to-use hppfs configuration + > > > > explaination would be happily accepted, I've really little time now). > > > > > > Works fine with just the first patch. Thank you very much! > > > > Small correction: local file override works fine (files in the host's > > fake proc appear in the guest's /proc) > That is allowed, too? The daemon uses normal files only to forcibly "remove" > entries, while it uses sockets for the rest. AFAIK That has always been the case. I was using it to hardcode the cpuinfo and cmdline shown in honeypots.
> Also, have you tested if it's the chroot and/or SELinux interacting? The > daemon communicates through a Unix domain socket when host contents are > supplied ... the base path is $ARGV[0], i.e. the first parameter... Yep, I was running this instance outside of the chroot for now (because of the libcap lib dependency) and not where the honeypot.pl expected it. Also, the path was wrong chroot/proc/proc, 'lsof' showed me what I was doing wrong, but it still isn't working as expected - more on this later. BTW, I copied /lib/libnss* to the chroot but the pcap interface does not come up: ifconfig eth1 0.0.0.0 promisc up SIOCSIFFLAGS: No such device SIOCSIFFLAGS: No such device So something else must be missing... Any ideas? Antoine ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel