[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maradns-list
Subject:    Re: Patch
From:       e8mhpsznamq001 () sneakemail ! com
Date:       2002-05-22 22:31:49
[Download RAW message or body]

Franky,

Seems like great minds think alike; follows is what I have
already done with the 0.9.34 tree.

(Yes, I shouldn't have the socket open too long.  Deferred 
 until post-1.0.00, due to pre-1.0.00 lazyness)

As for the improved spammers handling, I think that will
also be deferred until post-1.0.00.

As to the compiler warnings, that is something I need to
fix before 1.0.00.

- Sam (not looking forward to rewriting the decompressor,
       but understanding why it has to be done)

diff -ur maradns-0.9.33/parse/ParseMaraRc.c maradns-0.9.34/parse/ParseMaraRc.c
--- maradns-0.9.33/parse/ParseMaraRc.c  Tue May 21 04:04:46 2002
+++ maradns-0.9.34/parse/ParseMaraRc.c  Wed May 22 15:05:11 2002
@@ -969,6 +969,8 @@
     if(!error)
         *errorret = 0;
 
+    js_close(file);
+
     return JS_SUCCESS;
     }
 
diff -ur maradns-0.9.33/server/recursive.c maradns-0.9.34/server/recursive.c
--- maradns-0.9.33/server/recursive.c   Tue May 21 08:41:39 2002
+++ maradns-0.9.34/server/recursive.c   Tue May 21 15:49:27 2002
@@ -1394,10 +1394,10 @@
 
     /* Create a UDP client socket */
     if((s = socket(AF_INET,SOCK_DGRAM,0)) == -1) {
-        if(rlog_level >= 4) {
+        if(rlog_level >= 2) {
             write_lock();
             show_timestamp();
-            printf("Failure creating socket\n");
+            printf("WARNING: Failure creating socket\n");
             write_unlock();
             }
         goto cleanup;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic