Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[~Solved] Munin & Grsecurity

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Timz
n00b
n00b
User avatar
Posts: 42
Joined: Mon Oct 24, 2005 9:02 pm
Location: Lyon/Paris - FRANCE

[~Solved] Munin & Grsecurity

  • Quote

Post by Timz » Wed Apr 09, 2008 3:59 pm

Hello everyone,

I'v got a problem with munin for a few plugins like the network and i'm wondering if there is not a problem with grsecurity patchs.

i'm using munin 1.3.3-r2
with a kernel 2.6.23-hardened-r7 and grsecurity activated.

the plugin netstat and if_ aren't working:
but they are working from my shell

Code: Select all

linux #  /etc/munin/plugins/netstat
active.value 2064
passive.value 99565
failed.value 167
resets.value 1676
established.value 1

Code: Select all

linux #  /etc/munin/plugins/if_eth0
down.value 1188463932
up.value 524118957
from the master node with telnet i got this :

Code: Select all

fetch if_eth0
.
fetch netstat
.
on the node i got :
/var/log/munin/munin-node.log:
cannot open /proc/net/snmp: Permission denied
wherehas:
linux # ls -lah /proc/net/snmp
-r--r--r-- 1 root root 0 Apr 9 18:01 /proc/net/snmp

anybody with the same problem ?

thanks a lot !

i hope i'm in the good forum.
Last edited by Timz on Tue May 20, 2008 1:00 pm, edited 1 time in total.
Gentoo rocks !!!
Top
Sadako
Advocate
Advocate
User avatar
Posts: 3792
Joined: Thu Aug 05, 2004 5:50 pm
Location: sleeping in the bathtub
Contact:
Contact Sadako
Website

  • Quote

Post by Sadako » Wed Apr 09, 2008 4:49 pm

Could you post the output of `grep GRKERNSEC` on the config of the kernel you're currently running?

I'm not familiar with munin, so how's it supposed to work, ie is it started by an init script, is it run under a restricted account (drops root privileges), etc?
"You have to invite me in"
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Wed Apr 09, 2008 4:51 pm

Moved from Kernel & Hardware to Networking & Security.

grsec has an option that restricts access to proc. see http://www.gentoo.org/proj/en/hardened/ ... #doc_chap4
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
Timz
n00b
n00b
User avatar
Posts: 42
Joined: Mon Oct 24, 2005 9:02 pm
Location: Lyon/Paris - FRANCE

  • Quote

Post by Timz » Tue May 20, 2008 9:57 am

Yes of course but unfortunatly i don't have any idea to conceal munin with grsec.

Any idea ?
Gentoo rocks !!!
Top
Timz
n00b
n00b
User avatar
Posts: 42
Joined: Mon Oct 24, 2005 9:02 pm
Location: Lyon/Paris - FRANCE

  • Quote

Post by Timz » Tue May 20, 2008 12:10 pm

The only solution i've found is to use smnp to get values i cant get with munin plugins.
Gentoo rocks !!!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic