Re: kernel mode udp proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



|I'm working on a system that at its core has an UDP proxy and it
|has some strict performance requeriments.  

i did a similar toy to reports the memory usage under heavy load.
I can mail the source code privately if you want to look around it


|Does this seem reasonable? 

I don't know the details of your proxy ... it may depends.
You can easly create a kernel thread to send/receive UDP packets.

You can also track down each syscall called by the equivalent
proxy running in user space

|If so, can somebody give me a hint
|on where to start? (I think I should add a way to tell the
|kernel something like "resend all that's received by this socket
|to that one")

Why don't use an iptables rule?


-- 

Daniele.




"I could have made money this way, and perhaps amused myself writing code. 
But I knew that at the end of my career, I would look back on years of 
building walls to divide people, and feel I had spent my life making the 
world a worse place."                               
                                                          Richard Stallman

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux