Freesco, NND, CDN, EOS
http://forum.freesco.pl/

iptables v1.3.4: Unknown arg `--sport'
http://forum.freesco.pl/viewtopic.php?f=24&t=14226
Strona 1 z 1

Autor:  geberit [ niedziela, 3 grudnia 2006, 22:21 ]
Tytuł:  iptables v1.3.4: Unknown arg `--sport'

po dodaniu klas w pliku class

class download eth1 ftp
match from localhost srcip 10.234.252.1 dstip 10.234.252.0/24
do-not-shape
class upload eth1 ftp
match to localhost srcip 10.234.252.0/24 dstip 10.234.252.1
do-not-shape

class download eth1 ssh_local
match srcip 10.234.252.1 srcport 22 dstip 10.234.252.0/24
do-not-shape
class upload eth1 ssh_local
match srcip 10.234.252.0/24 srcport 22 dstip 10.234.252.1
do-not-shape

wywala takie błedy

[root@server vnc]# /etc/rc.d/niceshaper0.6 start
NND: Startuje niceshaper (kontrola przepływu) [Trwa....]
Niceshaper version:0.6rc2
http://niceshaper.jedwabny.net

iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
NiceShaper: Starting download....
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.4: Unknown arg `--sport'
Try `iptables -h' or 'iptables --help' for more information.
NiceShaper: Starting upload....

Autor:  Maciek [ niedziela, 3 grudnia 2006, 22:27 ]
Tytuł: 

Skoro to w niceshaperze powstają takie błędy, to być może coś w konfiguracji źle wpisałeś (sprawdź dokumentację na stronie) albo są w samym niceshaperze błędy (skoro to wersja 0.6).

Autor:  geberit [ niedziela, 3 grudnia 2006, 23:48 ]
Tytuł: 

ale w opisie jet iz mozna uzywac srcport i tp

Autor:  tasiorek [ poniedziałek, 4 grudnia 2006, 08:28 ]
Tytuł: 

geberit pisze:
ale w opisie jet iz mozna uzywac srcport i tp

Mozna, tylko wypadaloby jeszcze dodac protokol.
: [/] [] ()
 match srcip 10.234.252.1 srcport 22 proto tcp dstip 10.234.252.0/24

BTW: Jak bedziesz po piec razy opisywal ten sam problem w roznych watkach, to wszystkie wyladuja w smietniku.

Autor:  adi [ wtorek, 5 grudnia 2006, 08:22 ]
Tytuł: 

geberit pisze:
ale w opisie jet iz mozna uzywac srcport i tp


W opisie jest wiele rzeczy. Wielu rzeczy też nie ma. :)

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/