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

Please do so.

> |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.

My proxy should just receive udp packets on a port and forward it to
some other ip address+port

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

Don't get what you mean by that.

> |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?

DNAT seems interesting. It seems I should try libpkttables...

Saludos,
					HoraPe
---
Horacio J. Peņa
horape@compendium.com.ar
horape@uninet.edu
--
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