Zitat von
marce
vermutlich muss man da nicht mal was drüberinstallieren oder überbügeln - meist reicht bei solchen Problemen das editieren einer Konfigdatei...
... wir sind ja nicht bei Windows :-)
Hehe, ja das ist wohl wahr. Deswegen hätte ich ja Windows schon direkt ganz runtergeschmissen, wenn da nicht wäre das ich es für BF2 und, momentan, für das Internet brauche.
Aber ist ja schonmal gut das ich nette Leute gefunden habe die mir helfen können!
Werde hier gegen 14 Uhr ein Update posten wie es mit meinen Systemeinstellungen aussieht.
Update:
So ich habs geschafft! Hoffentlich ist das jetzt richtig. Das spuckt er aus:
[CODE]Olti:~ # RESULT=${MYSELF/.sh/}.out
Olti:~ # VERSION="0.3.4"
Olti:~ #
Olti:~ # if [ $UID -ne 0 ]; then
> echo "$MYSELF: Need to be invoked by root"
> exit 1
> fi
Olti:~ #
Olti:~ # if [[ $1 = "-v" ]]; then
> echo $MYSELF $VERSION
> exit 0
> fi
Olti:~ #
Olti:~ # #
Olti:~ # # HELP
Olti:~ # #
Olti:~ #
Olti:~ # if [[ $1 = "-?" || $1 == "--help" ]]; then
> echo $MYSELF $VERSION
> echo "Collect helpful network problem determination information"
> echo "Invocation: $MYSELF [-shwfc]"
> echo "Default: -s"
> echo "-s: standard network info"
> echo "-h: hardware info"
> echo "-w: wireless info"
> echo "-f: firewall info"
> echo "-c: config info"
> exit 0
> fi
Olti:~ #
Olti:~ # AWK="/bin/awk"
Olti:~ # SED="/bin/sed"
Olti:~ # IFCONFIG="/sbin/ifconfig"
Olti:~ # GREP="/bin/grep"
Olti:~ #
Olti:~ # for i in "$GREP" "$AWK" "$SED" "$IFCONFIG"; do
> if [ ! -x "$i" ]; then
> echo "$MYSELF: $i required but not found."
> exit 1
> fi
> done
Olti:~ #
Olti:~ # if [[ $1 = "" ]]; then
> FLAGS="-shwfc"
> else
> FLAGS="${1}"
> fi
Olti:~ #
Olti:~ # if [[ `echo $FLAGS | grep "d"` ]]; then
> set -o xtrace
> set -o verbose
> fi
Olti:~ #
Olti:~ # if [[ ! -e /etc/SuSE-release ]]; then
> echo "$MYSELF: Script doesn't work on non SuSE systems"
> exit 1
> fi
Olti:~ #
Olti:~ # LOG="/tmp/${MYSELF}$$"
Olti:~ #
Olti:~ # echo -n "
Code:
" >> $LOG
Olti:~ # echo "$MYSELF $VERSION">> $LOG
Olti:~ # echo "Invocation parameters: $*">> $LOG
Olti:~ # echo "">> $LOG
Olti:~ #
Olti:~ # function cleanup {
> rm -f $LOG
> exit
> }
Olti:~ #
Olti:~ # trap 'cleanup' 0 1 2 15
Olti:~ #
Olti:~ # # ping all my local IPs returned by ifconfig
Olti:~ #
Olti:~ # function pingMyLocalIPs() {
> local I
> local PING_RES
>
> MY_IPS="`ifconfig 2>/dev/null | awk '/inet/ {split($2,a,":"); print a[2]}'`"
>
> for I in $MY_IPS; do
> PING_RES=`ping -c1 $I | grep " 0%"`
> if [[ ! -z $PING_RES ]]; then
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> echo $I ": Ping response" >> $LOG
> else
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> echo $I ": No ping response" >> $LOG
> fi
> done
> return 0
> }
Olti:~ #
Olti:~ # function catMyConfig() {
> local C
>
> # masquerade WLAN credentials
>
> for C in `ls /etc/sysconfig/network/ifcfg-*`; do
> echo "*** cat $C" >> $LOG;
> cat $C | grep -v "^#" | grep -v "^$" \
> | awk "BEGIN { FS=\"=\"} \
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> /WIRELESS_KEY[ ]*=|WIRELESS_KEY_[0-9][ ]*=|WIRELESS_KEY_LENGTH[ ]*=\
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> |WIRELESS_WPA_IDENTITY[ ]*=|WIRELESS_WPA_PASSWORD[ ]*=|WIRELESS_WPA_PSK[ ]*=/
\
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> { cred=\"******\"; \
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> if ( \$2 ~ /['\"].+['\"]/ || \$2 !~ /['\"]/ ) { \
bash: !~: event not found
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> if ( substr(\$2,1,1) ~ /['\"]/ ) {
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> cred=substr(\$2,1,1) cred substr(\$2,1,1);
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> }
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> print \$1 \"=\" cred; next;
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> }
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> }
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> { print \$0}" >> $LOG
> echo >> $LOG
> done
> return 0
> }
Olti:~ #
Olti:~ # # network inspection commands
Olti:~ #
Olti:~ # # standard
Olti:~ # i=0;FLAG[$i]="s";CMD[$i]="uname -a"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="cat /etc/SuSE-release"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="cat /etc/resolv.conf | grep -v \"^#\" | gr
ep -v \"^$\""
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="cat /etc/hosts | grep -v \"^#\" | grep -v
\"^$\" | grep -v \"::\""
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="cat /proc/sys/net/ipv4/ip_forward"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="iptables -t nat -L"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="route -n"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="ifconfig"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="pingMyLocalIPs"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="ping -c1 -W 3 195.135.220.3"
Olti:~ # i=$i+1;FLAG[$i]="s";CMD[$i]="ping -c1 -W 3 www.suse.de"
Olti:~ # # hardware
Olti:~ # i=$i+1;FLAG[$i]="h";CMD[$i]="lspci"
Olti:~ # i=$i+1;FLAG[$i]="h";CMD[$i]="lsusb"
Olti:~ # # firewall
Olti:~ # i=$i+1;FLAG[$i]="f";CMD[$i]="iptables -L -vn"
Olti:~ # i=$i+1;FLAG[$i]="f";CMD[$i]="cat /etc/sysconfig/SuSEfirewall2 | grep -v
\"^#\" | grep -v \"^$\""
Olti:~ # # wireless
Olti:~ # #mask encryption key if present
Olti:~ # #"Encryption key:xx xxx-xxxx-xxxx-xxxx-xxxx-xxxxxxx Security mode:ope
n"
Olti:~ # #"Encryption key:off Security mode:open"
Olti:~ # i=$i+1;FLAG[$i]="w";CMD[$i]="iwconfig | sed \"s/\(Encryption key:\)\([^
o][^f][^f][^ ]*\)\(.*\)/\1xx xxx-xxxx-xxxx-xxxx-xxxx-xxxxxxx\3/\""
Olti:~ # # config
Olti:~ # i=$i+1;FLAG[$i]="c";CMD[$i]="catMyConfig"
Olti:~ #
Olti:~ # i=0
Olti:~ # echo "$MYSELF: Collecting local network informations ... "
bash: Collecting local network informations ...
Olti:~ # while [ -n "${CMD[$i]}" ]; do
>
> R=`echo $FLAGS | grep "${FLAG[$i]}"`
>
> if [[ $? == 0 ]]; then
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> echo "*** ${CMD[$i]} " >> $LOG
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> echo -n "#"
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> eval ${CMD[$i]} >> $LOG
>
.DCOPserver_Olti_:1 .gconf/ .qt/
.DCOPserver_Olti__1 .gconfd/ .skel/
.ICEauthority .gnome2/ .thumbnails/
.Xauthority .gnome2_private/ .wapi/
.bash_history .gnupg/ .xauth3avaon
.beagle/ .kbd/ .xsession-errors
.config/ .kde/ .xsession-errors-:1
.dmrc .local/ Desktop/
.exrc .mcop/ bin/
.fvwm/ .mozilla/
> echo "" >> $LOG
> fi
> let i=i+1
> done
##########connect: Network is unreachable
#ping: unknown host www.suse.de
#####lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
#awk: cmd. line:5: }
awk: cmd. line:5: ^ syntax error
awk: cmd. line:5: }
awk: cmd. line:5: ^ syntax error
Olti:~ # echo ""
Olti:~ # echo "
" >> $LOG
Olti:~ #
Olti:~ # mv $LOG $RESULT
Olti:~ # cat $RESULT
Code:
bash 0.3.4
Invocation parameters:
*** uname -a
Linux Olti 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 athlon i
386 GNU/Linux
*** cat /etc/SuSE-release
openSUSE 10.2 (i586)
VERSION = 10.2
*** cat /etc/resolv.conf | grep -v "^#" | grep -v "^$"
nameserver 192.168.1.1
search linux.site
*** cat /etc/hosts | grep -v "^#" | grep -v "^$" | grep -v "::"
127.0.0.1 localhost
192.168.1.2 Olti.linux.site Olti
*** cat /proc/sys/net/ipv4/ip_forward
0
*** iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
*** route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
*** ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:A1:36:26:09
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2045 errors:353 dropped:0 overruns:0 frame:0
TX packets:0 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:123363 (120.4 Kb) TX bytes:0 (0.0 b)
Interrupt:90 Base address:0xe800
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:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10428 (10.1 Kb) TX bytes:10428 (10.1 Kb)
*** pingMyLocalIPs
127.0.0.1 : Ping response
*** ping -c1 -W 3 195.135.220.3
*** ping -c1 -W 3 www.suse.de
*** lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. VT3351 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. Unknown device 6238
00:00.7 Host bridge: VIA Technologies, Inc. VT3351 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. [K8T890 North / VT8237 South] PCI Bri
dge
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.1 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.2 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.3 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (re
v 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/
C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTra
nsport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Con
troller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscella
neous Control
02:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600]
02:00.1 Display controller: ATI Technologies Inc RV530 [Radeon X1600] (Secondary
)
03:00.0 SATA controller: Marvell Technology Group Ltd. Unknown device 6121 (rev
b0)
05:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapt
er (rev b0)
07:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controlle
r (rev 10)
08:08.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compati
ble 10/100 Ethernet (rev 31)
*** lsusb
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 003: ID 047b:0011 Silitek Corp.
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1532:0001
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 003: ID 08ca:2023 Aiptek International, Inc.
Bus 004 Device 002: ID 13dd:0001
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 004: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 003 Device 001: ID 0000:0000
*** iptables -L -vn
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
44 2944 ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED
0 0 input_ext 0 -- * * 0.0.0.0/0 0.0.0.0/0
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET
'
0 0 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTIN
G '
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
44 2944 ACCEPT 0 -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0
state NEW,RELATED,ESTABLISHED
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-OUT-ERROR '
Chain forward_ext (0 references)
pkts bytes target prot opt in out source destination
Chain input_ext (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
PKTTYPE = broadcast
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
icmp type 4
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
icmp type 8
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 12
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 14
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 18
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 3 code 2
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
state RELATED,ESTABLISHED icmp type 5
0 0 reject_func tcp -- * * 0.0.0.0/0 0.0.0.0/0
tcp dpt:113 state NEW
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 PKTTYPE = multicast LOG flags 6 level 4 prefix
`SFW2-INext-DROP-DEFLT '
0 0 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
PKTTYPE = multicast
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix
`SFW2-INext-DROP-DEFLT '
0 0 LOG icmp -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEF
LT '
0 0 LOG udp -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEF
LT '
0 0 LOG 0 -- * * 0.0.0.0/0 0.0.0.0/0
limit: avg 3/min burst 5 state INVALID LOG flags 6 level 4 prefix `SFW2-
INext-DROP-DEFLT-INV '
0 0 DROP 0 -- * * 0.0.0.0/0 0.0.0.0/0
Chain reject_func (1 references)
pkts bytes target prot opt in out source destination
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0
reject-with tcp-reset
0 0 REJECT udp -- * * 0.0.0.0/0 0.0.0.0/0
reject-with icmp-port-unreachable
0 0 REJECT 0 -- * * 0.0.0.0/0 0.0.0.0/0
reject-with icmp-proto-unreachable
*** cat /etc/sysconfig/SuSEfirewall2 | grep -v "^#" | grep -v "^$"
FW_DEV_EXT="any"
FW_DEV_INT="eth-bus-pci-0000:08:08.0 eth-id-00:08:a1:36:26:09"
FW_DEV_DMZ=""
FW_ROUTE="no"
FW_MASQUERADE="no"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="0/0"
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP=""
FW_SERVICES_EXT_UDP=""
FW_SERVICES_EXT_IP=""
FW_SERVICES_EXT_RPC=""
FW_CONFIGURATIONS_EXT=""
FW_SERVICES_DMZ_TCP=""
FW_SERVICES_DMZ_UDP=""
FW_SERVICES_DMZ_IP=""
FW_SERVICES_DMZ_RPC=""
FW_CONFIGURATIONS_DMZ=""
FW_SERVICES_INT_TCP=""
FW_SERVICES_INT_UDP=""
FW_SERVICES_INT_IP=""
FW_SERVICES_INT_RPC=""
FW_CONFIGURATIONS_INT=""
FW_SERVICES_DROP_EXT=""
FW_SERVICES_REJECT_EXT="0/0,tcp,113"
FW_SERVICES_ACCEPT_EXT=""
FW_TRUSTED_NETS=""
FW_ALLOW_INCOMING_HIGHPORTS_TCP=""
FW_ALLOW_INCOMING_HIGHPORTS_UDP=""
FW_FORWARD=""
FW_FORWARD_MASQ=""
FW_REDIRECT=""
FW_LOG_DROP_CRIT="yes"
FW_LOG_DROP_ALL="no"
FW_LOG_ACCEPT_CRIT="yes"
FW_LOG_ACCEPT_ALL="no"
FW_LOG_LIMIT=""
FW_LOG=""
FW_KERNEL_SECURITY="yes"
FW_STOP_KEEP_ROUTING_STATE="no"
FW_ALLOW_PING_FW="yes"
FW_ALLOW_PING_DMZ="no"
FW_ALLOW_PING_EXT="no"
FW_ALLOW_FW_SOURCEQUENCH=""
FW_ALLOW_FW_BROADCAST_EXT="no"
FW_ALLOW_FW_BROADCAST_INT="no"
FW_ALLOW_FW_BROADCAST_DMZ="no"
FW_IGNORE_FW_BROADCAST_EXT="yes"
FW_IGNORE_FW_BROADCAST_INT="no"
FW_IGNORE_FW_BROADCAST_DMZ="no"
FW_ALLOW_CLASS_ROUTING=""
FW_CUSTOMRULES=""
FW_REJECT=""
FW_REJECT_INT="yes"
FW_HTB_TUNE_DEV=""
FW_IPv6=""
FW_IPv6_REJECT_OUTGOING=""
FW_IPSEC_TRUST="no"
FW_ZONES=""
FW_USE_IPTABLES_BATCH=""
FW_LOAD_MODULES=""
FW_FORWARD_ALWAYS_INOUT_DEV=""
FW_SERVICES_ACCEPT_INT=""
FW_SERVICES_ACCEPT_DMZ=""
*** iwconfig | sed "s/\(Encryption key:\)\([^o][^f][^f][^ ]*\)\(.*\)/\1xx xxx-xx xx-xxxx-xxxx-xxxx-xxxxxxx\3/"
*** catMyConfig
*** cat /etc/sysconfig/network/ifcfg-eth-bus-pci-0000:08:08.0
*** cat /etc/sysconfig/network/ifcfg-lo
Lesezeichen