LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2003, 03:50 PM   #1
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
Question Ever seen this error?


warning, got bogus tcp line.

I was presented with this error when using ChkRootKit-0.39a. I have alos found a post or two online referring to the same error with respect to netstat.

Of course there was no answer to this person's question...

I was hoping you all could help me...
 
Old 03-19-2003, 04:39 PM   #2
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
Rootkit

"Warning, got bogus TCP line."

Is that coming from ChkRootKit or your kernel?
 
Old 03-20-2003, 09:06 AM   #3
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
not certain...
 
Old 03-20-2003, 09:39 AM   #4
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Print your output, maybe seeing the error in context will help.
 
Old 03-20-2003, 09:52 AM   #5
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
well... it was contained in the body of an email that I send my self via this cron job:

sh /usr/sbin/chkrootkit-0.39a/chkrootkit |grep -v "not" |mail -s "CHKROOTKIT on $(hostname)"

This is the email:

From: Cron Daemon <root@www.mydomain.com>
To: root@www.mydomain.com
Subject: Cron <root@www> sh /usr/sbin/chkrootkit-0.39a/chkrootkit |grep -v "not" |mail -s "CHKROOTKIT on $(hostname)" wendels@mydomain.com
Date: 19 Mar 2003 08:51:09 -0500

warning, got bogus tcp line.

This is the standard out recieved when running chkrootkit. I duplicated the output yesterday running chkrootkit from the command line. Didn't get the same error today...

Not certain what to make of this...
 
Old 03-20-2003, 09:54 AM   #6
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
and thx for you're help...

kick-ass quote btw too...

I may steal this in the future...
 
Old 03-20-2003, 09:59 AM   #7
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Man that is a mystery if you're not getting the same output today...

My only experience with chkrootkit is running myself (ie: when I feel like it) from the command-line, so I tend to look at everything...

The problem with what you've posted is that it doesn't really say where this is from....

like when chkrootkit prints out a line:

checking for (whatever).....no

curious...
 
Old 03-20-2003, 10:05 AM   #8
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
ya... if I have time (which is most unlikely) I will fish through the source and see what exactly is causing this...

/me shrugs

Thanks again though!
 
Old 03-20-2003, 10:05 AM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Can you run chkrootkit in a terminal and see if you get this 'bogus tcp line' error. I'm not sure if this an e-mail error or a message from chkrootkit.
 
Old 03-20-2003, 10:32 AM   #10
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
chkrootkit will check things like sniffer logs, your syslogs and other log files for potential hack attempts / exploits and so forth.

I highly suspect that it detected something in your syslog (possibly a netfilter log entry) which lent it to believe someone was trying to compromise your box.

Easiest way to find out is to simply run chkrootkit (without the grep -v) and see *WHERE* it displays the problem.

You'll see something like this :

Checking `aliens'... no suspect files
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while...

and will be able to determine where'bouts it detected 'something bogus'

Slick.
 
Old 03-20-2003, 11:09 AM   #11
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
thanks guys...

I had run chkrootkit via the command line as soon as I received this email yesterday...

if I remember correctly, the error was received after all of the usual output was displayed...

this box has since been rebooted and has not seen the error again...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM
c++ ostream error, messag rot large to trakc down location of error. exodist Programming 2 06-13-2004 06:35 PM
NETPERF: ERROR --> send_udp_stream: error on remote: Interrupted system call dravya Linux - General 1 05-29-2004 05:49 PM
cdrecord inupt/output error. write_g1: scsi sendcmd: no error lucstuk Linux - Software 9 08-09-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 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