network-protocols

Calculation of charged traffic in GPRS network

I am working with a distributed application communicating over GPRS. I use UDP packets to send business data and ICMP pings to verify connectivity. And now I have a problem with calculating a traffic for which I will be charged by the provider. I have to consider following factors: UDP payload: that is obvious. UDP overhead: UDP header...

Is there an algorithm for fingerprinting the TCP congestion control algorithm used in a captured session?

I would like a program for determining the TCP congestion control algorithm used in a captured TCP session. The referenced Wikipedia article states: TCP New Reno is the most commonly implemented algorithm, SACK support is very common and is an extension to Reno/New Reno. Most others are competing proposals which still need ...

When is forward error correction a good idea for packets?

Systems could use UDP and employ forward error correction to transmit the whole message, without retransmits, even if a few packets are lost. Does this ever work well in practice or is the extra overhead too much of a waste? ...

Protocol simplicity versus "properness"

I have another argument with a friend of mine. Consider having a need to design a simplistic JSON-based protocol, which is basically used to send sort of events (messages) between parties. Say, something like { event_id: 1, chat_message: "Hello" } { event_id: 2, group_id: 3, presence: "online" } ... I propose to keep this protoc...

Lean packet protocol for AS3 and C#?

Is there by chance a lean (meaning not xml or json) packet protocol that is implemented in both actionscript 3 and C#? It would be great if there was one that already had an implementation in both languages. If not, I may have to code one side. That being said, would it be stupid/unsafe to figure out (or find documents of) C#'s serializa...

How can I reverse engineer an application's protocol?

I'm using an application (an instant messenger) which is not very popular. I'm trying to find the protocol that it uses. I know it's using TCP/IP but I want to find out all the commands that it is sending to the server and receiving from the server. I tried a couple of sniffers, but they can not recognize this application by name and mo...

Sql Server Client protocols

What is VIA protocol in SQL Server Client Protocols? more precisely what does VIA stands for? Is it for chip-maker VIA? ...

In protocol design, why would you ever use 2 ports?

When a TCP Server does a socket accept on a port, it gets a new socket to work with that Client. The accepting socket remains valid for that port and can accept further clients on that port. Why did the original FTP specification RFC 959 decide to create both a control port and a data port? Would there be any reason to do this in a ...

Are stateless protocols considered better to use over stateful protocols?

I can see that stateful protocols lead to less botched together 'emulated state' like cookies. but testing becomes a lot harder to ensure that your implementation is correct and reconnects, and session continuations can be very hard to handle. Is it considered better practice to always use stateless protocols, or is it really domain s...

Does any one know how to use MML comands for Huawei IN billing?

Hi I need help on billing integration for Huawei IN platform, i understand they have an Open API for 3rd party integrators. has anyone done similar work, or can anyone show me how to get started? yes...i have checked Google...not much help :) Thanks. ...

Tools for experimental Protocol Design & Development?

Are there any open source, high level tools that would facilitate and simplify development of experimental network protocols (TCP/UDP) using a GUI? Basically, something like a dynamic state machine editor that would allow you to define "packets", "messages", "states", "validators", "handlers" etc. Preferably, such a tool would be compr...

Find Packet Loss and Trace Route in .NET

Hello All: I am trying to code to capture the packet loss on computers, but the only way I've been able to do so was to run the NetStat.exe and the TraceRt.exe processes and capture them to a listbox (using the code below): Private Sub myProcess() Dim p As System.Diagnostics.Process Dim theFile, sTemp, sLineOut, mySent, myRetr...

Is SCTP good for peer-to-peer apps?

I am considering using SCTP instead of TCP for a p2p app written in C. Should I do it? Also how does the speed of SCTP compare to the speed of TCP? EDIT: I found that SCTP can be tunneled over UDP with the only problem being tunneled SCTP is not interoperable with untunneled SCTP. ...

A Parallel IP address space exlusively for a P2P network?

I would like to do this because it would make peer location much more effective in my p2p network as I would know that all the addresses would be part of this network. How could I do this while remaining compatible with current transport layer protocols such as SCTP, and the current hardware used on the big wide Internet? Thanks, Andr...

Need specific information on NTRIP protocol

I am developing an application that use NTRIP protocol. I need the packet that is sent by the NTRIP client to the server. The application I am building uses the HTTP stream. The client will connect to this application and send data using HTTP from which I will extract certain information and process it. I need the sample data that the c...

First packet to be sent when starting to browse

Imagine a user sitting at an Ethernet-connected PC. He has a browser open. He types "www.google.com" in the address bar and hits enter. Now tell me what the first packet to appear on the Ethernet is. I found this question here: http://stackoverflow.com/questions/177197/interview-questions-on-socket-programming-and-multi-threading As I...

Network Communication Design Patterns

I've come to realize that several questions I asked in the past, such as this really boil down to a more fundamental question. Are there any well known design patterns for network communications and by virtue of it's nature, protocol construction/parsing? A google search has not revealed much. Note that i'm not looking for solutions f...

Practical implications of OSI vs TCP/IP networking.

Hi. I'm supposed to be setting up a 'geolocation based', ipv6, wireless mesh network to run on google android. I found what seems to be a good app to support the meshing: http://www.open-mesh.net/wiki/batman-adv "Batman-advanced is a new approach to wireless networking which does no longer operate on the IP basis. Unlike B....

Transparently proxying telnet traffic?

We have written a tool to proxy telnet traffic, and fork the inbound/outbound streams for recording purposes (this is a testing tool to test a legacy system). However, we hit a snag. The legacy system relies on knowing a client's ip address in certain cases, but when we use our proxy the clients' addresses are all changed to the proxy's ...

Geolocation based, wireless mesh routing alogorithm: useful?

I'm in a team and we are supposed to be setting up a 'geolocation based', ipv6, wifi mesh network to run on google android. The idea is to use the geolocation (latitude, longitude, altitude) of each node to generate the IPv6 address, then use that to choose the closest node as the preferred node for routing through. Some optimisation i...