Java JDK, JRE 1.5 Binaries for FreeBSD

2006-04-06 Thread Rodrigo G. Tavares de Souza

Now we'll have a native JVM to FreeBSD
It will be great...*

*http://lists.freebsd.org/pipermail/freebsd-announce/2006-April/001057.html

http://www.osnews.com/comment.php?news_id=14248limit=nothreshold=-1

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil*
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network traffic Monitor

2006-04-03 Thread Rodrigo G. Tavares de Souza

Hi,

   I getting a problem with a DSL connection, and I need a way to 
monitor the network traffic.

   I found a program called Netsaint, could I do it with this one?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling Java 1.5

2006-03-31 Thread Rodrigo G. Tavares de Souza
I started to compile Java 1.5 some days ago, and I also got a lot of 
problems.

Then I compiled Jdk 1.4 with no problems...

When BSD is installing jdk 1.5, it ask for linux-Jdk 1.4. I think this 
is the problem,

if it was used to compile Java libraries, It won't work.

Try to compile 1.4, actually this version is  enough to run  whatever do 
u wanna


Rodrigo Souza
Sao Paulo - Brazil

Aguiar Magalhaes wrote:

Hi list,

I´ve received many good suggestions and I'm trying ...

Please, see this error... What can I do ??

Thanks,

Aguiar

- - - - - - - - - - - - -
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[3]: Entering directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/
hotspot-i586/tmp/bsd_i486_compiler2/product'
/usr/local/linux-sun-jdk1.4.2/bin/javac -g -d
../generated/jvmtifiles /usr/ports
/java/jdk15/work/hotspot/src/share/vm/prims/jvmtiGen.java
Java HotSpot(TM) Client VM warning: Can't detect
initial thread stack location
Generating ../generated/jvmtifiles/jvmdiEnter.cpp
/usr/local/linux-sun-jdk1.4.2/bin/java -classpath
../generated/jvmtifiles jvmtiG
en -IN
/usr/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmti.xml
-XSL /usr
/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmdiEnter.xsl
-OUT ../generat
ed/jvmtifiles/jvmdiEnter.cpp -PARAM interface jvmdi
Java HotSpot(TM) Client VM warning: Can't detect
initial thread stack location
Info: jvmtiGen using
javax.xml.transform.TransformerFactory =
org.apache.xalan.p
rocessor.TransformerFactoryImpl
Generating ../generated/jvmtifiles/jvmdiEnterTrace.cpp
/usr/local/linux-sun-jdk1.4.2/bin/java -classpath
../generated/jvmtifiles jvmtiG
en -IN
/usr/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmti.xml
-XSL /usr
/ports/java/jdk15/work/hotspot/src/share/vm/prims/jvmdiEnter.xsl
-OUT ../generat
ed/jvmtifiles/jvmdiEnterTrace.cpp -PARAM interface
jvmdi -PARAM trace Trace
Java HotSpot(TM) Client VM warning: Can't detect
initial thread stack location
Info: jvmtiGen using
javax.xml.transform.TransformerFactory =
org.apache.xalan.p
rocessor.TransformerFactoryImpl
Exception in thread main
java.lang.IncompatibleClassChangeError
at
org.apache.xpath.objects.NotEqualComparator.compareStrings(XNodeSet.j
ava:984)
gmake[3]: ***
[../generated/jvmtifiles/jvmdiEnterTrace.cpp] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [jvmti_stuff] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/h
otspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! 
http://br.acesso.yahoo.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache Httpd - Access error

2006-03-31 Thread Rodrigo G. Tavares de Souza

Hi,

   I'm getting a strange error when I try a direct access to a folder 
in the server.

   If I simple type the machine address in the browser, it works
   Ex: http://200.153.0.100 [it works]
   But, if I type the address with the folder/file name, it doesn't 
work. The address is
translated to the machine name, getting an error, because the isn't a 
DNS to this address.
   I saw the httpd.conf, but there is no reference to machine name or 
domain.


   Ex: http://200.153.0.100/folder [automatic translated to] 
http://machine.domain.com/folder [it doesn't work]


  It also happen in the local network.

  What do I suppose to do?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Squid and CPU usage

2006-03-29 Thread Rodrigo G. Tavares de Souza

Hi,

   I'd like to know if is it common Squid works with 100% of the CPU.
   I'm using a Pentium III 900, running Squid + Apache + IPFW.

   It's happening always when I get a problem with the DSL, when it get 
slow.

   Is it normal, or could I do some configuration to fix that?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Changing prompt

2006-03-28 Thread Rodrigo G. Tavares de Souza

Hi,

  How could I show the path on prompt or see colored files when I make 
a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


crontab doesn't work

2006-03-24 Thread Rodrigo G. Tavares de Souza

Hi,

  Do I have to start something to crontab works?

configuration file:
#  MINHOUR   DAY/MONTH   MONTH   DAY/WEEK USERCOMMAND
  59  23 *** root
/usr/local/etc/sarg/make-report
  0   0  **0 squid   
/usr/local/etc/sbin/squid -k rotate


 It should generate a report every day, and clear the log file every 
week, but it isn't hapaning!

 What do I suppose to do?

