Re: Http server implementation for Windows Media Server
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Mon, 6 Aug 2007 13:31:35 -0700
You'd be much better off recording the TCP-level data instead
of the raw packets. I'm assuming you are using a raw TCP
socket. Dump that idea and use a regular TCP socket instead.
To answer your question, the packets aren't ACKed because
they are all discarded as lying outside the TCP window for the
current TCP connection (due to your sequence number mismatch).
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Gur" <gur@xxxxxxxxx> wrote in message
news:%23xmNAkB2HHA.5360@xxxxxxxxxxxxxxxxxxxxxxx
In the previous post I forgot to indicate a very important fact - that
is,
the client (which is a Windows Media Player) doesn't ACKs the above
packets
which it should, since my Http server simulates for him a Windows Media
Server and sends the original packets with the slight modification of a
modified port.
Regards
Gur
"Gur" <gur@xxxxxxxxx> wrote in message
news:e3l18aA2HHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
I do it inside the Http server code. As described in the first post, theLeaving
Http server reads packets one by one from the dump, sending them to the
client after modifying tcp parameters like addresses, ports etc. In this
case everything left unchanged but the port, and the "relative sequence
number" jumps to a huge value.
Regards
Gur
"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:eNrISB$1HHA.4880@xxxxxxxxxxxxxxxxxxxxxxx
Where do you do(modify) it ?of
Arkady
"Ronny" <ronny@xxxxxxxxxxx> wrote in message
news:uR9ltw%231HHA.5772@xxxxxxxxxxxxxxxxxxxxxxx
Thanks,
I think I understand a bit more following your direction...
Now to a real case that I encounter, as described in the first post
of
this
thread, modifying in the tcp packet before transmitting, just the
port
causesthe client as the port is usually different than the original one,
a
real time sniffer to indicate a huge "relative sequence number".
portGETit
without modification causes an indication of 1 - just as it was in
the
original packet. Why should the port value influence on that?
Can you explain that?
Regards
Gur
"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:OSB8$$y1HHA.5884@xxxxxxxxxxxxxxxxxxxxxxx
On the tcp layer, both server's and client's tcpip stack do that
Arkady
"Gur" <gur@xxxxxxxxx> wrote in message
news:eGqSoat1HHA.484@xxxxxxxxxxxxxxxxxxxxxxx
Thanks,
Suppose a common scenario where a standard Web Server responds to
a
Http request. Does the server ever ACKs the client and when?
Thanks
Gur
"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:uystfhs1HHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
That strange that no ACK appear because any data should be ACKed
Arkady
"Gur" <gur@xxxxxxxxx> wrote in message
news:ukd9yIq1HHA.1336@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I'm trying to implement a specific Http server that listens on
Server8080
(not the standard 80). Actually it resembles a Windows Media
Windowthat
also works as a HTTP server (among some other modes).
I have a dump file of prercorded transmision from an actual
transmitsshouldMedia
Server and Windows Media Player, and my server implementation
Player.transmit them after establishing the tcp connection with the
withIn reality, the connection is established but the server behaves
the following anomalies-
1. After the "GET" transaction by the Player, the server
an
ACK which doen't appear in the normal case.
2. The first dump packet that is being transmitted starts with
a
huge
"Realtive Sequence Number" instead of a 1.
Can someone advise please?
Regards
Gur
.
- Follow-Ups:
- References:
- Http server implementation for Windows Media Server
- From: Gur
- Re: Http server implementation for Windows Media Server
- From: Arkady Frenkel
- Re: Http server implementation for Windows Media Server
- From: Gur
- Re: Http server implementation for Windows Media Server
- From: Arkady Frenkel
- Re: Http server implementation for Windows Media Server
- From: Ronny
- Re: Http server implementation for Windows Media Server
- From: Arkady Frenkel
- Re: Http server implementation for Windows Media Server
- From: Gur
- Re: Http server implementation for Windows Media Server
- From: Gur
- Http server implementation for Windows Media Server
- Prev by Date: Re: Which protocol?
- Next by Date: Re: Catagorizing LSPs
- Previous by thread: Re: Http server implementation for Windows Media Server
- Next by thread: Re: Http server implementation for Windows Media Server
- Index(es):
Relevant Pages
|
Loading