Kaoutsis> Hi to all, > > i found very interesting testing networking with > the rsync program from http://rsync.samba.org > I have successfully test my local network > with ftp from a r5 machine to haiku: transferring > a small file from r5 to haiku (gawk) > Note that both machines using RTL-8139 > > rsync is a program that behaves in much the same way that rcp does. > There are two different ways for rsync to contact a remote system: > using a remote-shell program as the transport (such as ssh or rsh) or > contacting an rsync daemon directly via TCP. > In this case you will directly connect to a remote rsync daemon, > typically using TCP port 873. > > I have downloaded and built for haiku, rsync version 2.6.9 > (with small changes to the source code) in order to > use the daemon feature. NO openssh, no openssl required. > > Follow some kernel-messages from the serial debug output: > DAEMON 'rsyncd'[212]: rsyncd version 2.6.9 starting, listening on > port > 873 > DAEMON 'rsyncd'[230]: rsyncd version 2.6.9 starting, listening on > port > 873 > DAEMON 'rsyncd'[230]: bind() failed: Permission denied (address- > family > 1) > DAEMON 'rsyncd'[230]: unable to bind any inbound sockets on port 873 > DAEMON 'rsyncd'[230]: rsync error: error in socket IO (code 10) at > socket.c(478) [receiver=2.6.9] > KERN: INIT : init system info > KERN: INIT : init SMP > KERN: INIT : init timer > KERN: INIT : init real time clock > KERN: INIT : init semaphores > KERN: INIT : init VM semaphores > KERN: INIT : init driver_settings > KERN: INIT : init generic syscall > KERN: INIT : init cbuf > KERN: INIT : init teams > KERN: INIT : init threads > KERN: INIT : init ports > KERN: INIT : init kernel daemons > KERN: apm_init() > KERN: code32: 0xf000, 0xa3d0, length 0xffff > KERN: code16: 0xf000, length 0xffff > KERN: data: 0x40, length 0x100 > KERN: INIT : init VM threads > KERN: INIT : init ELF loader > KERN: INIT : init scheduler > KERN: INIT : init VFS > [...] > > i have two questions: > a) Do we support listing on port 873? > Making possible to test the rsync? > > b) How the rsync program started automatically? > i have not made any special settings, and the > executable is sitting to /boot/beos/bin folder? > How this happens? > Replying to myself: That would also be a joke: the daemon is awake, and the kernel is sleeping:) That was obviously from the syslog. The a) still remains, or may be not? Bye, Vasilis