From: Ray Olszewski <ray@comarre.com>
To: linux <linux-newbie@vger.kernel.org>
Subject: Re: logging
Date: Mon, 29 Dec 2003 18:44:46 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20031229183911.01fecdf0@celine> (raw)
In-Reply-To: <1072737808.10488.3.camel@darwin>
At 05:43 PM 12/29/2003 -0500, John T. Williams wrote:
>I was wondering if there is a good method for logging all attempts to
>connect to a port on my computer. Basically, I was looking for
>something that logged the port and ip and the destination port of
>attempted connections.
>
>I'm running Mandrake 9.1
Presumably a 2.4.x kernel then.
iptables itself (the kernel's built-in firewalling) will do this; LOG is a
predefined target that does not terminate (in the way that ACCEPT, REJECT,
and DENY do) but does log each matching packet before passing it on to the
next rule in the chain.
The man page for iptables will at least get you started. If you need help
with specifics after reading it, don't hesitate to ask here.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2003-12-30 2:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 22:43 logging John T. Williams
2003-12-30 2:39 ` logging caszonyi
2003-12-30 2:44 ` Ray Olszewski [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-10 5:46 Logging Chris Rose
2002-04-10 6:08 ` Logging Richard Adams
2002-04-10 6:36 ` Logging Chris Rose
2002-04-10 18:23 ` Logging Richard Adams
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=5.1.0.14.1.20031229183911.01fecdf0@celine \
--to=ray@comarre.com \
--cc=linux-newbie@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