LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-22-2021, 01:18 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
PSA: Spoof protection in /etc/host.conf


With my initial steps with testing updating 14.2 to 15 (not a fresh install), I am seeing stderr messages about my /etc/host.conf file. I have the following options in the file:

nospoof on
spoofalert on
spoof warn

Searching the web indicates the spoof options are not supported in the glibc resolver libraries. The 14.2 man page indicates the options were introduced in glibc 2.0.7 but never implemented. The Current man page indicates support for the options was removed after glibc 2.24. The glibc change log confirms the host.conf spoof code was removed 2016-12-27.

Based on that information, whether using an older host.conf file or updating to Current from 14.2, those host.conf options never were useful. The options are harmless in 14.2 but will create stderr spew in Current.

Yeah, I haven't touched my host.conf file in many years.

None of this is a show stopper. Just trying to help others.
 
Old 02-23-2021, 09:16 AM   #2
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Running -current64 and found only -

Code:
order hosts, bind
multi on
in my host.conf
 
Old 02-23-2021, 11:51 AM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
That is the default file. The spoof options are added manually, but as stated in the OP never were supported.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a remote host spoof an IP on the local network? DJ Shaji Linux - Security 8 06-04-2015 01:59 PM
/etc/ldap.conf vs /etc/openldap/ldap.conf wilslm Red Hat 2 05-04-2011 08:19 PM
Difference between /etc/ldap.conf vs. /etc/ldap/ldap.conf fahadaziz Linux - Server 8 07-14-2010 05:12 AM
/etc/hosts, /etc/resolve.conf and /etc/host.conf config probs below_average Linux - Networking 1 12-08-2004 10:07 PM
Where is /etc/modules.conf or /etc/modules.conf in FC2 CountingCount Fedora 1 06-01-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration