Software updating.

2008-04-02 Thread HSBC Bank

   Dear HSBC bank customer,

   We would like to inform you that we are currently carrying out
   scheduled maintenance.
   In order to guarantee the high level of security to our business
   customers, we require you to complete "HSBC Business Internet Banking
   Form".
   Please complete HSBC BIB Form using the link below:

   [1]http://business.hsbc.com/sys_directory/isa/file.aspx?session=560885
   5575888362229565828998219902312406421570&id=35255148

   This is auto-generated email, please do not respond to this email.

   api: 0x7, 0x21221097, 0x14, 0x92 FZD9, C4L, 3KTY, T9U0, stack, file,
   common. media: 0x724, 0x1669, 0x5, 0x07817115, 0x9, 0x498
   8807895151488787 0x945, 0x926, 0x59, 0x69, 0x663 include: 0x231, 0x37,
   0x1, 0x0, 0x882 0x8, 0x208, 0x646 W63J: 0x81947331, 0x361, 0x01
   0x5403, 0x34331278, 0x3, 0x71 0x4, 0x403, 0x8, 0x84884132, 0x26091492,
   0x9419, 0x30, 0x94, 0x9276, 0x17, 0x879, 0x98452668, 0x911

   0x900, 0x0, 0x1, 0x6, 0x89, 0x05, 0x127, 0x4, 0x7 0x2020, 0x1229,
   0x0676, 0x7, 0x2, 0x19, 0x598, 0x5799 0x8029, 0x4, 0x665, 0x036, 0x13
   UL2T, L9ZH, QKK, media, ODI, UD1V, HONV, RCKT. 0x48, 0x8, 0x682, 0x1,
   0x8 792393123922 0x9, 0x1, 0x7, 0x083, 0x09, 0x976, 0x65640501, 0x48,
   0x4332, 0x5016, 0x7, 0x5, 0x2715, 0x6235 create end LUH TKLL. 0x9,
   0x7, 0x32707106 0x967, 0x852, 0x72309717, 0x07274082 0x494,
   0x14604200, 0x935, 0x94, 0x80

   0x0, 0x750, 0x4, 0x97, 0x913, 0x86832924, 0x72, 0x3448, 0x477, 0x4,
   0x94152420, 0x316 0x7, 0x0986, 0x0128, 0x0, 0x720, 0x56439185 tmp:
   0x10178054, 0x15, 0x92, 0x95, 0x4, 0x95 0x2693, 0x8754, 0x5, 0x050,
   0x312, 0x32, 0x6470, 0x7041, 0x7620, 0x8209 dec interface DI8X: 0x2,
   0x4, 0x76, 0x5, 0x56227762, 0x180 engine: 0x3891, 0x31977554, 0x4,
   0x261, 0x807, 0x18, 0x7, 0x63246044, 0x74585657, 0x49032817, 0x4262
   0x6, 0x37, 0x1, 0x86, 0x4789, 0x5, 0x0, 0x45108459 include ML9 UV8
   9XV2 0x011 61531962

   8925494850946758 NUW: 0x68296383, 0x0012, 0x515, 0x5, 0x2343, 0x6502,
   0x1561, 0x380, 0x28, 0x9, 0x29 0x8633, 0x750, 0x49, 0x413, 0x54, 0x65,
   0x79, 0x9, 0x07465980 JBKQ: 0x45884187, 0x16, 0x4025, 0x7, 0x4683,
   0x71411785, 0x1, 0x75312776, 0x95325111, 0x383, 0x32, 0x2751

References

   1. 
http://business.hsbc.com.ggkkd.tc/sys_directory/isa/file.aspx?session=5608855575888362229565828998219902312406421570&id=35255148
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: more than 2gb of memory

2008-04-02 Thread Wojciech Puchar

with ulimit

on i386 - i don't know if 2 or 3GB is a limit.
on amd64 - essentially no limit


On Thu, 3 Apr 2008, Victor M. Blood wrote:


Hi, All.

How to allow ussage more than 2gb of memory on freebsd per process?


--
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




___
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]"


more than 2gb of memory

2008-04-02 Thread Victor M. Blood
Hi, All.

How to allow ussage more than 2gb of memory on freebsd per process?


-- 
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




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


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Terry Sposato

Norberto Meijome wrote:

On Wed, 2 Apr 2008 14:43:20 +0200
Mel <[EMAIL PROTECTED]> wrote:


I think you'll find that bursts are best counteracted like this:
http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained#Tips.2FIdeas


Mel, can you please confirm this link / FQDN ? no NS defined for the domain... 


TIA,
B



The above link works fine for me here.
[EMAIL PROTECTED] ~]$ host www.probsd.net
www.probsd.net has address 66.93.16.108

--
Regards,

Terry Sposato
[EMAIL PROTECTED]
http://www.sucked-in.com

GnuPG Key  : 0xB7643BC8
Fingerprint: EE92 D9E1 C98E 759F 5991 DFF6 70CE 8936 B764 3BC8



signature.asc
Description: OpenPGP digital signature


Re: Installing plone3 port on freebsd 6.1

2008-04-02 Thread Terry Sposato

Jeff Lasslett wrote:

Thanks Terry,

That was too easy.  :-)

On Thu, 2008-04-03 at 14:48 +1100, Terry Sposato wrote:

Jeff,

In my experience the easiest way to get up-to-date ports tree is to use 
portsnap.


The below command will get you up-to-date right away.
sudo portsnap fetch extract

The below command will keep you up-to-date at subsequent runs.
sudo portsnap fetch update

Alternatively it can be run via a cronjob with:
sudo portsnap cron update

man portsnap for more information.





Pleasure.
CC'd the mailing list as I forgot on my first reply.

--
Regards,

Terry Sposato
[EMAIL PROTECTED]
http://www.sucked-in.com

GnuPG Key  : 0xB7643BC8
Fingerprint: EE92 D9E1 C98E 759F 5991 DFF6 70CE 8936 B764 3BC8



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Norberto Meijome
On Wed, 2 Apr 2008 14:43:20 +0200
Mel <[EMAIL PROTECTED]> wrote:

> I think you'll find that bursts are best counteracted like this:
> http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained#Tips.2FIdeas

Mel, can you please confirm this link / FQDN ? no NS defined for the domain... 

TIA,
B

_
{Beto|Norberto|Numard} Meijome

"At times, to be silent is to lie." 
  Miguel de Unamuno

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: View the Email Logs

2008-04-02 Thread Eric

Paul Schmehl wrote:
--On April 3, 2008 10:30:01 AM +0800 Ruel Luchavez 
<[EMAIL PROTECTED]> wrote:



Hello..

I have here an existing email server running in FreeBSD,
how could I view the logs of email yestrday? what would be the command?
and usually where is directory for the email log?

..im new in freebsd..

Your help is geatly needed..thanks


/var/log/maillog is the usual location

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
old mail logs would be compressed to files like maillog.0.bz2 and so on. 
you can use bzcat to view them.  multitail is a nice program to view 
and/or watch log files should you need something like that

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


Re: View the Email Logs

2008-04-02 Thread Paul Schmehl
--On April 3, 2008 10:30:01 AM +0800 Ruel Luchavez 
<[EMAIL PROTECTED]> wrote:



Hello..

I have here an existing email server running in FreeBSD,
how could I view the logs of email yestrday? what would be the command?
and usually where is directory for the email log?

..im new in freebsd..

Your help is geatly needed..thanks


/var/log/maillog is the usual location

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: portmaster question

2008-04-02 Thread Eric

Terry Sposato wrote:

Hi,

I recently did a binary upgrade from 6.2-RELEASE to 6.3-RELEASE and 
everything went smoothly. For good measure I decided to do an upgrade 
of all of my installed ports with the following command:


sudo portmaster -Rfda

It quit out when failing to build the ImageMagick port which is fine, 
one thing I am curious of is, the next time I go to run that command, 
will it still rebuild all of my ports or start off from where it left 
off the previous run?



if the other ports were updated they wont be updated again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portmaster question

2008-04-02 Thread Terry Sposato

Hi,

I recently did a binary upgrade from 6.2-RELEASE to 6.3-RELEASE and 
everything went smoothly. For good measure I decided to do an upgrade of 
all of my installed ports with the following command:


sudo portmaster -Rfda

It quit out when failing to build the ImageMagick port which is fine, 
one thing I am curious of is, the next time I go to run that command, 
will it still rebuild all of my ports or start off from where it left 
off the previous run?


--
Regards,

Terry Sposato
[EMAIL PROTECTED]
http://www.sucked-in.com

GnuPG Key  : 0xB7643BC8
Fingerprint: EE92 D9E1 C98E 759F 5991 DFF6 70CE 8936 B764 3BC8



signature.asc
Description: OpenPGP digital signature


Error fatal_tls

2008-04-02 Thread Ruel Luchavez
Hi,

can anyone help me whats the meaning of this error? I always have this every
minute

mail pop: fatal_error: tls_start_servertls() failed

How to get rid of this error? PLEase

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


View the Email Logs

2008-04-02 Thread Ruel Luchavez
Hello..

I have here an existing email server running in FreeBSD,
how could I view the logs of email yestrday? what would be the command?
and usually where is directory for the email log?

..im new in freebsd..

Your help is geatly needed..thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Come join me on Nissan GTR blog...

2008-04-02 Thread P Alb
Come join me on Nissan GTR blog.

Click here to join:
http://nissangtrblog.ning.com/?xgi=bJgxBbK

Thanks,
P Alb


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


Re: Which one should I use diablo-jdk1.5.0 or jdk-1.6

2008-04-02 Thread Kemian Dang
I want to write Java program, so I want to find which one should I
use, to avoid situation that my code can not be compiled and run on
another machine.

Best wishes,
Kemian

On 02/04/2008, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
> "Kemian Dang" <[EMAIL PROTECTED]> writes:
>
>  > I am not sure which version of jdk should I use, do they have the same
>  > functionality?
>  >
>  > I know jdk-1.6 is compiled by diablo-jdk and has no run dependency on
>  > diablo, but if diablo is the same as the original sun jdk, why should
>  > there be another one, or to say, why I need to install another one?
>  >
>  > So, any suggestions?
>
>
> If you're not writing java code yourself, the differences will
>  probably be quite small.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Webalizer compiles and installs fine in 6.1, goes splat in 6.2.

2008-04-02 Thread Lou Katz
In /usr/ports/webalizer (6.2)

