* Re: Developing with libipq
2004-10-14 18:20 Developing with libipq Jvalencia
@ 2004-10-14 18:10 ` Pablo Neira
2004-10-14 18:32 ` Jvalencia
0 siblings, 1 reply; 4+ messages in thread
From: Pablo Neira @ 2004-10-14 18:10 UTC (permalink / raw)
To: Jvalencia; +Cc: netfilter-devel
Jvalencia wrote:
>Hi all, i'm new to netfilter and just started trying some simple things.
>I've made a program (simple program) to take a packet and print its metadata.
>The output is this:
>
>ID of queued packet: 3413885640
>Netfilter mark value: 0
>Packet arrival time (seconds): 0
>Packet arrival time (+useconds): 0
>Netfilter hook we rode in on: 3
>
>
You are enqueing packets in the localout hook.
#define NF_IP_LOCAL_OUT 3
>Name of incoming interface:
>Name of outcoming interface: eth0
>Hardware protocol: 0
>Hardware type: 0
>Hardware address length: (null)
>Hardware address:
>Length of packet data: 0
>
>
>Is this result valid? most values are 0
>
>
yes, in localout hook the packets are in network layer, so they don't
still know anything about the link layer information, that is, mac
address and folks.
regards,
Pablo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Developing with libipq
@ 2004-10-14 18:20 Jvalencia
2004-10-14 18:10 ` Pablo Neira
0 siblings, 1 reply; 4+ messages in thread
From: Jvalencia @ 2004-10-14 18:20 UTC (permalink / raw)
To: netfilter-devel
Hi all, i'm new to netfilter and just started trying some simple things.
I've made a program (simple program) to take a packet and print its metadata.
The output is this:
ID of queued packet: 3413885640
Netfilter mark value: 0
Packet arrival time (seconds): 0
Packet arrival time (+useconds): 0
Netfilter hook we rode in on: 3
Name of incoming interface:
Name of outcoming interface: eth0
Hardware protocol: 0
Hardware type: 0
Hardware address length: (null)
Hardware address:
Length of packet data: 0
Is this result valid? most values are 0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Developing with libipq
@ 2004-10-14 18:21 Jvalencia
0 siblings, 0 replies; 4+ messages in thread
From: Jvalencia @ 2004-10-14 18:21 UTC (permalink / raw)
To: netfilter-devel
Hi all, i'm new to netfilter and just started trying some simple things.
I've made a program (simple program) to take a packet and print its metadata.
The output is this:
ID of queued packet: 3413885640
Netfilter mark value: 0
Packet arrival time (seconds): 0
Packet arrival time (+useconds): 0
Netfilter hook we rode in on: 3
Name of incoming interface:
Name of outcoming interface: eth0
Hardware protocol: 0
Hardware type: 0
Hardware address length: (null)
Hardware address:
Length of packet data: 0
Is this result valid? most values are 0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Developing with libipq
2004-10-14 18:10 ` Pablo Neira
@ 2004-10-14 18:32 ` Jvalencia
0 siblings, 0 replies; 4+ messages in thread
From: Jvalencia @ 2004-10-14 18:32 UTC (permalink / raw)
To: netfilter-devel
Thanks, and sorry by double posting.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-14 18:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 18:20 Developing with libipq Jvalencia
2004-10-14 18:10 ` Pablo Neira
2004-10-14 18:32 ` Jvalencia
-- strict thread matches above, loose matches on Subject: below --
2004-10-14 18:21 Jvalencia
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.