Re: openjdk7 dtrace support

2013-10-10 Thread Patrick Dung





On Thursday, October 10, 2013 12:07 PM, Mark Johnston  wrote:
 
On Wed, Oct 09, 2013 at 09:55:51PM +0800, Patrick Dung wrote:

> Hello, 
> 
> 
> I would like to know it there is dtrace support in the openjdk7?

Not yet on FreeBSD, unless there's something I'm missing. Some work
needs to be done on the port in order to get it working.

hotspot/make/bsd/makefiles/dtrace.make only does anything if it detects
that it's running on Darwin; that'd probably be a good place to start
for anyone interested in working on this.

-Mark
Hi Mark,

Noted and thanks.
The Postgresql port (9.3, not sure for 8.4/9.1/9.2) have dtrace support, which 
is very cool.

Thanks,
Patrick
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: openjdk7 dtrace support

2013-10-09 Thread Patrick Dung
Hello, 


I would like to know it there is dtrace support in the openjdk7?

Thanks,
Patrick Dung




On Tuesday, October 8, 2013 1:26 PM, Patrick Dung  
wrote:
 
Hi all,

I would like to know it there is dtrace support in the openjdk7?

Thanks,
Patrick
___
freebsd-j...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscr...@freebsd.org"
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: About Transparent Superpages and Non-transparent superapges

2013-09-19 Thread Patrick Dung
>From: Sebastian Kuzminsky 
>To: Patrick Dung 
>Cc: "freebsd-hackers@freebsd.org" ; 
>"ivo...@freebsd.org" 
>Sent: Friday, September 20, 2013 4:34 AM
>Subject: Re: About Transparent Superpages and Non-transparent superapges
>
>On Sep 18, 2013, at 10:08 , Patrick Dung wrote:
>
>> I have seen somewhere that superpages support was being developed in HEAD 
>> too.
>> Any insight on it?
>
>
>We at Line Rate (now F5) are developing support for 1 Gig superpages on amd64. 
> We're basing our work on 9.1.0 for now.
>
>An early preview is available here:
>
>https://github.com/Seb-LineRate/freebsd/tree/freebsd-9.1.0-1gig-pages-NOT-READY-2
>
>
>-- 
>Sebastian Kuzminsky
>

That is cool.

What type of applications can take advantage of the 1Gb page size?
And is it transparent? Or applications need to be modified?

Thanks,
Patrick Dung
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


About Transparent Superpages and Non-transparent superapges

2013-09-18 Thread Patrick Dung
>Date: Tue, 17 Sep 2013 18:06:32 +0200
>From: Ivan Voras 
>To: freebsd-hackers@freebsd.org
>Subject: Re: About Transparent Superpages and Non-transparent
>    superapges
>Message-ID: 
>Content-Type: text/plain; charset="utf-8"
>
>On 17/09/2013 17:01, Patrick Dung wrote:
>>
>>
>> Hello,
>>
>>
>> I have posted the question in freebsd-questions but have not get feedback, 
>> so I tried to asked in here.
>>
>> 1.
>> Transparent Superpages was in FreeBSD for a few years.
>> I would like to know if there is any benchmark or real world performance 
>> experience about this setting.
>>
>> 2.
>> I have seen somewhere that non-transparent superpages was being developed in 
>> HEAD too.
>> Any insight on it? Please correct me if it is not the case.
>
>By "non-transparent" do you mean explicit huge pages API which allows
>them to be allocated on-demand rather than heuristically, such as was
>implemented in Linux for at least 8 years (http://goo.gl/8qZX4D,
>https://lwn.net/Articles/375096/) and supported by major software
>products (http://goo.gl/prxjjo, http://goo.gl/fQOLwO,
>http://goo.gl/pr7Tbb, http://goo.gl/Y9qtWk, http://goo.gl/M0l7LL, etc.)?
>I haven't heard about it (but I hope I'm wrong :) ).
>

For question no 2: Yes. oO I should say superpages , large pages or huge page 
support.

Back to my questions:
1.
Transparent Superpages was in FreeBSD for a few years.
I would like to know if there is any benchmark or real world performance 
experience about this setting.
For Linux, I have heard people having issues with the THP (transparent huge 
page) on Linux.

2.
I have seen somewhere that superpages support was being developed in HEAD too.
Any insight on it?

Regards,
Patrick
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: About Transparent Superpages and Non-transparent superapges

2013-09-17 Thread Patrick Dung


Hello,


I have posted the question in freebsd-questions but have not get feedback, so I 
tried to asked in here.

1.
Transparent Superpages was in FreeBSD for a few years.
I would like to know if there is any benchmark or real world performance 
experience about this setting.

2.
I have seen somewhere that non-transparent superpages was being developed in 
HEAD too.
Any insight on it? Please correct me if it is not the case.

Thanks and regards,
Patrick Dung
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Discussing ideas or wish list

2013-08-09 Thread Patrick Dung
Yes, I can install lang/perl5.12.
But in that case, I can't install other perl /p5 pre-build packages (which 
depends on Perl 5.14) provided by FreeBSD, due to dependency problem.



 From: Darren Pilgrim 
To: Patrick Dung  
Cc: "freebsd-hackers@freebsd.org"  
Sent: Saturday, August 10, 2013 6:37 AM
Subject: Re: Discussing ideas or wish list
 

On 8/9/2013 9:34 AM, Patrick Dung wrote:
> Let share an experience for my case. I have installed OTRS (a great
> ticketing system) in FreeBSD 9.0. The Perl version at that time is
> 5.12. For me, upgrading to FreeBSD 9.1 take some time because the
> Perl version at that time is 5.14. OTRS depends on lots of Perl/p5
> modules/packages. This is not scalable if I need to upgrade multiple
> servers.

Perl is not in the base system, so why is this an issue?  If you need 
5.12 on 9.1, install lang/perl5.12.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Discussing ideas or wish list

2013-08-09 Thread Patrick Dung
Thanks for reply.

I am an user. I am using or thinking from the user perspective.

1) Perl version change within Major release


> Do you see the problem with having to support an ancient Perl version
> that is 13 years old? I'd suspect many modern Perl applications to not
> even work on Perl 5.8.9.

CentOS shipped Perl 5.8 in CentOS 5 series. They shipped Perl 5.10 in CentOS 6 
series.
So far I have no problem in doing the OS upgrade within the minor release.
It is because the Perl (or other packages eg. gcc/python) version is consistent 
between the OS major versions.

Let share an experience for my case.
I have installed OTRS (a great ticketing system) in FreeBSD 9.0. The Perl 
version at that time is 5.12.
For me, upgrading to FreeBSD 9.1 take some time because the Perl version at 
that time is 5.14.
OTRS depends on lots of Perl/p5 modules/packages.
This is not scalable if I need to upgrade multiple servers.


Some (crazy?) ideas:
a) Is it possible to install multiple Perl versions in the same server?
Each third party Perl packages would linked to the corresponding Perl versions?
Users have to update /usr/bin/perl to link to the desired Perl version (or 
using wrapper mechanism like /etc/mail/mail.conf).


The installed package may like these:
perl58-5.8.xxx
p5-perl58-Net-zzz

perl510-5.10.yyy
p5-perl510-Net-zzz


In this case, the user can install multiple Perl in the FreeBSD system.

b) Try to use the newest stable Perl version at the very beginning FreeBSD 
major release.
And try to maintain the Perl major version consistent within the FreeBSD minor 
release.

For example, using Perl 5.14 at FreeBSD 9.0 and Perl 5.18 for FreeBSD 10.0.

2) pkgng

> man pkg-check

>  pkg check -s is used to find invalid checksums for installed packages.


I think this does not protect from the checksum and the files is being changed 
at the same time.
When using pkg_add -r, I am concerned that if the packages was being tampered.
And I have no way to verify it.

>> Or how can user authenticate that the package is build by FreeBSD?

>I don't think packages are signed yet, but this is permitted by the new
>pkg design and will hopefully happen before too long.


Good to hear that.


3) systat
I hope systat can record statistics periodically.
Currently systat is like 'top', that is monitoring system resources in real 
time.

Thanks and regards,
Patrick Dung




Message: 4
Date: Thu, 08 Aug 2013 10:34:21 -0500
From: Mark Felder 
To: freebsd-hackers@freebsd.org
Subject: Re: Discussing ideas or wish list
Message-ID:
    <1375976061.30215.7553799.0e22b...@webmail.messagingengine.com>
Content-Type: text/plain

On Thu, Aug 8, 2013, at 9:54, Patrick Dung wrote:
>
> 1) Perl version change within Major release
> If I remembered correctly, FreeBSD 9.0 shipped with perl 5.12 packages in
> the DVD.
> But in FreeBSD 9.1, Perl 5.14 is shipped.
> 
> I think Perl version should be consistent in the FreeBSD 9 series.
> The change of Perl version may make user difficult to upgrade other perl
> packages due to dependency issues.

The ports tree is a "rolling release"  and decides what the default perl
version is, not the FreeBSD release. Let's ignore that though and take a
peek into history using FreeBSD 8 series as an example because it's
closer to EoL.

Perl 5.8.0 is officially released July 18, 2002.
Perl 5.8.9 is officially EoL on Nov 6, 2008.

FreeBSD 8.0 released Nov 25, 2009. The ports tree's default Perl version
at that point in time is Perl 5.8.9. Both Perl 5.8.9 and 5.10.1 are
available as packages at that time.

FreeBSD 8.4 released June 7, 2013. The ports tree's default Perl version
at that point in time is 5.14.2.

FreeBSD 8.4 could be the last release in the FreeBSD 8.x series. Its
estimated EoL is June 30, 2015.

Do you see the problem with having to support an ancient Perl version
that is 13 years old? I'd suspect many modern Perl applications to not
even work on Perl 5.8.9.

> I know pkgng should replaced the old package management tools in FreeBSD
> 10, I hope the situation would improve.
> 

After the EoL of FreeBSD 8 (estimated June 30, 2015) the old package
tools are scheduled to be removed from FreeBSD. This change will be
MFC'd back to 9-STABLE and the release at that time (perhaps
9.4-RELEASE?) will not have the old pkg_* tools. This seems a bit odd to
happen in the middle of a series because of POLA, but we can't support
the old package tools forever and FreeBSD 9.1-9.3 will have given you
plenty of opportunity to migrate to the new package format and ease the
upgrade to FreeBSD 10.x.

> 2) pkgng
> I think it has checksum checking on the files in the packages.
> Could pkgng detect the packages was being tampered?

man pkg-check

  pkg check -s is used to find invalid checksums for installed packages.

> Or how can user authenticate that

Discussing ideas or wish list

2013-08-08 Thread Patrick Dung
Hello,

FreeBSD is so powerful and great.
I would like to discuss some ideas or wish list with you guys:

1) Perl version change within Major release
If I remembered correctly, FreeBSD 9.0 shipped with perl 5.12 packages in the 
DVD.
But in FreeBSD 9.1, Perl 5.14 is shipped.

I think Perl version should be consistent in the FreeBSD 9 series.
The change of Perl version may make user difficult to upgrade other perl 
packages due to dependency issues.
I know pkgng should replaced the old package management tools in FreeBSD 10, I 
hope the situation would improve.

2) pkgng
I think it has checksum checking on the files in the packages.
Could pkgng detect the packages was being tampered?
Or how can user authenticate that the package is build by FreeBSD?

3) FreeBSD's own systat
Yes. there is bsdsar in the ports, but I would like to see improvement.
For example, stat for multiple CPU, number of open files/context switches, one 
statistics file per day, etc...

Thanks and regards,
Patrick Dung
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Patrick Dung
I am curious if other operating systems have this performance impact.

Could we have some workaround or need some code improvement?
For example:
Do the checking/accounting only if the specific mount point has enabled quota.
etc..

Regards,
Patrick

--- On Tue, 12/25/12, Konstantin Belousov  wrote:

From: Konstantin Belousov 
Subject: Re: About QUOTA support in stock kernel (resent)
To: "Eitan Adler" 
Cc: "Patrick Dung" , "freebsd hackers" 
, f...@freebsd.org
Date: Tuesday, December 25, 2012, 11:29 PM

On Tue, Dec 25, 2012 at 10:23:26AM -0500, Eitan Adler wrote:
> On 25 December 2012 10:07, Konstantin Belousov  wrote:
> > Enabling quota by default would cause small overhead, like one mutex 
> > acquire,
> > for each inode and block alloc/dealloc, even for mount without quotas 
> > enabled.
> 
> Why is this, and can it be avoided (for mounts without quotas)?
Because system should check whether quota is enabled to do the accounting.

> 
> > Might be, it is reasonable to just enable it now. Unless somebody provide
> > valid objections and I do not forget, I will do it in a week for HEAD.
> 
> 
> 
> -- 
> Eitan Adler
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: About QUOTA support in stock kernel (resent)

2012-12-25 Thread Patrick Dung
Hi,

I would like to know why quota is not enabled in the stock kernel..

I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation.
Now in freebsd 9.0, it still neeed a kernel rebuild.

I have heard it has performance issue (GIANT lock) about quota.

Regards,
Patrick



--- On Sat, 12/22/12, Patrick Dung  wrote:

From: Patrick Dung 
Subject: About QUOTA support in stock kernel
To: freebsd-questi...@freebsd.org, "freebsd hackers" 

Date: Saturday, December 22, 2012, 1:35 AM

Hi,

I would like to know why quota is not enabled in the stock kernel..

I remembered that it is not enabled since freebsd 3.5 or freebsd 4 generation.
Now in freebsd 9.0, it still neeed a kernel rebuild.

I have heard it has performance issue (GIANT lock) about quota.

Regards,
Patrick
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Feature request

2008-04-01 Thread Patrick Dung
--- Eygene Ryabinkin <[EMAIL PROTECTED]> wrote:

> Patrick, good day.
> 
> Mon, Mar 31, 2008 at 11:18:56AM -0700, Patrick Dung wrote:
> > 4. LVM and file systems
> > 
> > As of FreeBSD 7.0, ZFS is ported.
> > This is great as FreeBSD do not have LVM in the past.
> 
> FreeBSD has gvinum since approximately 5.x and vinum since rather
> old days (3.0).  Is something wrong with these LVMs?
> -- 
> Eygene
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 

I think Gvinum more like software raid then LVM (allocate/resize
Logical Volume on the fly).

BTW, I found a project about LVM2 on FreeBSD:
http://romain.blogreen.org/Projects/FreeBSD_LVM2

Regards
Patrick


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Feature request

2008-04-01 Thread Patrick Dung

--- Mike Meyer <[EMAIL PROTECTED]> wrote:

> On Mon, 31 Mar 2008 11:18:56 -0700 (PDT)
> Patrick Dung <[EMAIL PROTECTED]> wrote:
> 
> > 3. Support LDAP SSO out of the box
> > 
> > Linux/Solaris/AIX have native LDAP SSO support.
> > I have asked about this feature before.
> >
> > The problem is whether it should integrate OpenLDAP to base system.
> 
> Why OpenLDAP? Why not one of the other ldap implementations available
> in the ports? In particular, do any of them already have plugins for
> use with pam?
>

OpenLDAP, nss_ldap, pam_ldap should be the stable.
It was around for years and most Linux distro come with it.

For Solaris, it comes with Sun Microsystems implementation of LDAP
library.

 
> > BTW, I see ISC Bind, Sendmail and Amd automounter is in base.
> 
> Yes, but you're asking to move a major chunk of functionality into
> the
> base from ports. That doesn't really happen very often, for lots of
> good reasons. Those reasons are often used to suggest that the
> packages you just named be moved *out* of the base system, but that's
> not much easier than moving things into it.
> 
> The other issue is - well, how much use is this for ports? After all,
> most of the servers you're going to install come from ports, so if
> they don't play here, then there's not much of a win.

