Nowe posty

Autor Wątek: iptables + connlimit problem  (Przeczytany 369 razy)

jackusik

  • Gość
iptables + connlimit problem
« dnia: 2006-07-11, 22:39:25 »
Mam Ubuntu 6.06. Ściągnąłem ze źródeł Mplayera. Już kiedyś go stawiałem i wydawało mi się, że nie będę miał kłopotów. Po ./configure i uzupełnieniu wszystkich braków wydałem polecenie make i zdziwiłem się. Nie ma make\\'a w katalogu. Może coś zapomniałem? Może czegoś nie doczytałem?
Proszę o pomoc!

spideros1

  • Gość
iptables + connlimit problem
« Odpowiedź #1 dnia: 2006-07-11, 23:07:03 »
2006-07-11 22:39:25 jackusik napisał:

> Mam Ubuntu 6.06. Ściągnąłem ze źródeł Mplayera. Już kiedyś go stawiałem i wydawało mi się, że
 > nie będę miał kłopotów. Po ./configure i uzupełnieniu wszystkich braków wydałem polecenie make
 > i zdziwiłem się. Nie ma make\\'a w katalogu. Może coś zapomniałem? Może czegoś nie doczytałem?
 > Proszę o pomoc!

http://rtfm.killfile.pl - m.in. sekcja \\"Bądź precyzyjny i podawaj dokładne informacje dotyczące problemu\\"

Może jakieś komunikaty z configure ?

TheUsh

  • Gość
iptables + connlimit problem
« Odpowiedź #2 dnia: 2006-07-12, 01:11:45 »
2006-07-11 22:39:25 jackusik napisał:

> Mam Ubuntu 6.06. Ściągnąłem ze źródeł Mplayera. Już kiedyś go stawiałem i wydawało mi się, że
 > nie będę miał kłopotów. Po ./configure i uzupełnieniu wszystkich braków wydałem polecenie make
 > i zdziwiłem się. Nie ma make\\'a w katalogu. Może coś zapomniałem? Może czegoś nie doczytałem?
 > Proszę o pomoc!

nie latwiej zainstalowac mplayera przez apt-get ?

jackusik

  • Gość
iptables + connlimit problem
« Odpowiedź #3 dnia: 2006-07-13, 12:10:44 »
2006-07-12 01:11:45 ush napisał:

> 2006-07-11 22:39:25 jackusik napisał:
 >
 > > Mam Ubuntu 6.06. Ściągnąłem ze źródeł Mplayera. Już kiedyś go stawiałem i wydawało mi się,.........
 >
 > nie latwiej zainstalowac mplayera przez apt-get ?

O !! Z jakich repozytoriów korzystasz? W moich nie ma Mplayer\\'a. Moje repozytoria to:

deb http://pl.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://pl.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb http://pl.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ dapper universe
deb http://pl.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

jackusik

  • Gość
iptables + connlimit problem
« Odpowiedź #4 dnia: 2006-07-13, 12:12:28 »
2006-07-11 23:07:03 spideros1 napisał:

> 2006-07-11 22:39:25 jackusik napisał:
 >
 > > Mam Ubuntu 6.06. Ściągnąłem ze źródeł Mplayera. Już kiedyś go stawiałem i wydawało mi się,
 > że
 >  > nie będę miał kłopotów. Po ./configure i uzupełnieniu wszystkich braków wydałem polecenie
 > make
 >  > i zdziwiłem się. Nie ma make\\'a w katalogu. Może coś zapomniałem? Może czegoś nie
 > doczytałem?
 >  > Proszę o pomoc!
 >
 > http://rtfm.killfile.pl - m.in. sekcja \\"Bądź precyzyjny i podawaj dokładne informacje
 > dotyczące problemu\\"
 >
 > Może jakieś komunikaty z configure ?
 >
Fakt! Jeżeli nie potwierdzi się informacja o możliwości apt-et\\'owania mplayera wyślę listę configuracyjną.

TheUsh

  • Gość
iptables + connlimit problem
« Odpowiedź #5 dnia: 2006-07-13, 12:36:29 »
Nie uzywam ubuntu, ale jak u kumpla mplayera instalowalem to rezpozytoria byly chyba stad
http://ubuntuguide.org/wiki/Dapper#How_to_add_extra_repositories

btw. ciezko w google wpisac : mplayer ubuntu i kliknac w ktorys z wynikow? :P

jackusik

  • Gość
iptables + connlimit problem
« Odpowiedź #6 dnia: 2006-07-13, 16:36:43 »
2006-07-13 12:36:29 ush napisał:

> Nie uzywam ubuntu, ale jak u kumpla mplayera instalowalem to rezpozytoria byly chyba stad
 > http://ubuntuguide.org/wiki/Dapper#How_to_add_extra_repositories
 >
 > btw. ciezko w google wpisac : mplayer ubuntu i kliknac w ktorys z wynikow? :P
 >
