Results 1 to 3 of 3

Thread: Portsentry admin

  1. #1

    Portsentry admin

    I have installed Portsentry and i have started using it.
    I note that in order to start the program you use
    portsentry -tcp or something similar from a command line.

    Is there anyway that i can set this up so that as soon as i am online it will start up and i can therfore be sure that i am rejecting scans etc.

    I use a dialup so its up and down etc

    I suppose i could write a small script to perform this task..

    any other suggestions?


    Bogler ;D

  2. #2

    Re:Portsentry admin

    You could just add the command to the init script that starts up and configures your network settings when you start up your modem. It would be somewhere in /etc/init.d I'd think.

    I'm assuming you're running a Sys V init, which means I don't know off hand the file to run it in.

    Someone will know.

  3. #3

    Re:Portsentry admin

    You can use /etc/sysconfig/network-scripts/ifup-local and /etc/sysconfig/network-scripts/ifdown-local.

    /etc/sysconfig/network-scripts/ifup-local is run after the network device is activated and /etc/sysconfig/network-scripts/ifdown-local is run after the device deactivates.

    I will see if I can post something later. I don't have time right now. :'(

    Jim H

Similar Threads

  1. Where is the Admin?
    By Larry in forum General Chat
    Replies: 0
    Last Post: 12-22-2012, 11:03 AM
  2. How to setup portsentry
    By peter in forum Tutorials
    Replies: 0
    Last Post: 11-24-2008, 05:32 AM
  3. Job for net admin
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 08-17-2004, 03:28 PM
  4. Portsentry-1.1
    By 10Dedfish in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 12-19-2002, 05:06 AM
  5. IPTables and PortSentry
    By Jeepsta in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 06-10-2002, 04:46 PM


Posting Permissions

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