LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-20-2003, 08:35 AM   #1
markstevens
Member
 
Registered: Jun 2003
Posts: 86

Rep: Reputation: 15
Was looking through my logs... should I be worried?


Of course I should be worried about an attack, we are actually working to increase our protection but...

I was going through the message log this morning and found the following entries... should I be worried?


There are lots of these at various times:
Jun 19 22:08:06 company named[5291]: client 80.117.199.251#15326: update 'company.com/IN' denied

A billion of these for various IPs:
Jun 19 22:25:02 company named[5291]: lame server resolving '193.229.142.80.in-addr.arpa' (in '229.142.80.in-addr.arpa'?): 194.25.0.125#53

Only saw this once:
Jun 19 23:55:39 compnay xinetd[30332]: warning: /etc/hosts.allow, line 8: can't verify hostname: getaddrinfo(gbrdialin, AF_INET) failed

And what is this trying to tell me?
Jun 20 00:18:03 company pam_timestamp_check: pam_timestamp: `/var/' permissions are lax


Thanks for your help.
 
Old 06-20-2003, 01:59 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The "update" could be some MICROS~1 client trying to do dynamic updates and if so it could be totally unrelated to the domain you're authoritative for.
The "lame server" you can forget about, this is a message of the "informational" level.
The Xinetd/"getaddrinfo" I don't know if this can be contributed to someone mucking remotely with faking authoritative DNS, plain IPv* weirdness or what. Is this the latest Xinted version? Earlier versions had a bug wrt getaddrinfo.
The "pam_timestamp_check" is the easiest: check out if permissions are lax, like octal 0775 permissions. (you could have told you that yourself :-] ).
 
Old 06-20-2003, 02:07 PM   #3
markstevens
Member
 
Registered: Jun 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks UnSpawn...

As far as I know the xinetd is the newest version. The install is fresh and up to date using redhat up2date.

The question with the permissions on VAR was more along the lines of... why is it telling me that? What is pam_time_stamp doing? and why does it know my permissions are lax?
 
Old 06-20-2003, 02:36 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Re: Was looking through my logs... should I be worried?

Quote:
Originally posted by markstevens
Jun 19 22:08:06 company named[5291]: client 80.117.199.251#15326: update 'company.com/IN' denied
Are you configured to be a slave DNS for at least one domain? Is company.com ( or whatever appears there, in case it has been hidden for privacy reasons ) the name of _your_ domain?

Quote:
Originally posted by markstevens
A billion of these for various IPs:
Jun 19 22:25:02 company named[5291]: lame server resolving '193.229.142.80.in-addr.arpa' (in '229.142.80.in-addr.arpa'?): 194.25.0.125#53
You get these when an application sends a Name lookup request for a certain name and the daemon finds during resolution that the NS to which it is redirected by the higher level domain is not configured to authoritative for that zone. Completely Harmless.

For instance if you were trying to lookup foo.bar.com and the bar.com zone points you to the NS entry for foo, but that server is not configured to be authoritative for foo, you will see error 'lame server reolving foo.bar.com'. Same for in-addr.arpa domains. They facilitate reverse DNS lookups ( address to name )


Quote:
Originally posted by markstevens
Only saw this once:
Jun 19 23:55:39 compnay xinetd[30332]: warning: /etc/hosts.allow, line 8: can't verify hostname: getaddrinfo(gbrdialin, AF_INET) failed
Not sure why xinetd is complaing this way, this doesn't appear to be dangerous.

Quote:
Originally posted by markstevens
And what is this trying to tell me?
Jun 20 00:18:03 company pam_timestamp_check: pam_timestamp: `/var/' permissions are lax
pam_timestamp.so has functions that authenticate users based on a sufficiently recent successfull auth. I'm not sure how exactly, but it is know to cache some information in timestamp files and these files need to be properly secured in terms of permissions. It is warning now that the current permissions for the timestamp directory are too lax.

Last edited by nxny; 06-20-2003 at 02:37 PM.
 
Old 06-20-2003, 02:51 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
nxny: Not sure why xinetd is complaing this way, this doesn't appear to be dangerous., just for my curiosity, how did you determine this is not dangerous?
 
Old 06-20-2003, 03:53 PM   #6
markstevens
Member
 
Registered: Jun 2003
Posts: 86

Original Poster
Rep: Reputation: 15
nxny - we are not a slave we are the primary...

So at this point I have already tightened up VAR and I am watching to see if my xinetd issue is dangerous or not... I'll wait and see what unSpawn says.
 
Old 06-20-2003, 04:16 PM   #7
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by unSpawn
nxny: Not sure why xinetd is complaing this way, this doesn't appear to be dangerous., just for my curiosity, how did you determine this is not dangerous?
I didn't say I 'determined'. Said it didn't appear to be dangerous. Saw your take on it, makes sense.
 
Old 06-20-2003, 05:00 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I was only asking Nxny how he could assess the situation from one message, literally one string submitted to syslog, because I couldn't without more info (I should have done the obvious and that is first ask you to post /etc/hosts.allow). Maybe he had info I hadn't.

Wrt to getaddrinfo, Solar Designer did an audit of Xinetd a while ago and found some "irregularities". I know xinetd dev released proper after the audit so you should be "safe".
 
Old 06-23-2003, 09:57 AM   #9
markstevens
Member
 
Registered: Jun 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Thank you...

I appreciate the help...
 
Old 09-23-2004, 11:17 PM   #10
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Re: Re: Was looking through my logs... should I be worried?

Quote:
Originally posted by nxny
Not sure why xinetd is complaing this way, this doesn't appear to be dangerous.

This is caused from what I see here by a domain connecting with out reverse DNS. I get these all day on my server and doing a host on the culprit domain always returns null.

"hostname: getaddrinfo(gbrdialin"

"gbrdialin" definately does not resolve. (but maybe I'm reading this wrong.)

Last edited by micxz; 09-23-2004 at 11:31 PM.
 
  


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
Should i be worried? teqno Linux - Hardware 2 09-17-2005 02:47 AM
ACID/Snort Logs-- Should I be Worried? opioid Linux - Security 7 11-15-2004 11:47 PM
I'm worried .... lesleyb SUSE / openSUSE 7 10-24-2004 03:43 AM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:46 PM.

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