Wstyd, ale masz rację. Byłem nawet na tej stronie, ale nie dołączyłem do source\\'a.

Bardzo dziękuję za pomoc!

TheUsh

  • Gość
iptables + connlimit problem
« Odpowiedź #7 dnia: 2006-07-13, 17:22:08 »
2006-07-13 16:36:43 jackusik napisał:

 > Bardzo dziękuję za pomoc!

Nie ma za co ;)

ukasz20

  • Gość
iptables + connlimit problem
« Odpowiedź #8 dnia: 2006-07-11, 18:28:39 »
witam

probowalem iptables + connlimit na 1.2.11 + kernel 2.6.16 i nie dziala

teraz probuje spatchowac pomem iptables 1.3.5 i kernela takiego samego i krzyczy ze niema ladd w makefile w /net/ipv4

prosze napiszcie czy wam sie udalo to uruchomic i jak to zrobiliscie bo ja mam taki blad:

iptables: No chain/target/match by that name
regulke mam taka
$IPT -I FORWARD -s 192.168.1.2 -p tcp --syn -m connlimit --connlimit-above 10 -j DROP

olalem 2.6.16 (chociaz ma fajna funkcja automatycznego ladowania modulow) i na 2.4.32 poszlo spatchowalo sie a teraz podczas kompilacji mam taki komunikat:

serwer:~# cd /usr/src/iptables
serwer:/usr/src/iptables# make KERNEL_DIR=/usr/src/linux
Extensions found: IPv4:IMQ IPv4:psd IPv4:recent IPv4:string IPv6:ah IPv6:esp IPv6:frag IPv6:IMQ IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION="1.3.5" -fPIC -o extensions/libipt_string_sh.o -c extensions/libipt_string.c
extensions/libipt_string.c: In function `init':
extensions/libipt_string.c:61: error: structure has no member named `to_offset'
extensions/libipt_string.c:62: error: structure has no member named `to_offset'
extensions/libipt_string.c: In function `parse_string':
extensions/libipt_string.c:68: error: `IPT_STRING_MAX_PATTERN_SIZE' undeclared (first use in this function)
extensions/libipt_string.c:68: error: (Each undeclared identifier is reported only once
extensions/libipt_string.c:68: error: for each function it appears in.)
extensions/libipt_string.c:69: error: structure has no member named `pattern'
extensions/libipt_string.c:69: error: structure has no member named `pattern'
extensions/libipt_string.c:69: error: structure has no member named `pattern'
extensions/libipt_string.c:70: error: structure has no member named `patlen'
extensions/libipt_string.c: In function `parse_algo':
extensions/libipt_string.c:79: error: `IPT_STRING_MAX_ALGO_NAME_SIZE' undeclared (first use in this function)
extensions/libipt_string.c:80: error: structure has no member named `algo'
extensions/libipt_string.c:80: error: structure has no member named `algo'
extensions/libipt_string.c:80: error: structure has no member named `algo'
extensions/libipt_string.c: In function `parse_hex_string':
extensions/libipt_string.c:126: error: structure has no member named `pattern'
extensions/libipt_string.c:148: error: structure has no member named `pattern'
extensions/libipt_string.c:154: error: structure has no member named `pattern'
extensions/libipt_string.c:157: error: `IPT_STRING_MAX_PATTERN_SIZE' undeclared (first use in this function)
extensions/libipt_string.c:161: error: structure has no member named `patlen'
extensions/libipt_string.c: In function `parse':
extensions/libipt_string.c:184: error: structure has no member named `from_offset'
extensions/libipt_string.c:191: error: structure has no member named `to_offset'
extensions/libipt_string.c:209: error: structure has no member named `patlen'
extensions/libipt_string.c:209: error: structure has no member named `pattern'
extensions/libipt_string.c: In function `print':
extensions/libipt_string.c:299: error: structure has no member named `pattern'
extensions/libipt_string.c:299: error: structure has no member named `patlen'
extensions/libipt_string.c:301: error: structure has no member named `pattern'
extensions/libipt_string.c:301: error: structure has no member named `patlen'
extensions/libipt_string.c:304: error: structure has no member named `pattern'
extensions/libipt_string.c:304: error: structure has no member named `patlen'
extensions/libipt_string.c:306: error: structure has no member named `algo'
extensions/libipt_string.c:307: error: structure has no member named `from_offset'
extensions/libipt_string.c:308: error: structure has no member named `from_offset'
extensions/libipt_string.c:309: error: structure has no member named `to_offset'
extensions/libipt_string.c:310: error: structure has no member named `to_offset'
extensions/libipt_string.c: In function `save':