From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Cc: Sachin <gopalsachin@gmail.com>
Subject: Re: Icons Freeze on debian, connected online.
Date: Mon, 11 Jul 2005 13:54:32 -0500 [thread overview]
Message-ID: <42D2C068.1000404@gmx.co.uk> (raw)
In-Reply-To: <7833b03c050711104546009611@mail.gmail.com>
Sachin wrote:
> 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.
> 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?
> 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.
> 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.
> 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.
> 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
> [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:
> 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:
> 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.)
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
prev parent reply other threads:[~2005-07-11 18:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 17:45 Icons Freeze on debian, connected online Sachin
2005-07-11 18:54 ` /dev/rob0 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D2C068.1000404@gmx.co.uk \
--to=rob0@gmx.co.uk \
--cc=gopalsachin@gmail.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox