This command removes them from the routing table. Thus making you box
appear not to exist anymore. For toublesome IPs I keep them in a
bash script executed by rc.local on boot. Works great. I just happen to
have a not so bright client that peridocally trips portsentry.
Hope that helps.
Kirk
>On Thu, 3 Aug 2000, Steven Pierce wrote:
>
>
> Mikkel,
>
> THANK YOU VERY much. This is one command that I will add to my list. I am getting
>IP address that
> are hitting my box and trying to log in. I am not sure if it is a accident or with
>intent. Now at least
> they will not be able to. So to make sure that I understand this command, if I add
>an IP address to the
> host file. If someone from this IP address tries to ftp into my box it will reject
>them???
>
> Steven
>
> *********** REPLY SEPARATOR ***********
>
> On 8/3/2000 at 10:10 PM Mikkel L. Ellertson wrote:
>
> >On Thu, 3 Aug 2000, Kirk wrote:
> >
> >> When portsentry drops a route with the command
> >> #/sbin/route add -host xxx.xxx.xxx.xxx reject
> >>
> >> How do you add them back into the routing table without having to reboot. I
> >> just cant seem to figure this one out.
> >>
> >> Thanks in advance,
> >> Kirk
> >>
> >>
> >/sbin/route del -host xxx.xxx.xxx.xxx reject
> >
> >
> >
> >
> >_______________________________________________
> >Redhat-list mailing list
> >[EMAIL PROTECTED]
> >https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
Kirk Whiting <[EMAIL PROTECTED]>
Network Admin. prince-of-darkness.cc , thrust66.com
---"Unix IS the Future"---
''Win: Please Reboot You Moved Your Mouse''
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list