Re: TCP library

From: Andi Kleen (freitag_at_alancoxonachip.com)
Date: 08/20/03


Date: Wed, 20 Aug 2003 12:45:26 +0200

phil-news-nospam@ipal.net writes:
>
> Problems like the kernel doing TCP RST for you can be avoided by using an
> IP address the kernel will not recognize as belonging to the local stack.
> One way to do this would be to use the TUN/TAP device with your special IP
> address routed to it. Of course you do have to implement the whole TCP/IP
> stack (or at least as much of it you will use and need to react correctly
> on the network) in that userland code.

Another way is to set up suitable firewall rules that hide the packets
from the main stack.

e.g. firewall some port range and only use that.

-Andi



Relevant Pages

  • Re: TCP library
    ... >> Problems like the kernel doing TCP RST for you can be avoided by using an ... >> IP address the kernel will not recognize as belonging to the local stack. ... > Another way is to set up suitable firewall rules that hide the packets ...
    (comp.os.linux.development.system)
  • [Full-disclosure] PHRACK 64: ATTACKING THE CORE
    ... - The Slab Allocator ... - Slab overflow exploiting: ... - Forcing a kernel path to sleep ... - Stack Frame Flow Recovery ...
    (Full-Disclosure)
  • Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected
    ... stack usages for you is that they contain a 'cpumask_t' on the stack. ... We can enable MAXSMP and raise the CPU limits some time in the future. ... not accept a specially built kernel, but only a kernel that has been ... know how extensively these distributions test and certify for many known ...
    (Linux-Kernel)
  • Re: Interrupt context...
    ... > gone through most of the posts on interrupt in usenet. ... > kernel stack and ISR is executed. ... More may be saved depending on the architecture. ... Here the kernel have assembler code to save all general ...
    (comp.os.linux.development.system)
  • Re: The Linux Staging tree, what it is and is not.
    ... if you compromize them and write the wrong ones to the stack, ... Load two user space fieldbus stacks on the same network card (remembering ... right, but that's the same, no matter if it runs in kernel or user ... need an objdict API to userspace...? ...
    (Linux-Kernel)