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=1755362481; bh=TMivG6a3Hcw8qBTfLu3SOlcDd8WU8S837zFKEOCJz4o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version: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=MNKozRvX8iZJyhkJNhdK0JiDnKLUfAP0FKDjNCcLWHYpEKoEgYGn+O6SunCQRfJOi zhVJIf2WWHFfaRqwj6eZZj2k2T13AXXLhe7cI1youhNQRYo/t7Ie/knMy4PwufVc/Q pXeNc99HI+MqBQKhPTJDmJ3OWNuIIDK3zoaKQV7JrkIh5z8Cyoh4agcNl7AAImoQXU GeMHIZX1qKniRMW1uRgXv2YSkmrfasmAeuuGpn004fCWqbouf2gvpizghXG+rODLWv NGli/WqMp4nbyGNXRQXlMLnNF5yl7UvJ3Uljv+9K/KNK8l9SibwvV/tEbLrJ+SX5Sp 4aY+96Wh3MJ2A== Received: from integral2.. (unknown [182.253.126.185]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id E45E131280D7; Sat, 16 Aug 2025 16:41:19 +0000 (UTC) From: Ammar Faizi To: Ahmad Gani Cc: Ammar Faizi , GNU/Weeb Mailing List , Alviro Iskandar Setiawan Subject: Re: (subset) [PATCH gwproxy v5 0/2] Initial work on integration of DNS parser lib in gwproxy Date: Sat, 16 Aug 2025 23:41:16 +0700 Message-Id: <175536228502.177146.5466707683679177795@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250814044658.252579-1-reyuki@gnuweeb.org> References: <20250814044658.252579-1-reyuki@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Id: On Thu, 14 Aug 2025 11:46:53 +0700, Ahmad Gani wrote: > This is revision v5 of initial work on integration of DNS parser lib in > gwproxy. This is an RFC draft, the patches itself aren't final. > > With current model, the caller is responsible to do the socket part, this > imply unlike conventional glibc's getaddrinfo that handle both socket and > crafting payload inside its abstraction, thus allow AF_UNSPEC, the build > query only craft packet for particular family at a time [1], either > AF_INET or AF_INET6, not both, I see this not as a limitation, but rather > an advantage, most of the time we don't need to request for both IPv6 and > IPv4, but there's still a case where both family is desired, it's often > happened for fallback mechanism. I'll spend some time thinking about how > to integrate these functions into gwproxy. > > [...] Applied, thanks! [1/2] dns: Allow only port string number commit: efad824958d533fc943c2b0ac27f76d20f0d3957 Best regards, -- Ammar Faizi