PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 8, 2026PeerJ Computer Science0 citationsOpen Access

Detecting differentiated services code point values and packet length mismatch in internet protocol packet headers

MAMuhammad A Aldhahery

Key Points

  • The aim is to detect mismatches between DSCP values and packet lengths in IP headers to ensure network integrity.
  • Analyzed benign packet capture files to extract anomalies.
  • Employed convolutional neural networks (CNN), long short-term memory (LSTM), and hybrid CNN-LSTM models.
  • Trained models on benign dataset to identify manipulation effectively.
  • CNN achieved 0.9987 accuracy, 0.9984 precision, 0.9986 recall, and AUC of 0.9995.
  • LSTM achieved 0.9989 accuracy, 0.9988 precision, 0.9990 recall, and AUC of 0.9996.
  • The CNN-LSTM hybrid model showed the best performance with 0.9993 accuracy and 0.9998 AUC.

Abstract

The Differentiated Services Code Point (DSCP) field in Internet Protocol (IP) headers lets you set Quality of Service (QoS) priorities. If the DSCP values and packet lengths mismatch, it could mean that the network is not set up correctly, that policies are being broken, or that traffic is being manipulated, which could make the network less fair and less efficient. This research processed benign packet capture files from different types of applications. The rationale for using a benign dataset is that the research focuses on extracting anomalies from an environment where attacks are not expected. If the dataset contained known attacks, it would already have inherent manipulations. By training on a benign dataset, any subsequent manipulation can be more readily detected. Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), and hybrid CNN–LSTM are utilized. All of the models were able to detect matches and mismatches well without overfitting. CNN had an accuracy of 0.9987, a precision of 0.9984, a recall of 0.9986, an F1-score of 0.9985, and an area under the curve (AUC) of 0.9995. LSTM had an accuracy of 0.9989, a precision of 0.9988, a recall of 0.9990, an F1-score of 0.9989, and an AUC of 0.9996. CNN–LSTM had the best scores: 0.9993 accuracy, 0.9991 precision, 0.9994 recall, 0.9992 F1-score, and 0.9998 AUC. The finding showed that all models made very few mistakes of classification. Deep learning reliably finds DSCP-Packet Length mismatches in IP headers, which makes it possible to monitor QoS and find problems before they happen. The CNN–LSTM hybrid model was the best because it combined feature extraction and learning temporal patterns. This framework provides a scalable, real-time solution for preserving QoS integrity and guaranteeing equitable network resource distribution.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Muhammad A Aldhahery (2026) studied this question.

synapsesocial.com/papers/698828990fc35cd7a88482d4https://doi.org/10.7717/peerj-cs.3471
Ask AI
Helpful
Bookmark
Share
View Full Paper