Find the code of handling handshake process with TCP server.

21 views
Skip to first unread message

Brian

unread,
Apr 15, 2010, 2:57:12 PM4/15/10
to Chromium-discuss
Hi, everyone,
I am looking for the code for handling the handshake process with TCP
server, which sending/receiving the handshake packets. Can anyone help
me please? I will be really appreciated.

William Chan (陈智昌)

unread,
Apr 15, 2010, 3:03:38 PM4/15/10
to bria...@gmail.com, Chromium-discuss
If you're referring to the TCP handshake, that is typically handled by
the Linux kernel. You should probably examine the code at
http://lxr.linux.no/linux+v2.6.33/net/ipv4/. Chromium just uses the
BSD socket API.

> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/a/chromium.org/group/chromium-discuss
>

William Chan (陈智昌)

unread,
Apr 15, 2010, 3:05:34 PM4/15/10
to bria...@gmail.com, Chromium-discuss
Er, sorry, my comment primarily applies to Linux. For Windows, unless
you have access to the windows source code, you won't be able to
examine its TCP handshake code.

Brian

unread,
Apr 15, 2010, 3:15:03 PM4/15/10
to Chromium-discuss
Thank you very much!
What I am doing is detecting the packets incoming/outgoing my PC. And
I want to know which packets are going through the browser. Do you
have an advice for separating the browsing packets from other packets
through chromium?
Thank you!

On Apr 15, 2:05 pm, William Chan (陈智昌) <willc...@chromium.org> wrote:
> Er, sorry, my comment primarily applies to Linux.  For Windows, unless
> you have access to the windows source code, you won't be able to
> examine its TCP handshake code.
>
> On Thu, Apr 15, 2010 at 12:03 PM, William Chan (陈智昌)
>

> <willc...@chromium.org> wrote:
> > If you're referring to the TCP handshake, that is typically handled by
> > the Linux kernel.  You should probably examine the code at
> >http://lxr.linux.no/linux+v2.6.33/net/ipv4/.  Chromium just uses the
> > BSD socket API.
>

> > On Thu, Apr 15, 2010 at 11:57 AM, Brian <brian....@gmail.com> wrote:
> >> Hi, everyone,
> >> I am looking for the code for handling the handshake process with TCP
> >> server, which sending/receiving the handshake packets. Can anyone help
> >> me please? I will be really appreciated.
>
> >> --

> >> Chromium Discussion mailing list: chromium-disc...@chromium.org

William Chan (陈智昌)

unread,
Apr 15, 2010, 3:32:03 PM4/15/10
to bria...@gmail.com, Chromium-discuss
If you just want to sniff packets, you should use a packet sniffer
like wireshark. You can probably apply whatever filter you want in
wireshark.

2010/4/15 Brian <bria...@gmail.com>:

> Chromium Discussion mailing list: chromium...@chromium.org

Reply all
Reply to author
Forward
0 new messages