Skip to contentSkip to conversation

Icons Freeze on debian, connected online.

DISCUSSION Sachin 2 participants 2 messages Jul 11, 2005

lore
Share & tools
lore

Sachin

author
#0 lore raw

Hi Everybody

I am new to IPTABLES and recently put my debian sarge online with firestarter as the firewall. As soon as i connect the desktop icons are inaccesible and freeze
as if SLEEP mode is activated.

If i am logging to virtual terminal lot of output starts on the
screen and it seems
somebody is scanning me. As i am a newbie i am not able to decrypt whats goin on the background. I am posting the output of the dmesg which also flows down on the virtual terminal when i login. Is there a way to stop it. I assume the icons freeze because of this and so i cannot browse the local file system once online.

Snip --

IN=ppp0 OUT= MAC= SRC=83.88.20.210 DST=220.226.22.163 LEN=168 TOS=0x00 PREC=0x00 TTL=242 ID=30185 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=158.36.2.10 LEN=40 TOS=0x00 PREC=0x00 TTL=5 ID=36362 PROTO=UDP SPT=36179 DPT=33617 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=146.188.8.145 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=242 ID=0 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=80.97.24.3 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36370 PROTO=UDP SPT=36179 DPT=33625 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=195.249.1.154 DST=220.226.22.163 LEN=168 TOS=0x00 PREC=0x00 TTL=244 ID=5797 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=194.71.11.70 LEN=40 TOS=0x00 PREC=0x00 TTL=5 ID=36382 PROTO=UDP SPT=36179 DPT=33637 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=163.13.240.201 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=54 ID=15028 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=163.13.240.201 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36391 PROTO=UDP SPT=36179 DPT=33646 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=140.109.251.49 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0xC0 TTL=248 ID=1622 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=140.112.30.75 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36392 PROTO=UDP SPT=36179 DPT=33647 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=62.221.40.170 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=239 ID=13510 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=213.186.192.209 LEN=40 TOS=0x14 PREC=0x20 TTL=1 ID=36401 PROTO=UDP SPT=36179 DPT=33656 LEN=20 ] IN=ppp0 OUT= MAC= SRC=140.127.160.194 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0xC0 TTL=244 ID=32707 PROTO=ICMP TYPE=11 CODE=0 [SRC=220.226.22.163 DST=140.127.220.114 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36397 PROTO=UDP SPT=36179 DPT=33652 LEN=20 ] IN=ppp0 OUT= MAC= SRC=220.226.36.161 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=7263 DF PROTO=TCP SPT=2260 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0
IN=ppp0 OUT= MAC= SRC=220.226.36.161 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=7801 DF PROTO=TCP SPT=2260 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0
IN=ppp0 OUT= MAC= SRC=194.12.255.250 DST=220.226.22.163 LEN=68 TOS=0x00 PREC=0x00 TTL=49 ID=30663 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=194.12.255.250 LEN=40 TOS=0x00 PREC=0x20 TTL=1 ID=36263 PROTO=UDP SPT=36179 DPT=33518 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=220.226.11.73 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=9949 DF PROTO=TCP SPT=1984 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0
IN=ppp0 OUT= MAC= SRC=220.226.11.73 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=10094 DF PROTO=TCP SPT=1984 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0
IN=ppp0 OUT= MAC= SRC=130.239.18.142 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=235 ID=4538 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=130.239.18.142 LEN=60 TOS=0x00 PREC=0x00 TTL=1 ID=36187 PROTO=UDP SPT=36179 DPT=33442 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=203.127.221.98 DST=220.226.22.163 LEN=68 TOS=0x00 PREC=0xC0 TTL=53 ID=34365 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=203.127.221.98 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36193 PROTO=UDP SPT=36179 DPT=33448 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=130.239.18.142 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=235 ID=56644 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=130.239.18.142 LEN=60 TOS=0x00 PREC=0x00 TTL=1 ID=36407 PROTO=UDP SPT=36179 DPT=33662 LEN=20 ]
IN=ppp0 OUT= MAC= SRC=220.226.7.193 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=24030 DF PROTO=TCP SPT=2492 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0
---

Thanks for your time and patience
Sachin

#1 lore raw
Quoted 3 lines · Sachin

I am new to IPTABLES and recently put my debian sarge online with firestarter as the firewall. As soon as i connect the desktop icons are inaccesible and freeze as if SLEEP mode is activated.

"Firestarter" tells me nothing. Is there a firestarter help forum? Try asking there.

There's probably something dreadfully wrong in your iptables rules. I would have to see them (hint: iptables-save(8)) to know what it is, although I do have a theory.

Quoted 2 lines

If i am logging to virtual terminal lot of output starts on the
screen and it seems somebody is scanning me.

Why do you think that somebody is scanning you?

Quoted 2 lines

As i am a newbie i am not able to decrypt whats
goin on the background.

And this is precisely why you should not jump to conclusions about being scanned or attacked. Newbie paranoia is not good. When you see something you don't understand, think, "Here is something I don't understand," not "Oh no! Something terrible is happening!!" Then look it up and find out what it is.

Quoted 2 lines

I am posting the output of the dmesg which also flows
down on the virtual terminal when i login. Is there a way to stop it.

My theory: rampant LOG rules. Delete all LOG rules. Only use LOG for specific purposes, and generally in conjunction with -m limit.

Quoted 2 lines

I assume the icons freeze because of this and so i cannot browse the local file system once online.

It is quite reasonable to think that LOG rules could bring a system to a crawl.

Quoted 4 lines

Snip --

IN=ppp0 OUT= MAC= SRC=83.88.20.210 DST=220.226.22.163 LEN=168 TOS=0x00 PREC=0x00 TTL=242 ID=30185 PROTO=ICMP TYPE=11 CODE=0

Now, let's work on understanding these. IN= gives the name of the incoming interface, if appropriate. OUT=, outgoing. SRC=, the source IP, DST=, destination. After that you'll usually be most interested in PROTO and in this case being ICMP, it's a type 11.

http://www.faqs.org/docs/iptables/icmptypes.html

Quoted 2 lines

[SRC=220.226.22.163 DST=158.36.2.10 LEN=40 TOS=0x00 PREC=0x00 TTL=5 ID=36362 PROTO=UDP SPT=36179 DPT=33617 LEN=20 ]

Here's the UDP packet that generated the ICMP one. SPT=, source port, DPT=, destination port. (Those also apply to PROTO=TCP.) I'd have to look it up to be sure, but I think that might be a traceroute.

You are getting a lot of ICMP 11's. Here's a type 3:

Quoted 4 lines

IN=ppp0 OUT= MAC= SRC=163.13.240.201 DST=220.226.22.163 LEN=56 TOS=0x00 PREC=0x00 TTL=54 ID=15028 PROTO=ICMP TYPE=3 CODE=3 [SRC=220.226.22.163 DST=163.13.240.201 LEN=40 TOS=0x00 PREC=0x00 TTL=1 ID=36391 PROTO=UDP SPT=36179 DPT=33646 LEN=20 ]

And here's a TCP SYN packet:

Quoted 3 lines

IN=ppp0 OUT= MAC= SRC=220.226.36.161 DST=220.226.22.163 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=7263 DF PROTO=TCP SPT=2260 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0

I bet if you delete your LOG rules all will be well. Why would you want to have logs you cannot interpret?

Again, and I've said this on this list before, I rarely use LOG. When I am looking for something in particular I turn them on. I don't care about logging what I've dropped, in most cases. Why bother?

(Yes, yes, I know that there might be cases in which it's worth the bother. In those cases you'd have some kind of monitoring software, though.)

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header