JBoss 3.2.2 + SDK 1.4.2

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

JBoss 3.2.2 + SDK 1.4.2

Postby nef » Wed Dec 03, 2003 7:53 am

Hi!

I am currently using one patch from Con Kolivas page (kernel 2.4.22 grsecurity+xfs). IMHO Grsecurity is the best security patch I have ever seen. But the greatest pain in the bottom is I simply cannot get rid java-related problems when I start my JBoss 3.2.2 server (run.sh -> default conf). The kernel log is always filled up with bunch of:
    Dec 3 12:41:28 core kernel: grsec: From 192.168.200.201: signal 11 sent to (java:2627) UID(0) EUID(0), parent (java:6261) UID(0) EUID(0)
    Dec 3 12:41:33 core last message repeated 4 times
    Dec 3 12:41:34 core kernel: grsec: more alerts, logging disabled for 10 seconds
    Dec 3 12:41:44 core kernel: grsec: signal 11 sent to (java:2627) UID(0) EUID(0), parent (java:6261) UID(0) EUID(0)
    Dec 3 12:41:51 core last message repeated 4 times
    Dec 3 12:41:51 core kernel: grsec: more alerts, logging disabled for 10 seconds
    Dec 3 12:42:02 core kernel: grsec: signal 11 sent to (java:2627) UID(0) EUID(0), parent (java:6261) UID(0) EUID(0)
    Dec 3 12:42:02 core last message repeated 4 times
    Dec 3 12:42:02 core kernel: grsec: more alerts, logging disabled for 10 seconds
    Dec 3 12:42:12 core kernel: grsec: signal 11 sent to (java:2627) UID(0) EUID(0), parent (java:6261) UID(0) EUID(0)
    Dec 3 12:42:12 core last message repeated 4 times
    Dec 3 12:42:13 core kernel: grsec: more alerts, logging disabled for 10 seconds

For sure:
Code: Select all
chpax -spmrx /usr/lib/j2se/1.4/jre/bin/java
chpax -spmrx /usr/lib/j2se/1.4/jre/bin/java_vm
chpax -spmrx /opt/j2sdk_nb/j2sdk1.4.2/bin/java
chpax -spmrx  /opt/j2sdk_nb/j2sdk1.4.2/jre/bin/java_vm
chpax -spmrx  /opt/j2sdk_nb/j2sdk1.4.2/jre/bin/java

is always executed. Any clue??
Thanks in advance
Nef
nef
 
Posts: 1
Joined: Wed Dec 03, 2003 7:29 am

Re: JBoss 3.2.2 + SDK 1.4.2

Postby PaX Team » Wed Dec 03, 2003 10:36 am

nef wrote:
Code: Select all
chpax -spmrx /usr/lib/j2se/1.4/jre/bin/java
chpax -spmrx /usr/lib/j2se/1.4/jre/bin/java_vm
chpax -spmrx /opt/j2sdk_nb/j2sdk1.4.2/bin/java
chpax -spmrx  /opt/j2sdk_nb/j2sdk1.4.2/jre/bin/java_vm
chpax -spmrx  /opt/j2sdk_nb/j2sdk1.4.2/jre/bin/java

is always executed. Any clue??
do you get the problems even if you disable PaX in the kernel config? also, you could allow coredumping (ulimit -c unlimited) and take a look at the coredumps to see where the problem occured. for now it looks like a genuine java bug/crash not related to PaX, but would be nice to be sure.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support