In the past, in my University.
There are several computer labs. They run around 200 Solaris and Linux
workstations.
I guess the total number of students in the faculty is around a
thousand.
Of course LDAP SSO comes into play.

> 
> > 4. LVM and file systems
> > As of FreeBSD 7.0, ZFS is ported.
> > This is great as FreeBSD do not have LVM in the past.
> 
> True, there's no "volume manager" per se. On the other hand, most of
> the functionality provided by a volume manager is available through
> the geom system. Frankly, geom is a lot saner than the volume
> managers
> I've dealt with.
> 
> > I am sure there is still room for improvement.
> > For example: ZFS/UFS shrink support, native file system journaling.
> 
> Um, is something wrong with gjournal? Or for that matter, soft
> updates
> (which solve the same problem that journaling does, only with lower
> overhead)? 
> 
> FreeBSD is an open source, volunteer driven project. A list of "nice
> to haves" is cool for your personal use, but if you want to actually
> make any of them happen, then you're the best person to do
> that. Either start coding yourself, or convince somebody else to do
> it
> (and you'll find cash offers work fairly well). Even then, it may not
> make it into the base system. Being available as a port is often
> considered sufficient, or it may be that your changes aren't
> considered appropriate for some other reason, like duplicating
> functionality that already exists.
> 
>-- 
> Mike Meyer <[EMAIL PROTECTED]>
> http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more
> information.
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



  

Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster 
Total Access now 
http://tc.deals.yahoo.com/tc/blockbuster/text3.com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Feature request

2008-04-01 Thread Patrick Dung

--- Mohacsi Janos <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> On Mon, 31 Mar 2008, Patrick Dung wrote:
> 
> > Hello
> >
> > I have some suggestions about improving FreeBSD in some of the
> > areas/features. Let's discuss.
> >
> > 1. Cluster capability
> >
> > As I know, there is:
> > - Linux HA heartbeart in ports
> > - LVS (Linux Virtual Server for load balancing) for FreeBSD 5.3 in
> > http://dragon.linux-vs.org/~dragonfly/htm/lvs_freebsd.htm
> > - SunGrid in ports.
> >
> > But looks like there is no native FreeBSD clustering/load balancing
> > tools to do it in 'a FreeBSD way'.
> 
> There is *BSD way of doing loadbalancing with pf. A big plus is the
> pf 
> supports IPv6, while LVS does not.
>

Yes, I missed the 'sticky-address' feature of pf
which can do the stick session.
And we have pf CRAP to do the HA.

> 
> 
> >
> > 2. Networking support
> >
> > As we know FreeBSD has a good history/reputation on networking.
> > FreeBSD lacks these support:
> >
> > a) MPLS
> > For MPLS, Linux has project working since around in 2001.
> > It is called mpls-linux in Sourceforge.
> > There was a project to port Ayame to NetBSD 4.0 current, but I
> don't
> > know about the outcome.
> >
> > b) NAT-T on IPSEC
> > I see NAT-T patch for FreeBSD 6 in 2005 but the patch not in
> > RELEASE/CURRENT.
> >
> > As I know, there maybe patent infringement for NAT-T.
> > But I see NetBSD 3.0 (with warning) and Linux has NAT-T support out
> of
> > the box.
> > http://netbsd.gw.com/cgi-bin/man-cgi?ipsec++NetBSD-3.0
> >
> > c) multiple default gateways
> > Looks like FreeBSD do not support metrics in 'route'.
> 
> 
> This is sometime missing. OpenBSD has good support for it - maybe can
> be 
> ported from OpenBSD.
> 
> 
> >
> > 3. Support LDAP SSO out of the box
> >
> > Linux/Solaris/AIX have native LDAP SSO support.
> >
> > I have asked about this feature before.
> > The problem is whether it should integrate OpenLDAP to base system.
> > BTW, I see ISC Bind, Sendmail and Amd automounter is in base.
> >
> 
> unfortunately you have to use the ports for this
> 
> 
> > 4. LVM and file systems
> >
> > As of FreeBSD 7.0, ZFS is ported.
> > This is great as FreeBSD do not have LVM in the past.
> > I am sure there is still room for improvement.
> > For example: ZFS/UFS shrink support, native file system journaling.
> >
> > Regards
> > Patrick
> 
> Janos Mohacsi
> Network Engineer, Research Associate, Head of Network Planning and
> Projects
> NIIF/HUNGARNET, HUNGARY
> Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882
> 
> 
> 
> >
> >
> > 
>

> > No Cost - Get a month of Blockbuster Total Access now. Sweet deal
> for Yahoo! users and friends.
> > http://tc.deals.yahoo.com/tc/blockbuster/text1.com
> > ___
> > freebsd-hackers@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 

Regards
Patrick


  

OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster Total 
Access, No Cost. W00t 
http://tc.deals.yahoo.com/tc/blockbuster/text2.com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Feature request

2008-03-31 Thread Patrick Dung
Hello

I have some suggestions about improving FreeBSD in some of the
areas/features. Let's discuss.

1. Cluster capability 

As I know, there is:
- Linux HA heartbeart in ports
- LVS (Linux Virtual Server for load balancing) for FreeBSD 5.3 in
http://dragon.linux-vs.org/~dragonfly/htm/lvs_freebsd.htm
- SunGrid in ports.

But looks like there is no native FreeBSD clustering/load balancing
tools to do it in 'a FreeBSD way'.

2. Networking support

As we know FreeBSD has a good history/reputation on networking.
FreeBSD lacks these support:

a) MPLS
For MPLS, Linux has project working since around in 2001.
It is called mpls-linux in Sourceforge.
There was a project to port Ayame to NetBSD 4.0 current, but I don't
know about the outcome.

b) NAT-T on IPSEC
I see NAT-T patch for FreeBSD 6 in 2005 but the patch not in
RELEASE/CURRENT.

As I know, there maybe patent infringement for NAT-T.
But I see NetBSD 3.0 (with warning) and Linux has NAT-T support out of
the box.
http://netbsd.gw.com/cgi-bin/man-cgi?ipsec++NetBSD-3.0

c) multiple default gateways
Looks like FreeBSD do not support metrics in 'route'.

3. Support LDAP SSO out of the box

Linux/Solaris/AIX have native LDAP SSO support.

I have asked about this feature before.
The problem is whether it should integrate OpenLDAP to base system.
BTW, I see ISC Bind, Sendmail and Amd automounter is in base.

4. LVM and file systems

As of FreeBSD 7.0, ZFS is ported.
This is great as FreeBSD do not have LVM in the past.
I am sure there is still room for improvement.
For example: ZFS/UFS shrink support, native file system journaling.

Regards
Patrick


  

No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! 
users and friends. 
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel panic at shutdown with freebsd 7.0 current snapshot (oct-2007)

2007-10-24 Thread Patrick Dung
Hi

I have ZFS (and snapshot) mounted.
Then shutdown by `shutdown -p now`.

There is the dump:

# kgdb /boot/kernel/kernel.symbols vmcore.0
[GDB will not be able to debug user-mode threads:
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
panic: vrele: negative ref cnt
cpuid = 0
KDB: enter: panic
panic: from debugger
cpuid = 0
Uptime: 8h44m12s
Physical memory: 507 MB
Dumping 120 MB: 105 89 73 57 41 25 9

#0  doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:195
#1  0xc074d98e in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:409
#2  0xc074dc4b in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc048cab7 in db_panic (addr=Could not find the frame base for
"db_panic".
) at /usr/src/sys/ddb/db_command.c:433
#4  0xc048d4a5 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:401
#5  0xc048ec15 in db_trap (type=3, code=0) at
/usr/src/sys/ddb/db_main.c:222
#6  0xc07748e6 in kdb_trap (type=3, code=0, tf=0xd53d7984) at
/usr/src/sys/kern/subr_kdb.c:502
#7  0xc0a02dfb in trap (frame=0xd53d7984) at
/usr/src/sys/i386/i386/trap.c:621
#8  0xc09e87eb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#9  0xc0774a62 in kdb_enter (msg=0xc0a996bc "panic") at cpufunc.h:60
#10 0xc074dc34 in panic (fmt=0xc0aa528a "vrele: negative ref cnt") at
/usr/src/sys/kern/kern_shutdown.c:547
#11 0xc07cb0a1 in vrele (vp=0xc2fccaa0) at
/usr/src/sys/kern/vfs_subr.c:2117
#12 0xc0725905 in fdfree (td=0xc2f29a50) at
/usr/src/sys/kern/kern_descrip.c:1694
#13 0xc072ea53 in exit1 (td=0xc2f29a50, rv=1) at
/usr/src/sys/kern/kern_exit.c:272
#14 0xc07508bf in sigexit (td=Variable "td" is not available.
) at /usr/src/sys/kern/kern_sig.c:2876
#15 0xc0750c99 in postsig (sig=1) at /usr/src/sys/kern/kern_sig.c:2748
#16 0xc077eb78 in ast (framep=0xd53d7d38) at
/usr/src/sys/kern/subr_trap.c:250
#17 0xc09e910d in doreti_ast () at
/usr/src/sys/i386/i386/exception.s:290
#18 0xd53d7d38 in ?? ()
#19 0x003b in ?? ()
#20 0x003b in ?? ()
#21 0x003b in ?? ()
#22 0x in ?? ()
#23 0x in ?? ()
#24 0xbfbfee58 in ?? ()
#25 0xd53d7d64 in ?? ()
#26 0x in ?? ()
#27 0x0804fb20 in ?? ()
#28 0x in ?? ()
#29 0x0004 in ?? ()
#30 0x000c in ?? ()
#31 0x0002 in ?? ()
#32 0x28167553 in ?? ()
#33 0x0033 in ?? ()
#34 0x0247 in ?? ()
#35 0xbfbfee1c in ?? ()
#36 0x003b in ?? ()
#37 0x in ?? ()
#38 0x in ?? ()
#39 0x in ?? ()
#40 0x in ?? ()
#41 0x0116c000 in ?? ()
#42 0xc2f5bd48 in ?? ()
---Type  to continue, or q  to quit---
#43 0xc31e1000 in ?? ()
#44 0xd53d7878 in ?? ()
#45 0xd53d7854 in ?? ()
#46 0xc2f29a50 in ?? ()
#47 0xc076a756 in sched_switch (td=0x0, newtd=0x, flags=Cannot
access memory at address 0xbfbfee68
) at /usr/src/sys/kern/sched_4bsd.c:907
Previous frame inner to this frame (corrupt stack?)
(kgdb)

