Deutsch English Français Italiano |
<vt5q9f$1342t$1@news.tcpreset.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!newsfeed.endofthelinebbs.com!news.tcpreset.net!.POSTED!not-for-mail From: Gabx <info@tcpreset.invalid> Newsgroups: news.software.nntp Subject: Re: inn, cleanfeed and ipv6 Date: Wed, 9 Apr 2025 14:47:42 +0200 Organization: Victor Hostile Communication Center Message-ID: <vt5q9f$1342t$1@news.tcpreset.net> References: <67f47ca5$1@news.ausics.net> Reply-To: postmaster@virebent_invalid NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 9 Apr 2025 12:47:44 -0000 (UTC) Injection-Info: news.tcpreset.net; logging-data="1151069"; mail-complaints-to="abuse@tcpreset.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20 In-Reply-To: <67f47ca5$1@news.ausics.net> Bytes: 2012 Lines: 27 noel wrote: > I've had a few reports of select users posts not getting out to all > servers, and experienced it myself in a group last night, running one of > my scripts that checks open servers, verified my suspicions, there seems > to be something in the cleanfead script inn servers not liking (all?) > ipv6 addresses. This is excerpted from cleanfeed > if ($hdr{'Injection-Info'} =~ /^$hws*($Hostname)[ \t;]/) { > $state{injection_host} = "$1" > } elsif ($hdr{'X-Trace'} =~ /^$hws*($Hostname)$hws/) { > $state{injection_host} = "$1" > } else { > $state{injection_host} = first_path_host($hdr{Path}); > }; The pattern defined in $Hostname is designed to match traditional hosts – composed of letters, numbers and dots – or IPv4 addresses. However, IPv6 addresses, which include hexadecimal characters and the “:” character, do not fall into this set. So, if an Injection-Info header contains an IPv6 address (e.g. “2a01:4f8:c0c:2f94::1”), the regex will not match it correctly. Gabx