LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2006, 01:46 PM   #1
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Rep: Reputation: 0
Iptables listing question


Hello Experts,

This may have something to do with an earlier thread. I tried to just live with "Maybe it was some kind of glitch"... that enabled me to login as root with half my password when I installed my server at an isp.

I have the basic redhat firwall installed with only ssh access enabled on redhat4ES

Maybe I'm paranoid now but when I do a ..

/sbin/iptables -L -v

=======================================================
One interesting result on OUTPUT is ...
Chain OUTPUT (policy ACCEPT 59097 packets, 9086K bytes)
pkts bytes target prot opt in out source destination
=======================================================
ACCEPT and FORWARD are both 0.
=======================================================

It's interesting because I haven't enabled anything or started using the server for anything. I ran up2date last week? Does the OUTPUT chain keep just take a snap shot when you use the -v option or is that the total from the last reboot?

Thank you
 
Old 11-06-2006, 07:17 AM   #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
Moved: This thread does not contain questions about Linux Security or a (perceived) compromised server but about iptables listing rules. This thread would be more suitable in the Linux software forum and will have it's title defused and will then be moved there accordingly to help your thread/question get the exposure it deserves.
 
Old 11-06-2006, 09:55 PM   #3
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Original Poster
Rep: Reputation: 0
Doesn't look like i've been moved... good because it actually is a security question. If I'm not using a server but I have traffic isn't that a security issue?

If I've got packets going out, could it be someone is using my server if I'm not? But more then likely that's just my shell I guess? Although 9mb ???

Am I making any kind of sense here?

Last edited by redhatattack; 11-06-2006 at 10:13 PM.
 
Old 11-07-2006, 05:50 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Doesn't look like i've been moved...
...to allow you to read this.


good because it actually is a security question.
If you think it's a security issue then read http://www.linuxquestions.org/questi...54#post2489954 and act on it.


If I'm not using a server but I have traffic isn't that a security issue?
DHCP, ARP, ICMP, HTTP, could be about anything.


If I've got packets going out, could it be someone is using my server if I'm not? But more then likely that's just my shell I guess? Although 9mb ???
Problem is there is no way you can discover later on what happened before if you did not set up an application or Iptables rules to log traffic before.
 
Old 11-07-2006, 12:04 PM   #5
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by unSpawn
Doesn't look like i've been moved...
...to allow you to read this.
hmmm, okay then.

Quote:
Originally Posted by unSpawn
good because it actually is a security question.
If you think it's a security issue then read http://www.linuxquestions.org/questi...54#post2489954 and act on it.
I checked that out. Looking at alot of things right now.


Quote:
Originally Posted by unSpawn
If I'm not using a server but I have traffic isn't that a security issue?
DHCP, ARP, ICMP, HTTP, could be about anything.
Yeah. Going to educate myself more about iptable logging... etc.

Quote:
Originally Posted by unSpawn
If I've got packets going out, could it be someone is using my server if I'm not? But more then likely that's just my shell I guess? Although 9mb ???
Problem is there is no way you can discover later on what happened before if you did not set up an application or Iptables rules to log traffic before.
I think the default setup for the linux firewall has logging setup by default. I don't know ... I think so? Going to find out. Anyway it must because I can use the -v option and get packets incoming and outgoing.

Thank you for the replies. I appreciate it.
 
Old 11-07-2006, 12:56 PM   #6
redhatattack
LQ Newbie
 
Registered: Jul 2006
Distribution: redhat 4 es
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn
Moved: This thread does not contain questions about Linux Security or a (perceived) compromised server but about iptables listing rules. This thread would be more suitable in the Linux software forum and will have it's title defused and will then be moved there accordingly to help your thread/question get the exposure it deserves.
I see now, you moved it to the networking forum. I was looking in the software forum going nuts
 
Old 11-07-2006, 04:21 PM   #7
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 see now, you moved it to the networking forum. I was looking in the software forum going nuts
ROTFL, still haven't moved it.


I think the default setup for the linux firewall has logging setup by default. I don't know ... I think so?
If it has doing "/sbin/iptables -n -L | grep ^LOG" should show some lines.
 
  


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
using iptables how do i block file listing of websites? murphydims Linux - Security 4 04-26-2006 11:49 AM
Iptables listing and flushing stefaandk Linux - Security 2 07-27-2005 05:55 PM
iptables is not listing to me pietsebrie Fedora 4 11-18-2004 01:03 AM
listing groups question?? samills70 Red Hat 1 06-11-2004 12:59 PM
Apache directory listing question ScreeminChikin Linux - Software 6 04-15-2004 02:33 AM

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

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