All of lore.kernel.org
 help / color / mirror / Atom feed
* how the packet is traversed
@ 2012-10-02 20:20 Giuseppe Longo
  2012-10-02 20:52 ` 叶雨飞
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Giuseppe Longo @ 2012-10-02 20:20 UTC (permalink / raw)
  To: netfilter

Hello,
i'm a student of computer science, working on a project using iptables.
I'm confused how the packet is treated when it's arrived in the iptables.

Someone can explain me this process?

Thanks in advice,
Regards.

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

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
@ 2012-10-02 20:52 ` 叶雨飞
  2012-10-02 20:54 ` Andrew Beverley
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: 叶雨飞 @ 2012-10-02 20:52 UTC (permalink / raw)
  To: Giuseppe Longo; +Cc: netfilter

It's probably better that you search google first.

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables

On Tue, Oct 2, 2012 at 1:20 PM, Giuseppe Longo <giuseppelng@gmail.com> wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
>
> Someone can explain me this process?
>
> Thanks in advice,
> Regards.
> --
> 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] 7+ messages in thread

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
  2012-10-02 20:52 ` 叶雨飞
@ 2012-10-02 20:54 ` Andrew Beverley
  2012-10-02 20:59 ` Marco Padovan
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Andrew Beverley @ 2012-10-02 20:54 UTC (permalink / raw)
  To: Giuseppe Longo; +Cc: netfilter

On Tue, 2012-10-02 at 22:20 +0200, Giuseppe Longo wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
> 
> Someone can explain me this process?

Well there are various tutorials, none of which I can find right now,
but a picture paints a thousand words...

This diagram is a good place to start as it's simple, although probably
out of date:

http://www.docum.org/docum.org/kptd/

Once you've got your head around that, this is the fully comprehensive
one, but tougher for beginners:

http://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg

If you've got any specific questions, then please ask!

Andy



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

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
  2012-10-02 20:52 ` 叶雨飞
  2012-10-02 20:54 ` Andrew Beverley
@ 2012-10-02 20:59 ` Marco Padovan
  2012-10-02 21:03 ` Neal Murphy
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Marco Padovan @ 2012-10-02 20:59 UTC (permalink / raw)
  To: Giuseppe Longo; +Cc: netfilter


http://inai.de/images/nf-packet-flow.png

Il 02/10/2012 22:20, Giuseppe Longo ha scritto:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
>
> Someone can explain me this process?
>
> Thanks in advice,
> Regards.
> --
> 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] 7+ messages in thread

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
                   ` (2 preceding siblings ...)
  2012-10-02 20:59 ` Marco Padovan
@ 2012-10-02 21:03 ` Neal Murphy
  2012-10-03  4:51 ` Vigneswaran R
  2012-10-03 16:36 ` Csordás Csaba Ifj.
  5 siblings, 0 replies; 7+ messages in thread
From: Neal Murphy @ 2012-10-02 21:03 UTC (permalink / raw)
  To: netfilter

On Tuesday, October 02, 2012 04:20:14 PM Giuseppe Longo wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
> 
> Someone can explain me this process?

http://www.docum.org/docum.org/kptd/

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

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
                   ` (3 preceding siblings ...)
  2012-10-02 21:03 ` Neal Murphy
@ 2012-10-03  4:51 ` Vigneswaran R
  2012-10-03 16:36 ` Csordás Csaba Ifj.
  5 siblings, 0 replies; 7+ messages in thread
From: Vigneswaran R @ 2012-10-03  4:51 UTC (permalink / raw)
  To: Giuseppe Longo; +Cc: netfilter

On Wednesday 03 October 2012 01:50 AM, Giuseppe Longo wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
>
> Someone can explain me this process?

I found the following very useful to start with,

<http://adminsehow.internexsolution.netdna-cdn.com/wp-content/uploads/2011/09/iptables.png>


Regards,
Vignesh

>
> Thanks in advice,
> Regards.
> --
> 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] 7+ messages in thread

* Re: how the packet is traversed
  2012-10-02 20:20 how the packet is traversed Giuseppe Longo
                   ` (4 preceding siblings ...)
  2012-10-03  4:51 ` Vigneswaran R
@ 2012-10-03 16:36 ` Csordás Csaba Ifj.
  5 siblings, 0 replies; 7+ messages in thread
From: Csordás Csaba Ifj. @ 2012-10-03 16:36 UTC (permalink / raw)
  To: Giuseppe Longo, netfilter

Currently the best one is at http://inai.de/images/nf-packet-flow.svg
by Jan ENGELHARDT.
He is a netfilter developer.
http://www.ipszilon.iif.hu/iptables/tuzfal-kadlec.pdf
The other (simpler one) I would recommend:

Page 11 of http://www.ipszilon.iif.hu/iptables/tuzfal-kadlec.pdf.

It is in Hungarian.








On Tue, Oct 2, 2012 at 10:20 PM, Giuseppe Longo <giuseppelng@gmail.com> wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
>
> Someone can explain me this process?
>
> Thanks in advice,
> Regards.
> --
> 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] 7+ messages in thread

end of thread, other threads:[~2012-10-03 16:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 20:20 how the packet is traversed Giuseppe Longo
2012-10-02 20:52 ` 叶雨飞
2012-10-02 20:54 ` Andrew Beverley
2012-10-02 20:59 ` Marco Padovan
2012-10-02 21:03 ` Neal Murphy
2012-10-03  4:51 ` Vigneswaran R
2012-10-03 16:36 ` Csordás Csaba Ifj.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.