Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CHKrootkit

 
   Soft32 Home -> Linux -> Slackware RSS
Next:  Accepted listen 0.6.3-4 (source amd64)  
Author Message
Uncle Jean

External


Since: Apr 05, 2009
Posts: 7



(Msg. 1) Posted: Sat Nov 07, 2009 1:20 pm
Post subject: CHKrootkit
Archived from groups: alt>os>linux>slackware (more info?)

Hi all,

I'm on Slackware 13. Here's what the CHKrootkit scan indicates:

"WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112 but
we already saw 110 subdirectories): this may be a bug in your file system
driver. Automatically turning on find's -noleaf option. Earlier results
may have failed to include directories that should have been searched."

Any suggestions ?

--
Uncle Jean
http://slacklinux.darkbb.com/index.htm
Back to top
Login to vote
Grant

External


Since: Nov 02, 2008
Posts: 80



(Msg. 2) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 07 Nov 2009 19:20:24 GMT, Uncle Jean <aha.TakeThisOut@invalid.com> wrote:

>Hi all,
>
>I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
>
>"WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112 but
>we already saw 110 subdirectories): this may be a bug in your file system
>driver. Automatically turning on find's -noleaf option. Earlier results
>may have failed to include directories that should have been searched."
>
>Any suggestions ?

/proc is a pseudo filesystem built on demand, exclude it from
this sort of check. I don't think you can create new entries
in /proc.

Grant.
--
http://bugsplatter.id.au
Back to top
Login to vote
Uncle Jean

External


Since: Apr 05, 2009
Posts: 7



(Msg. 3) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Grant" told the uncle and all the others:

> /proc is a pseudo filesystem built on demand, exclude it from this sort
> of check. I don't think you can create new entries in /proc.
>
> Grant.

I see and I thank you, Grant.

--
Uncle Jean
http://slacklinux.darkbb.com/index.htm
Back to top
Login to vote
Res

External


Since: Sep 30, 2003
Posts: 100



(Msg. 4) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 7 Nov 2009, Uncle Jean wrote:

> Hi all,
>
> I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
> "WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112 but

What version, 0.49?
What fs?
Are you running this as -q ?

I get emails on output from nightly runs on all of our members/host
servers and I don't see this, can't recall ever seeing it, however we
value our data so use EXT3, certainly not using 13.0's default of EXT4.


--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!
Back to top
Login to vote
Res

External


Since: Sep 30, 2003
Posts: 100



(Msg. 5) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 8 Nov 2009, Grant wrote:

> On Sat, 07 Nov 2009 19:20:24 GMT, Uncle Jean <aha DeleteThis @invalid.com> wrote:
>
>> Hi all,
>>
>> I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
>>
>> "WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112 but
>> we already saw 110 subdirectories): this may be a bug in your file system
>> driver. Automatically turning on find's -noleaf option. Earlier results
>> may have failed to include directories that should have been searched."
>>
>> Any suggestions ?
>
> /proc is a pseudo filesystem built on demand, exclude it from
> this sort of check. I don't think you can create new entries
> in /proc.

He shouldn't need to, we don't
$check = `/opt/crk/chkrootkit -q`;

I'm curious if this is yet another ext4 anomaly


--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!
Back to top
Login to vote
Uncle Jean

External


Since: Apr 05, 2009
Posts: 7



(Msg. 6) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Res" told the uncle and all the others:

> What version, 0.49?

Yes.

> What fs?

Ext 4.

> Are you running this as -q ?

I just did a scan with -q and I didn't get the warning. But it doesn't
scan as many files this way.

> I get emails on output from nightly runs on all of our members/host
> servers and I don't see this, can't recall ever seeing it, however we
> value our data so use EXT3, certainly not using 13.0's default of EXT4.

OK. Thanks.

--
Uncle Jean
http://slacklinux.darkbb.com/index.htm
Back to top
Login to vote
Grant

External


Since: Nov 02, 2008
Posts: 80



(Msg. 7) Posted: Sat Nov 07, 2009 7:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 8 Nov 2009 08:38:37 +1000, Res <res.RemoveThis@ausics.net> wrote:

