/etc/hosts.allow & /etc/hosts.deny

2017-02-01 Thread Roba
Has anything relating to those files changed between jessie and stretch to affect cups being blocked? Would a line in the allow file ALL: localhost:631 help or is the syntax incorrect?

Re: Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Lou
Hello Clive Thanks for pointing me to to ipcalc, I noticed smb.conf has a commented entry for 127.0.0.0/8 This would cover the whole local subnet: HostMin: 127.0.0.1 HostMax: 127.255.255.254 Does it make sense to cover more than 127.0.0.1 and 127.0.1.1 in /etc/hosts.allow ? I don't kn

Re: Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Lou
Thanks for clearing this up Juan and Shawn. I noticed I could change smbd to run in inetd mode if I flip the switch in /etc/default/samba, but I don't known how this would improve things, eventually create new drawback in cifs performance ... so I'll keep it as it is with additional smb.conf e

Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Clive Standbridge
Hi Tuxoholic, [...] > With this smb.conf tweaking it works fine, but why could smbd/nmbd run past > /etc/hosts.allow and /etc/hosts.deny without those lines in smb.conf? Already answered by Juan Sierra Pons. > To my limited CIDR understandig a /32 mask should restrict access to > 192.168.2.0.

Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread shawn wilson
Juan is correct. However my two cents - don't rely on hosts.allow and hosts.deny for anything. Just use iptables rules to do this type of thing. Also, most don't consider samba to be a very secure service (last CVE was only a few weeks ago) so be very careful with this service. On Apr 26, 2012 5:3

Re: How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Juan Sierra Pons
2012/4/26 Tuxoholic : > hi list > > Can somebody explain why smbd and nmbd are not affected by the following > strict ruleset in /etc/hosts* ? > > /etc/hosts > 127.0.0.1       MYHOSTNAME localhost.localdomain localhost > 127.0.1.1       MYHOSTNAME > 192.168.2.10    MYSERVER > > cat /etc/hosts.allow

How /etc/hosts.allow /etc/hosts.deny and smb.conf play along

2012-04-26 Thread Tuxoholic
hi list Can somebody explain why smbd and nmbd are not affected by the following strict ruleset in /etc/hosts* ? /etc/hosts 127.0.0.1 MYHOSTNAME localhost.localdomain localhost 127.0.1.1 MYHOSTNAME 192.168.2.10MYSERVER cat /etc/hosts.allow #ALL: localhost 127.0.1.1 192.168.2.0/2

Re: /etc/hosts.allow & /etc/hosts.deny question

2002-11-07 Thread Q. Gong
On Thu, 7 Nov 2002, Benedict Verheyen wrote: > Hi, > > i have some problems setting up ssh connection (not the scope of this email though >not yet :-) and i came across the /etc/hosts.allow & /etc/hosts.deny files. > > Now, i saw in some documents about ssh that they

Re: /etc/hosts.allow & /etc/hosts.deny question

2002-11-07 Thread Colin Watson
On Thu, Nov 07, 2002 at 12:18:09PM +, Benedict Verheyen wrote: > Now, i saw in some documents about ssh that they add "sshd: all" to the > /etc/hosts.allow file. Am i correct that these 2 files are only used > when you have inetd enabled and that they otherwise serve no purpose? > So if i don't

/etc/hosts.allow & /etc/hosts.deny question

2002-11-07 Thread Benedict Verheyen
Hi, i have some problems setting up ssh connection (not the scope of this email though not yet :-) and i came across the /etc/hosts.allow & /etc/hosts.deny files. Now, i saw in some documents about ssh that they add "sshd: all" to the /etc/hosts.allow file. Am i correct that the