On Sat, Jan 16, 2016 at 04:49:35PM +1100, David wrote: > On 16 January 2016 at 15:48, Steve Matzura <s...@noisynotes.com> wrote: > > On Sat, 16 Jan 2016 01:55:38 +0300, Reco wrote: > > > >>A simple solution: > >> > >>iptables -I INPUT -p dcp -s 59.46.71.0/24 -j DROP > > > > iptables v1.4.21: unknown protocol "dcp" specified > > Try `iptables -h' or 'iptables --help' for more information. > > > > Should I try the complex solution, or find out what went wrong with > > the simple one first? > > There's a typo in the command Reco gave you.
Sorry, but that doesn't inspire much confidence in his suggestion. Does that solution work if the OP is also running a firewall such as shorewall? -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X