Find the answer to your Linux question:
Results 1 to 2 of 2
I would like my computer to log all port scans and drop a log file on my desktop, any idea how would I go about doing that?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347

    Logging Port Scans


    I would like my computer to log all port scans and drop a log file on my desktop, any idea how would I go about doing that?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Code:
    /sbin/iptables -A INPUT -j LOG
    You'll have to configure your logging daemon to handle this, of course.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •