LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2006, 01:02 PM   #1
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
PF_PACKET + SOCK_RAW equivalent on Windoze


Hi,
Maybe not a best place to use forbidden Win.... word, but the question is definitely related to the Linux/Unix world. As given in the subject - is it possible to have a real raw sockets on Win32? I need to access the link level header. I'm able to achieve that with PF_PACKET + SOCK_RAW on linux. I know about winpcap but if you want to recommend it to me I have a few additional questions. Is winpcap installing some driver on the Windoze and therefore enables userspace to manipulate the raw data? Is it only capturing unit or lets the userspace mangle them too?
Thx,
Chris

Last edited by krizzz; 06-20-2006 at 01:08 PM.
 
Old 06-28-2006, 03:15 PM   #2
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
I didn't mention that in my previous post but I'm looking for some cross platform solution in fact.
So, I'm partly answering my question here. I found jpcap as a multiplatform tool for capturing the packets, but it solves only 50% of my problem. Anybody knows how can I send the ethernet level RAW packets (frames) from Java? Should I integrate something like libnet as JNI? Or mabye smbdy has already created something like that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
say no to windoze php_junkie LinuxQuestions.org Member Intro 1 03-14-2006 09:59 AM
unbound PF_PACKET Peterius Programming 0 11-10-2004 12:38 PM
Chkrootkit : ppp0: not promisc and no PF_PACKET sockets tour Linux - Security 6 08-06-2004 12:48 PM
send eth pkt directly to datalink(PF_PACKET) milod Programming 6 10-29-2003 11:48 AM
send eth pkt directly to datalink(PF_PACKET) milod Linux - Networking 0 03-05-2003 09:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration