Re: PortSentry: How To Delete an Entry in Routing Table
From: Filip Pawlak (fp_at_actionmag.pl)
Date: 06/23/05
- Next message: M_F_H: "Re: PortSentry: How To Delete an Entry in Routing Table"
- Previous message: M_F_H: "PortSentry: How To Delete an Entry in Routing Table"
- In reply to: M_F_H: "PortSentry: How To Delete an Entry in Routing Table"
- Next in thread: M_F_H: "Re: PortSentry: How To Delete an Entry in Routing Table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 23 Jun 2005 16:16:47 +0000 (UTC)
Dnia 23.06.2005 M_F_H <no_one@example.com> napisał/a:
> While experimenting with PortSentry, I performed an nmap scan on my box from
> another box to make sure PortSentry was working. As expected, both the
> /etc/hosts.deny file and the routing table got updated. Now I want to undo the
> changes that PortSentry did. That's an easy edit of the hosts.deny file, but
> fixing the routing table baffles me. Here's the routing table:
>
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 208.24.128.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 207.20.142.137 - 255.255.255.255 !H 0 - 0 -
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 0.0.0.0 208.24.128.3 0.0.0.0 UG 0 0 0 ppp0
>
> Question: How does one flush the line that has the flag "!H"? TIA...
for BLE in `route | grep "\!H" | awk '{print $1'}`; do route del $BLE; done
-- ::( Filip Pawlak Jabber: filippawlak@chrome.pl ): ::( fp@actionmag.pl GG: 4633099 ):
- Next message: M_F_H: "Re: PortSentry: How To Delete an Entry in Routing Table"
- Previous message: M_F_H: "PortSentry: How To Delete an Entry in Routing Table"
- In reply to: M_F_H: "PortSentry: How To Delete an Entry in Routing Table"
- Next in thread: M_F_H: "Re: PortSentry: How To Delete an Entry in Routing Table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|