From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1754375331; bh=aQhkky0uX64iOxpbi4XbbCF2342Vj0xZROStqDH7GEc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding:Message-ID:Date:From: Reply-To:Subject:To:Cc:In-Reply-To:References:Resent-Date: Resent-From:Resent-To:Resent-Cc:User-Agent:Content-Type: Content-Transfer-Encoding; b=oLUk/tjuqlHg3+728VJ7y8brpMAR965YB8NCqNgAxqt0Zl/y/kp153lXtAAwz5tWI MiXA11pjSbnYPpsFaWgXA19lnfS0hZ6RgC3n11/xLpep8x9v7E5r/FmZ/Jr4wBd2hJ GAYZaq70GuTWGZuO01DiRFph7HHhr1kjZzkakhtnzotwxz3QJchDrWI/jiLhDMDcK+ MCHsSv/sZ56D2hXiM7NSDpIHCeza4Hkac3AkEMvXmLpmIu2Cz1pMaBW7yEDO2eAnfr psdr130u2bL4BJwXkc7ZPSv5btrEBzB9NPCEMFbdbP4FpSLcZrFVdTY0JNRAn4eFPc FQxeWb9Wgmg8w== Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 3CA41312801B for ; Tue, 5 Aug 2025 06:28:51 +0000 (UTC) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-55b87e13a85so5011111e87.3 for ; Mon, 04 Aug 2025 23:28:51 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWmLpxmBoTTzPlO0nAvOyA6gKj1r2mVZqK3Vh2ND92BCckwObqYRVOTm/Ozf1t0bm4Q9kMR@vger.gnuweeb.org X-Gm-Message-State: AOJu0YwkEF6b3MB3VRShac+gE7NbnlMXCQi7uFMVt2cJU/JkzWuVfbsd s+O0nK09xjpTjuMSSyXC/3N9cA4xS0tIcxh7NO8K3+3KCZYoyhTePGdFStmxDMHMw/PpAVE900X dzaW5DA3LExqMYeHrE/uKXYX17x908ho= X-Google-Smtp-Source: AGHT+IF7EwlW1Jgfhj43bFjrL3CU3Wuv7K15HxD1T6qpxaqtfZf4y2aKLYdnaUuk95eiJ1PXxHNczceP81EhMYTgnVM= X-Received: by 2002:a05:6512:1107:b0:55a:301d:7df4 with SMTP id 2adb3069b0e04-55b97aa8c68mr2858523e87.21.1754375330588; Mon, 04 Aug 2025 23:28:50 -0700 (PDT) MIME-Version: 1.0 References: <20250731030856.366368-1-reyuki@gnuweeb.org> In-Reply-To: From: reyuki Date: Tue, 5 Aug 2025 13:28:13 +0700 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXwBSnRjIZbnSOTWAKWHhGuPITVDY7WOJufz86FcvEg0fw3ZUoZJmlZ_RLE Message-ID: Subject: Re: [PATCH gwproxy v1 0/3] Initial work for DNS lookup implementation To: Ammar Faizi Cc: Alviro Iskandar Setiawan , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: On Fri, Aug 1, 2025 at 9:19=E2=80=AFAM Ammar Faizi wrote: > The socks5 lib can do that. Why the DNS lib not? In the case of the SOCKS5 lib, it focuses on parsing, and all network-relat= ed tasks are handled directly by the caller. That=E2=80=99s why I was a bit co= nfused at first. But wait=E2=80=94I think I=E2=80=99ve figured it out. I got an idea, I just= need some time to think it through. Thanks for helping me think through the problem. I can make the DNS lib behave similarly. Instead of delegating the tasks directly, I can provide an interface that helps the caller handle the socket-related work. Sorry for the late reply=E2=80=94I=E2=80=99ve been feeling a bit out of con= trol lately. My mind keeps telling me to finish this as fast as possible, but when I don= =E2=80=99t understand something, I get easily frustrated and end up watching anime to distract myself, instead of calmly working through the problem. I really need to fix that mindset. Anyway, just give me a moment=E2=80=94I=E2=80=99ll send the patches shortly= . -- Ahmad Gani