Re: inn, cleanfeed and ipv6

Liste des GroupesRevenir à s nntp 
Sujet : Re: inn, cleanfeed and ipv6
De : rayban (at) *nospam* raybanana.net (Ray Banana)
Groupes : news.software.nntp
Date : 09. Apr 2025, 14:35:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnvvctt7.b1sb.rayban@raybanana.net>
References : 1 2
User-Agent : slrn/pre1.0.4-9 (Linux)
* Gabx wrote:
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.
>

1. What happens if the regex doesn't match?
2. How do you set a reverse DNS name for your IPv6 IP address with Hetzner?
3. What happens when the IPv6 address of your peer has a reverse DNS name?


--
Пу́тін — хуйло́
https://www.eternal-september.org

Date Sujet#  Auteur
8 Apr 25 * inn, cleanfeed and ipv612noel
8 Apr 25 +* Re: inn, cleanfeed and ipv66Nigel Reed
9 Apr 25 i`* Re: inn, cleanfeed and ipv65nb
9 Apr 25 i +* Re: inn, cleanfeed and ipv63Ray Banana
10 Apr 25 i i+- Re: inn, cleanfeed and ipv61nb
19 Apr 25 i i`- Re: inn, cleanfeed and ipv61nb
9 Apr 25 i `- Re: inn, cleanfeed and ipv61Marco Moock
9 Apr 25 `* Re: inn, cleanfeed and ipv65Gabx
9 Apr 25  +- Re: inn, cleanfeed and ipv61Gabx
9 Apr 25  `* Re: inn, cleanfeed and ipv63Ray Banana
9 Apr 25   `* Re: inn, cleanfeed and ipv62Gabx
9 Apr 25    `- Re: inn, cleanfeed and ipv61Gabx

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal