Raw packet capture and sending

This is a discussion on Raw packet capture and sending within the Linux Networking forums, part of the Linux Forums category; Hi ! I have device(ARM920T) and Linuxm, that runs on it. I look for ways to make the next things: ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-15-2006
Konstantin Grudnev
 
Posts: n/a
Default Raw packet capture and sending

Hi !

I have device(ARM920T) and Linuxm, that runs on it.

I look for ways to make the next things:

1) Make my program to capture raw packets and forward them to the
server-appplication, without kernel to process this packet to my application
(i.e. avoid packet duplication)

2) Send received packet to the server-application.

I found a way to make program capture raw packets, but kernel process these
packets and server-application receives packets from kernel.

How to make kernel not to process packets, which I'm interested in ?




Reply With Quote
  #2 (permalink)  
Old 03-20-2006
kable
 
Posts: n/a
Default Re: Raw packet capture and sending

Konstantin Grudnev wrote:
> Hi !
>
> I have device(ARM920T) and Linuxm, that runs on it.
>
> I look for ways to make the next things:
>
> 1) Make my program to capture raw packets and forward them to the
> server-appplication, without kernel to process this packet to my application
> (i.e. avoid packet duplication)
>
> 2) Send received packet to the server-application.
>
> I found a way to make program capture raw packets, but kernel process these
> packets and server-application receives packets from kernel.
>
> How to make kernel not to process packets, which I'm interested in ?
>
>
>
>

Hi,

Are you using libpcap in your program? I think you should try to
incorporate *your* program into the receiving application itself. That
way, the application will receive and process the packet copies.

If you find another way of doing this please let me know because I need
to do a similar thing ;-)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0