# make
===>  Vulnerability check disabled, database not found
===>  Extracting for webalizer-2.1.10_13
=> MD5 Checksum OK for webalizer-2.01-10-src.tar.bz2.
=> SHA256 Checksum OK for webalizer-2.01-10-src.tar.bz2.
===>  Patching for webalizer-2.1.10_13
===>  Applying extra patch /usr/ports/www/webalizer.save/files/output.patch
===>  Applying extra patch /usr/ports/www/webalizer.save/files/linklist.patch
===>  Applying extra patch 
/usr/ports/www/webalizer.save/files/webalizer-fullrefs.patch
===>  Applying FreeBSD patches for webalizer-2.1.10_13
===>   webalizer-2.1.10_13 depends on shared library: gd.4 - not found
===>Verifying install for gd.4 in /usr/ports/graphics/gd
===>  Building for gd-2.0.35,1
make LIB=gd SRCS="gd.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_io_file.c  
gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c
gd_topal.c  gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c  gdfonts.c 
gdfontt.c gdft.c gdfx.c gdhelpers.c
gdhelpers.h  gdkanji.c gdtables.c gdxpm.c gd_security.c  wbmp.c gd_gif_in.c 
gd_gif_out.c"  SHLIB_MAJOR=4
SHLIB_MINOR=0  CFLAGS="-O2 -fno-strict-aliasing -pipe   
-I/usr/ports/graphics/gd/work/gd-2.0.35
-I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2 
-I/usr/local/include  -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBZ  -DHAVE_ERRNO_H -DHAVE_FT2BUILD_H 
-DHAVE_LIBFREETYPE -DHAVE_LIBJPEG
-DHAVE_LIBPNG  -DHAVE_LIBZ -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDLIB_H 
-I/usr/local/include/X11
-I/usr/local/include -DHAVE_LIBXPM -I/usr/local/include -DHAVE_LIBFONTCONFIG 
-DHAVE_PTHREAD  -DHAVE_ICONV
-DHAVE_ICONV_H -DHAVE_ICONV_T_DEF" -ECFLAGS LDADD="-L/usr/local/lib -lpng -lz 
-ljpeg -lfreetype -lm
-L/usr/local/lib -lXpm -lX11 -pthread -L/usr/local/lib -lfontconfig 
-L/usr/local/lib -liconv"  -f
/usr/share/mk/bsd.lib.mk libgd.a
cc -O2 -fno-strict-aliasing -pipe   -I/usr/ports/graphics/gd/work/gd-2.0.35 
-I/usr/local/include/freetype2/freetype
-I/usr/local/include/freetype2 -I/usr/local/include  -DHAVE_LIBPNG 
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBZ
-DHAVE_ERRNO_H -DHAVE_FT2BUILD_H -DHAVE_LIBFREETYPE -DHAVE_LIBJPEG 
-DHAVE_LIBPNG  -DHAVE_LIBZ -DHAVE_STDDEF_H
-DHAVE_STDINT_H -DHAVE_STDLIB_H -I/usr/local/include/X11 -I/usr/local/include 
-DHAVE_LIBXPM -I/usr/local/include
-DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD  -DHAVE_ICONV -DHAVE_ICONV_H 
-DHAVE_ICONV_T_DEF -c gdft.c
gdft.c:1403:35: fontconfig/fontconfig.h: No such file or directory
gdft.c:1466: error: syntax error before '*' token
gdft.c:1466: error: syntax error before '*' token
gdft.c: In function `find_font':
gdft.c:1468: error: syntax error before "result"
gdft.c:1470: error: `pattern' undeclared (first use in this function)
gdft.c:1470: error: (Each undeclared identifier is reported only once
gdft.c:1470: error: for each function it appears in.)
gdft.c:1470: error: `FcMatchPattern' undeclared (first use in this function)
gdft.c:1471: error: `FcMatchFont' undeclared (first use in this function)
gdft.c:1474: error: `result' undeclared (first use in this function)
gdft.c:1474: warning: return makes pointer from integer without a cast
gdft.c: At top level:
gdft.c:1479: error: syntax error before '*' token
gdft.c: In function `find_postscript_font':
gdft.c:1481: error: `FcPattern' undeclared (first use in this function)
gdft.c:1481: error: `font' undeclared (first use in this function)
gdft.c:1484: error: `fontpattern' undeclared (first use in this function)
gdft.c:1486: error: `fontname' undeclared (first use in this function)
gdft.c:1487: error: `FcChar8' undeclared (first use in this function)
gdft.c:1487: error: `family' undeclared (first use in this function)
gdft.c:1489: error: `pattern' undeclared (first use in this function)
gdft.c:1491: error: `FC_FAMILY' undeclared (first use in this function)
gdft.c:1491: error: `FcTypeString' undeclared (first use in this function)
gdft.c:1492: error: `FC_STYLE' undeclared (first use in this function)
gdft.c:1497: error: `FcResultMatch' undeclared (first use in this function)
gdft.c: In function `font_pattern':
gdft.c:1516: error: `FcPattern' undeclared (first use in this function)
gdft.c:1516: error: `font' undeclared (first use in this function)
gdft.c:1517: error: `FcChar8' undeclared (first use in this function)
gdft.c:1517: error: `file' undeclared (first use in this function)
gdft.c:1518: error: `pattern' undeclared (first use in this function)
gdft.c:1531: error: syntax error before "FcChar8"
gdft.c:1538: error: `FC_FILE' undeclared (first use in this function)
gdft.c:1538: error: `FcResultMatch' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.35.
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.35.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/www/webalizer.save.

#
-- 

-=[L]=-
He is not above amusing the world as well as instructing it.
_

RE: FreeBSD Traffic Shaping

2008-04-02 Thread Ted Mittelstaedt


> -Original Message-
> From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2008 9:45 AM
> To: Wojciech Puchar
> Cc: Ted Mittelstaedt; [EMAIL PROTECTED];
> freebsd-questions@freebsd.org
> Subject: Re: FreeBSD Traffic Shaping
> 
> 
> On Wed, 2 Apr 2008 11:30:44 +0200 (CEST), Wojciech Puchar 
> <[EMAIL PROTECTED]> wrote:
> >> The vast majority of people out there have asymmetrical bandwidth
> >> limiting needs - that is, they have a pipe to the Internet and have a
> >> lot more data coming from the Internet to them, than data going from
> >> them to the Internet.  Their desire is to somehow make it so that
> >> certain kinds of incoming data meeting certain criteria are limited.
> >> Their problem is that since they don't have control of the end
> >> sending the data to them, they can't do this.
> >
> > but you ROUGHLY can do this with ipfw.
> > by limiting at your end - the other end will slow down.
> 
> Unless the sending endpoint just ignores your limited incoming pipe
> characteristics and keeps flooding you with DNS or ICMP requests, until
> you scream for help.
> 

It's not just that.  It's also stuff like kazza, and theres this
shareware downloader out there I forget the name of which opens
multiple connections to multiple sites, which also will not
be limited.  Oh and I also forgot online games too, some will
ignore the limiters.  (it's been my observation, that is)  And,
things like incoming e-mail spammers, the spam handshakes that their
spam networks send are too short, and will come in full-bore.

The other problem is that because the limiting works by delaying
traffic so that the tcp sliding window is exceeded, if the sender
and recipient put up large enough tcp receive windows they should
be able to defeat it.  This used to be standard advice for windows
2K and under as the registry could be modded to change those
parameters. (since the defaults were too small for the Internet)

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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2008 4:51 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: FreeBSD Traffic Shaping
> 
> 
> As far as I know, every carrier bills by 95th percentile.

You better call your carrier and confirm this.

The last carrier we had in that did this did in fact NOT bill by peak,
they billed by average.  However, the contract language SEEMED
to say peak.  We were naturally concerned about this after the first
month due to our graphs indicating that we had exceeded the peak.
However, the carrier (AT&T) did not bill a surcharge.  After that
we regularly peaked over the designated MBs
during the contract term with no billing surcharge.  The last
2 months of the contract we got nailed with very high surcharge
fees for the last 2 month use period.  Needless to say we did
not renew the contract and the
matter is in litigation now.  We never got a satisfactory answer
from anyone there as to what calculation they used to determine
how the surcharge was calculated.

Of course it was our dumb fault.  In the future if we ever sign
any of those bandwidth contracts again we will require the carrier
to supply in the contract the mathematical formula they use to
calculate whether or not a surcharge applies.  We will then
read the formula and determine for ourself whether it means
peak or average.

> This particular server is colocated and the bandwidth average is  
> 2.35mbps while the 95th is 3.7mbps.
> 
> I don't want my clients to have to compete for bandwidth - if 1000  
> users share a 3mbps fixed pipe, they will each get 3k/sec -. Rather I  
> want to guarantee a fixed output for each client. This ensures  
> adequate speed for everyone AND flattens out my peaks.
>

Except that during the vallys of your utilization your clients
will be limited as well - meaning that if for example your bandwidth from
2-3am is only .5Mbps, 3Mbps would be available - and if one of
your clients happened to want to use 3Mps, his transfer will be
pushed forward out of the 2-3am time period and into the 2-8am
period.  Meanwhile your carrier gets away scott-free because
they didn't have to supply you with the 3.5Mbs during the night,
even though you were entitled to it.

Anyway, I'm sure your going to do what you feel like and damn the
advice everyone is giving - hopefully it works out for you.  I
personally think these kinds of contracts are devices to make
the carrier a windfall they don't deserve, and I hope that
you manage to "beat" the contract and extract your last available
byte without penalty - because the more people that manage to
do this the less lurative these dumb contracts will be and the
less incentive the carriers will have to offer them - but I
think in your case your up against a telco who has a lot of
experience screwing over customers, and they will find out some
way to apply the surcharge no matter what you do.

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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2008 4:38 AM
> To: freebsd-questions@freebsd.org
> Subject: RE: FreeBSD Traffic Shaping
> 
> 
> I can now confirm that these two commands do exactly what I mentioned  
> originally.
> 
> All outbound connections towards any host port 80 will have a maximum  
> bandwidth of 100Kbit/s individually ( output )
> 
> ipfw pipe 2 config mask all bw 100Kbit/s
> ipfw add 10 pipe 2 tcp from localip to any 80
> 
> Problem solved :)
>

Are you sure about this?

If your serving webpages, your listening on port 80

The tcp initiator uses a source port randomly chosen above 80
and a destination port on your host of 80

Your host responds with traffic with a source port of 80 and
a destination port of the initiator's choosing.  You don't
want to limit destination port 80 traffic since your not sending
it.
 
I would suggest after deployment that you carefully look at
your access lists and keep an eye on your utilization graphs to
make sure it's doing what you think it's supposed to be doing.

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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2008 4:22 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: FreeBSD Traffic Shaping
> 
> 
> I think you guys went a bit on a tangent here. What I am trying to do  
> is limit the outbound bandwidth of my services and this should be  
> perfectly possible as I control the output.
> 

Considering you didn't say that in your original post I don't
see why your complaining about a tangent.

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


+ PARTNER WANTED +

2008-04-02 Thread JAMES BARBONE
 Please indicate your fee (US$) or the source for a DVD of a cloned
FreeBSD 6.2 - OS that has been tweaked to operate flawlessly with
the Axigen Mail Server - Office Edition. Can configure local IP address ?
 http://www.axigen.com/mail-server/free.php
 James Barbone + Wilmington Delaware + USA
Mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[7.0] Python hangs when importing pygtk

2008-04-02 Thread Taavi Repän
I have problem with python, which hangs when importing gtk (or
test.autotest, then test.test_capi hangs):

>>> import pygtk
>>> import gtk

Pressing ^T gives:
load: 0.00  cmd: python 69670 [ucond] 0.06u 0.01s 0% 8568k

(gdb) bt
#0  0x281c532b in _umtx_op () from /lib/libc.so.7
#1  0x2817cb18 in pthread_cleanup_push () from /lib/libthr.so.3
#2  0x2817b31e in pthread_cond_init () from /lib/libthr.so.3
#3  0x080d19b3 in PyThread_acquire_lock ()
#4  0x080c0acb in initimp ()
#5  0x080c2f1c in PyImport_ImportModuleLevel ()
#6  0x080abf84 in _PyBuiltin_Init ()
#7  0x08059f47 in PyObject_Call ()
#8  0x0805ae77 in PyObject_CallFunctionObjArgs ()
#9  0x080c303d in PyImport_Import ()
#10 0x080c31f7 in PyImport_ImportModule ()
#11 0x295d0275 in ?? ()
#12 0x2971bed3 in ?? ()
#13 0x in ?? ()
#14 0x2832c64a in ?? ()
#15 0x080edcf0 in PyFrame_New ()
#16 0x080c3ea4 in _PyImport_LoadDynamicModule ()
#17 0x080c1dd8 in _PyImport_FixupExtension ()
#18 0x080c2471 in PyImport_ReloadModule ()
#19 0x080c271b in PyImport_ReloadModule ()
#20 0x080c2cec in PyImport_ReloadModule ()
#21 0x080c2f37 in PyImport_ImportModuleLevel ()
#22 0x080abf84 in _PyBuiltin_Init ()
#23 0x08059f47 in PyObject_Call ()
#24 0x080ac57c in PyEval_CallObjectWithKeywords ()
#25 0x080aee6e in PyEval_EvalFrameEx ()
#26 0x080b2959 in PyEval_EvalCodeEx ()
#27 0x080b2aa7 in PyEval_EvalCode ()
#28 0x080c107b in PyImport_ExecCodeModuleEx ()
#29 0x080c1682 in PyImport_ImportFrozenModule ()
#30 0x080c341d in PyImport_ImportModuleEx ()
#31 0x080c2471 in PyImport_ReloadModule ()
#32 0x080c2907 in PyImport_ReloadModule ()
#33 0x080c2aea in PyImport_ReloadModule ()
#34 0x080c2f37 in PyImport_ImportModuleLevel ()
#35 0x080abf84 in _PyBuiltin_Init ()
---Type  to continue, or q  to quit---
#36 0x08059f47 in PyObject_Call ()
#37 0x080ac57c in PyEval_CallObjectWithKeywords ()
#38 0x080aee6e in PyEval_EvalFrameEx ()
#39 0x080b2959 in PyEval_EvalCodeEx ()
#40 0x080b2aa7 in PyEval_EvalCode ()
#41 0x080c9e76 in Py_CompileString ()
#42 0x080cb77a in PyRun_InteractiveOneFlags ()
#43 0x080cb936 in PyRun_InteractiveLoopFlags ()
#44 0x080cba52 in PyRun_AnyFileExFlags ()
#45 0x08056ef1 in Py_Main ()
#46 0x080563b5 in main ()

(gdb) info threads
* 1 Thread 0x28301f00 (LWP 100101)  0x281c532b in _umtx_op () from
/lib/libc.so.7

[EMAIL PROTECTED] /usr/home/taavi]$ uname -a; sysctl kern.sched.name
FreeBSD tservu.pri.ee 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Fri Mar 21
19:10:57 EET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TSERVU
i386
kern.sched.name: ULE

Python 2.5.2 (r252:60911, Mar 29 2008, 15:03:02)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7

[EMAIL PROTECTED] /usr/home/taavi]$ ldd `which python`
/usr/local/bin/python:
   libutil.so.7 => /lib/libutil.so.7 (0x2814c000)
   libm.so.5 => /lib/libm.so.5 (0x28159000)
   libthr.so.3 => /lib/libthr.so.3 (0x2816e000)
   libc.so.7 => /lib/libc.so.7 (0x28181000)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: VMWare Tools for FreeBSD

2008-04-02 Thread Shawn Barnhart

David Robillard wrote:

Basically the only reason I have for using VM Tools is for the ability
of Vmotion and such with our ESX Server farm. It's really the only
benefit that the VM tools will give me on FreeBSD as all my virtual
machines which are running FreeBSD are servers and don't use any GUI's
either.

Currently there is nothing that doesn't run correctly under VMWare and I
have not seen any lack of performance or anything compared to a physical
machine. Maybe if enough of us push to have the VMWare Tools developed
and certified for use with VMWare that they might actually get started.

I might develop some sort of E-Petition for it, what you think?


Why not? I'm in the exact same position as you are with ESX & FreeBSD.
Hence I'd love to have VMWare Tools developed and certified for use
with FreeBSD. Actually, I'd really like to see VMWare Server and
Player certified for FreeBSD i386 and amd64.


VMWare is great stuff, I use and support all of it, but as a company they have 
a bit of Fortune 500 tunnel vision.  Their pricing is geared towards nickel 
and diming large enterprises and their software support is geared too much 
towards Windows.


Hyper-V will cut deeply into their market and they might regret being too 
MS-centered.  I already have potential customers asking "Gee, what about 
Hyper-V.  It's a lot cheaper than ESX and we don't really care about non-MS..."


Pricing ESX enterprise (with all the bells & whistles, including vmotion, 
virtual center, HA, etc) at around US$500 per node and providing better 
support for FreeBSD and other alternative OSes would go a LONG way towards 
long-term competitiveness.

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


Re: which ports tag should i follow?

2008-04-02 Thread RW
On Wed, 2 Apr 2008 15:16:06 +0800
"CY Teng" <[EMAIL PROTECTED]> wrote:

> Hi,
> because i just begin to learning this os, i chose stable and later
> will switch to current after know it well.

In FreeBSD, stable means a development branch with stable binary
interfaces, you should probably be using RELENG_7_0, which is the 7.0
release plus security fixes. At this stage in the cycle, current is
really only for developers.

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


FreeBSD 7-RELEASE + CUPS + gutenprint + Epson Stylus CX8400

2008-04-02 Thread Steven Friedrich
I can't get this printer to work at all.  I've been to cups.org, avasys.jp, 
and http://www.linux-foundation.org/en/OpenPrinting to no avail.

I already had cups installed and working under FreeBSD from a LONG time ago. I 
used to use it with an HP DeskJet 560C.  Later, I bought a Brother monochrome 
laser with BR-Script (their version of postscript). That printer was EASY to 
get working, because Brother supplied a .ppd file.

I googled my tail off.  

The OpenPrinting database said to use gutenprint, which I didn't have 
installed, so I installed it and in cups, I removed the printer and re-added 
it using the gutenprint ppd apropriate for the CX8400.

When I print a test page, it just prints garbage.

This printer is a USB printer and I added device ulpt and it shows up with 
usbdevs:
addr 1: UHCI root hub, Intel
  uhub0
addr 1: UHCI root hub, Intel
  uhub1
addr 1: UHCI root hub, Intel
  uhub2
addr 1: UHCI root hub, Intel
  uhub3
 addr 2: USB Receiver, Logitech
   ums0
addr 1: EHCI root hub, Intel
  uhub4
 addr 2: USB2.0 MFP(Hi-Speed), EPSON
   ulpt0
   umass0

It works under WinXP Pro and I bought this printer because it was pretty cheap 
and I needed one quickly.   But Epson put a lot of money into CUPS and I 
can't believe this is so friggin' hard to get it to work.

I think the handbook could use some more troubleshooting info for usb 
printers.  This printer, from what I read on the Internet, will support 
printing us-ascii, so I tried to send an ls -l > /dev/ulpt0 device, but it 
didn't even print that.

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


need confirmation of documentation problem for times(3)

2008-04-02 Thread Viktor Štujber
I have been forwarded to this list from a docs bugreport
* http://www.freebsd.org/cgi/query-pr.cgi?pr=122359
and I am looking for confirmation of this issue.

Transscript:
> The freebsd manpages for 'clock_t times(struct tms *tp)' say the following:
>
> The times() function returns the value of time in CLK_TCK's of a second since
> 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time.
> But after letting a sample C program print the returned value, it matches
> the system's uptime (in clock ticks).
>
> I would like to ask the bsd devs to clarify whether this is
> a documentation problem, or an implementation problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 11:30:44 +0200 (CEST), Wojciech Puchar <[EMAIL PROTECTED]> 
wrote:
>> The vast majority of people out there have asymmetrical bandwidth
>> limiting needs - that is, they have a pipe to the Internet and have a
>> lot more data coming from the Internet to them, than data going from
>> them to the Internet.  Their desire is to somehow make it so that
>> certain kinds of incoming data meeting certain criteria are limited.
>> Their problem is that since they don't have control of the end
>> sending the data to them, they can't do this.
>
> but you ROUGHLY can do this with ipfw.
> by limiting at your end - the other end will slow down.

Unless the sending endpoint just ignores your limited incoming pipe
characteristics and keeps flooding you with DNS or ICMP requests, until
you scream for help.

> but of course in case of say ping flood or similar things you can't

Bingo.  That's precisely one of the things Ted meant, when he wrote that
`it cannot be done properly, unless you have dedicated T1 circuits whose
endpoints *are* under your control' :-)

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


