diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-03 06:39:31 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-03 06:39:31 +0000 |
commit | 354e14d45e60032367b8e7e4977e0035757b9949 (patch) | |
tree | 86a60b9c4c5d291ebf1410bb616b07abfadffe8b /security/drweb/files | |
parent | Add a patch to fix a potential security hole (any shell scripts in uuencoded (diff) |
Configuration tuning
Notes
Notes:
svn path=/head/; revision=48382
Diffstat (limited to 'security/drweb/files')
-rw-r--r-- | security/drweb/files/drwebd.sh | 3 | ||||
-rw-r--r-- | security/drweb/files/ini-patch | 50 |
2 files changed, 52 insertions, 1 deletions
diff --git a/security/drweb/files/drwebd.sh b/security/drweb/files/drwebd.sh index ed9be3b62f77..bfffe8b64255 100644 --- a/security/drweb/files/drwebd.sh +++ b/security/drweb/files/drwebd.sh @@ -9,11 +9,12 @@ start) if [ -x $drwebd ]; then echo -n ' drwebd' $drwebd + /bin/chmod 660 /var/run/drwebd.sock fi ;; stop) /usr/bin/killall drwebd - /bin/rm -f /var/run/drwebd + /bin/rm -f /var/run/drwebd.sock echo -n ' drwebd' ;; *) diff --git a/security/drweb/files/ini-patch b/security/drweb/files/ini-patch new file mode 100644 index 000000000000..b0a32e91ae06 --- /dev/null +++ b/security/drweb/files/ini-patch @@ -0,0 +1,50 @@ +--- drweb32.ini-tmpl.orig Wed Oct 3 10:27:06 2001 ++++ drweb32.ini-tmpl Wed Oct 3 10:31:53 2001 +@@ -5,7 +5,7 @@ + + [BSD] + Key = "__INSTALL_DIR__/drweb.key" +-LogFileName = "/var/log/drweb.log" ++LogFileName = "/dev/null" + RenameFilesTo = #?? + FilesTypes = EXE,COM,SYS,OV?,BAT,BIN,DRV,PRG,BOO,SCR,CMD,VXD,386,DLL,FON,DO? + FilesTypes = XL?,WIZ,RTF,CL*,HT*,VB*,JS*,INF,AR?,ZIP,R??,PP?,OBJ,LIB,HLP,MD? +@@ -37,7 +37,7 @@ + PromptOnAction = No + PromptFloppy = No + LimitLog = No +-MaxLogSize = 512 ++;MaxLogSize = 512 + OutputMode = Color + FollowLinks = No + +@@ -47,22 +47,23 @@ + FilesTypes = XL?,WIZ,RTF,CL*,HT*,VB*,JS*,INF,AR?,ZIP,R??,PP?,OBJ,LIB,HLP,MD? + FilesTypes = INI,MBR,IMG,CSC,CPL,MBP,SHS,SHB,PIF + LogTime = Yes +-LogFileName = "syslog" ++LogFileName = "/var/log/drwebd.log" + ;BusyFile = "/var/run/drwebd.bsy" +-SocketMode = TCP +-;SocketMode = Unix ++;SocketMode = TCP ++SocketMode = Unix ++SocketFile = "/var/run/drwebd.sock" + DaemonPort = 3000 + SocketTimeout = 40 + SocketReuseAddr = Yes + FileTimeout = 40 +-OutputMode = Terminal +-LimitLog = No ++OutputMode = Quiet ++LimitLog = Yes + MaxLogSize = 512 + LogScanned = Yes + LogInfo = Yes + LogPacked = Yes + Interfaces = "localhost" +-;User = drweb ++User = root + ;UserID = + ;GroupID = + ScanFiles = All |