Napotkałem na bardzo dziwny problem z debianem i modulem ipp2p. System to Debian Sarge 3.1, Kernel 2.6.8-3-686, iptables 1.2.11, ipp2p 0.8.0.
Kompilacja ipp2p przechodzi bez błędów. Poten kopuję pliki w odpowiednie miejsca, depmod, modprobe ipt_ipp2p. Moduł ładuje się bez błędów, w lsmod widze, iż jest on w pamięci. Natomiast problem zaczyna się z iptables.
Przedstawiam efekty pracy tego modułu z iptables:
Moduł nie dziala, nie zwraca żadnych błędów, w logach nic nie mam. Przedstawiam jeszcze strace:debian:~# iptables -m ipp2p --help
iptables: match `ipp2p' v (I'm v1.2.11).
debian:~# iptables -m ipp2p jdkjfkjdkjfksjkjfsljflsljflks
iptables: match `ipp2p' v (I'm v1.2.11).
debian:~# iptables -t filter -A FORWARD -j ACCEPT -m ipp2p
iptables: match `ipp2p' v (I'm v1.2.11).
debian:~# iptables -t filter -L FORWARD
Chain FORWARD (policy ACCEPT)
target prot opt source destination
debian:~#
Po exit_group wyraznie widac iz cos jest nie tak. Pisalem juz na [email protected] z problemem ale nie dostałem odpowiedzi. Może ktoś tutaj z szanownych forumowiczów spotkał się z podobnym problemem i byłby w stanie pomóc??debian:~# strace iptables -m ipp2p --help
execve("/sbin/iptables", ["iptables", "-m", "ipp2p", "--help"], [/* 12 vars */]) = 0
uname({sys="Linux", node="debian.dialog.pl", ...}) = 0
brk(0) = 0x8055000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=67545, ...}) = 0
old_mmap(NULL, 67545, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40029000
old_mmap(0x4002b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4002b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 <\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=73304, ...}) = 0
old_mmap(NULL, 80544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000
old_mmap(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x4003d000
old_mmap(0x4003e000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4003e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1254660, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40040000
old_mmap(NULL, 1264972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40041000
old_mmap(0x4016b000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0x4016b000
old_mmap(0x40174000, 7500, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40174000
close(3) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40040940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 67545) = 0
brk(0) = 0x8055000
brk(0x8076000) = 0x8076000
brk(0) = 0x8076000
open("/lib/iptables/libipt_ipp2p.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\4\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=8568, ...}) = 0
old_mmap(NULL, 10732, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
old_mmap(0x4001a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x4001a000
close(3) = 0
write(2, "iptables: match `ipp2p\' v (I\'m v"..., 41iptables: match `ipp2p' v (I'm v1.2.11).
) = 41
exit_group(1) = ?
debian:~#
--
Pozdrawiam
KrzychK2