Regards
Patrick

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


password againg and other policy enforcement

2007-06-30 Thread Patrick Dung
I have some question about password policy in FreeBSD:

1. Administrator can enforce password expire in /etc/login.conf
Is there any tool that can check when the password will expire for the
users?

2. Any good way to enforce minimum password length and other
restriction(like password need at least 2 numbers, 2 special char)?

3. Any ways to prevent user reuse old password?

Regards
Patrick


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can we use disk device for iscsi-target port?

2007-05-31 Thread Patrick Dung
My testing env is Vmware, the backend disks are new/empty.
Here's my testing result:

1. OpenBSD 4.1 with iscsi-target compiled (I can't find it in the
ports)
It support disk slice directly, I use /dev/sd1c.

2. NetBSD 4.0-current with iscsi-target in base OS
It support disk slice directly, I use /dev/sd1d.

3. FreeBSD 6.2 with iscsi-target port:
When the new harddisk is added. It is empty and do not have any
individual slice (only have /dev/da1).
iscsi-target cannot use /dev/da1 directly (tested yesterday)

/dev/da1c is gone in FreeBSD (since 5.0)

I have tried to create a disk slice by fdisk (/dev/da1s1 and
/dev/da1s1c is created).
But iscsi-target cannot use them directly:

Reading configuration from `./targets'
target0:rw:0.0.0.0/0
extent0:/dev/da1s1:0:629145600
DISK: 1 logical units (1228800 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 1916:disk.c:778: ***ERROR*** error reading "target0"pid
1916:disk.c:895: ***ERROR*** error allocating space for "target0"pid
1916:target.c:1487: ***ERROR*** device_init() failed
pid 1916:iscsi-target.c:150: ***ERROR*** target_init() failed

Reading configuration from `./targets'
target0:rw:0.0.0.0/0
extent0:/dev/da1s1c:0:629145600
DISK: 1 logical units (1228800 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 1919:disk.c:778: ***ERROR*** error reading "target0"pid
1919:disk.c:895: ***ERROR*** error allocating space for "target0"pid
1919:target.c:1487: ***ERROR*** device_init() failed
pid 1919:iscsi-target.c:150: ***ERROR*** target_init() failed

Patrick

--- Mark Foster <[EMAIL PROTECTED]> wrote:

> Patrick Dung wrote:
> > It would be great if disk device can be used directly.
> >
> > BTW, I have not yet test netbsd with raw disk.
> > seems someone test on openbsd and it seems working:
> > http://www.freebsdforums.org/forums/showthread.php?t=43960
> >   
> Whole disk or slice? I don't think either works at this point but
> can't
> say I've tried. Can you please test an individual slice and report
> your
> findings?
> 
> -- 
> Said one park ranger, 'There is considerable overlap between the 
>  intelligence of the smartest bears and the dumbest tourists.'
> Mark D. Foster, CISSP <[EMAIL PROTECTED]>  http://mark.foster.cc/
> 
> 



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can we use disk device for iscsi-target port?

2007-05-30 Thread Patrick Dung
Hi

This port is from netbsd. I have test it, It is great.
I found it seems iscsi-target has to take a file instead of disk
devicek (eg. /dev/da1) as the target.
Below is my test result:

Starting iscsi_target.
Reading configuration from `/usr/local/etc/iscsi/targets'
target0:rw:0.0.0.0/0
extent0:/dev/da1:0:10733223936
DISK: 1 logical units (20963328 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 896:disk.c:778: ***ERROR*** error reading "target0"pid
896:disk.c:895: ***ERROR*** error allocating space for "target0"pid
896:target.c:1487: ***ERROR*** device_init() failed
pid 896:iscsi-target.c:150: ***ERROR*** target_init() failed

It would be great if disk device can be used directly.

BTW, I have not yet test netbsd with raw disk.
seems someone test on openbsd and it seems working:
http://www.freebsdforums.org/forums/showthread.php?t=43960

Thanks
Patrick


   
Take
 the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to clear strage route in routing table?

2007-01-14 Thread Patrick Dung
Thanks Nikos for reply

I have figure out how to remove that route
It was consider 192.168.3.0 as host instead of net

[EMAIL PROTECTED] ~]# route add 192.168.3.0 255.255.255.0 192.168.3.1
add net 192.168.3.0: gateway 255.255.255.0
[EMAIL PROTECTED] ~]# route delete -net 192.168.3.0
route: writing to routing socket: No such process
delete net 192.168.3.0: not in table
[EMAIL PROTECTED] ~]# route delete -host 192.168.3.0
delete host 192.168.3.0

--- Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:

> On Thursday 11 January 2007 19:01, Patrick Dung wrote:
> > Hi
> > 
> > Suppose I have mistype a command:
> > # route add 192.168.3.0 255.255.255.0 192.168.3.1
> > 
> > There is a strange routing table and I am unable to remove it
> unless
> > reboot:
> > 
> > 192.168.0&0xc0a80301 255.255.255.0  UGS 0   86  
> fxp0
> > 
> > Any ideas?
> 
> Use "route flush". And add your static routes again
> either by hand or with the help of "/etc/rc.d/routing start"
> 
> Nikos
> 



 

TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is there any tools that can display TCP window size for current connections?

2005-10-24 Thread Patrick Dung

Hi

Tcpdump can see windows size. But I want a tool that like netstat that 
list established connection, and with the sliding window size.


Is there any tools out there for FreeBSD?

__
This email has been checked for virus by DYXNet Managed Virusfree Email Service 
with 4 anti-virus scanners (http://www.dyxnet.com/)
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to duplicate a copy of all incoming and outgoing mail

2005-10-04 Thread Patrick Dung

Thanks for reply.
Wow, postifx got their power. Very simple.

But I really want to know about Sendmail, because it's default in many Unix.
Checking out http://www.technoids.org/procmailfilter.html but it seems 
quite complex.


Edwin Groothuis wrote:


On Tue, Oct 04, 2005 at 05:00:12PM +0800, Patrick Dung wrote:
 


It is system wide, not specific user (~/.forward)
Is it possble with Sendmail?
How about Postfix and Qmail?
   



Grep for bcc in the output of postconf for postfix:

   [~] [EMAIL PROTECTED]>postconf | grep bcc
   always_bcc = 
   recipient_bcc_maps = 
   sender_bcc_maps = 


Edwin
 



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


How to duplicate a copy of all incoming and outgoing mail

2005-10-04 Thread Patrick Dung

It is system wide, not specific user (~/.forward)
Is it possble with Sendmail?
How about Postfix and Qmail?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup problem for backup MySQL (a table > 2GB)

2005-08-16 Thread Patrick Dung
Opps, it should be gzip -c, instead of gzip -dc

--- Patrick Dung <[EMAIL PROTECTED]> wrote:

> Yes mysqldump.
> 
> More solutions
> 
> mysqldump database | split -b 1900m
> mysqldump database | gzip -dc | split -b 1900m
> mysqlhotcopy database /tmp && tar czvf /tmp/db.tar /tmp && split -b
> 1900m /tmp/db.tar
> 
> mysqlhotcopy uses lots of space...
> 
> --- Dmitry Mityugov <[EMAIL PROTECTED]> wrote:
> 
> > On 8/16/05, Patrick Dung <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > 
> > > We are using an old backup product which can only backup files <
> > 2GB.
> > > Now we have a mysql file > 2GB. The backup product refuse to
> backup
> > > that file.
> > > 
> > > So, whats the alternatives to perform backup for this situation?
> > > This is current idea:
> > > 
> > > Tar all the mysql directory and split into small files < 2GB.
> > > 
> > > Any suggestions?
> > 
> > Use mysqldump or mysqlhotcopy?
> > 
> > -- 
> > Dmitry Mityugov, St. Petersburg, Russia
> > I ignore all messages with confidentiality statements
> > 
> > "We live less by imagination than despite it" - Rockwell Kent, "N
> by
> > E"
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup problem for backup MySQL (a table > 2GB)

2005-08-16 Thread Patrick Dung
Yes mysqldump.

More solutions

mysqldump database | split -b 1900m
mysqldump database | gzip -dc | split -b 1900m
mysqlhotcopy database /tmp && tar czvf /tmp/db.tar /tmp && split -b
1900m /tmp/db.tar

mysqlhotcopy uses lots of space...

--- Dmitry Mityugov <[EMAIL PROTECTED]> wrote:

> On 8/16/05, Patrick Dung <[EMAIL PROTECTED]> wrote:
> > Hi
> > 
> > We are using an old backup product which can only backup files <
> 2GB.
> > Now we have a mysql file > 2GB. The backup product refuse to backup
> > that file.
> > 
> > So, whats the alternatives to perform backup for this situation?
> > This is current idea:
> > 
> > Tar all the mysql directory and split into small files < 2GB.
> > 
> > Any suggestions?
> 
> Use mysqldump or mysqlhotcopy?
> 
> -- 
> Dmitry Mityugov, St. Petersburg, Russia
> I ignore all messages with confidentiality statements
> 
> "We live less by imagination than despite it" - Rockwell Kent, "N by
> E"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup problem for backup MySQL (a table > 2GB)

2005-08-16 Thread Patrick Dung
The main problem is money. Buying a new product needs money.

The old backup product (commercial) is scalable and is working fine
with various OS. However it is outdated and is not supported anymore
(unless we have a service agreement with the vendor of the backup
product.)

It consumes lots of space to do tar+gzip and split.
I am thinking if I could copy all mysql files to another server  (by
ftp/ssh) periodically. 

Regards
Patrick

--- Vasil Dimov <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 15, 2005 at 11:41:09PM -0700, Patrick Dung wrote:
> > Hi
> > 
> > We are using an old backup product which can only backup files <
> 2GB.
> > Now we have a mysql file > 2GB. The backup product refuse to backup
> > that file.
> > 
> > So, whats the alternatives to perform backup for this situation?
> > This is current idea:
> > 
> > Tar all the mysql directory and split into small files < 2GB.
> > 
> > Any suggestions?
> > 
> 
> I guess this is not applicable, but what about using other "backup
> product" that supports larger files?
> 
> Otherwise tar(1) + gzip(1) (eventually) + split(1) seems reasonable
> solution...
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Backup problem for backup MySQL (a table > 2GB)

2005-08-15 Thread Patrick Dung
Hi

We are using an old backup product which can only backup files < 2GB.
Now we have a mysql file > 2GB. The backup product refuse to backup
that file.

So, whats the alternatives to perform backup for this situation?
This is current idea:

Tar all the mysql directory and split into small files < 2GB.

Any suggestions?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to protect an [EMAIL PROTECTED] and [EMAIL PROTECTED] alias?

2005-08-01 Thread Patrick Dung
Hi

dspam also state that it can also do this (for the anti-spam learning
process)

Regards
Patrick

--- Fernando Gleiser <[EMAIL PROTECTED]> wrote:

> On Mon, 1 Aug 2005, Patrick Dung wrote:
> 
> > Hi
> >
> > I want user to forward spam mails to [EMAIL PROTECTED] and not
> spam
> > mails to [EMAIL PROTECTED]
> >
> > However, I don't want the people in the internet to send mail to
> these
> > to account. But the people in the internet can send mail to other
> user
> > in the system.
> >
> > Can this be done in Sendmail (and postfix and qmail)?
> 
> Not a pure sendmail solution, but MIMEDefang can do it. I use it for
> malware blocking and spam filtering besides doing what you want to
> do.
> 
> 
>   Fer
> 
> 
> 
> >
> > Regards
> > Patrick
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> > ___
> > freebsd-hackers@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to protect an [EMAIL PROTECTED] and [EMAIL PROTECTED] alias?

2005-08-01 Thread Patrick Dung
Thanks for help.

I will try it. These two accounts will be used as input for the Baysien
learning process.

Regards
Patrick

--- Claus Assmann <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 01, 2005, Patrick Dung wrote:
> 
> > However, I don't want the people in the internet to send mail to
> these
> > to account. But the people in the internet can send mail to other
> user
> > in the system.
> 
> > Can this be done in Sendmail (and postfix and qmail)?
> 
> For sendmail 8:
> http://www.sendmail.org/~ca/email/protected.html
> 
> For sendmail X:
>
http://www.sendmail.org/~ca/email/sm-X/doc-X.0.0.Alpha9.0/README.html#SECTION004102000
> 
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to protect an [EMAIL PROTECTED] and [EMAIL PROTECTED] alias?

2005-08-01 Thread Patrick Dung
Hi

I want user to forward spam mails to [EMAIL PROTECTED] and not spam
mails to [EMAIL PROTECTED]

However, I don't want the people in the internet to send mail to these
to account. But the people in the internet can send mail to other user
in the system.

Can this be done in Sendmail (and postfix and qmail)?

Regards
Patrick

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail and clamav milter setting

2005-07-21 Thread Patrick Dung
Hi

I have a clamd server(antivirus server), opening TCP connection instead
of the unix domain socket.

Next, I have another separate sendmail server. Now I want to do virus
scanning.

So, should the clamav-milter daemon be on the sendmail server or the
antivirus server?

I have this configuration and this works:

Sendmail SRV <-local domain socket-> clamav-milter <- tcp -> clamd
server
(server A) (server A) (server b)

Or this is the correct one:
Sendmail SRV <-tcp-> clamav-milter <- tcp/domain socket -> clamd server
(server A) (server b) (server b)

Regards
Patrick




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Feature request (pam/nss ldap, nsswitch ldap integration)

2004-10-30 Thread Patrick Dung
 --- Dag-Erling Sm鷨grav <[EMAIL PROTECTED]> wrotes:
> Patrick Dung <[EMAIL PROTECTED]> writes:
> > So my suggestion is: integrate pam_ldap, nss_ldap, nsswitch support
> > with ldap and lookupd (ie LDAP client support) into the OS.
> 
> I'm already thinking about that, and about Kerberos autoconfiguration
> (aka KDC discovery, very useful for FreeBSD clients in Windows
> networks).  I guess you were at the keynote too, huh?  :)
> 

You mean the eurobsdcon 2004 keynote? No, I am not in there.
I have this idea just one or two days ago.
I have posted a similair article in -current and -questions but did not
get any comments.

Regards
Patrick

_
必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Feature request (pam/nss ldap, nsswitch ldap integration)

2004-10-29 Thread Patrick Dung
Hi

First of all, I know that most committers or contributors contribute
their work in their free time.
I am not asking for any promise but I just want to discuss a possible
improvement for FreeBSD.

So my suggestion is: integrate pam_ldap, nss_ldap, nsswitch support
with ldap and lookupd (ie LDAP client support) into the OS.
Perhaps by default, the ldap support is off.
It can be enabled by a switch in /etc/make.conf (like KERBEROS)

FreeBSD has the above support in the ports.
But I think it would be great if FreeBSD support LDAP out of the box.
Just like Solaris and most Linux distro.
The integration with LDAP is like the integration of OpenPAM,
OpenSSH, AMD automounter and BIND in FreeBSD.

Please express your view.
Ignore me if my suggestion has no practical use or only beneficial to a
small amount of people.

Regards
Patrick


_
必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mount name length limit (MNAMELEN)

2004-08-05 Thread Patrick Dung
Hi

It seems that the constant is in /usr/sys/sys/mount.h.
The limit is already there since the initial import in
1995. (From 4.4BSD?)
I want to know what is the root cause preventing a
larger value.

PS: I have found some interesting links about
MNAMELEN:

http://leaf.dragonflybsd.org/mailarchive/kernel/2003-08/msg00194.html

http://www.secnetix.de/~olli/FreeBSD/mnamelen.hawk

>From Compaq(HP) Tru64 UNIX 5.1 man pages, it seems
that Tru64 UNIX also have a restriction of 90
chars.(They also based on BSD?)
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN2/0114.HTM

_
必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"