Linux Netfilter discussions
 help / color / mirror / Atom feed
* Question
@ 2002-06-21 17:33 Krish Ahya
  2002-06-21 17:40 ` Question Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Krish Ahya @ 2002-06-21 17:33 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

Hi all,

I was just wondering, is Netfilter as good as Cisco's PIX and Checkpoint's Firewall-1, if not better?

Also I'm wondering say if I have a dmz and allow people to come into a server on port 80, will netfilter inspect the packet on all 7 layers of the OSI model and make sure that it is actually a http packet and following the rules and protocol specifications of http? Sorta like checkpoints INSPECT module.

Thanks.

- Krish
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
I have not failed 10,000 times, I have sucessfully found 10,000 ways that won't work." -- Thomas A. Edison

[-- Attachment #2: Type: text/html, Size: 1318 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 17:33 Question Krish Ahya
@ 2002-06-21 17:40 ` Antony Stone
  2002-06-21 18:31   ` Question James Mello
  2002-06-21 18:59 ` Question Nick Drage
  2002-06-22  0:26 ` Question Sascha Reissner
  2 siblings, 1 reply; 31+ messages in thread
From: Antony Stone @ 2002-06-21 17:40 UTC (permalink / raw)
  To: netfilter

On Friday 21 June 2002 6:33 pm, Krish Ahya wrote:

> Hi all,
>
> I was just wondering, is Netfilter as good as Cisco's PIX and Checkpoint's
> Firewall-1, if not better?

Yes.

> Also I'm wondering say if I have a dmz and allow people to come into a
> server on port 80, will netfilter inspect the packet on all 7 layers of the
> OSI model and make sure that it is actually a http packet and following the
> rules and protocol specifications of http?

No.


At least one of the above answers is merely my personal opinion.

 

Antony.


^ permalink raw reply	[flat|nested] 31+ messages in thread

* RE: Question
  2002-06-21 17:40 ` Question Antony Stone
@ 2002-06-21 18:31   ` James Mello
  2002-06-21 23:12     ` Question Antony Stone
  0 siblings, 1 reply; 31+ messages in thread
From: James Mello @ 2002-06-21 18:31 UTC (permalink / raw)
  To: 'Antony Stone', netfilter

> > Also I'm wondering say if I have a dmz and allow people to 
> come into a 
> > server on port 80, will netfilter inspect the packet on all 
> 7 layers 
> > of the OSI model and make sure that it is actually a http 
> packet and 
> > following the rules and protocol specifications of http?

No, but there are experimental modules that will allow you to enforce
your own rules. I've heard of some IDS or attack detection capabilities
being done through IP tables.

	-- Cheers
	-- James



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 17:33 Question Krish Ahya
  2002-06-21 17:40 ` Question Antony Stone
@ 2002-06-21 18:59 ` Nick Drage
  2002-06-21 19:41   ` Question Rowan Reid
  2002-06-22  0:26 ` Question Sascha Reissner
  2 siblings, 1 reply; 31+ messages in thread
From: Nick Drage @ 2002-06-21 18:59 UTC (permalink / raw)
  To: netfilter

On Fri, Jun 21, 2002 at 12:33:15PM -0500, Krish Ahya wrote:
> Hi all,
> 
> I was just wondering, is Netfilter as good as Cisco's PIX and Checkpoint's
> Firewall-1, if not better?

Depends what you mean by "good", which is a little too general to rate
something as complex as a firewall.  In relation to Firewall-1 it is
cheaper, it is possibly as efficient and as secure ( with the right
configuration ), configuration is more difficult IMHO... and all that
depends on the situation you're using it and the skill of the
administrators.

At the least it's free to try... :)

-- 
FunkyJesus System Administration Team



^ permalink raw reply	[flat|nested] 31+ messages in thread

* RE: Question
  2002-06-21 18:59 ` Question Nick Drage
@ 2002-06-21 19:41   ` Rowan Reid
  0 siblings, 0 replies; 31+ messages in thread
From: Rowan Reid @ 2002-06-21 19:41 UTC (permalink / raw)
  To: netfilter



>>At the least it's free to try... :)

Does anyone know where to find documentation for Firewall-1 I decided to
try it once but couldn't find any documentation to save my life.




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 18:31   ` Question James Mello
@ 2002-06-21 23:12     ` Antony Stone
  2002-06-21 23:16       ` Question James Mello
  2002-06-22  2:11       ` Question Jack Bowling
  0 siblings, 2 replies; 31+ messages in thread
From: Antony Stone @ 2002-06-21 23:12 UTC (permalink / raw)
  To: netfilter

On Friday 21 June 2002 7:31 pm, James Mello wrote:

> > Also I'm wondering say if I have a dmz and allow people to come into a
> > server on port 80, will netfilter inspect the packet on all 7 layers
> > of the OSI model and make sure that it is actually a http packet and
> > following the rules and protocol specifications of http?
>
> No, but there are experimental modules that will allow you to enforce
> your own rules. I've heard of some IDS or attack detection capabilities
> being done through IP tables.

What sort of modules ?   I *hope* you don't mean the 'string' match ?

I'm not aware of anything based on IPtables which makes an effective (OSI 
layer 7) IDS - it's just not designed for it, being a packet filter.....

 

Antony.


^ permalink raw reply	[flat|nested] 31+ messages in thread

* RE: Question
  2002-06-21 23:12     ` Question Antony Stone
@ 2002-06-21 23:16       ` James Mello
  2002-06-21 23:26         ` Question Antony Stone
  2002-06-22  2:11       ` Question Jack Bowling
  1 sibling, 1 reply; 31+ messages in thread
From: James Mello @ 2002-06-21 23:16 UTC (permalink / raw)
  To: 'Antony Stone', netfilter

> > No, but there are experimental modules that will allow you 
> to enforce 
> > your own rules. I've heard of some IDS or attack detection 
> > capabilities being done through IP tables.
> 
> What sort of modules ?   I *hope* you don't mean the 'string' match ?

Yeah, I actually do mean the 'string' match :) I've got some friends who
used this to do some filtering on content on their own internet exposed
boxes to prevent stupid Nimda worm and other attacks from being
perpetrated. They *did* say it was slow, but overall it's been a pretty
effective solution for them. Note I *never* did say that you can do all
sorts of Layer 7 evaluation (or validation) like the guy said. I just
suggested this as an option to do some layer 7 filtering and content
checking...

	-- Cheers
	-- James



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 23:16       ` Question James Mello
@ 2002-06-21 23:26         ` Antony Stone
  0 siblings, 0 replies; 31+ messages in thread
From: Antony Stone @ 2002-06-21 23:26 UTC (permalink / raw)
  To: netfilter

On Saturday 22 June 2002 12:16 am, James Mello wrote:

> > > No, but there are experimental modules that will allow you to enforce
> > > your own rules. I've heard of some IDS or attack detection
> > > capabilities being done through IP tables.
> >
> > What sort of modules ?   I *hope* you don't mean the 'string' match ?
>
> Yeah, I actually do mean the 'string' match :) I've got some friends who
> used this to do some filtering on content on their own internet exposed
> boxes to prevent stupid Nimda worm and other attacks from being
> perpetrated.

Hmmm.   Okay, I'll agree you can do a certain amount of string matching, with 
a certain degree of reliability, wiht this module, but I think for an IDS I'd 
rather go for snort / hogwash.

 

Antony.


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 17:33 Question Krish Ahya
  2002-06-21 17:40 ` Question Antony Stone
  2002-06-21 18:59 ` Question Nick Drage
