apf iptables v1.4.7: option `--set-tos' requires an argument

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
ionuts71
New Forum User
New Forum User
Posts: 2
Joined: Tue Mar 05, 2013 3:36 pm
Location: Europe

apf iptables v1.4.7: option `--set-tos' requires an argument

Unread post by ionuts71 »

Hello,
I have the following problem:
Clean install of CentOS-6.3-x86_64-minimal-EFI and Plesk 11.0.9 following the steps from HOW-TO Setup a PLESK Dedicated Server.

Q After installing APF firewall (step 9), when:

# /etc/apf/apf -s

I have the following error:

iptables v1.4.7: option `--set-tos' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: option `--set-tos' requires an argument
Try `iptables -h' or 'iptables --help' for more information.


Why? Any solution?
Thank you in advance.
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: apf iptables v1.4.7: option `--set-tos' requires an argu

Unread post by prupert »

Looking at some of the commands this howto seems outdated, makes some very odd assumptions and choices, and lacks a lot of explanation for users unaware of what scripts they are executing as root. In other words you shouldn't just follow everything that's listed unless you know what you're doing. Why didn't you go with the Plesk autoinstaller?
Last edited by prupert on Wed Mar 06, 2013 7:15 pm, edited 1 time in total.
Lemonbit Internet Dedicated Server Management
ionuts71
New Forum User
New Forum User
Posts: 2
Joined: Tue Mar 05, 2013 3:36 pm
Location: Europe

Re: apf iptables v1.4.7: option `--set-tos' requires an argu

Unread post by ionuts71 »

It is not a problem of "How To" procedure. The manual is quite uptodate (last update on 24 October 2012) and it has been compiled with the help of the "atomicrocketturtle" from atomicorp.com. Plesk is installed and is working.
The only problem appears to be with APF firewall, when I run /etc/apf/apf -s command.
The problem comes either from incompatibility of APF firewall with version of iptables
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: apf iptables v1.4.7: option `--set-tos' requires an argu

Unread post by mikeshinn »

Keep in mind though that we have nothing to do with the APF firewall, and did not write that documentation. We dont even use APF.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: apf iptables v1.4.7: option `--set-tos' requires an argu

Unread post by faris »

We use APF on most of our servers, including all those running ASL. It works very well in conjunction with the blacklisting and shunning that various components of ASL offer, as long as you make one small configuration change (I posted it in the forum somewhere -- search for "apf" and my username.

We use version 9.7 under Centos 5 and Centos 6 with no issues.

It might be best to check your apf configuration, in particular anything related to TOS.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply