search for: lp_hosts_allow

Displaying 5 results from an estimated 5 matches for "lp_hosts_allow".

2004 Jan 28
1
rsync error using ssh : @ERROR: access denied to server.domain.com from unknown (0.0.0.0) {Scanned By MailScanner}
I use rsync to mirror several servers. I run RH7.3 My rsyncd.conf file is: motd file = /etc/rsync.d/rsync.motd log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock hosts allow = 10.1.2.200 10.1.2.201 hosts deny = 0.0.0.0/0.0.0.0 use chroot = yes max connections = 3 #syslog facility = [website] path = /var/www/website comment = Connex Live WWW
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...oes increase the nice as requested. --- clientserver.c.orig 2007-08-19 07:36:59.000000000 +0000 +++ clientserver.c 2007-08-20 00:47:10.000000000 +0000 @@ -283,6 +283,7 @@ int ret, pre_exec_fd = -1; pid_t pre_exec_pid = 0; char *request = NULL; + int niceval; if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) { rprintf(FLOG, "rsync denied on module %s from %s (%s)\n", @@ -559,6 +560,29 @@ am_root = (MY_UID() == 0); } + /* If the user provided a nice increment to lower the priority, + * do it here. Negative nice not allowed, and we rely on the OS + * to quietl...
2002 Jun 18
2
rsyncd + scripting
Hey all, Like a lot of folks, I use rsync to pull content out to production web servers. Tastes great, less filling. Here's what I'd like to be able to do: Sometimes a web tree is not ready to sync, for whatever reason. I have many modules available, so stopping ryncd is not an option. I'd like to be able to tell rsync in daemon mode "this particular module is not available at
2001 Nov 20
2
rsync server over SSH [includes code patches]
...char *addr = client_addr(fd); ! char *host = client_name(fd); char *name = lp_name(i); int use_chroot = lp_use_chroot(i); int start_glob=0; int ret; char *request=NULL; extern int am_sender; extern int remote_version; extern int am_root; if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) { rprintf(FERROR,"rsync denied on module %s from %s (%s)\n", ! name, client_name(fd), client_addr(fd)); ! io_printf(fd,"@ERROR: access denied to %s from %s (%s)\n", ! name, client_name(fd), client_addr(fd)); return -1; } if (!cla...
2007 Sep 22
0
rsync build on IA64 using icc
...^ clientserver.c(53): remark #1419: external declaration in primary source file extern struct filter_list_struct server_filter_list; ^ clientserver.c(287): remark #981: operands are evaluated in unspecified order if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) { ^ clientserver.c(287): remark #981: operands are evaluated in unspecified order if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) { ^ clientserver.c(305): remark #981: operands are evaluated...