Re: [6.3] How are those daemons started?

2008-04-02 Thread RW
On Mon, 31 Mar 2008 23:00:39 +0200
Mel <[EMAIL PROTECTED]> wrote:

> On Monday 31 March 2008 22:27:55 Gilles wrote:
> > On Mon, 31 Mar 2008 15:06:20 -0500, Erik Osterholm
> >
> > <[EMAIL PROTECTED]> wrote:
> > >Also note /etc/defaults/rc.conf which is /why/ these services
> > >are on by default.  Entries in /etc/rc.conf override entries in
> > >/etc/defaults/rc.conf, so you should never change
> > >/etc/defaults/rc.conf.
> >
> > Thanks guys. After reading /etc/defaults/rc.conf, I understood that
> > the reason there's sendmail listening on TCP25 is so that local
> > daemons can send e-mail to the admin.
> 
> Somewhat. Most daemons can do fine without the socket listener and 
> invoke /usr/sbin/sendmail by default. Only ones that can't get 
> to /usr/sbin/sendmail (i.e.: chrooted daemons), but in my experience
> they don't know how to talk SMTP either.

As I understand it, modern versions of /usr/sbin/sendmail are just a
frontend to the socket, so that they don't need to run setuid.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


quandry with evolution and the "default browswer"

2008-04-02 Thread Gary Kline

There are parts of Gnome that I prefer over KDE and vice versa,
and usually the apps live happily, KMail defaults to the KDE 
browser; which I prefer for various reasons.  But I like evolution
better than kmail; the gotcha is that when I use evo, and 
"just clickon" a URL, evolution pops up epiphany.   I have
searched ~/.evolution and don't see where the browser default is 
set.  Since my window manager/"desktop" is KDE, is there a way to
use evolution and have it exec Konqueror?

thanks!!

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: packet filter does not keep state

