stupid things you've done with linux
ever done something really stupid? forgot to take soemthign into consideration? I want to hear that i'm not the only one who has made mistakes... I'll give you a clue.
Take into account that sliver is my server, of which I did not have physical access to at the time and I was using ssh to administer remotley. I intended to set up my iptables. I thought I would start off by blocking all incoming traffic and then allow the things i wanted, rather than using hundereds or rules to block off everything i didn't want...
here's more or less how it went...
Code:
root@sliver:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@sliver:~# iptables -P INPUT DROP
it wasn't till then (when i lost the connection) that I remembered I was accessing it remotley :cry:
boy did i have fun sorting that one out :?
I am hopeing someone has done something as stupid as that :oops: