LINUX.ORG.RU

xtables-addons


0

1

Здравствуйте, хочу прикрутить geoip на Debian 6.0, установленный на выделенном сервере. Подключаюсь через ssh. Вообщем пишу sudo aptitude install xtables-addons-common xtables-addons-source module-assistant libtext-csv-xs-perl Все ставится вроде, дальше пишу: module-assistant auto-install xtables-addons-source И пишет следующее: Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.

If the running kernel has been shipped with the Debian distribution, please install the package linux-headers-2.6.32-042stab079.6. If your kernel source tree (or headers) is located in some non-usual location, please set the KERNELDIRS environment variable to the path of this directory, or (alternatively) specify the source directory we build for with the --kernel-dir option in module-assistant calls.

Ладно, пытаюсь по совету программы установить linux-headers-2.6.32-042stab079.6.... пишет что не может найти пакет. А потом с помощью команды uname -r обнаруживаю что такое ядро уже стоит... Кстати я обнаружил что geoip уже стоит, базу туда залил, но не работает, пишу iptables -I INPUT ! -i lo -m geoip --src-cc CN -j DROP Отвечает: iptables: No chain/target/match by that name. Прошу помощи!

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.