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_DBL_BLOCKED_OPENDNS, 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=1755795029; bh=+l0Xvas1vpziAQzvYnMO4fi/PuA3Pb/iekCh680SiH0=; 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=nulX40et7hBILXBiPEa3zpwrMVlpIZ+PRUfqJNPnxNepLmJy//zZGfU3loyUnfGFn a22Forl8AFgWeWezz4HVsc1FXsuw3uK+JGUo2FG4xEdHYn9xTOMSTaCilOWLeX1EoS 3rseA5RQEcbFQtvWB0d2Zb1oM2qf916eAMMSCMdsy9PqtjcSfU9kD/hz7f6gDUmcm6 tablDdVc+aMgtVYG/lGRSoKvVXAE1Qjjxh0jjHEOef1drl8GVQYO3C73aTgHbPU6xr Yypkak+ethcOZ9tQAmGcYvNV/zQWnbAtVIuvBKwxLqZ6FGripobRRtw1vMzRpG3jOK 1W9KlluaffbwQ== Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id BE05231280C3 for ; Thu, 21 Aug 2025 16:50:29 +0000 (UTC) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-323267bcee7so1566586a91.1 for ; Thu, 21 Aug 2025 09:50:29 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWMWcvbJNwYk2N8N722Bh3I4kR2mP4IajZO/MiYUeS6uqIweAUG76FTxbmOYZlegRgXiFzD@vger.gnuweeb.org X-Gm-Message-State: AOJu0Yw/tBBlu4T3D/mjhT6KYm8xc5uk4AtLmOAVw7czqAC4CpknP3vq GSJgsNsvD1HUo4hbvl6ZKKDJuaFx/eUXE+Z+WZfjHGEiI/qssk0lXYFxNglxUPDLA10Sb79lRx5 k5/gdfyFLay06HvAgIHalN2cPn2YSHsM= X-Google-Smtp-Source: AGHT+IGT3LZuYvGLnaOqXVrVOlkborJm4Eu+BedtIyBkYDtrXierQN+vlBco9qAbgShmLJOvWlHJvj4+gRo/TR9RSLc= X-Received: by 2002:a17:90a:d60d:b0:324:e3cc:d224 with SMTP id 98e67ed59e1d1-32515ee54c6mr247052a91.4.1755795028156; Thu, 21 Aug 2025 09:50:28 -0700 (PDT) MIME-Version: 1.0 References: <20250814044658.252579-1-reyuki@gnuweeb.org> <20250814044658.252579-3-reyuki@gnuweeb.org> <20250816160303.GA144043-ammarfaizi2@gnuweeb.org> In-Reply-To: From: Alviro Iskandar Setiawan Date: Thu, 21 Aug 2025 23:50:16 +0700 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXxYWAtQCMCx5Q1TGZmYAhzGsxJjj98TQfkf8hwbO0UfxtslCTUfrnfIHPg Message-ID: Subject: Re: [PATCH gwproxy v5 2/2] dnsparser: Add dns parser code To: Ahmad Gani Cc: Ammar Faizi , "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: On Sat, Aug 16, 2025 at 11:30=E2=80=AFPM Ahmad Gani wrote: > So, It=E2=80=99s still a WIP. > > Here=E2=80=99s the gist of how I integrated the parser: > - A non-blocking UDP socket file descriptor is created each time > `gwp_dns_queue` is called. > - A standard DNS query packet is sent over the network through that socke= t. > - The UDP socket file descriptor is registered with epoll. > - On epoll notification, the response is received. > - The response is parsed and returned as a reply to the SOCKS5 > `CONNECT` command. Do you have a git tree for the public to fetch your WIP? I've just been back to my home. I'd like to take a look into it. I may also continue the work if you don't have time. I am free for the rest of the week, so I'll use it to tackle this one.