Kernel Panic

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Kernel Panic

Postby razixx » 18 Jan 2011, 14:34

Currently I'm running 8.1 - STABLE as a squid server for our schools in a virtualized environment on a Windows server host.

Before I had this server running on it's own hardware but was experiencing constant unauthorized reboots. It was older hardware so I figured it was the machine and not the os, however I finally noticed this in my logs...

Code: Select all
panic: rtqkill route really not free


The work around I've found for this searching on the internet is placing

Code: Select all
net.inet.icmp.drop_redirect=1


in [FILE]sysctl.conf[/FILE] - there is also a kernel patch out there but I'm unsure how to apply it.

Will this have any negative impact on this particular FreeBSD setup? Another user that was having the same panics said it was a the icmp redirects that was causing this particular panic. I am unsure how to determine if this is what is causing mine.
razixx
Junior Member
 
Posts: 40
Joined: 24 Aug 2010, 17:35
Location: The Pas

Postby SirDice » 18 Jan 2011, 14:51

razixx wrote:The work around I've found for this searching on the internet is placing
net.inet.icmp.drop_redirect=1
in sysctl.conf - there is also a kernel patch out there but I'm unsure how to apply it.

Will this have any negative impact on this particular freebsd setup? Another user that was having the same panics said it was a the icmp redirects that was causing this particular panic.

I'm not sure if it's the cause of the panic. In any case is good practice to turn it off regardless. You really, really don't want somebody sending spoofed ICMP redirects to your server. An attacker can use it to divert traffic to himself.

I am unsure how to determine if this is what is causing mine.

Turn it on and keep an eye on it. See if it still panics.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16166
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby razixx » 18 Jan 2011, 21:09

Well it's well in to the day already, and I haven't experienced a single panic, by now I would have had at least 3. Still have my fingers crossed, but I think it's good to go.
razixx
Junior Member
 
Posts: 40
Joined: 24 Aug 2010, 17:35
Location: The Pas


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests