From: dir@att.net
To: Deshwal Chand <CDD@kampsax.co.in>
Cc: "Netfilter (E-mail)" <netfilter@lists.netfilter.org>
Subject: Re: Can IPTABLES be used to send alerts!
Date: Wed, 27 Aug 2003 14:10:30 +0000 [thread overview]
Message-ID: <E19s10M-00014S-Ge@kashyyyk.netfilter.org> (raw)
Yes, this would be pretty straightforward to do if you are a C developer.
You can use the QUEUE target to queue all HTTP traffic to userland. You
would then build a userland program to monitor packets for a set of suspect
keywords.
This approach wouldn't be bullet-proof because the HTTP traffic will be
fragmented to the MTU size, but it would probably catch 99% of the keywords
you care about. With a little more code, you could demux the TCP traffic to
rebuild the entire TCP stream, thereby making it 100%, but that's a lot more
effort for little return IMO.
Regards, dir
> HI,
>
> I don't know whether this is the right place to raise this post.
>
> I am using IPTABLES and Squid. I want to monitor all the traffic going out
> of this box. Suppose someone sends his/her CV from our network using his/her
> Yahoo or Hotmail account, then I may get an alert.
>
> Can IPTABLES do this by using some addones!!
>
> Pls. pardon me if i am being wrong in posting this question on this list.
next reply other threads:[~2003-08-27 14:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-27 14:10 dir [this message]
2003-08-27 15:35 ` Can IPTABLES be used to send alerts! Ramin Dousti
2003-08-28 2:28 ` ads nat
-- strict thread matches above, loose matches on Subject: below --
2003-08-28 4:12 Deshwal Chand
2003-08-27 8:56 Deshwal Chand
2003-08-27 14:13 ` Rob Verduijn
2003-08-27 16:43 ` Jim Carter
2003-08-28 7:50 ` Arnt Karlsen
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=E19s10M-00014S-Ge@kashyyyk.netfilter.org \
--to=dir@att.net \
--cc=CDD@kampsax.co.in \
--cc=netfilter@lists.netfilter.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