>On Sun, 8 Nov 2009, Grant wrote:
>
>> On Sat, 07 Nov 2009 19:20:24 GMT, Uncle Jean <aha.RemoveThis@invalid.com> wrote:
>>
>>> Hi all,
>>>
>>> I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
>>>
>>> "WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112 but
>>> we already saw 110 subdirectories): this may be a bug in your file system
>>> driver. Automatically turning on find's -noleaf option. Earlier results
>>> may have failed to include directories that should have been searched."
>>>
>>> Any suggestions ?
>>
>> /proc is a pseudo filesystem built on demand, exclude it from
>> this sort of check. I don't think you can create new entries
>> in /proc.
>
>He shouldn't need to, we don't
> $check = `/opt/crk/chkrootkit -q`;
>
>I'm curious if this is yet another ext4 anomaly

Dunno, I've lost interest in testing ext4. I did notice other distros
default to it as well. More filesystem beta testers?

Grant.
--
http://bugsplatter.id.au
Back to top
Login to vote
steveski

External


Since: Nov 08, 2009
Posts: 1



(Msg. 8) Posted: Sat Nov 07, 2009 7:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Grant wrote:

> On Sun, 8 Nov 2009 08:38:37 +1000, Res <res RemoveThis @ausics.net> wrote:
>
>>On Sun, 8 Nov 2009, Grant wrote:
>>
>>> On Sat, 07 Nov 2009 19:20:24 GMT, Uncle Jean <aha RemoveThis @invalid.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
>>>>
>>>> "WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112
>>>> but we already saw 110 subdirectories): this may be a bug in your file
>>>> system
>>>> driver. Automatically turning on find's -noleaf option. Earlier
>>>> results may have failed to include directories that should have been
>>>> searched."
>>>>
>>>> Any suggestions ?
>>>
>>> /proc is a pseudo filesystem built on demand, exclude it from
>>> this sort of check. I don't think you can create new entries
>>> in /proc.
>>
>>He shouldn't need to, we don't
>> $check = `/opt/crk/chkrootkit -q`;
>>
>>I'm curious if this is yet another ext4 anomaly
>
> Dunno, I've lost interest in testing ext4. I did notice other distros
> default to it as well. More filesystem beta testers?

Are there any concrete advantages to ext4 at the moment? I've installed
Slack 13 with ext4 - should I "downgrade" to ext3 to obviate any problems?
EMWTK Smile

--
Steveski
Back to top
Login to vote
Grant

External


Since: Nov 02, 2008
Posts: 80



(Msg. 9) Posted: Sat Nov 07, 2009 9:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 08 Nov 2009 00:57:50 +0000, steveski <steveski7 RemoveThis @invalid.com> wrote:

>Grant wrote:
>
>> On Sun, 8 Nov 2009 08:38:37 +1000, Res <res RemoveThis @ausics.net> wrote:
>>
>>>On Sun, 8 Nov 2009, Grant wrote:
>>>
>>>> On Sat, 07 Nov 2009 19:20:24 GMT, Uncle Jean <aha RemoveThis @invalid.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm on Slackware 13. Here's what the CHKrootkit scan indicates:
>>>>>
>>>>> "WARNING: Hard link count is wrong for `/proc' (saw only st_nlink=112
>>>>> but we already saw 110 subdirectories): this may be a bug in your file
>>>>> system
>>>>> driver. Automatically turning on find's -noleaf option. Earlier
>>>>> results may have failed to include directories that should have been
>>>>> searched."
>>>>>
>>>>> Any suggestions ?
>>>>
>>>> /proc is a pseudo filesystem built on demand, exclude it from
>>>> this sort of check. I don't think you can create new entries
>>>> in /proc.
>>>
>>>He shouldn't need to, we don't
>>> $check = `/opt/crk/chkrootkit -q`;
>>>
>>>I'm curious if this is yet another ext4 anomaly
>>
>> Dunno, I've lost interest in testing ext4. I did notice other distros
>> default to it as well. More filesystem beta testers?
>
>Are there any concrete advantages to ext4 at the moment? I've installed
>Slack 13 with ext4 - should I "downgrade" to ext3 to obviate any problems?
>EMWTK Smile

I'm happy with reiserfs3 -- saw no advantage to ext4 when I tried it
back when it was beta in the kernel -- but I've done no benchmarks.

I wouldn't downgrade from ext4 to ext3 -- the problem I saw recently
on lkml was in development kernel -- but it did give data loss grief.

Ext4 is at that stage of mostly works -- apart from some 'dark
corners' the odd user might discover, only wide general usage
will sort remaining buglets.

Grant.
--
http://bugsplatter.id.au
Back to top
Login to vote
Res

External


Since: Sep 30, 2003
Posts: 100



(Msg. 10) Posted: Sat Nov 07, 2009 11:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 7 Nov 2009, Uncle Jean wrote:

>> What fs?
>
> Ext 4.
>

OK, you might need to wait to see if anyone else runnig EXT4 has the same
issue, my bet is thats's where the problem lies.

>> Are you running this as -q ?
>
> I just did a scan with -q and I didn't get the warning. But it doesn't
> scan as many files this way.

It would be, it's just "quiet mode", reporting on actual/probable risks


--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!
Back to top
Login to vote
Res

External


Since: Sep 30, 2003
Posts: 100



(Msg. 11) Posted: Sat Nov 07, 2009 11:20 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 8 Nov 2009, Grant wrote:

>> He shouldn't need to, we don't
>> $check = `/opt/crk/chkrootkit -q`;
>>
>> I'm curious if this is yet another ext4 anomaly
>
> Dunno, I've lost interest in testing ext4. I did notice other distros
> default to it as well. More filesystem beta testers?

He's since confirmed it's EXT4, yes, BTW, I agree, anyone using EXT4 is a
BETA tester Smile ... ' use ext4 at your own risk' ...

--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!
Back to top
Login to vote
Uncle Jean

External


Since: Apr 05, 2009
Posts: 7



(Msg. 12) Posted: Sun Nov 08, 2009 3:20 am
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Res" told the uncle and all the others:

> It would be, it's just "quiet mode", reporting on actual/probable risks

OK but the scan takes much less time when I add the -q option. What's
the reason of this ?

--
Uncle Jean
http://slacklinux.darkbb.com/index.htm
Back to top
Login to vote
Uncle Jean

External


Since: Apr 05, 2009
Posts: 7



(Msg. 13) Posted: Sun Nov 08, 2009 9:20 am
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Res" told the uncle and all the others:

> no idea, maybe less printing out to the screen, maybe because of RAM, as
> you've already run the test.

45 seconds VS. 15 seconds ! There's a reason I dont know.

--
Uncle Jean
http://slacklinux.darkbb.com/index.htm
Back to top
Login to vote
Res

External


Since: Sep 30, 2003
Posts: 100



(Msg. 14) Posted: Sun Nov 08, 2009 10:31 pm
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 8 Nov 2009, Uncle Jean wrote:

> "Res" told the uncle and all the others:
>
>> It would be, it's just "quiet mode", reporting on actual/probable risks
>
> OK but the scan takes much less time when I add the -q option. What's
> the reason of this ?

no idea, maybe less printing out to the screen, maybe because of RAM, as
you've already run the test.


--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!
Back to top
Login to vote
Wild Wizard

External


Since: Dec 06, 2003
Posts: 2



(Msg. 15) Posted: Mon Nov 09, 2009 5:20 am
Post subject: Re: CHKrootkit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Res wrote:

> On Sat, 7 Nov 2009, Uncle Jean wrote:
>
>>> What fs?
>>
>> Ext 4.
>>
>
> OK, you might need to wait to see if anyone else runnig EXT4 has the same
> issue, my bet is thats's where the problem lies.
>

root@indigo:~# mount
/dev/root on / type ext4 (rw,barrier=1,data=ordered)

And using chkrootkit-0.49 I don't see the OP's warning message.

I also fail to see how the file system used for / could have any bearing on
another file system mounted using a different file system.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Assigning two NICs - I have a Slackware box with two NICs. With Slackware 10.2, device eth0 gets assigned to NIC #1 (a VIA Rhine built-in..

best way to setup bridge for qemu - I'd like to setup a bridge using the tun/tap driver on my slackware 12 system but still be able to use the..

Slackware 12.0: cannot view or print postscript files - Hi I just upgraded from Slack 11.0 to 12.0 following instructions from..

chkrootkit... - hi.. when i run chkrootkit-0.43 on my FC1. it shows: Checking 'sniffer'...not tested: can't exec ./ifpromisc Checking..

[gentoo-user] chkrootkit utmp w/ startx - Hello, I removed PAM from my system a few weeks ago and stopped using kdm. Now I get this when using chkrootkit. ..

[gentoo-user] chkrootkit LKM trojan ? - HI, I have a potential security problem ... and err its not on gentoo, its on ubuntu but I am not getting any respons...
       Soft32 Home -> Linux -> Slackware All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]