[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Capturing a packet in Linux

Posted on 2004-11-29
4
Medium Priority
?
215 Views
Last Modified: 2010-03-31
Alright, I'm not sure if this is the right place for this but here it goes.  I am working on a group project for my network security course.  The basic concept is to encrypt/decrypt NFS data packets, but outside the kernel, i.e., capture the entire NFS packet, encrypt it, put encrypted data in another packet, decrypt it, and finally give it to the kernel on the other side. Now this is mostly a proof of concept project and I know it will be slow and a host of other things are wrong here.  What I need to know is; how do I go about grabbing a packet from the network?
0
Comment
Question by:Mach70803
  • 2
4 Comments
 

Author Comment

by:Mach70803
ID: 12702662
Thanks for the info, but what I really needed to know was how I can utilize the libpcap and libpnet libraries provided by Linux, but using Java.  Sorry for not being more specific.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 12704100
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12715358
8-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses
Course of the Month19 days, 17 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question