multible networks routing over vpn tunnel

2005-03-04 Thread thomas may
hello,
 
i have two private network segments, 192.168.0.x and 192.168.1.x connected
over a VPN Tunnel, freebsd, racoon and ipsec.
on one site we want to add a new network segment 192.168.3.x
 
is this possible and how is the correct syntax ?
 
this is what i have done:
 
gifconfig gif0 A.B.C.D W.X.Y.Z
ifconfig gif0 inet 192.168.1.1 192.168.2.1 netmask 255.255.255.0

# gifconfig gif0
gif0: flags=8011UP,POINTTOPOINT,MULTICAST mtu 1280
inet 192.168.0.1 -- 192.168.1.1 netmask 0x
physical address inet A.B.C.D -- W.X.Y.Z

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


freebsd vpn tunnel with two subnets on one site

2005-02-15 Thread Thomas May
Hi,

 

i have created a vpn tunnel between two freebsd 5.3 machines with ipsec and
racoon. Iam routing two private networks 

behind the vpn gateways over the internet. Its working fine.

 

192.168.0.0 / 24

|

|

VPN Gateway 1

|

|

Internet

|

|

VPN Gateway 2

|

|

192.168.1.0 / 24

 

If I now want to add a new network on one site for example 192.168.2.0 / 24,
how can I do this ?

Is this a routing problem, or is ipsec limited to route only one network ?

 

Thanx for your answers .

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


seaching for asterisk/freebsd isdn hardware

2004-11-21 Thread Thomas May
Hi,

 

i have installed the asterisk pbx port, does anyone know about

isdn hardware to work with ?

 

thanx thomas


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 19.11.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


iam looking for the php5 java extensions

2004-09-19 Thread Thomas May
does anyone know if a php5 java extension port is available.

 

thanx thomas


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.762 / Virus Database: 510 - Release Date: 13.09.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php port with java/ext support

2004-07-27 Thread Thomas May
Hi,

 

i like to compile mod_php5 port with the java/ext support, can someone help
me ?

 

thanx thomas

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


changing ethernetcard name

2004-06-03 Thread Thomas May
Hi,

 

is it possible to change the name of the ethernetcard, because freebsd gives
a name depending on the

chip of the Ethernet card.

 

Could I rename the cards as follow ?

 

 xl0 = eth0 , xl1 = eth1, and em0 = eth3 ?

 

Thanx

 

 

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


openssh/ssl update probleme

2004-06-03 Thread Thomas May
Hi,

 

i have installed freebsd 5.2.1 from the iso image. Openssh 3.6.1p1 and
openssl 0.97c has been installed.

Because they have holes I want to install the newest ones.

 

If I install the openssl port or the openssh port, the update doesn't work.

 

I also try the openssh-portable port with the new version, but it also shows
me the old version.

 

Can someone help me ?

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


AW: openssh/ssl update probleme

2004-06-03 Thread Thomas May
Ok, I found a solution.

As I told with the 5.2.1 freebsd isoimage, openssh 3.6.1p1 and openssl 0.97c
has been installed. (old versions on cd)

I just install the openssh-portable port (the openssh port is the old one),
and the new version are installed.
But the new sshd is not in /usr/sbin, it is in /usr/local/sbin

I renamed /usr/sbin/sshd into ssh.old, I comment out in /etc/rc.conf the
Sshd_enable line, and start it from /usr/local/etc/rc.d

Now nessus don’t show me any hole and I get with sshd -V the correct
version.

Iam using freebsd since 2 years ...

thomas


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von
Lowell Gilbert
Gesendet: Donnerstag, 3. Juni 2004 18:56
An: Thomas May
Cc: [EMAIL PROTECTED]
Betreff: Re: openssh/ssl update probleme

Thomas May [EMAIL PROTECTED] writes:

 i have installed freebsd 5.2.1 from the iso image. Openssh 3.6.1p1 and
 openssl 0.97c has been installed.

Right.

 Because they have holes I want to install the newest ones.

All of the known holes were patched at the time of release.  There are
FreeBSD-specific additions to the version banner in order to
differentiate it from the original OpenSSH releases in which the
security issues existed.  To the best of my knowledge, no new security
issues have come up in either openssh or openssl since FreeBSD 5.2.1
was released.

In other words, you probably do *not* have any security holes in
either one.

 If I install the openssl port or the openssh port, the update doesn't
work.

That isn't specific enough for me to help you with.

 I also try the openssh-portable port with the new version, but it also
shows
 me the old version.

It sounds as though /usr/bin comes before /usr/local/bin on your path,
so if you just type ssh you will get the old version.  Try
/usr/local/bin/ssh -V and you will probably see the version number
for the ssh installed from ports.

Since you apparently aren't acquainted with the idea of a search path,
you probably should start by getting up to speed on Unix before trying
to deal with security topics; you are likely to make things worse
rather than better.  An excellent starting place is
http://www.freebsd.org/projects/newbies.html#fbsd
particularly the For People New to Both FreeBSD and Unix tutorial.

Good luck.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 

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


port problem with asterisk

2004-06-02 Thread Thomas May
Can someone help me ?

 

asterisk# make install

===   asterisk-0.9.0 depends on file: /usr/local/lib/mysql/libmysqlclient.a
- found

===   asterisk-0.9.0 depends on file: /nonexistent - not found

===Verifying build for /nonexistent in /usr/ports/devel/pwlib

===  pwlib-1.5.0_4 is forbidden:
http://people.freebsd.org/~eik/portaudit/27c331d5-64c7-11d8-80e3-0020ed76ef5
a.html.

*** Error code 1

 

Stop in /usr/ports/devel/pwlib.

*** Error code 1

 

Stop in /usr/ports/net/asterisk.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 5.2.1 openssh hole

2004-05-24 Thread Thomas May
Hi,

 

i have installed the new version 5.2.1 and the ports collection from
yesterday. i have checked the server

with nessus and I got a security hole warning.

 

You are running a version of OpenSSH which is older than 3.7.1

 

Versions older than 3.7.1 are vulnerable to a flaw in the buffer management

functions which might allow an attacker to execute arbitrary commands on
this 

host.

 

What can I do ? I have installed openssl from the ports tree, but I got the
same error.

 

 

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openssh port not uptodate ?

2004-05-24 Thread Thomas May
Hi,

 

i have now downloaded the new ports.tar.gz file and if i want to install the
openssh port, because of the security hole, i see the old version 3.6.1

 

bamp_home# make install

===  Vulnerability check disabled

 openssh-3.6.1.tgz doesn't seem to exist in /usr/ports/distfiles/.

 Attempting to fetch from ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/.

^C

fetch: transfer interrupted

bamp_home#

 

how do I get the new version ? is the port not uptodate ?

 

regards


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd on powerpc

2004-05-21 Thread Thomas May
Hi,

 

i read the old doco from 2002 of the ppc project, and i know opendarwin. But
I dont know exactly if

