iptables findet modul nicht

Nemesis

Nemesis

N3RD
hi,
bei mir spuckt iptables auf einem debian etch folgende meldungen aus, mit denen ich aber nichts anfangen kann: »link«

das modul /lib/iptables/libipt_Accept.so existiert nicht, aber auf meinem anderen debian etch hier existiert es ebenfalls nicht, aber das iptables-script läuft ohne fehler.

woran könnte das liegen?

thx
 
Hi,

hi,
bei mir spuckt iptables auf einem debian etch folgende meldungen aus, mit denen ich aber nichts anfangen kann:

Code:
iptables v1.3.6: Couldn't load target [B][U]`Accept'[/B][/U]:/lib/iptables/libipt_Accept.so: cannot open shared object file: No such file or directory

woran könnte das liegen?

Code:
# man iptables
...
TARGETS
       A  firewall rule specifies criteria for a packet, and a target.  If the packet does not match, the next rule in the chain is the examined; if it
       does match, then the next rule is specified by the value of the target, which can be the name of a user-defined chain or one of the special val-
       ues [B][U]ACCEPT[/U][/B], DROP, QUEUE, or RETURN.

       ACCEPT  means to let the packet through.  DROP means to drop the packet on the floor.  QUEUE means to pass the packet to userspace (if supported
       by the kernel).  RETURN means stop traversing this chain and resume at the next rule in the previous (calling) chain.  If the end of a  built-in
       chain  is  reached  or a rule in a built-in chain with target RETURN is matched, the target specified by the chain policy determines the fate of
       the packet.

Schau Dir das Script mal genauer an. Daß es mit "Accept" auf 'nem anderen Etch ohne entsprechende Anpassungen (Symlink o. ä.) läuft, kann ich mir nicht vorstellen.
 
ok, daran hats gelegen, danke :)
jetzt bleibt nur noch das problem mit den Bad argument `tcp', Bad argument `udp' und Bad argument `icmp'
 
ok, daran hats gelegen, danke :)
jetzt bleibt nur noch das problem mit den Bad argument `tcp', Bad argument `udp' und Bad argument `icmp'

Bsp:
Code:
iptables -A INPUT [B][U]-p tcp[/U][/B] -j ACCEPT

Auch hier der Hinweis: Sieh Dir das Script genauer an, und achte auf die richtige Syntax des Befehls.
 
ich komm nich drauf, den syntax hab ich z.b. wie folgt:
Code:
$IPTABLES -A FORWARD -i $INTDEV -o $OUTDEV -p tcp --dport ssh -j ACCEPT


ok, fehler im script

$EXTDEV != $OUTDEV

GROSSES danke an GOODSPEED! und Fallout
 
Zuletzt bearbeitet:

Ähnliche Themen

SELinux Reference Policy Problem

xrandr: cant open display

Ubuntu findet Library nicht...

script wird von cronjob nicht korrekt ausgeführt - Centos 5

hdb: task_no_data_intr

Zurück
Oben