Форум русскоязычного сообщества Ubuntu


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: И снова xtables. Чтоб его....! ubuntu 10.4.3  (Прочитано 2417 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн saymon21root

  • Автор темы
  • Участник
  • *
  • Сообщений: 166
    • Просмотр профиля
    • https://saymon21-root.pro
И снова xtables. Чтоб его....! ubuntu 10.4.3
« : 26 Ноября 2011, 21:50:11 »
Дубль 1, был сборкой из исходников
(Нажмите, чтобы показать/скрыть)

$ iptables -V
iptables v1.4.10
$ uname -r
2.6.32-35-generic
Дубль два:

(Нажмите, чтобы показать/скрыть)
Вот и в чём может быть дело, куда копать? Подскажите плиз.

Пользователь решил продолжить мысль 26 Ноября 2011, 23:23:45:
Вроде сработало http://unixforum.org/index.php?showtopic=130015

Пользователь решил продолжить мысль 27 Ноября 2011, 00:44:52:
Ужас какой-то...

Цитировать
$ sudo depmod -a
$ sudo modprobe xt_psd
$ iptables -A INPUT -m psd -j DROP
/lib/xtables/libxt_psd.so: libxtables.so.2: cannot open shared object file: No such file or directory
iptables v1.4.10: Couldn't load match `psd':/lib/xtables/libipt_psd.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
Кхм..
Цитировать
$ lsmod
Module                  Size  Used by
xt_psd                 43008  0
ip_set                 13268  0
ipt_REJECT              1928  1
ip6table_filter         1248  0
ip6_tables             11102  1 ip6table_filter
nls_iso8859_1           3249  1
nls_cp437               4919  1
vfat                    8933  1
fat                    47767  1 vfat
xt_multiport            2378  0
binfmt_misc             6587  1
vboxnetadp              6326  0
vboxnetflt             15280  0
vboxdrv               190626  2 vboxnetadp,vboxnetflt
saa7134_alsa           10380  0
tuner_simple           13577  1
tuner_types            14233  1 tuner_simple
tea5767                 5950  0
xt_limit                1382  4
tda9887                 9589  1
ipt_LOG                 4542  5
xt_recent               7037  3
xt_hashlimit            8204  1
xt_conntrack            2302  3
snd_hda_codec_realtek   203408  1
tda8290                12092  0
xt_connlimit            2884  3
ipt_REDIRECT             917  19
xt_tcpudp               2011  40
tuner                  20412  2
rfcomm                 33453  8
iptable_nat             3543  1
nf_nat                 15560  2 ipt_REDIRECT,iptable_nat
snd_hda_intel          22069  1
snd_hda_codec          74201  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5412  1 snd_hda_codec
snd_pcm_oss            35308  0
snd_mixer_oss          13746  1 snd_pcm_oss
nf_conntrack_ipv4      10346  20 iptable_nat,nf_nat
snd_pcm                70694  4 saa7134_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
nf_defrag_ipv4          1073  1 nf_conntrack_ipv4
sco                     7949  2
xt_state                1098  11
bridge                 45614  0
snd_seq_dummy           1338  0
nf_conntrack           60975  6 xt_conntrack,xt_connlimit,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
stp                     1655  1 bridge
snd_seq_oss            26722  0
bnep                    9436  2
snd_seq_midi            4557  0
l2cap                  30656  16 rfcomm,bnep
snd_rawmidi            19056  1 snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
iptable_filter          1369  1
snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
it87                   17580  0
hwmon_vid               2298  1 it87
saa7134               143423  1 saa7134_alsa
ip_tables               9899  2 iptable_nat,iptable_filter
x_tables               14175  15 xt_psd,ipt_REJECT,ip6_tables,xt_multiport,xt_limit,ipt_LOG,xt_recent,xt_hashlimit,xt_conntrack,xt_connlimit,ipt_REDIRECT,xt_tcpudp,iptable_nat,xt_state,ip_tables
snd_timer              19130  2 snd_pcm,snd_seq
snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ir_common              38875  1 saa7134
v4l2_common            15431  2 tuner,saa7134
videodev               34425  3 tuner,saa7134,v4l2_common
v4l1_compat            13251  1 videodev
fbcon                  35102  72
tileblit                1999  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
softcursor              1189  1 bitblit
ppdev                   5259  0
coretemp                4417  0
nvidia              10581753  40
btusb                  11053  2
bluetooth              49892  9 rfcomm,sco,bnep,l2cap,btusb
videobuf_dma_sg        10782  2 saa7134_alsa,saa7134
videobuf_core          16356  2 saa7134,videobuf_dma_sg
tveeprom               11102  1 saa7134
snd                    54244  15 saa7134_alsa,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
intel_agp              24375  0
parport_pc             25962  1
psmouse                63677  0
serio_raw               3978  0
soundcore               6620  1 snd
vga16fb                11385  1
snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
vgastate                8961  1 vga16fb
agpgart                31724  2 nvidia,intel_agp
lp                      7028  0
parport                32635  3 ppdev,parport_pc,lp
usb_storage            39905  1
pata_jmicron            1843  0
r8169                  34140  0
mii                     4381  1 r8169
Цитировать
$ ln -s /lib/xtables/libxt_psd.so /lib/xtables/libipt_psd.so
$ iptables -v -A INPUT -m psd -j DROP
/lib/xtables/libxt_psd.so: libxtables.so.2: cannot open shared object file: No such file or directory
/lib/xtables/libipt_psd.so: libxtables.so.2: cannot open shared object file: No such file or directory
iptables v1.4.10: Couldn't load match `psd':(null)

Try `iptables -h' or 'iptables --help' for more information.
 sudo ln -s /lib/libxtables.so.5.0.0 /lib/libxtables.so.2
$ iptables -v -A INPUT -m psd -j DROP
iptables: match "psd" has version "libxtables.so.2", but "libxtables.so.5" is required.
И так не завелось...  :o :idiot2:
« Последнее редактирование: 27 Ноября 2011, 00:44:52 от denis32 »

alexxnight

  • Гость
Re: И снова xtables. Чтоб его....! ubuntu 10.4.3
« Ответ #1 : 27 Ноября 2011, 01:28:23 »
sudo iptables ....

Оффлайн saymon21root

  • Автор темы
  • Участник
  • *
  • Сообщений: 166
    • Просмотр профиля
    • https://saymon21-root.pro
Re: И снова xtables. Чтоб его....! ubuntu 10.4.3
« Ответ #2 : 27 Ноября 2011, 01:29:30 »
Что-что, а дело уже точно не в sudo.

alexxnight

  • Гость
Re: И снова xtables. Чтоб его....! ubuntu 10.4.3
« Ответ #3 : 27 Ноября 2011, 15:31:05 »
делал так
http://wiki.auditory.ru/XTables_Addons

получилось

 

Страница сгенерирована за 0.071 секунд. Запросов: 25.