freebsd exists for powerpc or not. I have the pegasos ppc hardware
(HYPERLINK http://www.pegasosppc.com/http://www.pegasosppc.com) and like

to use it with freebsd

 

Can someone tell me 

 

thanx


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache2 + ssl

2004-03-23 Thread thomas may
Hi,

 

i like to install apache2 with ssl support. For apache 1.3.x i can find a
mod_ssl port.

What must i do for apache 2 ?

 

thanx


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd, php and gd libary

2004-03-20 Thread thomas may
Hi,

 

i installed mod_php4 from ports tree with gd options, but it starts
automatically a xfree86 installation what i dont need on my webserver.

So i tried to install gd-2.0.22 manually. But i get the following error
after make install

 

Can someone help me ? thanx thomas

 

gcc -g -O2 -o .libs/annotate annotate.o /usr/local/lib/libiconv.so
-Wl,-rpath -Wl,/usr/local/lib  -L/usr/local/lib ./.libs/libgd.so -ljpeg
-lfreetype -lz -lm -Wl,--rpath -Wl,/usr/local/lib

./.libs/libgd.so: undefined reference to `pthread_mutex_unlock'

./.libs/libgd.so: undefined reference to `pthread_mutex_destroy'

./.libs/libgd.so: undefined reference to `pthread_mutex_lock'

./.libs/libgd.so: undefined reference to `pthread_mutex_init'

*** Error code 1

 

Stop in /usr/local/src/gd-2.0.22.

*** Error code 1


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


AW: freebsd, php and gd libary

2004-03-20 Thread thomas may
Thanx for your answer.

I have installed the mod_php4 port, and need gd library support. So if i try
the following, i get errors, in the options dialog i enabled gd support.

neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
===  Building for mod_php4-4.3.4_7,1
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DJISX0208 -Iext/gd/
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/ -DPHP_ATOM_INC
-I/usr/ports/www/mod_php4/work/php-4.3.4/include
-I/usr/ports/www/mod_php4/work/php-4.3.4/main
-I/usr/ports/www/mod_php4/work/php-4.3.4
-I/usr/ports/www/mod_php4/work/php-4.3.4/Zend -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.3.4/TSRM  -O -pipe  -prefer-pic -c
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c -o
ext/gd/libgd/gdft.lo
In file included from
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63:
/usr/local/include/freetype2/freetype/freetype.h:20: #error `ft2build.h'
hasn't been included yet!
/usr/local/include/freetype2/freetype/freetype.h:21: #error Please always
use macros to include FreeType header files.
/usr/local/include/freetype2/freetype/freetype.h:22: #error Example:
/usr/local/include/freetype2/freetype/freetype.h:23: #error   #include
ft2build.h
/usr/local/include/freetype2/freetype/freetype.h:24: #error   #include
FT_FREETYPE_H
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.3.4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

-Ursprüngliche Nachricht-
Von: Jez Hancock [mailto:[EMAIL PROTECTED] Im Auftrag von Jez Hancock
Gesendet: Samstag, 20. März 2004 11:33
An: thomas may
Cc: [EMAIL PROTECTED]
Betreff: Re: freebsd, php and gd libary

On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote:
 i installed mod_php4 from ports tree with gd options, but it starts
 automatically a xfree86 installation what i don?t need on my webserver.
 
 So i tried to install gd-2.0.22 manually. But i get the following error
 after make install

snip

Try something like:

cd /usr/ports/graphics/gd
make clean
make -DWITHOUT_X11 install

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

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


AW: freebsd, php and gd libary

2004-03-20 Thread thomas may
Thanx for your answer.

I have installed the mod_php4 port, and need gd library support. So if i try
the following, i get errors, in the options dialog i enabled gd support.

neptun# make FORCE_PKG_REGISTER= -DWITHOUT_X11 install
===  Building for mod_php4-4.3.4_7,1
/bin/sh /usr/ports/www/mod_php4/work/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DJISX0208 -Iext/gd/
-I/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/ -DPHP_ATOM_INC
-I/usr/ports/www/mod_php4/work/php-4.3.4/include
-I/usr/ports/www/mod_php4/work/php-4.3.4/main
-I/usr/ports/www/mod_php4/work/php-4.3.4
-I/usr/ports/www/mod_php4/work/php-4.3.4/Zend -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/mysql
-I/usr/ports/www/mod_php4/work/php-4.3.4/TSRM  -O -pipe  -prefer-pic -c
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c -o
ext/gd/libgd/gdft.lo
In file included from
/usr/ports/www/mod_php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63:
/usr/local/include/freetype2/freetype/freetype.h:20: #error `ft2build.h'
hasn't been included yet!
/usr/local/include/freetype2/freetype/freetype.h:21: #error Please always
use macros to include FreeType header files.
/usr/local/include/freetype2/freetype/freetype.h:22: #error Example:
/usr/local/include/freetype2/freetype/freetype.h:23: #error   #include
ft2build.h
/usr/local/include/freetype2/freetype/freetype.h:24: #error   #include
FT_FREETYPE_H
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.3.4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

-Ursprüngliche Nachricht-
Von: Jez Hancock [mailto:[EMAIL PROTECTED] Im Auftrag von Jez Hancock
Gesendet: Samstag, 20. März 2004 11:33
An: thomas may
Cc: [EMAIL PROTECTED]
Betreff: Re: freebsd, php and gd libary

On Sat, Mar 20, 2004 at 10:24:28AM +0100, thomas may wrote:
 i installed mod_php4 from ports tree with gd options, but it starts
 automatically a xfree86 installation what i don?t need on my webserver.
 
 So i tried to install gd-2.0.22 manually. But i get the following error
 after make install

snip

Try something like:

cd /usr/ports/graphics/gd
make clean
make -DWITHOUT_X11 install

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 

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


freebsd samba port problem

2004-02-12 Thread Thomas May
Hi,

 

the samba-devel port has a problem, because version 3.0.1 is not longer
available on samba ftp. the new version is 3.02 and the port stops
downloading

 

regards

thomas


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 03.02.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


passwort create with perl

2003-09-12 Thread thomas may
Hi,
 
iam searching for a perl programm to create an freebsd user account
password, i dont want to change a password, i want to see it on the
command line, to copy and paste it into another application.
 
Has anyone an idea ?
 
thanx thomas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd xmailserver and php mail() function

2003-09-08 Thread thomas may
Hi,
 
iam using FreeBSD 4.7 and i want to change my smtp server from sendmail
to xmailserver.
i have read that the php mail() function supports only an sendmail or
qmail smtp server.
 
so what must i do, to change to xmailserver  i read about
sendmail-wrapper to get an solution, but
they dont work ... mainly my problem is that i have enabled smtp auth,
if i turn it off it will work.
 
thanx a lot
 
---thomas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php mail() function with freebsd 4.8

2003-08-28 Thread thomas may
Hi,
 
is there someone who has experience with the php Mail() Funktion under
FreeBSD 4.8. I have simply installed the mod_php from the ports
directory. I use as smtp-gateway/mailserver
http://www.xmailserver.org www.xmailserver.org on Port 25. it will
work with the command mail and sendmail on console without problems. the
following changes i have made in php.ini:
 
[mail function]
; For Win32 only.
;SMTP = localhost
; For Win32 only.
;sendmail_from =  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
; for unix only
sendmail_path = /usr/local/sbin/sendmail -t -i 

 
My PHP Script looks as follow:
 
?php
$mailto =  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED];
$subject = Testmail;
$header .= Content-Type: application/x-gm-impdata\n;
$header .= From:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED];
 
// send the email
mail($mailto, $subject, $message, $header);
?

 
If i use for example IE60 Browser i got only an empty site without
sending the mail. Iam not really sure if it is a php, port or a freebsd
problem. Maybe i must change some compile options ?
 
Can someone please help me.
 
THANX thomas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]