LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Closed Thread
  Search this Thread
Old 12-24-2007, 10:04 AM   #1
geek1234
Member
 
Registered: Apr 2007
Posts: 38

Rep: Reputation: 15
intercepting packets, buffering and resending them


Hi,

This is a networking question, but delves into unix programming aspects as well.I troed [ostong this on the networking list but got no responses.

How do intercept any packets that I am sendind from an interface, store it in a buffer, and periodically send it away?

That is, if packets are sent every x seconds from application, I want to buffer these packets and empty buffer every y seconds, with y > x.

Would I need to modify any source code in the linux kernel stack, or is there any other way. I do not have control over the application, and can only intercept them before I send them. Any known links that explains the process is appreciated as well.

Thanks in advance,
G
 
Old 12-26-2007, 01:44 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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
Intercepting packets, buffering, and resending geek1234 Linux - Networking 2 12-26-2007 11:09 PM
Postfix resending old mail SlackDaemon Linux - General 4 01-28-2007 03:05 AM
about the ip packet intercepting wangjinyi Programming 8 09-14-2005 12:07 AM
Resending packets (routing) Barca Linux - Networking 7 11-13-2004 03:24 PM
how to add & register filter for intercepting the packets outgoing on port 80? jayashri Programming 2 11-08-2004 01:30 PM

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

All times are GMT -5. The time now is 06:17 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