Den ons 20 juni 2018 kl 23:28 skrev Maximilian Pichler < [email protected]>:
> I've enabled ftpd and am experiencing very long delays (consistently > 75 seconds) when logging in from localhost. > > Running nc reveals that the connection is accepted immediately, but > the server waits before spitting out the 'ready' line: > > $ nc -4v localhost 21 > Connection to localhost 21 port [tcp/ftp] succeeded! > <<...75 seconds go by...>> > 220 zen-thought.my.domain FTP server ready. > > This smelled a lot like https://www.openbsd.org/faq/faq8.html#RevDNS, > but of course localhost is in /etc/hosts (and /etc/resolv.conf has > 'lookup file bind'). > Try running the ftpd under a ktrace and then use kdump to see what it does just before those 75 seconds? RevDNS was a good guess though. ;) -- May the most significant bit of your life be positive.

