From: "Saber zrelli" <saber_z@fastmail.fm>
To: netfilter@lists.netfilter.org
Subject: newbie question about kernel networking
Date: Sat, 20 Mar 2004 22:06:11 +0900 [thread overview]
Message-ID: <1079787971.1673.183015624@webmail.messagingengine.com> (raw)
In-Reply-To: <20040320002512.GC3373@salty>
hi people ,
my question is simple :
if i use some packet injection library like libnet to send a packet from
host A to host B , and libpcap to capture packets and monitor all network
traffik.
let's say i send TCP SYN packet (like if my host is establishing a TCP
connection with host B ), the host may answer with a SYN packet accepting
my connection , then two possibilities :
1 - the kernel will send RST packet to the host B coz the SYN packet from
host B be is assimilated as connection establishment
request to a non existant service.
2 - the libpcap tool im using acts as a service and the kernel just
deliver the SYN packet from B to my sniffing tool without
taking any action like in 1.
in case 1 the kernel will generate an extra trafic i dont need .
in case 2 it acts transparently.
i think that case 2 is more correct , but i'm not sure.
Any comments greatly appreciated.
Regards.
--
Saber Zrelli
kanazawa university international house
kakuma-machi , kanazawa , Ishikawa
920-1192 Japan.
prev parent reply other threads:[~2004-03-20 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-20 0:25 icmp messages to spoofed addressacceptedby -m conntrack --ctstate Jim Laurino
2004-03-20 13:06 ` Saber zrelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1079787971.1673.183015624@webmail.messagingengine.com \
--to=saber_z@fastmail.fm \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox