Questions tagged [application-layer]

48 questions
0
votes
1 answer

What is the application layer specifically?

I was reading the Comptia network+ All in One Guide by Mike Meyers, and I came across this line: "The application layer does not refer to the applications themselves, rather it refers to the code built into the Operating System that enables making…
0
votes
0 answers

How are protocols used encoded in the data send over them?

I was reading answers to this this SO question explaining how the firewall will take certain actions dependent on the protocol data was sent over (such as FTP vs HTTP, etc.). In addition, the router will have the data rerouted differently dependent…
Mario Ishac
  • 5,060
  • 3
  • 21
  • 52
0
votes
1 answer

allow/restrict application protocols like ampq, mongodb, HTTP,etc in AWS security groups

I want to allow/disallow only certain application protocols like HTTP, mongodb, ampq, etc on my running EC2 instance. I could see that in we can change inbound and outbound rules from security groups. However, it could only open or close TCP…
0
votes
1 answer

Examples of a Software Interrupt and Exception at application level

My understanding on the both are slightly unclear. Many people on the internet say they are both the same. There are a few questions similar to my one, however none of them give a good real life example at a software level. Would it be possible for…
0
votes
1 answer

application layer protocol - different size of packets

Assume I have defined my own application layer protocol on top of TCP for Instant Messaging. I have used a packet structure for the messages. As I am using symmetric (AES) and asymmetric (RSA) encryption, I obtain a different packet size for…
auermich
  • 130
  • 10
0
votes
1 answer

What layer or service should contact a repository to get additional data needed for a domain entity validation

I have simplified the question here to narrow the focus: What are some recommended approaches to performing validations in the Domain Layer for entity construction when data from a repository is needed? For example, consider the following validation…
0
votes
1 answer

Is It Okay for an Application Layer with a multi-step process to not use the domain layer

I am working on an N-Layered .NET application with the following layers: Presentation Application Domain Infrastructure (Contains Persistence and common utility functions like email) At some point in my application, a request is approved. Once…
0
votes
2 answers

Layered architecture mvc

I'm creating a web app using an MVC framework. I thought of adding a layer between the controller and the domain models, I think it's called application layer in DDD, to avoid putting logic that is specific to a certain use case in the domain…
0
votes
1 answer

C# based lightweight application layer protocol - alternative to HTTP

I'm pretty new in C# and I'm developing C#(WPF) application with client/server architecture, and I'll need to communicate between two machines(only short JSONs, however a lot of them), and HTTP is too "heavy" with all it headers etc. Does exist any…
Dmitry Z
  • 31
  • 1
  • 3
  • 6
0
votes
1 answer

How the Application layer will be able to dynamicly query the DB in the DAL layer?

C#, LINQ to SQL Some advice me to open new topic insteed that topic becouse there is no solution for my problem. Now I will need your help to re-design my layers. Linq To Sql - Making a dynamic search for the Application layer without exposing DAL…
Stav Alfi
  • 13,139
  • 23
  • 99
  • 171
0
votes
1 answer

How to simulate a direct network connection between 2 pc's over the internet?

I have read about the topic on the wiki articles of Ethernet, OSI model, TCP, UDP, Routing (no links due to new user restrictions) and others, but was not able to get my specific problem answered. Situation: 4 computers (A-D) They are connected to…
0
votes
1 answer

Filter a PCAP file from packet ISO/OSI layer

I need to split a PCAP file in two different files: the first one should include all (and only) the packets directed to the application layer of the ISO/OSI model, while the second one includes all the other ones. I'm using Scapy to apply the…
auino
  • 1,644
  • 5
  • 23
  • 43
0
votes
1 answer

Select function behavior - Multi Client Quiz

I have to build a quiz application. Details about the application: 1. Each client has to register to server before participating in Quiz. The server will ask username from each user and generate temporary id for each user. 2. After Registration…
Abhishek Gupta
  • 6,465
  • 10
  • 50
  • 82
0
votes
1 answer

Sniffing/recording application layer only

I am looking for a tool (preferably on Linux) that can sniff UDP traffic and record only the application layer to file(s). I couldn't make tcpdump/wireshark to do so, as they always write the lower layers' headers too. I tried working with snort…
-1
votes
1 answer

How to access information about network from TCP?

I am writing an application layer protocol in Java. It basically just transfers files. I would like it generate error messages if the transfer is unable to be completed or if the connection between the client and the server is interrupted. Is there…
d4145146
  • 11
  • 3