Best regards
Rodrigo Souza
Analista Programador
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Qmail webmail solution

2006-03-22 Thread Rodrigo G. Tavares de Souza

Hi,

   Does anybody know a free webmail solution for Qmail?

Best regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Qmail - Webmail solution

2006-03-22 Thread Rodrigo G. Tavares de Souza

Hi,

  Does anybody know a free webmail solution for Qmail?

Best regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firewall log unlimited - How to?

2006-03-20 Thread Rodrigo G. Tavares de Souza

Hi,

   I was configuring the Firewall when I got this message:

Mar 20 11:16:08 bsd-net kernel: ipfw: limit 100 reached on entry 835

  And the firewall stoped to create log messages after this message.

  What I do need to do to IPFW do not stop writing the log file?

  If I change this option  IPFIREWALL_VERBOSE_LIMIT on kernel to:
   IPFIREWALL_VERBOSE_LIMIT=0

 It can works?

 Any help is welcome!

Best Regards,
Rodrigo G. Tavares de Souza
São Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW - Creating my own rules

2006-03-20 Thread Rodrigo G. Tavares de Souza

Hi,

   I'm trying to configure the IPFW with no success.
   Do I need to configure [in] access to each service allowed?
   I have these services:
 - Public DNS Server (outside);
 - Public POP Server (outside);
 - Public SMTP Server (outside);
 - Squid as Proxy;

  The whole Internet traffic is being redirected to Squid. I need open 
DNS, POP and SMTP.

  What is wrong with the follow rules file?

Best Regards,
Rodrigo Souza
Sao Paulo - Brazil

---
security log file
---
Mar 20 15:45:15 bsd-net kernel: ipfw: 450 Deny TCP 207.46.6.75:1863 
192.168.0.103:1580 in via rl0
Mar 20 15:45:18 bsd-net kernel: ipfw: 450 Deny UDP 200.153.0.68:53 
192.168.0.109:1056 in via rl0
Mar 20 15:45:44 bsd-net kernel: ipfw: 450 Deny UDP 200.153.0.68:53 
192.168.0.109:1056 in via rl0
Mar 20 15:45:49 bsd-net kernel: ipfw: 450 Deny TCP 200.246.179.88:110 
192.168.0.114:2238 in via rl0

...
Mar 20 15:45:59 bsd-net kernel: ipfw: 450 Deny TCP 200.246.179.88:110 
192.168.0.114:2238 in via rl0
Mar 20 15:46:00 bsd-net kernel: ipfw: 450 Deny TCP 200.246.179.88:25 
192.168.0.161:2090 in via rl0
Mar 20 15:46:01 bsd-net kernel: ipfw: 450 Deny TCP 200.246.179.88:25 
192.168.0.161:2090 in via rl0

---
#!/bin/sh
ipfw -q -f flush

cmd=ipfw -q add
pif=rl0
skip=skipto 500
ks=keep-state

$cmd 010 divert 8668 ip from any to any via $pif
$cmd 020 allow all from any to 192.168.0.2
$cmd 030 allow all from any to any via lo0
$cmd 040 fwd 192.168.0.2,3128 tcp from 192.168.0.0/24 to any dst-port 80

# DNS SERVER
# 
$cmd 050 allow tcp from any to 200.153.0.68 53 out via $pif setup $ks
$cmd 055 allow udp from any to 200.153.0.68 53 out via $pif $ks

$cmd 060 allow tcp from any to 200.153.0.192 53 out via $pif setup $ks
$cmd 065 allow udp from any to 200.153.0.192 53 out via $pif $ks

# INTERNET
# 
$cmd 070 allow tcp from any to any 80  out via $pif setup keep-state
$cmd 075 allow tcp from any to any 443 out via $pif setup keep-state

# POP AND SMTP SERVER
# 
$cmd 080 allow tcp from any to 200.246.179.88 25  out via $pif setup $ks
$cmd 085 allow tcp from any to 200.246.179.88 110 out via $pif setup $ks

# FULL root RIGHTS
# 
$cmd 090 allow tcp from me to any out via $pif setup keep-state uid root

# PING
# 
$cmd 110 allow icmp from any to any out via $pif keep-state

# DENY NOT ALLOWED
# 
$cmd 450 deny log all from any to any via $pif


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Monitoring e-mails by TCP

2006-03-18 Thread Rodrigo G. Tavares de Souza

Hi,

 I'm very newbie  on freeBSD.
 I have already installed the Firewall(ipfw) + NAT, Squid + Sarg and 
Apache Http Server, and is working pretty well! :-)

 Now I have a need, and I don't know if I can do it with a  BSD solution!

 My e-mail server is outside of my network, is a comercial mail server.
 But, my e-mail trafic pass through a BSD server, the one I've 
mentioned before.


 So, what do I need to do?
 I need to make a copy of all received and delivered e-mail through my 
network!
 Is this possible? Is there a sofware (free or not), or a firewall 
configuration to do it?
 I think it would be a kind of TCP monitor on  ports 25 and 110, like 
some antivirus that scan e-mail trafic looking for virus!


 Any help is welcome!

Best regard for all.
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]