public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: khaled@pacificpost.com
To: linux-kernel@vger.kernel.org
Subject: TCP Filter
Date: Wed, 13 Dec 2000 20:11:44 +0200	[thread overview]
Message-ID: <3A37BBE0.D6E93D0A@pacificpost.com> (raw)

Hello Linux World,

I need to insert a TCP or socket filter that intercepts incoming
user-supplied buffers and do some processing on its contents if it
matches some criterion in the sender. The receiver should do similarly
in the reverse order on the other end of the connection.

I read the Linux Socket Filter Documentation and also the BPF packet
filter man pages and I am feeling that these facilities can not do what
is described above (but I am not sure). I want to use as much as
possible the facilities provided by the Linux Kernel. Ipchains/ipfw will
provide filtering on IP packets which is not what I would like to do. I
would like to intercept/filter traffic incoming into/going out a socket
descriptor through the read/write/send/recv system calls.

Please let me know what to read if what I want to do already exist in
the Socket Filter or other Linux kernel mechanisms.

Best regards

Khaled

PS: Please CC me on the replies since I am not a regular subscriber to
this list.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2000-12-13 18:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A37BBE0.D6E93D0A@pacificpost.com \
    --to=khaled@pacificpost.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox