{"record":{"id":"a65b0ad98128f29e","repo":"projectdiscovery/nuclei","slug":"source-ip-s-is-not-associated-with-any-network","errorCode":null,"errorMessage":"source ip (%s) is not associated with any network interface","messagePattern":"source ip \\((.+?)\\) is not associated with any network interface","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/protocols/common/protocolstate/state.go","lineNumber":143,"sourceCode":"\t\t\t\t\tIP: net.ParseIP(options.SourceIP),\n\t\t\t\t},\n\t\t\t}\n\t\t} else {\n\t\t\treturn fmt.Errorf(\"source ip (%s) is not associated with the interface (%s)\", options.SourceIP, options.Interface)\n\t\t}\n\tcase options.SourceIP != \"\":\n\t\tisAssociated, err := isIpAssociatedWithInterface(options.SourceIP, \"any\")\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif isAssociated {\n\t\t\topts.Dialer = &net.Dialer{\n\t\t\t\tLocalAddr: &net.TCPAddr{\n\t\t\t\t\tIP: net.ParseIP(options.SourceIP),\n\t\t\t\t},\n\t\t\t}\n\t\t} else {\n\t\t\treturn fmt.Errorf(\"source ip (%s) is not associated with any network interface\", options.SourceIP)\n\t\t}\n\tcase options.Interface != \"\":\n\t\tifadrr, err := interfaceAddress(options.Interface)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\topts.Dialer = &net.Dialer{\n\t\t\tLocalAddr: &net.TCPAddr{\n\t\t\t\tIP: ifadrr,\n\t\t\t},\n\t\t}\n\t}\n\tif options.AliveSocksProxy != \"\" {\n\t\tproxyURL, err := url.Parse(options.AliveSocksProxy)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvar forward *net.Dialer","sourceCodeStart":125,"sourceCodeEnd":161,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/protocols/common/protocolstate/state.go#L125-L161","documentation":"Error \"source ip (%s) is not associated with any network interface\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/protocols/common/protocolstate/state.go:143 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}