hi,
ich habe ein problem mit iptables. ich wuerde gern einige netzwerke bei mir bannen aber irgendwie funktioniert das net wirklich.
--- ifconfig ---
eth0 Link encap:Ethernet HWaddr 00:30:48:42:5E:56
inet addr:xx.xxx.xxx.xxx Bcast:xx.xxx.xxx.xxx Mask:255.255.255.255
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:147210975 errors:0 dropped:0 overruns:0 frame:0
TX packets:153884690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:540310389 (515.2 Mb) TX bytes:1846826847 (1761.2 Mb)
Interrupt:22 Base address:0xa000 Memory:ec000000-ec020000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48635 errors:0 dropped:0 overruns:0 frame:0
TX packets:48635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3806398 (3.6 Mb) TX bytes:3806398 (3.6 Mb)
---- end --
iptables -A INPUT -s 212.20.141.32/63 -j REJECT
iptables v1.2.7a: invalid mask `63' specified
Try `iptables -h' or 'iptables --help' for more information.
und ka was ich damit anfangen soll einfache ip adden geht wunderbar
is aber net im sinne des erfindes dort n paar hundert ips einzeln zu adden
iptables: network blocken
Re: iptables: network blocken
Hi
iptables -A INPUT -s 212.20.141.32/63 -j REJECT
iptables v1.2.7a: invalid mask `63' specified
Try `iptables -h' or 'iptables --help' for more information.
Die Netzmaske "63" gibt es nicht.
http://www.galileocomputing.de/openbook ... de191.html
Hoffe das hilft für die Zukunft.
MfG
iptables -A INPUT -s 212.20.141.32/63 -j REJECT
iptables v1.2.7a: invalid mask `63' specified
Try `iptables -h' or 'iptables --help' for more information.
Die Netzmaske "63" gibt es nicht.
http://www.galileocomputing.de/openbook ... de191.html
Hoffe das hilft für die Zukunft.
MfG