@ 2002-06-22  0:26 ` Sascha Reissner
  2 siblings, 0 replies; 31+ messages in thread
From: Sascha Reissner @ 2002-06-22  0:26 UTC (permalink / raw)
  To: Krish Ahya, netfilter

From: Krish Ahya

> I was just wondering, is Netfilter as good as Cisco's PIX and Checkpoint's
Firewall-1, if not better?

its hard to compare apples with pears.. one is a firewalling system..
netfilter is more or less a packet filter....

> Also I'm wondering say if I have a dmz and allow people to come into a
server on port 80, will netfilter inspect the packet on all
> 7 layers of the OSI model and make sure that it is actually a http packet
and following the rules and protocol specifications of
> http? Sorta like checkpoints INSPECT module.

as netfilter is "only" a packet filter (with some additional modules to
provide more functions) you will stick with stuff like string match and all
modules you would like to provide the netfilter community (if you code them
yourself)





^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-21 23:12     ` Question Antony Stone
  2002-06-21 23:16       ` Question James Mello
@ 2002-06-22  2:11       ` Jack Bowling
  2002-06-22 15:25         ` Question Stephen Frost
  1 sibling, 1 reply; 31+ messages in thread
From: Jack Bowling @ 2002-06-22  2:11 UTC (permalink / raw)
  To: netfilter

** Reply to message from Antony Stone <Antony@Soft-Solutions.co.uk> on Sat, 22 Jun 2002 00:12:28 +0100


> On Friday 21 June 2002 7:31 pm, James Mello wrote:
> 
> > > Also I'm wondering say if I have a dmz and allow people to come into a
> > > server on port 80, will netfilter inspect the packet on all 7 layers
> > > of the OSI model and make sure that it is actually a http packet and
> > > following the rules and protocol specifications of http?
> >
> > No, but there are experimental modules that will allow you to enforce
> > your own rules. I've heard of some IDS or attack detection capabilities
> > being done through IP tables.
> 
> What sort of modules ?   I *hope* you don't mean the 'string' match ?
> 
> I'm not aware of anything based on IPtables which makes an effective (OSI 
> layer 7) IDS - it's just not designed for it, being a packet filter.....

There is the psd module. Check it out.

jb

-- 
Jack Bowling
mailto: jbinpg@shaw.ca


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-22  2:11       ` Question Jack Bowling
@ 2002-06-22 15:25         ` Stephen Frost
  2002-06-22 15:42           ` Question Ramin Alidousti
  0 siblings, 1 reply; 31+ messages in thread
From: Stephen Frost @ 2002-06-22 15:25 UTC (permalink / raw)
  To: Jack Bowling; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

* Jack Bowling (jbinpg@shaw.ca) wrote:
> ** Reply to message from Antony Stone <Antony@Soft-Solutions.co.uk> on Sat, 22 Jun 2002 00:12:28 +0100
> > What sort of modules ?   I *hope* you don't mean the 'string' match ?
> > 
> > I'm not aware of anything based on IPtables which makes an effective (OSI 
> > layer 7) IDS - it's just not designed for it, being a packet filter.....
> 
> There is the psd module. Check it out.

There's also my recent module, just to throw it in there. :)

	Stephen

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2002-06-22 15:25         ` Question Stephen Frost
@ 2002-06-22 15:42           ` Ramin Alidousti
  0 siblings, 0 replies; 31+ messages in thread
From: Ramin Alidousti @ 2002-06-22 15:42 UTC (permalink / raw)
  To: Jack Bowling, netfilter

On Sat, Jun 22, 2002 at 11:25:48AM -0400, Stephen Frost wrote:

> > > I'm not aware of anything based on IPtables which makes an effective (OSI 
> > > layer 7) IDS - it's just not designed for it, being a packet filter.....
> > 
> > There is the psd module. Check it out.
> 
> There's also my recent module, just to throw it in there. :)

Which IMHO is much _more_ powerful :-)

Ramin

> 	Stephen




^ permalink raw reply	[flat|nested] 31+ messages in thread

* question
@ 2003-06-12 20:41 Sander Sneekes
  0 siblings, 0 replies; 31+ messages in thread
From: Sander Sneekes @ 2003-06-12 20:41 UTC (permalink / raw)
  To: Netfilter

Hi all,

Small qeustion anybody have any clue howto get 
microsoft netmeeting to work from behind an iptables
firewall?

I'm able to accept a conf. en send text but no video/audio



cheers
Sander


^ permalink raw reply	[flat|nested] 31+ messages in thread

* RE: question
@ 2003-06-12 22:11 George Vieira
  0 siblings, 0 replies; 31+ messages in thread
From: George Vieira @ 2003-06-12 22:11 UTC (permalink / raw)
  To: Sander Sneekes, Netfilter

Look in the archives yet? Done a google search?

Use the H323 patch from patch-o-matic.

Thanks,
____________________________________________
George Vieira
Systems Manager
georgev@citadelcomputer.com.au

Citadel Computer Systems Pty Ltd
http://www.citadelcomputer.com.au

-----Original Message-----
From: Sander Sneekes [mailto:sander@dmdsecure.com]
Sent: Friday, June 13, 2003 6:42 AM
To: Netfilter
Subject: question


Hi all,

Small qeustion anybody have any clue howto get 
microsoft netmeeting to work from behind an iptables
firewall?

I'm able to accept a conf. en send text but no video/audio



cheers
Sander



