Unix Technical Forum

[NETFILTER] logging application

This is a discussion on [NETFILTER] logging application within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello everybody, My pc is behind a hardware router with NAT, but i just want to secure my outbounnd ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:52 PM
Ronny Prinse
 
Posts: n/a
Default [NETFILTER] logging application

Hello everybody,

My pc is behind a hardware router with NAT, but i just want to secure my
outbounnd connections. Any recommendations on which rules I have to focus?

I was googling for firewall log analyzers, but the most aren't that recent
anymore and i just want something simple. Any tips?

Thanks in advance,

--Ronny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:52 PM
Chris Sorenson
 
Posts: n/a
Default Re: [NETFILTER] logging application

Ronny Prinse wrote:
> Hello everybody,
>
> My pc is behind a hardware router with NAT, but i just want to secure my
> outbounnd connections. Any recommendations on which rules I have to focus?
>
> I was googling for firewall log analyzers, but the most aren't that recent
> anymore and i just want something simple. Any tips?
>
> Thanks in advance,
>
> --Ronny


nessus:

www.nessus.org

snort:

www.snort.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:52 PM
Robby Workman
 
Posts: n/a
Default Re: [NETFILTER] logging application

On 2006-01-05, Ronny Prinse <rprinse@planet.nl> wrote:
> Hello everybody,
>
> My pc is behind a hardware router with NAT, but i just want to secure my
> outbounnd connections. Any recommendations on which rules I have to focus?
>
> I was googling for firewall log analyzers, but the most aren't that recent
> anymore and i just want something simple. Any tips?



I'm not sure what you're asking here. On one hand, it sounds as if
you want to do some filtering of what's leaving your computer/LAN,
but then your second paragraph sounds as if you want something like
Chris suggested in his reply (snort, et al).

Which is it, or is it both?

RW

--

http://rlworkman.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:53 PM
Ronny Prinse
 
Posts: n/a
Default Re: [NETFILTER] logging application

Robby Workman wrote:

> On 2006-01-05, Ronny Prinse <rprinse@planet.nl> wrote:
>> Hello everybody,
>>
>> My pc is behind a hardware router with NAT, but i just want to secure my
>> outbounnd connections. Any recommendations on which rules I have to
>> focus?
>>
>> I was googling for firewall log analyzers, but the most aren't that
>> recent anymore and i just want something simple. Any tips?

>
>
> I'm not sure what you're asking here. On one hand, it sounds as if
> you want to do some filtering of what's leaving your computer/LAN,
> but then your second paragraph sounds as if you want something like
> Chris suggested in his reply (snort, et al).
>
> Which is it, or is it both?
>
> RW
>


I'm sorry if I was unclear. I meant both. It should be considered as 2
questions :P I was looking for a simple log analyser to debug my firewall,
which i'm creating to give a little bit security to my outgoing
connections, not a php/mysql/perl/web frontend.

Thanks,

--Ronny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 01:58 PM
Robby Workman
 
Posts: n/a
Default Re: [NETFILTER] logging application

On 2006-01-06, Ronny Prinse <rprinse@planet.nl> wrote:
> Robby Workman wrote:
>
>> On 2006-01-05, Ronny Prinse <rprinse@planet.nl> wrote:
>>> Hello everybody,
>>>
>>> My pc is behind a hardware router with NAT, but i just want to secure my
>>> outbounnd connections. Any recommendations on which rules I have to
>>> focus?
>>>
>>> I was googling for firewall log analyzers, but the most aren't that
>>> recent anymore and i just want something simple. Any tips?

>>
>>
>> I'm not sure what you're asking here. On one hand, it sounds as if
>> you want to do some filtering of what's leaving your computer/LAN,
>> but then your second paragraph sounds as if you want something like
>> Chris suggested in his reply (snort, et al).
>>
>> Which is it, or is it both?
>>

>
> I'm sorry if I was unclear. I meant both. It should be considered as 2
> questions :P I was looking for a simple log analyser to debug my firewall,
> which i'm creating to give a little bit security to my outgoing
> connections, not a php/mysql/perl/web frontend.



Well, I'm going to ramble a bit... :-)

If your computer is behind a router which also serves a firewall, then I
wouldn't be too concerned about reading logs. IMHO, packet filtering
logs don't have much use except for debugging purposes (and satisfying
curiosity about what's getting hit the most).

If I understand you correctly, you want to filter outbound traffic
from the box in question using iptables. That's certainly do-able, but
I question the benefits of doing so. If you want application-level
filtering, you'll need to look into layer 7 filtering (l7) which is
available as an add-on to iptables (netfilter patch-o-matic) or a
proxy, and proxy will be your best bet, as l7 filtering introduces
some serious overhead.
Furthermore, OUTPUT filtering is of limited usefulness anyway unless
you have untrusted users on the box, which is a problem in itself, as
anyone who gains root access on the box (which is trivial for a local
user) can easily disable OUTPUT filtering.

Was I totally off base here?

RW

--

http://rlworkman.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 01:59 PM
Ronny Prinse
 
Posts: n/a
Default Re: [NETFILTER] logging application

Robby Workman wrote:

> On 2006-01-06, Ronny Prinse <rprinse@planet.nl> wrote:
>> Robby Workman wrote:
>>
>>> On 2006-01-05, Ronny Prinse <rprinse@planet.nl> wrote:
>>>> Hello everybody,
>>>>
>>>> My pc is behind a hardware router with NAT, but i just want to secure
>>>> my outbounnd connections. Any recommendations on which rules I have to
>>>> focus?
>>>>
>>>> I was googling for firewall log analyzers, but the most aren't that
>>>> recent anymore and i just want something simple. Any tips?
>>>
>>>
>>> I'm not sure what you're asking here. On one hand, it sounds as if
>>> you want to do some filtering of what's leaving your computer/LAN,
>>> but then your second paragraph sounds as if you want something like
>>> Chris suggested in his reply (snort, et al).
>>>
>>> Which is it, or is it both?
>>>

>>
>> I'm sorry if I was unclear. I meant both. It should be considered as 2
>> questions :P I was looking for a simple log analyser to debug my
>> firewall, which i'm creating to give a little bit security to my outgoing
>> connections, not a php/mysql/perl/web frontend.

>
>
> Well, I'm going to ramble a bit... :-)
>
> If your computer is behind a router which also serves a firewall, then I
> wouldn't be too concerned about reading logs. IMHO, packet filtering
> logs don't have much use except for debugging purposes (and satisfying
> curiosity about what's getting hit the most).
>
> If I understand you correctly, you want to filter outbound traffic
> from the box in question using iptables. That's certainly do-able, but
> I question the benefits of doing so. If you want application-level
> filtering, you'll need to look into layer 7 filtering (l7) which is
> available as an add-on to iptables (netfilter patch-o-matic) or a
> proxy, and proxy will be your best bet, as l7 filtering introduces
> some serious overhead.
> Furthermore, OUTPUT filtering is of limited usefulness anyway unless
> you have untrusted users on the box, which is a problem in itself, as
> anyone who gains root access on the box (which is trivial for a local
> user) can easily disable OUTPUT filtering.
>
> Was I totally off base here?
>
> RW
>


I think you understood me. I am the only user, as it is my pc, so I have
nothing to do with untrusted users. I just wanted to make sure I'm safe
behind NAT of the router as I don't know if that is safe enough for normal
daily use. I dan't want to have a false sense of security. Trojans on my pc
for instance can simply make a connection to the outside. Not that it is
very likely that my pc is infected trojans offcourse :P I think it's too
much overhead to go that far (layer7 filtering) I really appreciate your
help Robby thank you!

--Ronny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com