[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recommend a Kernel
On Wed, Oct 03, 2001 at 09:34:21AM +0800, wanghg wrote:
Next time if you want to start a new thread, please compose a new
message instead of hitting reply and going completely off-topic for a
thread. This is how your message appears in a threaded mail reader like
mutt:
174 Sep 26 TJMEAR ( 20) Recommend a Kernel
175 Sep 27 John Levon ( 30) +->
176 r Sep 27 Doc ( 34) +->
177 Sep 28 Erik Mouw ( 43) +->
178 r Oct 02 Doc ( 28) +->
179 Oct 02 Erik Mouw ( 36) +->
180 N Oct 03 wanghg ( 24) +->
Now guess what happens if I hit ctrl-k (kill-thread) judging on the
subject of the first message in the thread...
> Can anybody suggest me some documents about implementing the
>
> socket-relay inside the Linux kernel? That is when my server receive a
> connection
>
> from clients inside, the server will open a new socket to connect to the
> outside server and then
>
> send back the data to the clients. It works like a proxy server.
>
> I want to implement it inside the kernel. If you know the solution, please
> give me some suggestion.
You're a lucky person. Linux already has that functionality for at
least three years. It's called netfilter in linux-2.4. See
http://netfilter.samba.org/ .
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/