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,HTML_MESSAGE, 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=1755841439; bh=7Yd84lKHKxNvh8HCw0u4OzLDyCVPr0/QkaP/13qjqcw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type: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=CD5+J6jigzG+ZcQjPDUNWLE2Vc6fTPOS9ksqwhANIgeEZBCJTXHmat9DtAR1h5aCm Pea3YMGW1UxkUVEXziBxHnQ16JaDb/OU3dV8GNrImO5u8Z8FjGErgiRrbz9jvVy0YM Bi4SouGZOR3z9f7JmrV0FprfDJC8yMn0T/wcSp9V0MUnfkdCjRUMB7DjBVgVO3y9QT Qj2lKSSVt2NoLpLqlIf0s+URGhqhlcJljT8HMRwohRyrtRY1wOcDZfvfl6SzSfrB5y sMXYt6Dc9iY8JLJE7XKC5+hgYjJDP4Ar3j3R79JW3l7cLCZdnSmCIQhX4czbACcgo5 TZC4EQ8DICZtg== Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id A921C3127F50 for ; Fri, 22 Aug 2025 05:43:59 +0000 (UTC) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-333f8d24c6fso13019971fa.0 for ; Thu, 21 Aug 2025 22:43:59 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVIQYMzYVSn0k8emNHL9VkuiMCFAMqHBbHEPdWS5lMfHxrxnou8fXdPZIxPPPtFwq/AFl2b@vger.gnuweeb.org X-Gm-Message-State: AOJu0Yy3Juz4aR0CAHpRG6idLBjZi1t2AgvFp/4kbLhEnN2iF9Tpr3cr C1XqDFaTjNhiH9LsfUzYXLiiBB0wL1dN/gzjtOnskHMrC3ZBhDppHeQ7kvNZ/dbvsoHF+G9o/UL M7TTRDfo2CJ8EnXbe7q/ow1A0gQoPSbQ= X-Google-Smtp-Source: AGHT+IEKf8Z7aP4rWrT48qsrowHt8u+PNo+KWcJZ4/TijlZ9Ty5cnpimu5v+Oahbqo2+3X6kRP8N+SyUHbFfpbqVxCk= X-Received: by 2002:a05:651c:3246:20b0:32f:1c0f:fb73 with SMTP id 38308e7fff4ca-33650faa9f2mr3015011fa.36.1755841439063; Thu, 21 Aug 2025 22:43:59 -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: Ahmad Gani Date: Fri, 22 Aug 2025 12:43:22 +0700 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXyvMFetQViBA1qq8G3S7CciX83zKN3vFThGKgqWzcAjVMrPvlY74h2zYXM Message-ID: Subject: Re: [PATCH gwproxy v5 2/2] dnsparser: Add dns parser code To: Alviro Iskandar Setiawan Cc: Ammar Faizi , "GNU/Weeb Mailing List" Content-Type: multipart/alternative; boundary="00000000000041e4cc063cedb18a" List-Id: --00000000000041e4cc063cedb18a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 21, 2025 at 11:50=E2=80=AFPM Alviro Iskandar Setiawan wrote: > Do you have a git tree for the public to fetch your WIP? I just pushed a new branch at my github fork of gwproxy [1], you can take a look if you want in the branch refactor-dns-feature. The work-in-progress contain several TODOs: - fix the parser (watch only for A record, ignore others like CNAME) - handle both IPv6 and IPv4 when preferred family is AF_UNSPEC (see dns.c:480 and dns.c:426) - insert cache and house-keeping cache - special domain name handling (e.g., allow localhost but refuse .onion) and /etc/hosts - integration with io_uring - polishing the overall changes > 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. Actually, I do have plenty of time. But I tend to lose focus when things don't go well, and then it's hard for me to get back into it. Maybe it'll be a different story if I talk things out and discuss it with other gwproxy contributors, but argh, it's hard to explain=E2=80=94or to change m= y habits. Maybe, if you don't mind, it'd be nice to do it in more of a Q&A style instead of you continuing the work all by yourself. That way, I might actually star= t changing my own habits, but only if you're comfortable with that suggestion= . [1]: - https://github.com/realyukii/gwproxy/tree/refactor-dns-feature -- Ahmad Gani --00000000000041e4cc063cedb18a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 21, 2025 at 11:50=E2=80=AFPM= Alviro Iskandar Setiawan wrote:
> Do you have a git tree for the public to fetch your WIP?

I just pushed a new branch at my github fork of gwproxy [1], you can take a look if you want in the branch refactor-dns-feature.

The work-in-progress contain several TODOs:
- fix the parser (watch only for A record, ignore others like CNAME)
- handle both IPv6 and IPv4 when preferred family is AF_UNSPEC (see
dns.c:480 and dns.c:426)
- insert cache and house-keeping cache
- special domain name handling (e.g., allow localhost but refuse
.onion) and /etc/hosts
- integration with io_uring
- polishing the overall changes

> I've just been back to my home. I'd like to take a look into i= t. I may
> also continue the work if you don't have time. I am free for the r= est
> of the week, so I'll use it to tackle this one.

Actually, I do have plenty of time. But I tend to lose focus when thing= s
don't go well, and then it's hard for me to get = back into it.

Maybe it'll be a different story if I talk things out and discuss it wi= th other
gwproxy contributors, but argh, it's hard to explain=E2=80=94or to chan= ge my habits.

Maybe, if you don't mind, it'd be nice to do it in more of a Q&= A style instead
of you continuing the work all by yourself. That way, I might actually star= t
changing my own habits, but only if you're comfortable with that sugges= tion.

[1]:
- https://github.com/realyu= kii/gwproxy/tree/refactor-dns-feature

--
Ahmad Gani
--00000000000041e4cc063cedb18a--