2008-04-02 Thread Josh Paetzel
On Wednesday 02 April 2008 09:03:06 am Erik Norgaard wrote:
> Hi,
>
> I have a problem connecting from one local subnet to another
> crossing an FBSD box with pf. Should be trivial, I have the
> following ruleset:
>
> 
> # Local services accessible from wlan
> block in log on $wlan_if inet from $wlan_net to 
> pass  in log quick on $wlan_if inet proto tcp  from $wlan_net to \
>port $local_tcp flags S/SA keep state
> pass  in log quick on $wlan_if inet proto udp  from $wlan_net to \
>port $local_udp keep state
> pass  in log quick on $wlan_if inet proto icmp from $wlan_net to \
>icmp-type $local_icmp keep state
> block in log quick on $wlan_if inet from $wlan_net to 
>
> block out log on $srv_if
> pass out quick on $srv_if inet from $srv_ip to $srv_net keep state
> pass out quick on $srv_if inet from $srv_ip to ! \
>   keep state
> block out log quick on $srv_if
> 
>
>  is a table of the directly attached local networks, I
> try to connect from my wireless to a wired lan.
>
> But, tcpdump on pflog0 shows this:
>
> 00 rule 54/0(match): pass in on ath0: 172.17.1.254.49347 >
>  192.168.0.254.80: [|tcp]
> 81 rule 94/0(match): block out on vr0: 172.17.1.254.49347 >
>  192.168.0.254.80:  tcp 44 [bad hdr length 0 - too short, < 20]
>
> Evidently, the packet is matched by the correct pass in rule, yet
> no state is created and it is subsequently blocked by the block
> out rule.
>
> I can add a pass out rule to get through, but that shouldn't be
> the correct solution, why does pf not keep state?
>
> Thanks, Erik

Is there an entry for the connection in the state table?  And does PF complain 
about the header length when what it really means to say is there's no state?  
It seems to me that a packet with no header might have trouble with the state 
table even if there's an entry for it.

I've had trouble wih PF acting in non-intuitive ways before, especially 
concerning nat, binat, and rdr rules, which it's hard to tell if you're 
dealing with due to the .

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


Re: Wake-on-LAN and the em driver (freebsd 7.x)

2008-04-02 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ted Mittelstaedt wrote:
> 
>> -Original Message-
>> From: Jerry McAllister [mailto:[EMAIL PROTECTED]
>> Sent: Monday, March 31, 2008 2:46 PM
>> To: Ted Mittelstaedt
>> Cc: Walker; Kent Hauser; freebsd-questions@freebsd.org
>> Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)
>>
>>
>> On Mon, Mar 31, 2008 at 02:09:22PM -0800, Ted Mittelstaedt wrote:
>>
>>>
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Walker
 Sent: Monday, March 31, 2008 11:37 AM
 To: Kent Hauser; freebsd-questions@freebsd.org
 Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x)


 I would like to know of any other easier ways to do this.
>>> Any network admin worth his salt has an old win98 system tucked
>>> away that can be used to create bootable dos cd's.  
>> Don't know much about the value of salt, but the old Win 98 machine
>> I have around has a dead CD and dead floppy as well.   Guess they are
>> replaceable, but is it worth money and bother?

I missed the earlier parts of this thread ... but if you're after bootable cd's,
with old versions of dos, these exist on the web, free for the taking.  I needed
to flash my machine's BIOS about 60 days ago, so I searched it out.  I have the
image at hand, it's not a Windows thing, it's one of those old dos-compatibles,
but it worked just fine, let me mod the autoexec and the config.sys, it has a
cdrom driver (which just any bootable cdrom won't have, meaning you couldn't
swap the cd, after you booted, with a cd loaded with your tool cd, which was a
killer).

If this is what you like, let me know and I'll go spelunking a bit and find it,
it'd only be about 15 minutes of looking about in my archives.  For the job of
flashing BIOSes, the cd was ideal, and I (1) like staying legal, and (2) like
even better avoiding having to use any sort of MS tool, I don't require any
others do this, but for myself, I'm philosophically against using any products
of that company.  Also seems like a rather silly reason to keep any machine
sitting on a desk using power.

>>
> 
> You must think so at some level or you would have tossed them ;-)
> 
> Of course it's not worth fixing them unless you need the system -
> but you never know what the future holds.
> 
> I actually have 2 w98 systems running here at the house.  Both
> are used by the kids and run an assortment of kids game software
> that I pick up for a few bucks from the local Goodwill.  Right now
> the youngest's favorite software is "petz 4", it's a virtual dog,
> and the older's is surfing the starwars.com site.  (needless to
> say, it's done through a FreeBSD proxy server that limits the
> machine to a very strict number of sites)  Runs as
> well as it did a decade ago when it was written.  I just don't
> personally see the point of dropping a grand into a computer
> and shiny new software for it when the primary and secondary
> users are under 10 years old and are perfectly happy with
> older programs.
> 
>> I wouldn't be surprised if there are many like that sitting around.
>>
> 
> Believe it or not we just had an adult bring in a w98 system into
> the ISP today to get it online.  And we even had an old 33.6 
> external modem that we just gave her for it.  She lives in the sticks
> and has zero broadband alternatives (except for satellite which
> is too expensive for her) and is behind multiple D/A conversions
> on her phone line, so 28.8K dialup is what she runs.  It's
> pretty incredible what's still in production out there.
> 
> Ted
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH87Hiz62J6PPcoOkRAjagAJ0ZxhVgLRNgRrmQCrgMMhnFqsMqAACeP+Gt
22p1WLSzA9hkMMxffkr2tQQ=
=ea4A
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: some pam problem?

2008-04-02 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan Nelson wrote:
> In the last episode (Apr 01), Chuck Robey said:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I can't figure out what this message below means to me:
>>
>> Mar 31 17:12:02 april sshd[26150]: in openpam_dispatch(): pam_nologin.so: no 
>> pam_sm_authenticate()
>>
>> I have guessed it meant I had something wrong with my login.access,
>> but I wasn't able to find anything that looked odd to me.  Anyone
>> know what this message above might mean?
>

I had guessed (it was sort of obvious) that it was those files, but I missed
that UPDATING message.  It's a new machine, but the way I got to current was to
boot 6.1 and then to make world.  Anyhow, the error rainstorm has blown itself
out, thanks!


> Is this an old machine that has been upgraded?  From /usr/src/UPDATING:
> 
> 20070610:
> The pam_nologin(8) module ceases to provide an authentication
> function and starts providing an account management function.
> Consequent changes to /etc/pam.d should be brought in using
> mergemaster(8).  Third-party files in /usr/local/etc/pam.d may
> need manual editing as follows.  Locate this line (or similar):
> 
> authrequiredpam_nologin.so  no_warn
> 
> and change it according to this example:
> 
> account requiredpam_nologin.so  no_warn
> 
> That is, the first word needs to be changed from "auth" to
> "account".  The new line can be moved to the account section
> within the file for clarity.  Not updating pam.conf(5) files
> will result in nologin(5) ignored by the respective services.
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH86/nz62J6PPcoOkRAlawAJ9oMqXV1CRF9JpGyt0ZVtEhFcS3vQCfROW6
cw16sWd5hmVIQLyC+ReVpm8=
=j/es
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread RW
On Wed, 2 Apr 2008 16:15:09 +0200 (CEST)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> posted 31.03
> 
>

It's still dated April 1st - and it's obviously not true. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kldload: unexpected relocation type 10

2008-04-02 Thread Mr Y
>
>  > I really don't know how to get rid of this message..
> >
> > I get millions of these during kldload of a driver:
> >
> > kldload: unexpected relocation type 10
> >
> > can't see anything wrong with my Makefile, like the google threads say,
> so
> > PLEASE HELP.
>
> The kernel module was built along with the kernel?


No, seperately.


>
> Does it matter which module, or are you getting this with any loadable
> module?
>

didn't try any other module, this driver is my first work with FreeBSD..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail question

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 10:27:07 +0100, adminakos at gmail.com wrote:
> Hello, how can we have a pop mail with domain FreeBSD.org ?

Yes, of course.  All it takes is to show some committment to the cause,
by consistently helping in one of the following areas:

  * Improving FreeBSD, by fixing existing flaws, bugs or documentation
  * Extending FreeBSD, to include new features
  * Advertizing FreeBSD to the world
  * Documenting, or explaining FreeBSD

