This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

hide port 113

is there anyway to completly hide the Port 113 (Ident Port) from Internet Port Scanners


This thread was automatically locked due to age.
Parents
  • Hi,
    technically you can do two things when someone knocks on your door: either you don't answer (just drop the packet) or you open and say "this person doesn't live here" (reject packet - icmp port unreachable, in most cases).
    (In fact you can do much more, but in the end, it comes down to two standard cases: accept or refuse; those are just two common examples to refuse a packet, which I figured you wanted to do.)
    You can hide that someone lives in there, but it would be difficult to hide the entire house ...
    HTH,
        andreas

    PS: Maybe I got you completely wrong, if you need more technical help just follow up to this message; I thought that with the hints above it should be possible to figure out what to do ;-)
     
     [size="1"][ 30 September 2002, 03:17: Message edited by: andreas ][/size]
Reply
  • Hi,
    technically you can do two things when someone knocks on your door: either you don't answer (just drop the packet) or you open and say "this person doesn't live here" (reject packet - icmp port unreachable, in most cases).
    (In fact you can do much more, but in the end, it comes down to two standard cases: accept or refuse; those are just two common examples to refuse a packet, which I figured you wanted to do.)
    You can hide that someone lives in there, but it would be difficult to hide the entire house ...
    HTH,
        andreas

    PS: Maybe I got you completely wrong, if you need more technical help just follow up to this message; I thought that with the hints above it should be possible to figure out what to do ;-)
     
     [size="1"][ 30 September 2002, 03:17: Message edited by: andreas ][/size]
Children
  • comeanddance,

    assuming you are on version 2, ident is visible 
    due to the TTT_ACCEPT table.

    Proceed as follows (root):

    - touch /etc/rc.d/ipfilter.local
    - chmod 400 /etc/rc.d/ifilter.local

    Edit ipfilter.local, using joe or vi, enter the line

     
    code:
     
    /usr/local/bin/iptables -I TTT_ACCEPT -s 0.0.0.0/0 -d IP_OF_FIREWALL/32 -p tcp --destination-port 113 -j LOGDROP
     

    To activate your new settings restart the middleware

     
    code:
    /etc/rc.d/mdw restart 

    that's it!

    read you
    o|iver