^ permalink raw reply	[flat|nested] 31+ messages in thread

* question
@ 2003-09-25 14:04 emiliano
  0 siblings, 0 replies; 31+ messages in thread
From: emiliano @ 2003-09-25 14:04 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Hi, could you give me some help about the question below?

 

I have  a Total Control with a private pool of IPs. I’m using IPTables with
NAT and HT23 modules. My trouble is that while I get a perfect video stream,
I’m unable to transmitt/receive audio (through the instant Messenger from
Microsoft, MSN Messenger ). 

 

Some sugestión about? I really will be greateful with you if you can give me
some idea …

 

Thanks!! 

 

Best regards

 

Emiliano Barbat

Argentina


[-- Attachment #2: Type: text/html, Size: 2684 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* question
@ 2005-10-27  7:55 Marcin Giedz
  2005-10-27  8:18 ` question Ruprecht Helms
  0 siblings, 1 reply; 31+ messages in thread
From: Marcin Giedz @ 2005-10-27  7:55 UTC (permalink / raw)
  To: netfilter

Hi,


I'd like to ask if it possible to change "data" field (its content) in TCP 
packet on fly? I don't need to change data's lenght but only change few bytes 
in it.

Example:
0000  ff ff ff ff ff ff 00 11 25 31 ad e0 08 00 45 00   ........%1....E.
0010  00 c1 0a b1 00 00 80 11 82 0f ac 13 01 59 ff ff   .............Y..
0020  ff ff 04 2d 01 db 00 ad 60 78 ad a7 5b de 9f 26   ...-....`x..[..&
0030  ec 98 2d 26 ec 18 2d 26 ec 18 2d 26 ec 18 2d 26   ..-&..-&..-&..-&
0040  ec 18 2d 26 ec 18 2d 26 ec 18 2d 26 ec 18 2d 26   ..-&..-&..-&..-&

First line contains MAC address 00:11:25:31:ad:e0 - I need to change it to 
other value. 

Is it possible at all?

Marcin


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  7:55 question Marcin Giedz
@ 2005-10-27  8:18 ` Ruprecht Helms
  2005-10-27  8:39   ` question Marcin Giedz
  0 siblings, 1 reply; 31+ messages in thread
From: Ruprecht Helms @ 2005-10-27  8:18 UTC (permalink / raw)
  To: Marcin Giedz; +Cc: netfilter

Hi Marcin,
> 
> I'd like to ask if it possible to change "data" field (its content) in TCP 
> packet on fly? I don't need to change data's lenght but only change few bytes 
> in it.
> 
> Example:
> 0000  ff ff ff ff ff ff 00 11 25 31 ad e0 08 00 45 00   ........%1....E.

much you can do with tcpdump.

Regards,
Ruprecht

------------------------------------------------------------------------------------------
Ruprecht Helms IT-Service & Softwareentwicklung

Tel./Fax  +49[0]7621 16 99 16
Web:       htp://www.rheyn.de


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  8:18 ` question Ruprecht Helms
@ 2005-10-27  8:39   ` Marcin Giedz
  2005-10-27  9:09     ` question Ruprecht Helms
  0 siblings, 1 reply; 31+ messages in thread
From: Marcin Giedz @ 2005-10-27  8:39 UTC (permalink / raw)
  To: rhelms; +Cc: netfilter

Dnia czwartek, 27 pa¼dziernika 2005 10:18, Ruprecht Helms napisa³:
> Hi Marcin,
>
> > I'd like to ask if it possible to change "data" field (its content) in
> > TCP packet on fly? I don't need to change data's lenght but only change
> > few bytes in it.
> >
> > Example:
> > 0000  ff ff ff ff ff ff 00 11 25 31 ad e0 08 00 45 00   ........%1....E.
>
> much you can do with tcpdump.

I don't get it :(
How with tcpdump as tcpdump is only dump traffic tool - as I know it can't 
change anything or I'm wrong?

Marcin

>
> Regards,
> Ruprecht
>
> ---------------------------------------------------------------------------
>--------------- Ruprecht Helms IT-Service & Softwareentwicklung
>
> Tel./Fax  +49[0]7621 16 99 16
> Web:       htp://www.rheyn.de


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  8:39   ` question Marcin Giedz
@ 2005-10-27  9:09     ` Ruprecht Helms
  2005-10-27  9:28       ` question Sorin Panca
  2005-10-27  9:40       ` question Marcin Giedz
  0 siblings, 2 replies; 31+ messages in thread
From: Ruprecht Helms @ 2005-10-27  9:09 UTC (permalink / raw)
  To: Marcin Giedz; +Cc: netfilter

Marcin Giedz wrote:

> 
> I don't get it :(
> How with tcpdump as tcpdump is only dump traffic tool - as I know it can't 
> change anything or I'm wrong?

You are right. As I know it only dump.
What you need is a hexeditor or you are looking for a tool that do 
hexediting in the fly.

But that is offtopic in this list.

Regards,
Ruprecht


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  9:09     ` question Ruprecht Helms
@ 2005-10-27  9:28       ` Sorin Panca
  2005-10-27  9:40       ` question Marcin Giedz
  1 sibling, 0 replies; 31+ messages in thread
From: Sorin Panca @ 2005-10-27  9:28 UTC (permalink / raw)
  To: netfilter



Ruprecht Helms wrote:
> Marcin Giedz wrote:
> 
>>
>> I don't get it :(
>> How with tcpdump as tcpdump is only dump traffic tool - as I know it
>> can't change anything or I'm wrong?
> 
> 
> You are right. As I know it only dump.
> What you need is a hexeditor or you are looking for a tool that do
> hexediting in the fly.
> 
> But that is offtopic in this list.
I think he needs a packet mangling tool: he's not offtopic.


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  9:09     ` question Ruprecht Helms
  2005-10-27  9:28       ` question Sorin Panca
@ 2005-10-27  9:40       ` Marcin Giedz
  2005-10-27 10:04         ` question Oskar Andreasson
  1 sibling, 1 reply; 31+ messages in thread
From: Marcin Giedz @ 2005-10-27  9:40 UTC (permalink / raw)
  To: rhelms; +Cc: netfilter

Dnia czwartek, 27 pa¼dziernika 2005 11:09, Ruprecht Helms napisa³:
> Marcin Giedz wrote:
> > I don't get it :(
> > How with tcpdump as tcpdump is only dump traffic tool - as I know it
> > can't change anything or I'm wrong?
>
> You are right. As I know it only dump.
> What you need is a hexeditor or you are looking for a tool that do
> hexediting in the fly.

Absolutely! 

>
> But that is offtopic in this list.

But I really don't know where to start? Perhaps some did it earlier.

Marcin

>
> Regards,
> Ruprecht


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27  9:40       ` question Marcin Giedz
@ 2005-10-27 10:04         ` Oskar Andreasson
  2005-10-27 10:25           ` question Marcin Giedz
  0 siblings, 1 reply; 31+ messages in thread
From: Oskar Andreasson @ 2005-10-27 10:04 UTC (permalink / raw)
  To: Marcin Giedz; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]

Hi Marcin, 

iptables and netfilter will not do the job, unless you are willing to
sacrifice stability and security. The problem is that the strings that
netfilter will see are broken down into smaller pieces. So the string
"iptables and netfilter" might actually be transmitted as "iptables and"
and then "netfilter" in a separate packet. On top of this, people might
try to intentionally break your filters by fragmenting the above string
into "i", "p", "t", ... etc packets. 

The good thing to do in this case, is to wait until the TCP stream has
reached the application layer and has been reassembled properly. Hence,
you will want to either write your own proxy, or to use someone elses
proxy. 

If you want to use it, I just uploaded a tunnel/proxy program to
http://www.frozentux.net/stunnel.tgz. This is an unfinished program I
started on a couple of years ago. It is written in C. It is horribly
coded and pretty much sucks, but it has no memory leaks and might serve
as a starting point.

Have a nice day;).


On Thu, 2005-10-27 at 11:40 +0200, Marcin Giedz wrote:
> Dnia czwartek, 27 października 2005 11:09, Ruprecht Helms napisał:
> > Marcin Giedz wrote:
> > > I don't get it :(
> > > How with tcpdump as tcpdump is only dump traffic tool - as I know it
> > > can't change anything or I'm wrong?
> >
> > You are right. As I know it only dump.
> > What you need is a hexeditor or you are looking for a tool that do
> > hexediting in the fly.
> 
> Absolutely! 
> 
> >
> > But that is offtopic in this list.
> 
> But I really don't know where to start? Perhaps some did it earlier.
> 
> Marcin
> 
> >
> > Regards,
> > Ruprecht
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27 10:04         ` question Oskar Andreasson
@ 2005-10-27 10:25           ` Marcin Giedz
  2005-10-27 10:37             ` question Oskar Andreasson
  0 siblings, 1 reply; 31+ messages in thread
From: Marcin Giedz @ 2005-10-27 10:25 UTC (permalink / raw)
  To: oan; +Cc: netfilter

Dnia czwartek, 27 pa¼dziernika 2005 12:04, Oskar Andreasson napisa³:
> Hi Marcin,
>
> iptables and netfilter will not do the job, unless you are willing to
> sacrifice stability and security. The problem is that the strings that
> netfilter will see are broken down into smaller pieces. So the string
> "iptables and netfilter" might actually be transmitted as "iptables and"
> and then "netfilter" in a separate packet. On top of this, people might
> try to intentionally break your filters by fragmenting the above string
> into "i", "p", "t", ... etc packets.
>
> The good thing to do in this case, is to wait until the TCP stream has
> reached the application layer and has been reassembled properly. Hence,
> you will want to either write your own proxy, or to use someone elses
> proxy.
>
> If you want to use it, I just uploaded a tunnel/proxy program to
> http://www.frozentux.net/stunnel.tgz. This is an unfinished program I
> started on a couple of years ago. It is written in C. It is horribly
> coded and pretty much sucks, but it has no memory leaks and might serve
> as a starting point.

Great!!! Really thanks but I just can't reach your program - above address 
doesn't work :( Could you please do something or send the program on my 
private mail.

Thanks once again,
Marcin

>
> Have a nice day;).
>
> On Thu, 2005-10-27 at 11:40 +0200, Marcin Giedz wrote:
> > Dnia czwartek, 27 pa¼dziernika 2005 11:09, Ruprecht Helms napisa³:
> > > Marcin Giedz wrote:
> > > > I don't get it :(
> > > > How with tcpdump as tcpdump is only dump traffic tool - as I know it
> > > > can't change anything or I'm wrong?
> > >
> > > You are right. As I know it only dump.
> > > What you need is a hexeditor or you are looking for a tool that do
> > > hexediting in the fly.
> >
> > Absolutely!
> >
> > > But that is offtopic in this list.
> >
> > But I really don't know where to start? Perhaps some did it earlier.
> >
> > Marcin
> >
> > > Regards,
> > > Ruprecht


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27 10:25           ` question Marcin Giedz
@ 2005-10-27 10:37             ` Oskar Andreasson
  2005-10-27 11:18               ` question Marcin Giedz
  0 siblings, 1 reply; 31+ messages in thread
From: Oskar Andreasson @ 2005-10-27 10:37 UTC (permalink / raw)
  To: Marcin Giedz; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 2470 bytes --]

On Thu, 2005-10-27 at 12:25 +0200, Marcin Giedz wrote:
> Dnia czwartek, 27 października 2005 12:04, Oskar Andreasson napisał:
> > Hi Marcin,
> >
> > iptables and netfilter will not do the job, unless you are willing to
> > sacrifice stability and security. The problem is that the strings that
> > netfilter will see are broken down into smaller pieces. So the string
> > "iptables and netfilter" might actually be transmitted as "iptables and"
> > and then "netfilter" in a separate packet. On top of this, people might
> > try to intentionally break your filters by fragmenting the above string
> > into "i", "p", "t", ... etc packets.
> >
> > The good thing to do in this case, is to wait until the TCP stream has
> > reached the application layer and has been reassembled properly. Hence,
> > you will want to either write your own proxy, or to use someone elses
> > proxy.
> >
> > If you want to use it, I just uploaded a tunnel/proxy program to
> > http://www.frozentux.net/stunnel.tgz. This is an unfinished program I
> > started on a couple of years ago. It is written in C. It is horribly
> > coded and pretty much sucks, but it has no memory leaks and might serve
> > as a starting point.
> 
> Great!!! Really thanks but I just can't reach your program - above address 
> doesn't work :( Could you please do something or send the program on my 
> private mail.
> 

Sorry about that, I got an urgent task on my desk and forgot to upload
the file:). It's uploaded now. Do note that this is just a very ugly
framework really, you need to do all the parsing etc on your own, and I
have a bad habit of not commenting work in progress projects... =)

> Thanks once again,
> Marcin
> 
> >
> > Have a nice day;).
> >
> > On Thu, 2005-10-27 at 11:40 +0200, Marcin Giedz wrote:
> > > Dnia czwartek, 27 października 2005 11:09, Ruprecht Helms napisał:
> > > > Marcin Giedz wrote:
> > > > > I don't get it :(
> > > > > How with tcpdump as tcpdump is only dump traffic tool - as I know it
> > > > > can't change anything or I'm wrong?
> > > >
> > > > You are right. As I know it only dump.
> > > > What you need is a hexeditor or you are looking for a tool that do
> > > > hexediting in the fly.
> > >
> > > Absolutely!
> > >
> > > > But that is offtopic in this list.
> > >
> > > But I really don't know where to start? Perhaps some did it earlier.
> > >
> > > Marcin
> > >
> > > > Regards,
> > > > Ruprecht

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27 10:37             ` question Oskar Andreasson
@ 2005-10-27 11:18               ` Marcin Giedz
  2005-10-27 13:28                 ` question Oskar Andreasson
  0 siblings, 1 reply; 31+ messages in thread
From: Marcin Giedz @ 2005-10-27 11:18 UTC (permalink / raw)
  To: oan; +Cc: netfilter

> Sorry about that, I got an urgent task on my desk and forgot to upload
> the file:). It's uploaded now. Do note that this is just a very ugly
> framework really, you need to do all the parsing etc on your own, and I
> have a bad habit of not commenting work in progress projects... =)
	
Hmm..  still have the same problem - sorry :( I tried http://www.frozentux.net 
as well but it seems like some problems with PHP script :(

BR,
Marcin


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: question
  2005-10-27 11:18               ` question Marcin Giedz
@ 2005-10-27 13:28                 ` Oskar Andreasson
  0 siblings, 0 replies; 31+ messages in thread
From: Oskar Andreasson @ 2005-10-27 13:28 UTC (permalink / raw)
  To: Marcin Giedz; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Shit happens, but now it works again. the admin of my site decided to
switch the dns records over to a temporary site while they are upgrading
the machine. my local dns server cached the old records while you seem
to have gotten to the new servers, and i didn't see it. 

To make a long story short, it's fixed. Same place as previously
mentioned... 3rd times the charm *crossing fingers* =)

On Thu, 2005-10-27 at 13:18 +0200, Marcin Giedz wrote:
> > Sorry about that, I got an urgent task on my desk and forgot to upload
> > the file:). It's uploaded now. Do note that this is just a very ugly
> > framework really, you need to do all the parsing etc on your own, and I
> > have a bad habit of not commenting work in progress projects... =)
> 	
> Hmm..  still have the same problem - sorry :( I tried http://www.frozentux.net 
> as well but it seems like some problems with PHP script :(
> 
> BR,
> Marcin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread

* question
@ 2006-06-21 12:14 Fabio S. Silva
  2006-06-21 12:23 ` question Sietse van Zanen
  0 siblings, 1 reply; 31+ messages in thread
From: Fabio S. Silva @ 2006-06-21 12:14 UTC (permalink / raw)
  To: netfilter

Hi all, i trying to find tools to test my firewall, i need to make
some test like "Sustained TCP Connections" but i dont know tools to do
it.. and... i need some tools to simulate an ddos to my firewall to
see if its droping packets, etc..
anybody can help me ??

best regards..

Fabio S. Silva


^ permalink raw reply	[flat|nested] 31+ messages in thread

* RE: question
  2006-06-21 12:14 question Fabio S. Silva
@ 2006-06-21 12:23 ` Sietse van Zanen
  0 siblings, 0 replies; 31+ messages in thread
From: Sietse van Zanen @ 2006-06-21 12:23 UTC (permalink / raw)
  To: Fabio S. Silva, netfilter

Usually you would test your firewall with the applications you need to use through it. That would be the only realistic test application wise.
 
For testing sustained tcp connections you can use a tool tike TTCP, which can open the connection and test throughput of your firewall.
http://www.pcausa.com/Utilities/pcattcp.htm
 
Foor DDOS simulations, you would need multiple pc's on your network and a simulation tool:
http://www.ssfnet.org/javadoc/SSF/App/DDoS/package-summary.html
 
-Sietse

________________________________

From: netfilter-bounces@lists.netfilter.org on behalf of Fabio S. Silva
Sent: Wed 21-Jun-06 14:14
To: netfilter@lists.netfilter.org
Subject: question



Hi all, i trying to find tools to test my firewall, i need to make
some test like "Sustained TCP Connections" but i dont know tools to do
it.. and... i need some tools to simulate an ddos to my firewall to
see if its droping packets, etc..
anybody can help me ??

best regards..

Fabio S. Silva





^ permalink raw reply	[flat|nested] 31+ messages in thread

* Question
@ 2008-04-28  9:01 Karim Reda Fakhir
  2008-04-28 10:11 ` Question Jan Engelhardt
  0 siblings, 1 reply; 31+ messages in thread
From: Karim Reda Fakhir @ 2008-04-28  9:01 UTC (permalink / raw)
  To: netfilter

How can i do SNAT and DNAT in same time with iptables , i try to
change Ip src and Ip dest .


                  Best Regards.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2008-04-28  9:01 Question Karim Reda Fakhir
@ 2008-04-28 10:11 ` Jan Engelhardt
  2008-04-29  1:51   ` Question Diego Lacerda
  0 siblings, 1 reply; 31+ messages in thread
From: Jan Engelhardt @ 2008-04-28 10:11 UTC (permalink / raw)
  To: Karim Reda Fakhir; +Cc: netfilter


On Monday 2008-04-28 11:01, Karim Reda Fakhir wrote:

>How can i do SNAT and DNAT in same time with iptables , i try to
>change Ip src and Ip dest .

-t nat -A PREROUTING -j DNAT ...
-t nat -A POSTROUTING -j SNAT ...
no?

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Question
  2008-04-28 10:11 ` Question Jan Engelhardt
@ 2008-04-29  1:51   ` Diego Lacerda
  0 siblings, 0 replies; 31+ messages in thread
From: Diego Lacerda @ 2008-04-29  1:51 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Karim Reda Fakhir, netfilter

Yeah,

It's possible, netfilter will change the packet as it passes through
the chains (in the NAT table).

Regards,
Diego Lacerda.

On Mon, Apr 28, 2008 at 7:11 AM, Jan Engelhardt <jengelh@computergmbh.de> wrote:
>
>
> On Monday 2008-04-28 11:01, Karim Reda Fakhir wrote:
>
> >How can i do SNAT and DNAT in same time with iptables , i try to
> >change Ip src and Ip dest .
>
> -t nat -A PREROUTING -j DNAT ...
> -t nat -A POSTROUTING -j SNAT ...
> no?
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2008-04-29  1:51 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-21 17:33 Question Krish Ahya
2002-06-21 17:40 ` Question Antony Stone
2002-06-21 18:31   ` Question James Mello
2002-06-21 23:12     ` Question Antony Stone
2002-06-21 23:16       ` Question James Mello
2002-06-21 23:26         ` Question Antony Stone
2002-06-22  2:11       ` Question Jack Bowling
2002-06-22 15:25         ` Question Stephen Frost
2002-06-22 15:42           ` Question Ramin Alidousti
2002-06-21 18:59 ` Question Nick Drage
2002-06-21 19:41   ` Question Rowan Reid
2002-06-22  0:26 ` Question Sascha Reissner
  -- strict thread matches above, loose matches on Subject: below --
2003-06-12 20:41 question Sander Sneekes
2003-06-12 22:11 question George Vieira
2003-09-25 14:04 question emiliano
2005-10-27  7:55 question Marcin Giedz
2005-10-27  8:18 ` question Ruprecht Helms
2005-10-27  8:39   ` question Marcin Giedz
2005-10-27  9:09     ` question Ruprecht Helms
2005-10-27  9:28       ` question Sorin Panca
2005-10-27  9:40       ` question Marcin Giedz
2005-10-27 10:04         ` question Oskar Andreasson
2005-10-27 10:25           ` question Marcin Giedz
2005-10-27 10:37             ` question Oskar Andreasson
2005-10-27 11:18               ` question Marcin Giedz
2005-10-27 13:28                 ` question Oskar Andreasson
2006-06-21 12:14 question Fabio S. Silva
2006-06-21 12:23 ` question Sietse van Zanen
2008-04-28  9:01 Question Karim Reda Fakhir
2008-04-28 10:11 ` Question Jan Engelhardt
2008-04-29  1:51   ` Question Diego Lacerda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox