svn commit: samba r2581 - in branches/SAMBA_4_0/source: lib/socket smb_server smbd

tridge at samba.org tridge at samba.org
Fri Sep 24 03:34:55 GMT 2004


Author: tridge
Date: 2004-09-24 03:34:55 +0000 (Fri, 24 Sep 2004)
New Revision: 2581

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2581&nolog=1

Log:
added "hosts allow" and "hosts deny" checking in smbd. I needed this
as my box keeps getting hit by viruses spreading on my companies
internal network, which screws up my debug log badly (sigh).

metze, I'm not sure if you think access.c should go in the socket
library or not. It is closely tied to the socket functions, but you
may prefer it separate.

The access.c code is a port from Samba3, but with some cleanups to
make it (slighly) less ugly.

Added:
   branches/SAMBA_4_0/source/lib/socket/access.c
Modified:
   branches/SAMBA_4_0/source/lib/socket/config.mk
   branches/SAMBA_4_0/source/lib/socket/socket.c
   branches/SAMBA_4_0/source/lib/socket/socket.h
   branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c
   branches/SAMBA_4_0/source/smb_server/service.c
   branches/SAMBA_4_0/source/smbd/service.c


Changeset:
Sorry, the patch is too large (481 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2581&nolog=1


More information about the samba-cvs mailing list