Questions tagged [network-protocols]
A network protocol defines rules and conventions for communication between network devices.
1,216
questions
0
votes
0
answers
27
views
Read and Send ACK response from RS232 Device With CRC16-Kermit
This is my first post here, so first of all, hello world.
I am fairly new to serial communication but I have had success in some basic command output with RS232-Serial port monitor Application.
I'm ...
0
votes
0
answers
11
views
Trying to publish in WS-Discovery - python
I am trying to publish a device using for WS-Discovery.
I am successfully able send probeMatch using WSDiscoery
But, I am NOT able to specify the port in which I can send it. In my scenario, I want to ...
2
votes
0
answers
26
views
c#, server-client desktop application, using http/https ports for communication with high amount of data
I have been looking around the internet to see what protocols are available for the client/server communication. I'm currently not able to find a durable solution for my problem, maybe looking the ...
-1
votes
1
answer
23
views
How to disable connection to website pages without tls protocol in Ubuntu?
I wish my ubuntu machine had a website blocking configuration without tls protocol.
Next, I would like to check via the terminal whether this service is enabled. It is possible?
Is it enough to block ...
0
votes
0
answers
21
views
Is it possible to implement a routing protocol in Mininet and do evaluations?
I want to implement a specific IGP routing protocol in Python and do performance evaluations (for scientific research purpose). I don't know whether Mininet is the best option or not by taking into ...
0
votes
1
answer
32
views
Network Data Encapsulation Process
A question about how network data traverses through the internet.
I'm wondering whether the encapsulation/de-capsulation process happens at each hop while a request is being sent through the internet. ...
0
votes
1
answer
35
views
How to force wireshark to show protocol names?
As shown in the screenshot above, the protocol column always shows correct signs rather than the actual protocol name. The wireshark version is 3.6.5.
How to force wireshark to show protocol names?
1
vote
0
answers
40
views
Apache Telnet Client does not recevie non-ASCII characters
I've been trying to useorg.apache.commons.net.telnet.TelnetClient and I am having trouble to receive non-ASCII characters (in my case polish chars like ą,ę,ć,ź and few others). The problem is not on ...
0
votes
0
answers
9
views
Can server dynamically change image data as its being loaded by browser?
Is anything preventing a server from dynamically changing the data of an image as it's being loaded by the browser?
To better explain what I am asking let's slow time a little bit or imagine a really ...
0
votes
0
answers
50
views
How to read in "\r\n" as a string? trying to split data from an incoming message
I am having an issue trying to receive a string that I need to split as one part of the string has a name and the other part of the string has a location. although I am unsure how to split this data, ...
0
votes
0
answers
85
views
Could a parallel redundancy protocol "PRP" be implemented over Debian?
I want to connect a PC to an existing PRP topology, this PC have two Ethernet ports.
I have been reading up a lot about PRP protocol, but i don't know if i can setup the PRP protocol over a linux ...
0
votes
0
answers
93
views
Fragmentation over the Transport layer (UDP)
A theoretical question.
How can Fragmentation be implemented over the transport layer in the OSI model?
How can I "change" the UDP protocol to support that thing?
0
votes
1
answer
43
views
How to return HTTP streaming errors? (especially in Rust)
How a streaming (e.g. a sound or video) HTTP server should report failure in the DB from which it streams (when it already streams, 503 header cannot be generated).
The client should be able to ...
0
votes
0
answers
32
views
Android RTP Network Protocol support for audio and video playback
I saw in developer docs that Android supports RTP for audio and video playback. However, I could not find classes that I need to use to implement it.
Below is the link where they mentioned RTP support ...
2
votes
1
answer
244
views
UDP & TCP Protocols at the same time in Rust [closed]
I'm developing an application in Rust in which I need to transfer two types of data to a server on the Internet:
Lots of "less important" information, for which I would use the UDP protocol....
0
votes
1
answer
284
views
How to use Vue-CLI-service serve on HTTP-2?
By default, Vue-CLI-service serves on HTTP 1.1. Is there any way to serve it on HTTP-2?
1
vote
1
answer
115
views
Why socks5 UDP association terminates when the TCP connection that the UDP ASSOCIATE request arrived on terminates?
As socks5 rfc says,
A UDP association terminates when the TCP connection
that the UDP ASSOCIATE request arrived on terminates.
I wonder, doesn't "the TCP connection that the UDP ASSOCIATE ...
0
votes
0
answers
114
views
End-to-end delay and throughput, AODV protocol - omnet++
I'm a total newbie with this simulator and I really need help.
I need have to analyze the metrics: End-to-end delay, round-trip, packet loss rate, packet delivery ratio, power consumption and ...
-1
votes
1
answer
38
views
The torrent program was stopped by the DoS attack. I want to know the reason
When a qBittorrent torrent client (A) shares a file (Seeding == A), the attacker implemented UDP flooding on the IP and PORT used by Qbittorrent. As a result, file sharing was not possible, and other ...
0
votes
1
answer
68
views
What does protocols mean in a computer system
We know that a protocol is a rule that computers follow so that they can effectively communicate with each other.
But when we talk about rules, the question arises, what are these rules.?
For example, ...
1
vote
1
answer
84
views
Create QRCode to be opened URL in browser
In my application I need to show a QRCode that embeds a URL to be opened in a browser.
I'm using the Nayuki library in my Qt/C++ application and I encode this string:
"http://mydevice.local"
...
0
votes
1
answer
173
views
How get access to Netwrok response area with Chrome DevTools Protocol?
I`m trying to get access to an area with a Network response
I`m using the following code, but it does not work.
import websocket
import json
from pprint import pprint
ws = websocket.WebSocket()
...
1
vote
2
answers
293
views
Calculating distance between two computers in a local network using ping
Just wondering, would it be possible to use the ping "time" to calculate the distance between two local computers / machines ?
0
votes
1
answer
121
views
Concept of URL path is supported only at application layer level?
I'm writing my own client and server, they are implement my own application level protocol. For transport layer TCP is used. For internet layer IPv4 is used. Nor TCP header, nor IPv4 header not ...
0
votes
0
answers
81
views
18 retries of single HTTP POST request
Recently I was testing my react native app with some people and I got a rare problem...
Mi app is a react native app that uses Fetch to communicate with a REST API. The API is built with express + ...
0
votes
0
answers
101
views
http/2 - Enabled on server but website is delivered in http/1.1
The website https://majowis.de is hosted on a shared hosting. Due to the technical support of the hosting provider, http/2 is enabled on the websites server. Also testing tools like https://tools....
0
votes
1
answer
35
views
Doubts about network protocols and UseNet
Sorry for my ignorance , but this subject has been stressing me for days
I currently read in a book about networks that there is a UseNet that is like a blog , but uses a different protocol to ...
-1
votes
1
answer
60
views
Is ARP contained into MAC sublayer (OSI Model)?
Well, I've read that the Data Link layer is further divided into LLC and MAC sublayers.
However, the description of the MAC functions seems just like what the ARP does, which left me a bit confused.
...
3
votes
1
answer
188
views
What options are available to use with the vscode:// url scheme?
In GitLab, when you click on the blue "Clone" button you will see several options:
Clone with SSH
Clone with HTTPS
Open in your IDE
The "Open in your IDE" section shows the ...
0
votes
0
answers
235
views
What is meant by TCP connection in HTTP pipelining?
By definition, HTTP pipelining is a technique in which multiple HTTP requests are sent on a single TCP connection without waiting for the corresponding responses, according to Wikipedia, and some ...
1
vote
1
answer
66
views
Adaptive bitrate streaming protocol (for any data)
I'm looking for some ideas/hints for streaming protocol (similar to video/audio streaming) to send any data in so called real-time.
In simple words:
I'm producing some data each second (let's say one ...
0
votes
1
answer
158
views
PocketBeagle Debian Internet sharing via USB - what am I missing?
I have a fresh pocketBeagle that I'm trying to update, by sharing my laptop's (windows 10) internet connection over USB.
I've been trying to follow these two guides (not much difference between them):
...
0
votes
1
answer
154
views
Calculating round-trip propagation delay for sending data frames over a network
The following example is from Tanenbaum's Computer Networks(5th edition, page 232) and it has me confused:
Until now we have made the tacit assumption that the transmission time required for a frame ...
0
votes
1
answer
448
views
Iterative DNS lookup
I'm trying to implement a simple version of dig as a project with python. I want to implement the DNS lookup by iteration. I read the RFC document and I thought I should check if the AA(Authoritative ...
1
vote
1
answer
212
views
How TCP sequence numbers work in bidirectional communication/sliding window?
I was trying to understand how TCP works (not in detail of course). I was surfing the web for easy-to-understand flow diagrams and a question arose and couldn't find a straight answer.
Let's suppose ...
0
votes
1
answer
60
views
Is there a non-UART python transfer protocol layer to work with 512byte packets or less for BLE?
I'm on a team working on a non-profit, open-source project and we're creating a web-based configuration tool to control a piece of custom hardware on a Raspberry Pi, using the "Web Bluetooth API&...
2
votes
3
answers
616
views
What's the difference between Git protocol v1 and v0,v2?
If I clone a repo using protocol v0, and v2, everything is ok.
but if I change the protocol to v1, I got this:
$GIT_TRACE_PACKET=1 git clone -c protocol.version=1 https://gitee.com/yomorun/yomo.git ...
0
votes
0
answers
22
views
Is accepting XML and responding with JSON switching protocol?
I would just like to know if accepting an XML message that is then responded to with a JSON message is protocol switching as I understand that neither of these are even examples of protocols, therefor ...
1
vote
1
answer
170
views
Doubts regarding RTP/RTCP protocol
RFC tutorial on RTP / RTCP protocol seems very confusing to me. I cannot find any state transition diagram for this protocol like this.
It doesn't clear the difference between NTP and RTP Timestamp. ...
0
votes
0
answers
95
views
Find correct internet protocol for given IP and PORT
I'm adding firewall rules for specific IP and PORT in Windows 10. But I'm getting errors the:
The protocol is invalid.
Address that I need to add:
13.79.172.43/8883,443
3.250.210.0/23
3.250.243.64/26
...
-2
votes
1
answer
56
views
How to determine a unique header pattern for custom communication protocol?
I am creating a protocol to transmit data over a serial link. Is there a mathematical way to make sure the header pattern is unique and is not repeated in the payload region? Or do I have to manually ...
0
votes
1
answer
73
views
Sending Unicast packets to a Multicast port
I have a Multicast socket open and is receiving Multicast message. From this thread, it seems that the same multicast socket should also be able to receive unicast messages. However, I'm not able to ...
0
votes
2
answers
110
views
How to stop listening and recv data from only one user and start listening again when he disconnects
I am trying to write a server-client program. The idea is that server
listens() on the given port
When a user connects it accepts() the connection and stops listening
On user disconnects, it goes ...
1
vote
1
answer
237
views
Are communication protocol Half-duplex or Full-duplex?
I know there are a lot of different comminucation protocals like: http, tcp, ssh, socks5, SMTP, POP,etc.
I also know that to achieve a comminication, we need to connect localhost:localport to ...
1
vote
1
answer
253
views
Which local port is used for http or ssh protocol?
When we use web brower to use google, we type www.google.com in the web brower. I know it equals to www.google.com:80 because the default port number is 80 in http protocol.
When we use ssh to connect ...
1
vote
2
answers
130
views
Multiple IOT devices communicating to a server Asynchronously via TCP
I want multiple IoT devices (Say 50) communicating to a server directly asynchronously via TCP. Assume all of them have a heartbeat pulse every 30 seconds and may drop off and reconnect at variable ...
0
votes
1
answer
85
views
What network protocol does Reachability use on iOS?
I am sure there is little % of iOS developers who haven't used Reachability, directly or via some framework like Alamofire.
What I am interested what it actually does? The best guess I can make is ...
1
vote
2
answers
553
views
TCP connection and a different buffer size for a client and a server
What will happen if I will establish a connection between a client and a server, and configure a different buffer size for each of them.
This is my client's code:
import socket,sys
TCP_IP = sys.argv[...
0
votes
1
answer
127
views
Is there a way to determine protocol that was attempted to connect to your "HTTP server"?
I have a following scenario: my client only knows, that they have a device where you are allowed to list HTTP addresses (or at least addresses that look like HTTP addresses), which will send a request ...
7
votes
3
answers
3k
views
What is the difference between a protocol and an interface in general?
I understand an interface is a set of publicly exposed things that one system can use to interact with others systems. I'm reading about WEBRTC protocol and to understand what a protocol is I went to ...