One of my buddies locked his ip out of our server, he was trying to do something with
SNMP and he offended portsentry. Anyway I deleted his line from portsentry history and put him in the ignore list and restarted portsentry. However it looks like portsentry blackholed him in the routing table. Here is the salient line from route -n (my friend's ip addy x'd for obvious reasons :
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
x.x.x.x - 255.255.255.255 !H 0 - 0 -
When I try to do
#route del -host x.x.x.x
I get
SIOCDELRT: No such device
I can't really experiment on this server too much it is live This route would prolly not persist over reboot but I'm not really sure and anyway I don't want to reboot it.
I've tried entering a netmask of all 1's both with CIDR notation and by using the netmask command and it says that doesn't make sense for a host
(which of course it doesn't)
The man page states that the dev is optional
WTF do I type to kill this route? I'm running slackware NOT BY CHOICE