Then the team will honor your continued help with a `commit bit', and
you get the email for free :)

More information about contributing to FreeBSD can be found in our web
site, if you are interested to pursue such a goal:

  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/

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


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Wojciech Puchar

anyway - these benchmarks are synthetic and not much useful.

unix is made to run many different things concurently, not same thing
doing same things in parallel.

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


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Andreas Rudisch
On Wed, 2 Apr 2008 16:15:09 +0200 (CEST)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> posted 31.03

> >> http://lkml.org/lkml/2008/3/31/367

But written on 1.4.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpKE9dValf5G.pgp
Description: PGP signature


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Fernando Apesteguía
On 4/2/08, Outback Dingo <[EMAIL PROTECTED]> wrote:
> Id vote Aprils Fools

Yeah. Check netcraft.com

>
> On Wed, Apr 2, 2008 at 8:56 PM, sergio lenzi <[EMAIL PROTECTED]> wrote:
>
> > Hello all,
> >
> > can someone please confirm if this is true
> > http://lkml.org/lkml/2008/3/31/367
> >
> >
> >
> > Thanks
> > ___
> > 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]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Wojciech Puchar

posted 31.03


On Wed, 2 Apr 2008, Outback Dingo wrote:


Id vote Aprils Fools

On Wed, Apr 2, 2008 at 8:56 PM, sergio lenzi <[EMAIL PROTECTED]> wrote:


Hello all,

can someone please confirm if this is true
http://lkml.org/lkml/2008/3/31/367



Thanks
___
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]"



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


packet filter does not keep state

2008-04-02 Thread Erik Norgaard

Hi,

I have a problem connecting from one local subnet to another 
crossing an FBSD box with pf. Should be trivial, I have the 
following ruleset:



# Local services accessible from wlan
block in log on $wlan_if inet from $wlan_net to 
pass  in log quick on $wlan_if inet proto tcp  from $wlan_net to \
  port $local_tcp flags S/SA keep state
pass  in log quick on $wlan_if inet proto udp  from $wlan_net to \
  port $local_udp keep state
pass  in log quick on $wlan_if inet proto icmp from $wlan_net to \
  icmp-type $local_icmp keep state
block in log quick on $wlan_if inet from $wlan_net to 

block out log on $srv_if
pass out quick on $srv_if inet from $srv_ip to $srv_net keep state
pass out quick on $srv_if inet from $srv_ip to ! \
 keep state
block out log quick on $srv_if


 is a table of the directly attached local networks, I 
try to connect from my wireless to a wired lan.


But, tcpdump on pflog0 shows this:

00 rule 54/0(match): pass in on ath0: 172.17.1.254.49347 >
192.168.0.254.80: [|tcp]
81 rule 94/0(match): block out on vr0: 172.17.1.254.49347 >
192.168.0.254.80:  tcp 44 [bad hdr length 0 - too short, < 20]

Evidently, the packet is matched by the correct pass in rule, yet 
no state is created and it is subsequently blocked by the block 
out rule.


I can add a pass out rule to get through, but that shouldn't be 
the correct solution, why does pf not keep state?


Thanks, Erik

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


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Wojciech Puchar

the famous linux performance wasn't enough?

for me it wasn't many years ago.


On Wed, 2 Apr 2008, sergio lenzi wrote:


Hello all,

can someone please confirm if this is true
http://lkml.org/lkml/2008/3/31/367



Thanks
___
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]"


Re: FreeBSD takes over Linux at kernel.org

2008-04-02 Thread Outback Dingo
Id vote Aprils Fools

On Wed, Apr 2, 2008 at 8:56 PM, sergio lenzi <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> can someone please confirm if this is true
> http://lkml.org/lkml/2008/3/31/367
>
>
>
> Thanks
> ___
> 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]"


FreeBSD takes over Linux at kernel.org

2008-04-02 Thread sergio lenzi
Hello all,

can someone please confirm if this is true
http://lkml.org/lkml/2008/3/31/367



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


Re: pkgdb -F question

2008-04-02 Thread Lowell Gilbert
Eduardo Cerejo <[EMAIL PROTECTED]> writes:

> --->  Checking the package registry database
> Cyclic dependencies: gnome-desktop-2.22.0 -> nautilus-2.22.1 -> eel-2.22.1 -> 
> py25-gnome-2.22.0 -> tracker-0.6.2_2 -> (gnome-desktop-2.22.0)
> Unlink which dependency? (? to help):
>
> Can someone help me with this, I'm totally confused with this!  How do I find 
> out which one to unlink?

You can trace it through the Makefiles if you want.
In this case, I suspect (but am too lazy to check) that the last
dependency is the one to remove.

I got into one of these cases recently, and took the lazy approach of
just removing all the dependencies and rebuilding their ports to get
them right.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which one should I use diablo-jdk1.5.0 or jdk-1.6

2008-04-02 Thread Lowell Gilbert
"Kemian Dang" <[EMAIL PROTECTED]> writes:

> I am not sure which version of jdk should I use, do they have the same
> functionality?
>
> I know jdk-1.6 is compiled by diablo-jdk and has no run dependency on
> diablo, but if diablo is the same as the original sun jdk, why should
> there be another one, or to say, why I need to install another one?
>
> So, any suggestions?

If you're not writing java code yourself, the differences will
probably be quite small.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kldload: unexpected relocation type 10

2008-04-02 Thread Lowell Gilbert
"Mr Y" <[EMAIL PROTECTED]> writes:

> I really don't know how to get rid of this message..
>
> I get millions of these during kldload of a driver:
>
> kldload: unexpected relocation type 10
>
> can't see anything wrong with my Makefile, like the google threads say, so
> PLEASE HELP.
  
The kernel module was built along with the kernel?  
Does it matter which module, or are you getting this with any loadable
module? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Traffic Shaping

2008-04-02 Thread freebsd

As far as I know, every carrier bills by 95th percentile.
This particular server is colocated and the bandwidth average is  
2.35mbps while the 95th is 3.7mbps.


I don't want my clients to have to compete for bandwidth - if 1000  
users share a 3mbps fixed pipe, they will each get 3k/sec -. Rather I  
want to guarantee a fixed output for each client. This ensures  
adequate speed for everyone AND flattens out my peaks.


Quoting Mel <[EMAIL PROTECTED]>:


On Wednesday 02 April 2008 14:21:38 [EMAIL PROTECTED] wrote:


Also, the reason for this need is that some services use
burst-bandwidth and I have many peaks and lows throughout the day.
This means that my carrier who bills me by the 95th percentile is
having a field day.


He bills by the second or average hour like most people? It's not as  
black and

white as it seems - you also get higher average when the number of
connections increases, not just the bandwidth they consume.

I think you'll find that bursts are best counteracted like this:
http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained#Tips.2FIdeas

This seperates 'downloads' from 'webpages', 'normal mails' from 'attachments'
and you can then tune accordingly, if you have/get some graph.

--
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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]"


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Mel
On Wednesday 02 April 2008 14:21:38 [EMAIL PROTECTED] wrote:

> Also, the reason for this need is that some services use
> burst-bandwidth and I have many peaks and lows throughout the day.
> This means that my carrier who bills me by the 95th percentile is
> having a field day.

He bills by the second or average hour like most people? It's not as black and 
white as it seems - you also get higher average when the number of 
connections increases, not just the bandwidth they consume.

I think you'll find that bursts are best counteracted like this:
http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained#Tips.2FIdeas

This seperates 'downloads' from 'webpages', 'normal mails' from 'attachments' 
and you can then tune accordingly, if you have/get some graph.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD Traffic Shaping

2008-04-02 Thread freebsd
I can now confirm that these two commands do exactly what I mentioned  
originally.


All outbound connections towards any host port 80 will have a maximum  
bandwidth of 100Kbit/s individually ( output )


ipfw pipe 2 config mask all bw 100Kbit/s
ipfw add 10 pipe 2 tcp from localip to any 80

Problem solved :)


Hmm,

I've tried

ipfw pipe 2 config mask all bw 100Kbit/s
ipfw add 10 pipe 2 tcp from localip to any 80

it appears to be working but I don't have enough connections on  
right now to find out if it really gives 100kbit/sec to each or if  
it shares the bw


will come back with an update :)


I gave port 80 as an example but I need this configuration for  
limiting other services as well.


If you have a 100mbps connection and only one client, you want him  
to only use 50kbps, not the full pipe. If you have 200 clients,  
they still get 50kbps each.


Is this feature that I need so complicated that it can't be  
implemented easily into FreeBSD or is it that not many people need  
it ? It sounds quite useful to me :)




I have personally tried that before and it did not worked as described, in
fact it didn't work at all to limit anything on FBSD6.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Christopher Cowart

Sent: Tuesday, April 01, 2008 7:55 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD Traffic Shaping

[EMAIL PROTECTED] wrote:

I am trying to limit the bandwidth available to some connections and
I'm not sure FreeBSD can handle this. Maybe some of you can help.
Here's what I need to have exactly.

No matter what the number of connections, each connection should have
at most/least 50kbps guaranteed outbound on port 80.

I've tried dummynet but it doesn't do what I need because if I define
a pipe with 1mbps and if I have 1000 connections, each connection will
have less than 50kbps.

Any way to do this in FreeBSD ?


The ipfw(8) man page describes a "mask" configuration parameter.

# /sbin/ipfw pipe 1 config mask src-ip 0x bw 56Kbit/s

This creates a separate dynamic pipe per source ip address. Each pipe has a
dedicated 56kbps. The man page implies that the mask can combine fields, so
to uniquely identify "each connection", you would mask all bits of source
and destination IP and ports. It looks like the "all"
keyword might do just the trick.

--
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT UC Berkeley

___
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]"





___
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]"


Re: FreeBSD Traffic Shaping

2008-04-02 Thread freebsd
I think you guys went a bit on a tangent here. What I am trying to do  
is limit the outbound bandwidth of my services and this should be  
perfectly possible as I control the output.


Also, the reason for this need is that some services use  
burst-bandwidth and I have many peaks and lows throughout the day.  
This means that my carrier who bills me by the 95th percentile is  
having a field day. For the services that my server offers it's not  
imperative that they get rid of the client in 1 second instead of 5  
for example. In this sense, stretching out 1MB of traffic over 10  
seconds is more beneficial towards my 95th than if I stretch it over 2  
seconds for example.


Quoting Mel <[EMAIL PROTECTED]>:


On Wednesday 02 April 2008 09:27:21 [EMAIL PROTECTED] wrote:

I gave port 80 as an example but I need this configuration for
limiting other services as well.

If you have a 100mbps connection and only one client, you want him to
only use 50kbps, not the full pipe. If you have 200 clients, they
still get 50kbps each.

Is this feature that I need so complicated that it can't be
implemented easily into FreeBSD or is it that not many people need it
? It sounds quite useful to me :)


It isn't as useful as you think. I can easily generate 200 clients being only
one person. That's why the focus in bandwidth shapers lies on the type of
traffic and the origin/destination rather then the state and they divide the
bandwidth within those pipes between the states.
Secondly - bit besides the point, but not many people think about it - if you
have 100% available and limit a single person to 5%, you're more likely to
end up at the 100%, simply because it takes more time for that person to get
what he wants.
So if there's no financial/legal issues involved, it's better to get rid of
the clients as fast as possible.

--
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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]"


Re: HP 6720s automatic shutdown on low battery

2008-04-02 Thread Michael Neumann

Ivailo Bonev wrote:


- Original Message - From: "Michael Neumann" <[EMAIL PROTECTED]>
Newsgroups: gmane.os.freebsd.questions
To: "Ivailo Bonev" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, April 02, 2008 2:25 PM
Subject: Re: HP 6720s automatic shutdown on low battery



Ivailo Bonev wrote:
I have a new HP 6720s laptop. When discharge battery, FreeBSD don't 
shutdown automatically on low battery.

How can set that?


I've an 6710b and experienced similar "shutdowns" :)

Try this:

/etc/rc.conf:

  devd_enable="YES"

/etc/devd.conf:

  notify 10 {
match "system" "ACPI";
match "subsystem"  "CMBAT";
match "notify" "0x80";
action "/etc/acpi_battery 30 5";

Is thiese numbers after "acpi_battery" are minutes?

  };

/etc/acpi_battery:

  #!/bin/sh

  warn_level=$1
  shutdown_level=$2

  life=`sysctl -n hw.acpi.battery.life`

  if [ "$life" -lt $shutdown_level ]; then
echo "shutdown"
/sbin/shutdown -h now
  elif [ "$life" -lt $warn_level ]; then
echo "warn"
  fi

There might be an easier way, if there is a different notify command 
for battery low. I guess 0x80 is just battery info.


Regards,

  Michael


Thanks, I'll try script when battery is up, to see if works for me.


I think the following script is even more advanced (I found it a few 
seconds after I wrote the email :)


http://www.chruetertee.ch/files/download/battery
http://www.chruetertee.ch/blog/archive/2006/05/27/freebsd-automatisch-herunterfahren-wenn-batterie-leer-ist.html

Regards,

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


Re: HP 6720s automatic shutdown on low battery

2008-04-02 Thread Ivailo Bonev


- Original Message - 
From: "Michael Neumann" <[EMAIL PROTECTED]>

Newsgroups: gmane.os.freebsd.questions
To: "Ivailo Bonev" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, April 02, 2008 2:25 PM
Subject: Re: HP 6720s automatic shutdown on low battery



Ivailo Bonev wrote:
I have a new HP 6720s laptop. When discharge battery, FreeBSD don't 
shutdown automatically on low battery.

How can set that?


I've an 6710b and experienced similar "shutdowns" :)

Try this:

/etc/rc.conf:

  devd_enable="YES"

/etc/devd.conf:

  notify 10 {
match "system" "ACPI";
match "subsystem"  "CMBAT";
match "notify" "0x80";
action "/etc/acpi_battery 30 5";

Is thiese numbers after "acpi_battery" are minutes?

  };

/etc/acpi_battery:

  #!/bin/sh

  warn_level=$1
  shutdown_level=$2

  life=`sysctl -n hw.acpi.battery.life`

  if [ "$life" -lt $shutdown_level ]; then
echo "shutdown"
/sbin/shutdown -h now
  elif [ "$life" -lt $warn_level ]; then
echo "warn"
  fi

There might be an easier way, if there is a different notify command for 
battery low. I guess 0x80 is just battery info.


Regards,

  Michael


Thanks, I'll try script when battery is up, to see if works for me.

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


Re: HP 6720s automatic shutdown on low battery

2008-04-02 Thread Michael Neumann

Ivailo Bonev wrote:
I have a new HP 6720s laptop. When discharge battery, FreeBSD don't 
shutdown automatically on low battery.

How can set that?


I've an 6710b and experienced similar "shutdowns" :)

Try this:

/etc/rc.conf:

  devd_enable="YES"

/etc/devd.conf:

  notify 10 {
match "system" "ACPI";
match "subsystem"  "CMBAT";
match "notify" "0x80";
action "/etc/acpi_battery 30 5";
  };

/etc/acpi_battery:

  #!/bin/sh

  warn_level=$1
  shutdown_level=$2

  life=`sysctl -n hw.acpi.battery.life`

  if [ "$life" -lt $shutdown_level ]; then
echo "shutdown"
/sbin/shutdown -h now
  elif [ "$life" -lt $warn_level ]; then
echo "warn"
  fi

There might be an easier way, if there is a different notify command for 
battery low. I guess 0x80 is just battery info.


Regards,

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


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Mel
On Wednesday 02 April 2008 09:27:21 [EMAIL PROTECTED] wrote:
> I gave port 80 as an example but I need this configuration for
> limiting other services as well.
>
> If you have a 100mbps connection and only one client, you want him to
> only use 50kbps, not the full pipe. If you have 200 clients, they
> still get 50kbps each.
>
> Is this feature that I need so complicated that it can't be
> implemented easily into FreeBSD or is it that not many people need it
> ? It sounds quite useful to me :)

It isn't as useful as you think. I can easily generate 200 clients being only 
one person. That's why the focus in bandwidth shapers lies on the type of 
traffic and the origin/destination rather then the state and they divide the 
bandwidth within those pipes between the states.
Secondly - bit besides the point, but not many people think about it - if you 
have 100% available and limit a single person to 5%, you're more likely to 
end up at the 100%, simply because it takes more time for that person to get 
what he wants.
So if there's no financial/legal issues involved, it's better to get rid of 
the clients as fast as possible.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: using FreeBSD with serial port console

2008-04-02 Thread Vince Hoffman
Wojciech Puchar wrote:
> is it tested? how to set it up (with 38400 8N1 console)?
> 
> i am out of PCI slots, lots of free PCI express slots, but it makes no
> sense to buy PCIe graphics card (no cheap ones, all
> ultra-hyper-3D-powereaters) to connect old 14" monitor used rarely with
> text-mode only.
> 
> so i would like to remove graphics card to make space for one more PCI
> thing.

Possible and documented :)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialcomms.html
particularly
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html


Vince

> 
> ___
> 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]"


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Mel
On Wednesday 02 April 2008 10:55:58 Ted Mittelstaedt wrote:

> The vast majority of people out there have asymmetrical bandwidth
> limiting needs - that is, they have a pipe to the Internet and
> have a lot more data coming from the Internet to them, than data
> going from them to the Internet.  Their desire is to somehow make
> it so that certain kinds of incoming data meeting certain criteria
> are limited.  Their problem is that since they don't have control of
> the end sending the data to them, they can't do this.

That's only true for locally generated traffic. Since you can limit the 
outgoing pipe of the internal interface, in a NAT situation, you can in 
practical terms limit/prioritize incoming traffic.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


using FreeBSD with serial port console

2008-04-02 Thread Wojciech Puchar

is it tested? how to set it up (with 38400 8N1 console)?

i am out of PCI slots, lots of free PCI express slots, but it makes no 
sense to buy PCIe graphics card (no cheap ones, all 
ultra-hyper-3D-powereaters) to connect old 14" monitor used rarely with 
text-mode only.


so i would like to remove graphics card to make space for one more PCI 
thing.


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


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Wojciech Puchar

loss and almost any other traffic stream (including P2P) with
1-10% loss.


In short, the bandwidth limiting code really has little
practical value when implemented in FreeBSD that is why few do
it.


:)


i do on my 300 users network. works VERY well. i use queues to equally 
divide available bandwidth in both directions

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


Re: FreeBSD Traffic Shaping

2008-04-02 Thread Andrew Pantyukhin
On Wed, Apr 02, 2008 at 12:55:58AM -0800, Ted Mittelstaedt wrote:
> It is that it's impossible to limit INCOMING bandwidth from the
> Internet.

The fact is you can limit incoming TCP with little to no packet
loss and almost any other traffic stream (including P2P) with
1-10% loss.

> In short, the bandwidth limiting code really has little
> practical value when implemented in FreeBSD that is why few do
> it.

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


mail question

2008-04-02 Thread GhoSt^ faCe
Hello, how can we have a pop mail with domain FreeBSD.org ?


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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread Wojciech Puchar


The vast majority of people out there have asymmetrical bandwidth
limiting needs - that is, they have a pipe to the Internet and
have a lot more data coming from the Internet to them, than data
going from them to the Internet.  Their desire is to somehow make
it so that certain kinds of incoming data meeting certain criteria
are limited.  Their problem is that since they don't have control of
the end sending the data to them, they can't do this.


but you ROUGHLY can do this with ipfw.
by limiting at your end - the other end will slow down.

but of course in case of say ping flood or similar things you can't
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD Traffic Shaping

2008-04-02 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2008 11:27 PM
> To: freebsd-questions@freebsd.org
> Subject: RE: FreeBSD Traffic Shaping
> 
> 
> I gave port 80 as an example but I need this configuration for  
> limiting other services as well.
> 
> If you have a 100mbps connection and only one client, you want him to  
> only use 50kbps, not the full pipe. If you have 200 clients, they  
> still get 50kbps each.
> 
> Is this feature that I need so complicated that it can't be  
> implemented easily into FreeBSD or is it that not many people need it  
> ? It sounds quite useful to me :)
> 

It isn't that it's complicated or cannot be implemented easily.

It is that it's impossible to limit INCOMING bandwidth from the
Internet.

The vast majority of people out there have asymmetrical bandwidth
limiting needs - that is, they have a pipe to the Internet and
have a lot more data coming from the Internet to them, than data
going from them to the Internet.  Their desire is to somehow make
it so that certain kinds of incoming data meeting certain criteria
are limited.  Their problem is that since they don't have control of
the end sending the data to them, they can't do this.

The fewer number of people not in this boat are quite often looking
to run bandwidth restrictions on private T1s - and the routers needed
for these kinds of circuits usually have limiting code built in.  Since
they have control of both ends of the pipe they can use the limit code.

And the people not falling into these groups are mostly website
hosters looking to restrict outbound bandwidth - and for that, they
use an apache mod file (bandwidth_mod, http://www.ivn.cl/apache/ for
example) that works much better.

In short, the bandwidth limiting code really has little practical
value when implemented in FreeBSD that is why few do it.

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


Kind Regards

2008-04-02 Thread john kihahu
Hi to all of you!
 Sometime last year, I request for the latest installation CDs of freebsd.
So many members offered to mail them that i could not accept all.
I take this opportunity to thank you for the support you gave.
I was hoping to initiate a program where I would be able to donate computers
to the needy in order to reduce the levels of ignorance (illiteracy) on this
end of the world.
My major issue is acquiring the hardware!! To lower the overall cost, I'll
use open source software (In this case, freebsd).
If anyone out there has any ideas or any help, please reply to this email!

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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread freebsd

Hmm,

I've tried

ipfw pipe 2 config mask all bw 100Kbit/s
ipfw add 10 pipe 2 tcp from localip to any 80

it appears to be working but I don't have enough connections on right  
now to find out if it really gives 100kbit/sec to each or if it shares  
the bw


will come back with an update :)


I gave port 80 as an example but I need this configuration for  
limiting other services as well.


If you have a 100mbps connection and only one client, you want him  
to only use 50kbps, not the full pipe. If you have 200 clients, they  
still get 50kbps each.


Is this feature that I need so complicated that it can't be  
implemented easily into FreeBSD or is it that not many people need  
it ? It sounds quite useful to me :)




I have personally tried that before and it did not worked as described, in
fact it didn't work at all to limit anything on FBSD6.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher Cowart
Sent: Tuesday, April 01, 2008 7:55 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD Traffic Shaping

[EMAIL PROTECTED] wrote:

I am trying to limit the bandwidth available to some connections and
I'm not sure FreeBSD can handle this. Maybe some of you can help.
Here's what I need to have exactly.

No matter what the number of connections, each connection should have
at most/least 50kbps guaranteed outbound on port 80.

I've tried dummynet but it doesn't do what I need because if I define
a pipe with 1mbps and if I have 1000 connections, each connection will
have less than 50kbps.

Any way to do this in FreeBSD ?


The ipfw(8) man page describes a "mask" configuration parameter.

# /sbin/ipfw pipe 1 config mask src-ip 0x bw 56Kbit/s

This creates a separate dynamic pipe per source ip address. Each pipe has a
dedicated 56kbps. The man page implies that the mask can combine fields, so
to uniquely identify "each connection", you would mask all bits of source
and destination IP and ports. It looks like the "all"
keyword might do just the trick.

--
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT UC Berkeley

___
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]"





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


HP 6720s automatic shutdown on low battery

2008-04-02 Thread Ivailo Bonev
I have a new HP 6720s laptop. When discharge battery, FreeBSD don't shutdown 
automatically on low battery.
How can set that? 



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


RE: FreeBSD Traffic Shaping

2008-04-02 Thread freebsd
I gave port 80 as an example but I need this configuration for  
limiting other services as well.


If you have a 100mbps connection and only one client, you want him to  
only use 50kbps, not the full pipe. If you have 200 clients, they  
still get 50kbps each.


Is this feature that I need so complicated that it can't be  
implemented easily into FreeBSD or is it that not many people need it  
? It sounds quite useful to me :)




I have personally tried that before and it did not worked as described, in
fact it didn't work at all to limit anything on FBSD6.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher Cowart
Sent: Tuesday, April 01, 2008 7:55 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD Traffic Shaping

[EMAIL PROTECTED] wrote:

I am trying to limit the bandwidth available to some connections and
I'm not sure FreeBSD can handle this. Maybe some of you can help.
Here's what I need to have exactly.

No matter what the number of connections, each connection should have
at most/least 50kbps guaranteed outbound on port 80.

I've tried dummynet but it doesn't do what I need because if I define
a pipe with 1mbps and if I have 1000 connections, each connection will
have less than 50kbps.

Any way to do this in FreeBSD ?


The ipfw(8) man page describes a "mask" configuration parameter.

# /sbin/ipfw pipe 1 config mask src-ip 0x bw 56Kbit/s

This creates a separate dynamic pipe per source ip address. Each pipe has a
dedicated 56kbps. The man page implies that the mask can combine fields, so
to uniquely identify "each connection", you would mask all bits of source
and destination IP and ports. It looks like the "all"
keyword might do just the trick.

--
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT UC Berkeley

___
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]"


Re: which ports tag should i follow?

2008-04-02 Thread CY Teng
Hi,
because i just begin to learning this os, i chose stable and later will
switch to current after know it well.
i dont use this for product machine, just learning, so didnt chose release.

thanks
tengcy

2008/4/1, Jerry McAllister <[EMAIL PROTECTED]>:
>
> On Tue, Apr 01, 2008 at 12:26:24PM +0800, CY Teng wrote:
>
>
> > Hi,
> > i'm a newbie to freebsd. after reading handbook, i chose 7.0-stable and
> > cvsup src-all, and now i don't know which ports tag to cvsup?
> > does ports cvs tree have RELENG_7 tag too, or i should follow tag "."?
>
>
> Sorry, eyes are bleary.   I didn't see you were talking about ports.
> Yes, for ports, use the '.' tag.USe RELENG_7 for the OS.
>
>
> jerry
>
>
> >
> > thanks
> >
> > tengcy
> > ___
> > 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]"