Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dnsflood (0.11 sec)

  1. src/net/main_test.go

    	testHookUninstaller sync.Once
    )
    
    var (
    	testTCPBig = flag.Bool("tcpbig", false, "whether to test massive size of data per read or write call on TCP connection")
    
    	testDNSFlood = flag.Bool("dnsflood", false, "whether to test DNS query flooding")
    
    	// If external IPv4 connectivity exists, we can try dialing
    	// non-node/interface local scope IPv4 addresses.
    	// On Windows, Lookup APIs may not return IPv4-related
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/net/lookup_test.go

    		}
    		if a != tt.Reverse {
    			t.Errorf("#%d: expected %q, got %q (reverse address)", i, tt.Reverse, a)
    		}
    	}
    }
    
    func TestDNSFlood(t *testing.T) {
    	if !*testDNSFlood {
    		t.Skip("test disabled; use -dnsflood to enable")
    	}
    
    	defer dnsWaitGroup.Wait()
    
    	var N = 5000
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		// On Darwin this test consumes kernel threads much
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top