Hi all, I have /etc/rsync.conf setup to allow only certain systems to access but it seems rsync server does not read my /etc/rsync.conf as it does allow other systems access as well. Please advise what I need to do. ** My /etc/rsync.conf hosts allow = 66.60.10.1 use chroot = false strict modes = false max connections = 3 lock file = /var/adm/rsync.lock log file = /var/adm/rsyncd.log pid file = /var/adm/rsyncd.pid timeout = 600 refuse options = delete Thanks, David -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
On Thu, Dec 15, 2005 at 05:35:53PM -0600, David Nguyen wrote:> I have /etc/rsync.conf setup to allow only certain systems to access > but it seems rsync server does not read my /etc/rsync.conf as it does > allow other systems access as well.You didn''t supply enough information to know for sure, but it might be that you''re using a remote-shell syntax instead of a daemon-mode syntax. If not, check the log file that the rsync daemon is using (which is presumably /var/adm/rsyncd.log) to see what info gets logged about each connection. Also, check to see if some existing rsync daemon is already running using a different config file (check ps). ..wayne..
Isn''t it rather ''rsyncd.conf'' ? Wayne Davison <wayned@samba.org> Sent by: rsync-bounces+webster=lexmark.com@lists.samba.org 12/15/05 07:06 PM To: David Nguyen <DNguyen@dallascounty.org> cc: rsync@lists.samba.org Subject: Re: rsync server does not read /etc/rsync.conf On Thu, Dec 15, 2005 at 05:35:53PM -0600, David Nguyen wrote:> I have /etc/rsync.conf setup to allow only certain systems to access > but it seems rsync server does not read my /etc/rsync.conf as it does > allow other systems access as well.You didn''t supply enough information to know for sure, but it might be that you''re using a remote-shell syntax instead of a daemon-mode syntax. If not, check the log file that the rsync daemon is using (which is presumably /var/adm/rsyncd.log) to see what info gets logged about each connection. Also, check to see if some existing rsync daemon is already running using a different config file (check ps). ..wayne..
Yes, I change it to rsyncd.conf but it still does not work. I run rsync command from remote client to copy files from server to client as shown. My configuration should not allow this client to access server but I still can run rsync from this client to get files from the server. client01$ rsync -rvcogtz --progress server01:/usr/local/apache-2.0.5/htdocs /usr/local Regards, David>>> <webster@lexmark.com> 12/16/05 7:52 AM >>>Isn''t it rather ''rsyncd.conf'' ? Wayne Davison <wayned@samba.org> Sent by: rsync-bounces+webster=lexmark.com@lists.samba.org 12/15/05 07:06 PM To: David Nguyen <DNguyen@dallascounty.org> cc: rsync@lists.samba.org Subject: Re: rsync server does not read /etc/rsync.conf On Thu, Dec 15, 2005 at 05:35:53PM -0600, David Nguyen wrote:> I have /etc/rsync.conf setup to allow only certain systems to access > but it seems rsync server does not read my /etc/rsync.conf as it does > allow other systems access as well.You didn''t supply enough information to know for sure, but it might be that you''re using a remote-shell syntax instead of a daemon-mode syntax. If not, check the log file that the rsync daemon is using (which is presumably /var/adm/rsyncd.log) to see what info gets logged about each connection. Also, check to see if some existing rsync daemon is already running using a different config file (check ps). ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
David, I hope you read Wayne''s reply (included below). Your command shows that you are using remote-shell syntax (single colon). Therefore the /etc/rsyncd.conf file will not be read since that is read only by an rsync daemon. Daemon-mode syntax uses a double-colon. Since rsync uses ssh (rsh prior to 2.6.0) to connect to the remote host, you will have to deny the client ssh access to the server to prevent them from running rsync (assuming you already have rsh access denied). John On Fri, 16 Dec 2005, David Nguyen <DNguyen@dallascounty.org> wrote:> Yes, I change it to rsyncd.conf but it still does not work. I run rsync command from remote client to copy files from server to client as shown. My configuration should not allow this client to access server but I still can run rsync from this client to get files from the server. > > client01$ rsync -rvcogtz --progress server01:/usr/local/apache-2.0.5/htdocs /usr/local > > Regards, > David > >>>> <webster@lexmark.com> 12/16/05 7:52 AM >>> > Isn''t it rather ''rsyncd.conf'' ? > > > Wayne Davison <wayned@samba.org> > Sent by: rsync-bounces+webster=lexmark.com@lists.samba.org > 12/15/05 07:06 PM > > > To: David Nguyen <DNguyen@dallascounty.org> > cc: rsync@lists.samba.org > Subject: Re: rsync server does not read /etc/rsync.conf > > On Thu, Dec 15, 2005 at 05:35:53PM -0600, David Nguyen wrote: >> I have /etc/rsync.conf setup to allow only certain systems to access >> but it seems rsync server does not read my /etc/rsync.conf as it does >> allow other systems access as well. > > You didn''t supply enough information to know for sure, but it might be > that you''re using a remote-shell syntax instead of a daemon-mode syntax. > If not, check the log file that the rsync daemon is using (which is > presumably /var/adm/rsyncd.log) to see what info gets logged about each > connection. Also, check to see if some existing rsync daemon is already > running using a different config file (check ps). > > ..wayne.. > > > -- > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html