Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-08 Thread Jamie Paul Griffin
[ John Levine wrote on Mon  8.Oct'12 at  2:42:33 - ]

> >... Note that setting the BATCH environment variable to yes will answer
> >yes to any prompts during this process, removing the need for manual
> >intervention during the build process.
> >
> >(This was said with respect to upgrading ports via portupgrade.)
> 
> Or you can use portmaster, which runs through all the ports first and
> does the config dialogs before starting the rebuild.  There are stil
> a few places it can get stuck, but many fewer than portupgrade.
> 
> Portmaster is worth a look just out of amazement. It is a 4,000 line
> shell script.

Yes, I use this myself and it is very good. I used to use portupgrade but 
changed when I started using 9.x, i'm not sure why. 
But to learn it's 4000 line shell is quite amazing. Its author must have some 
excellent shell wizardry skills! :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-08 Thread Jerry
On 8 Oct 2012 02:42:33 -
John Levine articulated:

> >... Note that setting the BATCH environment variable to yes will
> > answer yes to any prompts during this process, removing the need
> > for manual intervention during the build process.
> >
> >(This was said with respect to upgrading ports via portupgrade.)
> 
> Or you can use portmaster, which runs through all the ports first and
> does the config dialogs before starting the rebuild.  There are stil
> a few places it can get stuck, but many fewer than portupgrade.
> 
> Portmaster is worth a look just out of amazement. It is a 4,000 line
> shell script.

While you are at it, you might want to give "portmanager" a spin. While
it can be a bit of a monster when used with the "-p" flag, I have found
it capable of fixing problems and building ports that portupgrade and
potmaster both choked on. As always, read the documentation thoroughly
first.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
All's well that ends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread John Levine
>... Note that setting the BATCH environment variable to yes will answer
>yes to any prompts during this process, removing the need for manual
>intervention during the build process.
>
>(This was said with respect to upgrading ports via portupgrade.)

Or you can use portmaster, which runs through all the ports first and
does the config dialogs before starting the rebuild.  There are stil
a few places it can get stuck, but many fewer than portupgrade.

Portmaster is worth a look just out of amazement. It is a 4,000 line
shell script.

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread Ronald F. Guilmette

In message <20121008012414.34fd6a65.free...@edvax.de>, 
Polytropon  wrote:

...
>> ># make config-recursive
...
>This target (and several other useful ones) are listed
>and explained in the manpage: "man 7 ports". :-)

Hey!  Thanks again.  I didn't know about that man page either!


P.S.  I'm actually doing an upgrade on the OS today (on one of my machines)
also.  I find that I have to re-read all the instructions for doing that
each time, because I do it so infrequently that I forget the steps.

The good news is that in the FreeBSD OS upgrade instructions, I found this:

... Note that setting the BATCH environment variable to yes will answer
yes to any prompts during this process, removing the need for manual
intervention during the build process.

(This was said with respect to upgrading ports via portupgrade.)

So I guess that answers my original question!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread Polytropon
On Sun, 07 Oct 2012 15:57:05 -0700, Ronald F. Guilmette wrote:
> 
> In message <20121007234043.cadf5863.free...@edvax.de>, 
> Polytropon  wrote:
> 
> >A workaround (and not directly the answer to your question) is
> >to process the config dialogs before starting the build:
> >
> > # make config-recursive
> >
> >Once set, the options won't be requested on a second run.
> 
> Hey! Wow!  Thanks!  That will work for me.
> 
> Needless to say, I didn't know about that Makefile target, until now.

This target (and several other useful ones) are listed
and explained in the manpage: "man 7 ports". :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread Ronald F. Guilmette

In message <20121007234043.cadf5863.free...@edvax.de>, 
Polytropon  wrote:

>A workaround (and not directly the answer to your question) is
>to process the config dialogs before starting the build:
>
>   # make config-recursive
>
>Once set, the options won't be requested on a second run.

Hey! Wow!  Thanks!  That will work for me.

Needless to say, I didn't know about that Makefile target, until now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread jb
Ronald F. Guilmette  tristatelogic.com> writes:

> ... 
> However there's one instance where I don't know how to get this
> functionality, i.e. the functionality provided by the --batch option.
> ...

There is no guarantee that either of those will work (try them separately):

$ cat /etc/make.conf
BATCH=yes

# env BATCH=yes make
 
jb





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


Re: Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread Polytropon
On Sun, 07 Oct 2012 14:09:44 -0700, Ronald F. Guilmette wrote:
> Nowadays, whenever I use portinstall/portupgrade, I use the --batch
> option, so that I don't have to sit around at the console, waiting
> for and then accepting the default build options for a boatload of
> depended-upon ports for whatever I am actually trying to install or
> upgrade.

A workaround (and not directly the answer to your question) is
to process the config dialogs before starting the build:

# make config-recursive

Once set, the options won't be requested on a second run.
According to "man 7 ports", there's a BATCH setting, but
it is descibed as:

If defined, only operate on a port if it can be
installed 100% automatically.

If the default settings are okay for you, simply "entering through"
the dialogs should work fine.

I don't see any other significant reference in the manpage,
so using portinstall --batch (or portmaster's equivalent if
you're using that tool) should be the best solution.



> The problem is that these days, portupgrade itself is, apparently,
> dependent upon a whole slew of other ports. 

Usually portmaster is considered an alternative, and instructions
on how to use it to solve port changes are provided when an entry
to /usr/ports/UPDATING is added.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Building Ports: Is there a "make" equivalent for --batch ?

2012-10-07 Thread Ronald F. Guilmette

I am impatient by nature.

Nowadays, whenever I use portinstall/portupgrade, I use the --batch
option, so that I don't have to sit around at the console, waiting
for and then accepting the default build options for a boatload of
depended-upon ports for whatever I am actually trying to install or
upgrade.

However there's one instance where I don't know how to get this
functionality, i.e. the functionality provided by the --batch option.

On this page:

   http://cnsnap.cn.freebsd.org/doc/en/books/handbook/ports-using.html

in Section 4.5.4.2, a user who is just installing a new system is instructed
to do the following:

 # cd /usr/ports/ports-mgmt/portupgrade
 # make install clean

(You have to do this in order to get portinstall/portupgrade installed.
These tools can then be used to build & install other ports.)

The problem is that these days, portupgrade itself is, apparently,
dependent upon a whole slew of other ports.  So while building
portupgrade itself it appears that there is currently no escape from
having to sit at the console and accept a whole bunch of default
options for the whole bunch of other ports upon which portupgrade
itself depends.

Or is there?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-15 Thread mrkvrg
Hello All,

I have a similar problem with passive ftp due to a self-imposed 
restrictive firewall.  When "make fetch" is run on a port and ftp data 
is required, the PF firewall stops the program from completing.  I got 
around this problem by restarting the firewall with a separate set of 
rules that opened up more ports needed for passive ftp.  After the fetch 
operation I would then restart PF with the more restrictive rules.  This 
sequence works but is a pain to maintain and also opens up a large 
number of ports during ftp operations.  I would like to have a setup in 
which I do not have to restart my firewall every time I need to use 
passive ftp.

From past experience setting MASTER_SORT to http works for those ports 
that use http but obviously has not worked for those ports that ONLY use 
ftp.

I tried to use ftp-proxy but as far as I'm able to ascertain it will not 
work on my simple home office setup.  It is a single client connected to 
the internet via a router:

  host <--> router <--> adsl modem <--> ISP.

Any help to resolve this will be greatly appreciated.

Cheers ...

Mark

On Thursday, 12 July 2012 12:23:29 Kaya Saman wrote:
> Hi,
> 
> I am trying to introduce FreeBSD into my office and it's been looked
> at with quite a bit of enthusiasm however, what makes it look bad is
> our companies 'security' policy to block FTP.
> 
> At present they are running a whole bunch of CentOS based boxes and
> VM's which of course can be run through port 80 when using YUM.
> 
> 
> How does one get round this issue as my superiors are telling me that
> opening up FTP is a security risk and therefor don't want to proceed?
> 
> 
> I would like to use ports specifically and not the pkg_add tool to
> get software.
> 
> 
> Can anyone sugget anything?
> 
> 
> Regards,
> 
> 
> Kaya
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-13 Thread jb
Wojciech Puchar  wojtek.tensor.gdynia.pl> writes:

> 
> > http://www.freeproxy.ru/en/free_proxy/faq/index.htm
> >
> > How to bypass corporate proxy?
> 
> go away from corporation. A side effect is saving your mental health on 
> the long run.

Well, judging by
> "I am trying to introduce FreeBSD into my office ..."
and this work environment description
> "We handle a lot of highly sensitive information and that's the need for
> the severe lock-down. Even the web-proxy is restricted to the sites
> accessible meaning that we need to request access if we need to go
> somewhere not governed by that proxy."
there is no chance for fooling around or trying to bypass policy, in 
particular if you are not in charge.
She has to play by the rules, if she is the person holding the hat in her
hands. Period.
jb


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-13 Thread Wojciech Puchar

http://www.freeproxy.ru/en/free_proxy/faq/index.htm

How to bypass corporate proxy?


go away from corporation. A side effect is saving your mental health on 
the long run.

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-13 Thread jb
Kaya Saman  gmail.com> writes:

> 
> Hi,
> 
> I am trying to introduce FreeBSD into my office and it's been looked
> at with quite a bit of enthusiasm however, what makes it look bad is
> our companies 'security' policy to block FTP.
> 
> At present they are running a whole bunch of CentOS based boxes and
> VM's which of course can be run through port 80 when using YUM.
> 
> How does one get round this issue as my superiors are telling me that
> opening up FTP is a security risk and therefor don't want to proceed?
> 
> I would like to use ports specifically and not the pkg_add tool to get
> software.
> 
> Can anyone sugget anything?
> 
> Regards,
> 
> Kaya

Hi,

> ...
> We simply have it [ed: FTP] banned on a Juniper firewall. So http is being
> proxied by a web appliance but that's it... nothing else.
> ...
> Yep. It's up to your proxy server whether it's going to handle FTP or only
> HTTP (and/or HTTPS).
> ...
> We have an 'appliance' based proxy and as company policy FTP should be
> restricted, ie. not active on this as it's a security risk.

Regardless of whether your corporate proxy can not handle FTP by its limited
capability or by company's policy, there is a solution called "proxy 
chaining".

http://www.freeproxy.ru/en/free_proxy/faq/index.htm

How to bypass corporate proxy?

What is HTTP proxy server?
  ... HTTP Proxy Chaining

What is proxy chaining (proxy to proxy)?

FTP through a proxy server: problems and solutions

jb




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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-13 Thread Jerry
On Fri, 13 Jul 2012 11:58:24 +0200 (CEST)
Wojciech Puchar articulated:

> > We handle a lot of highly sensitive information and that's the need
> > for the severe lock-down. Even the web-proxy is restricted to the
> > sites accessible meaning that we need to request access if we need
> > to go somewhere not governed by that proxy.
> this make sense.
> 
> just blocking everything except 80 is pure nonsense.

Not if that is specifically what the OP is attempting to accomplish.
Whether or not you feel it is nonsense is about as relative to the
problem as tits on a bull.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-13 Thread Wojciech Puchar
We handle a lot of highly sensitive information and that's the need for the 
severe lock-down. Even the web-proxy is restricted to the sites accessible 
meaning that we need to request access if we need to go somewhere not 
governed by that proxy.

this make sense.

just blocking everything except 80 is pure nonsense.

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread dweimer

On 2012-07-12 15:26, Kaya Saman wrote:

On 07/12/2012 07:54 PM, Peter Vereshagin wrote:

Hello.

Why don't you use a portsnap? it's over http...

2012/07/12 19:01:15 +0100 Kaya Saman  => To 
Peter Vereshagin :
KS> I will check it out however and see if that method is best, 
however
KS> CVSup would be the best way for us and I'm already looking at 
this:

KS>
KS> 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html


1. cvsup is not about comparison to ftp. cvsup is a way to obtain 
fresh port
for the program distribution, ie set of patches, list of package's 
files,
sample configuration files for the particular program(s) those are 
not the part

of the base system but supplied with taking the OS specs in mind.

ftp is a way to obtain a distfile, ie what the 3rd party software 
developer use
to distribute. For FreeBSD ports cvsup and ftp are not competent in 
the daiy

use as they have different purposes.

Some 3rd party software is released and published authoritatively on 
ftp only.
And that is the only problem possible for you on ftp usage by 
freebsd ports.

But I believe there is only a few of them you need if any at all.

I guess you may want to download the initial ports tree tarball, the 
ports.tgz,
via the ftp. But it's certainly a) available over there via the http 
and b) is

outdated and is needed to be updated via the portsnap and/or cvsup.

2. Use csup from the base system, don't use cvsup from ports if you 
use its
protocol. And, portsnap seems to be even more recommended since some 
days.


KS> which should be enough to get a demo up and running.

A Demo? Am I invited for the show? ;-)

--
Peter Vereshagin  (http://vereshagin.org) pgp: 
A0E26627

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


Hi Peter,

portsnap works fine :-)

My issues start coming into play when building the actual port
itself. Ie. fetching the distfile, as you suggested above.


As soon as I start running portmaster -a or a 'make install clean' on
certain ports, the progress just bombs out totally.


It would be really cool if I could find a way to centrally manage all
of this. So perhaps in conjunction with CVSup.


Something like a Linux repo server if you will - though I mention the
term very loosely.


Regards,


Kaya




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


If the volume of machines you have isn't very high I would consider 
asking the Director if you could have a machine in the DMZ that would be 
able to use FTP, and cvsup to get outbound.  Install Squid on that, and 
allow Squid to use FTP then allow only SSH from the inside systems to 
that machine.  From there you can use SSH on the inside systems to 
tunnel the cvsup data outbound for source updates, and to tunnel the 
Squid connection outbound to be able to use FTP for the port updates via 
the SSH tunnel using Squids FTP connect over HTTP.


This method would eliminate the need to setup your own local cvsup 
mirror, but does still allow FTP, but it doesn't leave any internal 
connections possible except when intended.  It doesn't open it up to any 
users without SSH access into the DMZ machine so it can be controlled 
who has access to it.


As the goto guy at my company for internet security I understand the 
need to lock things down and sadly wish my boss would allow me to lock 
down ours more than it is, though I don't see blocking outbound FTP as a 
requirement (though we only allow passive).  Its interesting to see this 
from the side of the other guy who's stuff doesn't work due to the 
restrictions in place.  I deal all the time with employees trying to do 
online conferences or file downloads with other companies using obscure 
tools that won't work through an HTTP proxy, use some random high port 
like 1 and want me to open up the port through the firewall right 
then so they can do the conference or get the file without any time to 
make sure the application is actually safe.  Of course the main response 
to no I can't do that, is why does it work for everyone else on the 
conference.  Can't seem to make them understand that the other people 
might not have to explain to the bank why they weren't following the PCI 
(payment card industry) guidelines they signed a document stating we 
would adhere to.  And its my job on the line and not theirs if my 
allowing the port through the firewall for them allows the security 
breach.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send a

Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman

On 07/12/2012 09:46 PM, Matthew Seaman wrote:

On 12/07/2012 21:26, Kaya Saman wrote:

My issues start coming into play when building the actual port itself.
Ie. fetching the distfile, as you suggested above.


As soon as I start running portmaster -a or a 'make install clean' on
certain ports, the progress just bombs out totally.


It would be really cool if I could find a way to centrally manage all of
this. So perhaps in conjunction with CVSup.


Something like a Linux repo server if you will - though I mention the
term very loosely.

Have you played with pkgng at all?  It's a bit new to use in production
just yet, although reports from testers have been pretty positive so
far, and it's perfectly fine for evaluation purposes.

It will solve your main problem of not being allowed FTP traffic, as you
can select a package repository accessible through HTTP -- like
the main test repository http://pkgbeta.freebsd.org/freebsd-9-amd64/latest

See http://wiki.freebsd.org/pkgng

Cheers,

Matthew



Thanks Matthew I will give this a go, although currently I have 2x 
FreeBSD machines in 'almost' full production as testing will cease quite 
shortly.


It might actually be quite useful in conjunction with Puppet and Cobbler 
(not sure if is for FreeBSD too).



Regards,


Kaya

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello.

2012/07/12 21:26:22 +0100 Kaya Saman  => To 
freebsd-questions@freebsd.org :
KS> > A Demo? Am I invited for the show? ;-)
KS> Something like a Linux repo server if you will - though I mention the 
KS> term very loosely.

SHould you try with a ixsystems's pcbsd.org then? http://pcbsd.org

If you need to install a program from a freebsd port then pcbsd allows it,too.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Matthew Seaman
On 12/07/2012 21:26, Kaya Saman wrote:
> My issues start coming into play when building the actual port itself.
> Ie. fetching the distfile, as you suggested above.
> 
> 
> As soon as I start running portmaster -a or a 'make install clean' on
> certain ports, the progress just bombs out totally.
> 
> 
> It would be really cool if I could find a way to centrally manage all of
> this. So perhaps in conjunction with CVSup.
> 
> 
> Something like a Linux repo server if you will - though I mention the
> term very loosely.

Have you played with pkgng at all?  It's a bit new to use in production
just yet, although reports from testers have been pretty positive so
far, and it's perfectly fine for evaluation purposes.

It will solve your main problem of not being allowed FTP traffic, as you
can select a package repository accessible through HTTP -- like
the main test repository http://pkgbeta.freebsd.org/freebsd-9-amd64/latest

See http://wiki.freebsd.org/pkgng

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar


My issues start coming into play when building the actual port itself. Ie. 
fetching the distfile, as you suggested above.



As soon as I start running portmaster -a or a 'make install clean' on certain 
ports, the progress just bombs out totally.



as you've said it is not a problem at all tomorrow.



It would be really cool if I could find a way to centrally manage all of 
this. So perhaps in conjunction with CVSup.


What you mean? common /usr/ports/distfiles
?

You may mirror it all if you wish and then NFS export.
But if you want to install lots of ports to many computers i would 
recommend building on one and then just make binary packages.



Something like a Linux repo server if you will
no idea what it is. have not use linux for 9 years, and before that few 
years using my own manual distro as anything else wasn't usable.

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman

On 07/12/2012 08:13 PM, kpn...@pobox.com wrote:

On Thu, Jul 12, 2012 at 06:44:56PM +0100, Kaya Saman wrote:

I do infact work for this company and additionally I am one of the
administrators of the company.

The information comes straight down from the IT director who will
**not** change his mind on this as I have asked several times in the
past.


Basically without getting too distracted and off-topic: I open the
ports on the firewall - tomorrow I am not employed anymore

So called "active" ftp requires having the server open a connection back
to the client. This will be blocked by a firewall unless the firewall
has special support for it. I can see having a firewall not allow
those connections into your network.

With "passive" ftp with or without a proxy all connections are opened from
your end. No opening up of the firewall is required.  Plus, if you don't
touch your filewall then attempted use of active ftp will just result in
a hung network connection.

I believe active ftp was the default and perhaps only option for a number
of years.

Does your IT director understand the active/passive distinction? If not
then perhaps you could explain it in a way that acknowledges that his
concerns have some merit but those concerns are not relevant to passive
ftp.

Yes, this is very easy for me to suggest since I don't know any of the
relevant people and my paycheck is not on the line. And my suggestion
may be worth what you paid for it. ;)


Hi,

of course everything is known but still it is preferred to keep a total 
lock-down on outbound ports.


We handle a lot of highly sensitive information and that's the need for 
the severe lock-down. Even the web-proxy is restricted to the sites 
accessible meaning that we need to request access if we need to go 
somewhere not governed by that proxy.



Regards,


Kaya

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman

On 07/12/2012 07:54 PM, Peter Vereshagin wrote:

Hello.

Why don't you use a portsnap? it's over http...

2012/07/12 19:01:15 +0100 Kaya Saman  => To Peter 
Vereshagin :
KS> I will check it out however and see if that method is best, however
KS> CVSup would be the best way for us and I'm already looking at this:
KS>
KS> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

1. cvsup is not about comparison to ftp. cvsup is a way to obtain fresh port
for the program distribution, ie set of patches, list of package's files,
sample configuration files for the particular program(s) those are not the part
of the base system but supplied with taking the OS specs in mind.

ftp is a way to obtain a distfile, ie what the 3rd party software developer use
to distribute. For FreeBSD ports cvsup and ftp are not competent in the daiy
use as they have different purposes.

Some 3rd party software is released and published authoritatively on ftp only.
And that is the only problem possible for you on ftp usage by freebsd ports.
But I believe there is only a few of them you need if any at all.

I guess you may want to download the initial ports tree tarball, the ports.tgz,
via the ftp. But it's certainly a) available over there via the http and b) is
outdated and is needed to be updated via the portsnap and/or cvsup.

2. Use csup from the base system, don't use cvsup from ports if you use its
protocol. And, portsnap seems to be even more recommended since some days.

KS> which should be enough to get a demo up and running.

A Demo? Am I invited for the show? ;-)

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Hi Peter,

portsnap works fine :-)

My issues start coming into play when building the actual port itself. 
Ie. fetching the distfile, as you suggested above.



As soon as I start running portmaster -a or a 'make install clean' on 
certain ports, the progress just bombs out totally.



It would be really cool if I could find a way to centrally manage all of 
this. So perhaps in conjunction with CVSup.



Something like a Linux repo server if you will - though I mention the 
term very loosely.



Regards,


Kaya




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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar

Does your IT director understand the active/passive distinction? If not


From what he described his director is plain moron. He required him to 
block things that HE needs to work, leaving port 80 open so things that 
are best in distracting from work (youtube, facebook...) works, as well as 
major virus source.


In places i work i was requested to

a) block some websites (facebook always first on list - very good).
b) block most things EXCEPT the ones needed for work, full access only 
for some people. So some ports and some targets do work, rest does not.


This is normal IMHO.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello.

2012/07/12 14:44:48 -0400 Lowell Gilbert 
 => To Peter Vereshagin :
LG> Peter Vereshagin  writes:
LG> 
LG> > 2012/07/12 13:19:56 -0400 Lowell Gilbert 
 => To Kaya Saman :
LG> > LG> URLs as well as FTP. For ones that aren't, (and assuming the rather
LG> > LG> silly security policies won't allow for an external web-based FTP 
proxy)
LG> > LG> you may need to bring them in by offline media.
LG> >
LG> > I believe there should be the way of using the passive ftp (and any other
LG> > protocol) via the HTTP CONNECT method to the ftp (or any other port 
needed for
LG> > other protocol/app) port and then handling the both control and data
LG> > connections through the consequent copmmands and data exhange.
LG> 
LG> You've just described an FTP proxy. That's already been ruled out.

But I thought the squid-like http proxy while serving the FTP URLs is what the
ftp proxy is? It's a different matter at least because it's a nothing about
HTTP's CONNECT method.

Can you point me to a definition of 'ftp proxy' please? Wikipedia and Google
have nothing on this.

What I described is mentioned as 'http tunneling' in delegate's docs and isn't
specific for ftp at all.

LG> > Most surprise for me is why no one is interested about what kind of a 
danger
LG> > the ftp protocol can ever be? i. e. skype is much more vicious in 
comparison to
LG> > ftp and s much harder to be restricted by a packet filter if even 
possoible.
LG> 
LG> Unfortunately, it's common. Often it's a reaction to the idea that FTP
LG> is an insecure protocol -- which is true, in a sense, because
LG> authentication information is passed in the clear, but irrelevant to
LG> anonymous use. This is silly, yes, but it's fairly popular among the
LG> types of "IT" people who think that NAT is a security service. Or
LG> possibly Nothing But HTTP is allowed through the firewall (which is, at
LG> least, a rational response to not knowing much about TCP/IP).

Management is always the same on both sides of Earth, right.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello.

Why don't you use a portsnap? it's over http...

2012/07/12 19:01:15 +0100 Kaya Saman  => To Peter 
Vereshagin :
KS> I will check it out however and see if that method is best, however
KS> CVSup would be the best way for us and I'm already looking at this:
KS> 
KS> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

1. cvsup is not about comparison to ftp. cvsup is a way to obtain fresh port
for the program distribution, ie set of patches, list of package's files,
sample configuration files for the particular program(s) those are not the part
of the base system but supplied with taking the OS specs in mind.

ftp is a way to obtain a distfile, ie what the 3rd party software developer use
to distribute. For FreeBSD ports cvsup and ftp are not competent in the daiy
use as they have different purposes.

Some 3rd party software is released and published authoritatively on ftp only.
And that is the only problem possible for you on ftp usage by freebsd ports.
But I believe there is only a few of them you need if any at all.

I guess you may want to download the initial ports tree tarball, the ports.tgz,
via the ftp. But it's certainly a) available over there via the http and b) is
outdated and is needed to be updated via the portsnap and/or cvsup.

2. Use csup from the base system, don't use cvsup from ports if you use its
protocol. And, portsnap seems to be even more recommended since some days.

KS> which should be enough to get a demo up and running.

A Demo? Am I invited for the show? ;-)

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Lowell Gilbert
Peter Vereshagin  writes:

> 2012/07/12 13:19:56 -0400 Lowell Gilbert 
>  => To Kaya Saman :
> LG> URLs as well as FTP. For ones that aren't, (and assuming the rather
> LG> silly security policies won't allow for an external web-based FTP proxy)
> LG> you may need to bring them in by offline media.
>
> I believe there should be the way of using the passive ftp (and any other
> protocol) via the HTTP CONNECT method to the ftp (or any other port needed for
> other protocol/app) port and then handling the both control and data
> connections through the consequent copmmands and data exhange.

You've just described an FTP proxy. That's already been ruled out.

> Most surprise for me is why no one is interested about what kind of a danger
> the ftp protocol can ever be? i. e. skype is much more vicious in comparison 
> to
> ftp and s much harder to be restricted by a packet filter if even possoible.

Unfortunately, it's common. Often it's a reaction to the idea that FTP
is an insecure protocol -- which is true, in a sense, because
authentication information is passed in the clear, but irrelevant to
anonymous use. This is silly, yes, but it's fairly popular among the
types of "IT" people who think that NAT is a security service. Or
possibly Nothing But HTTP is allowed through the firewall (which is, at
least, a rational response to not knowing much about TCP/IP).

Be well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar

Most surprise for me is why no one is interested about what kind of a danger
the ftp protocol can ever be? i. e. skype is much more vicious in comparison to


As in lots of companies where idiots are directors (common case) the 
danger is because it is something that "doesn't exist". As we all know 
only WWW do exist ;)


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar

The information comes straight down from the IT director who will
**not** change his mind on this as I have asked several times in the
past.


I just told about solution to a problem. Not a workaround.
How you can make your work if your director actively prevent it!?


Basically without getting too distracted and off-topic: I open the
ports on the firewall - tomorrow I am not employed anymore


Do not change anything in config if you got fired. It is not the clever 
and polite.


Spent your time for starting out your own business or at least choose 
better employee, instead of revenge.



PS. Start out using real private e-mail not @gmail.com if you want to be 
treated more seriously and not hurt yourself anymore.


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Peter Vereshagin  wrote:
> Hello.
>
> 2012/07/12 13:19:56 -0400 Lowell Gilbert 
>  => To Kaya Saman :
> LG> URLs as well as FTP. For ones that aren't, (and assuming the rather
> LG> silly security policies won't allow for an external web-based FTP proxy)
> LG> you may need to bring them in by offline media.
>
> I believe there should be the way of using the passive ftp (and any other
> protocol) via the HTTP CONNECT method to the ftp (or any other port needed for
> other protocol/app) port and then handling the both control and data
> connections through the consequent copmmands and data exhange.
>
> As far as I remember this can be done at least via the http://delegate.org
> software, certainly available in the ports collection.
>
> Kaya, if your http proxy handles HTTP CONNECT to the port 21/ftp this can be
> the workaround for you about the freebsd ports requiring ftp download ability.
>
> Most surprise for me is why no one is interested about what kind of a danger
> the ftp protocol can ever be? i. e. skype is much more vicious in comparison 
> to
> ftp and s much harder to be restricted by a packet filter if even possoible.
>
> --
> Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Thanks Peter for the advise.

Our system is totally locked down with hardly any ports open on our
NAT, only the necessary ones.

I'm not sure if the Proxy would support the HTTP CONNECT as it's an
appliance which my superior has control over.

I will check it out however and see if that method is best, however
CVSup would be the best way for us and I'm already looking at this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html


which should be enough to get a demo up and running.


Regards,


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Peter Vereshagin
Hello.

2012/07/12 13:19:56 -0400 Lowell Gilbert 
 => To Kaya Saman :
LG> URLs as well as FTP. For ones that aren't, (and assuming the rather
LG> silly security policies won't allow for an external web-based FTP proxy)
LG> you may need to bring them in by offline media.

I believe there should be the way of using the passive ftp (and any other
protocol) via the HTTP CONNECT method to the ftp (or any other port needed for
other protocol/app) port and then handling the both control and data
connections through the consequent copmmands and data exhange.

As far as I remember this can be done at least via the http://delegate.org
software, certainly available in the ports collection.

Kaya, if your http proxy handles HTTP CONNECT to the port 21/ftp this can be
the workaround for you about the freebsd ports requiring ftp download ability.

Most surprise for me is why no one is interested about what kind of a danger
the ftp protocol can ever be? i. e. skype is much more vicious in comparison to
ftp and s much harder to be restricted by a packet filter if even possoible.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:41 PM, Wojciech Puchar
 wrote:
>> I am trying to introduce FreeBSD into my office and it's been looked
>> at with quite a bit of enthusiasm however, what makes it look bad is
>> our companies 'security' policy to block FTP.
>
>
> do you work FOR that company. Ask administrator to unblock if for you as you
> need it for work.
>
> Do you do your private things at worktime? Then stop it.

I do infact work for this company and additionally I am one of the
administrators of the company.

The information comes straight down from the IT director who will
**not** change his mind on this as I have asked several times in the
past.


Basically without getting too distracted and off-topic: I open the
ports on the firewall - tomorrow I am not employed anymore
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Wojciech Puchar

I am trying to introduce FreeBSD into my office and it's been looked
at with quite a bit of enthusiasm however, what makes it look bad is
our companies 'security' policy to block FTP.


do you work FOR that company. Ask administrator to unblock if for you as 
you need it for work.


Do you do your private things at worktime? Then stop it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 6:15 PM, Devin Teske  wrote:
>
> On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote:
>
>> On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske  
>> wrote:
>>>
>>> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote:
>>>
 Hi,

 I am trying to introduce FreeBSD into my office and it's been looked
 at with quite a bit of enthusiasm however, what makes it look bad is
 our companies 'security' policy to block FTP.

 At present they are running a whole bunch of CentOS based boxes and
 VM's which of course can be run through port 80 when using YUM.


 How does one get round this issue as my superiors are telling me that
 opening up FTP is a security risk and therefor don't want to proceed?


 I would like to use ports specifically and not the pkg_add tool to get 
 software.


 Can anyone sugget anything?

>>>
>>> env ftp_proxy=host:port 
>>>
>>> where  is your normal command, such as "fetch".
>>>
>>> For a full list of environment variables you can use,…
>>>
>>> $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings 
>>> -n 7 | grep _proxy
>>> fetch_no_proxy_match
>>> fetch_default_proxy_port
>>> http_proxy
>>> ftp_proxy
>>> no_proxy
>>>
>>> --
>>> Devin
>>>
>>> _
>>> The information contained in this message is proprietary and/or 
>>> confidential. If you are not the intended recipient, please: (i) delete the 
>>> message and all copies; (ii) do not disclose, distribute or use the message 
>>> in any manner; and (iii) notify the sender immediately. In addition, please 
>>> be aware that any message addressed to our domain is subject to archiving 
>>> and review by persons other than the intended recipient. Thank you.
>>
>> Thanks Devin for this however,
>>
>> setenv ftp_proxy ftp://: indicates that FTP is being proxied out.
>>
>> We simply have it banned on a Juniper firewall. So http is being
>> proxied by a web appliance but that's it... nothing else.
>>
>>
>
> Yep. It's up to your proxy server whether it's going to handle FTP or only 
> HTTP (and/or HTTPS).
>
> I use squid a lot and it handles FTP great.
> --
> Devin
>
> _
> The information contained in this message is proprietary and/or confidential. 
> If you are not the intended recipient, please: (i) delete the message and all 
> copies; (ii) do not disclose, distribute or use the message in any manner; 
> and (iii) notify the sender immediately. In addition, please be aware that 
> any message addressed to our domain is subject to archiving and review by 
> persons other than the intended recipient. Thank you.


We have an 'appliance' based proxy and as company policy FTP should be
restricted, ie. not active on this as it's a security risk.

Thats my major issue.


I will try the suggested method of:

MASTER_SORT_REGEX = ^http

for the time being to see if that helps before setting up our own repository.


Regards,


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Lowell Gilbert
Kaya Saman  writes:

> On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder  wrote:
>> On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman  wrote:
>>
>>>
>>> I would like to use ports specifically and not the pkg_add tool to get
>>> software.
>>
>>
>> Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your
>> own local mirror (net/cvsup-mirror) as well.

> Yeah, this is a good idea I was actually thinking about this.
>
> I've never done it so I'd need to google around a bit and do some
> testing but it is probably what we would want to do!

It's quite easy. It does require letting cvsup through the firewall,
though. Getting the ports tree through HTTP is best done with portsnap,
but once you get it inside your network you can run a cvsup server, NFS
mount it on the other machines, or even run your own internal ports
build server.

As for fetching the distfiles, most of them are available through HTTP
URLs as well as FTP. For ones that aren't, (and assuming the rather
silly security policies won't allow for an external web-based FTP proxy)
you may need to bring them in by offline media.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Devin Teske

On Jul 12, 2012, at 9:42 AM, Kaya Saman wrote:

> On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske  
> wrote:
>> 
>> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote:
>> 
>>> Hi,
>>> 
>>> I am trying to introduce FreeBSD into my office and it's been looked
>>> at with quite a bit of enthusiasm however, what makes it look bad is
>>> our companies 'security' policy to block FTP.
>>> 
>>> At present they are running a whole bunch of CentOS based boxes and
>>> VM's which of course can be run through port 80 when using YUM.
>>> 
>>> 
>>> How does one get round this issue as my superiors are telling me that
>>> opening up FTP is a security risk and therefor don't want to proceed?
>>> 
>>> 
>>> I would like to use ports specifically and not the pkg_add tool to get 
>>> software.
>>> 
>>> 
>>> Can anyone sugget anything?
>>> 
>> 
>> env ftp_proxy=host:port 
>> 
>> where  is your normal command, such as "fetch".
>> 
>> For a full list of environment variables you can use,…
>> 
>> $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings -n 
>> 7 | grep _proxy
>> fetch_no_proxy_match
>> fetch_default_proxy_port
>> http_proxy
>> ftp_proxy
>> no_proxy
>> 
>> --
>> Devin
>> 
>> _
>> The information contained in this message is proprietary and/or 
>> confidential. If you are not the intended recipient, please: (i) delete the 
>> message and all copies; (ii) do not disclose, distribute or use the message 
>> in any manner; and (iii) notify the sender immediately. In addition, please 
>> be aware that any message addressed to our domain is subject to archiving 
>> and review by persons other than the intended recipient. Thank you.
> 
> Thanks Devin for this however,
> 
> setenv ftp_proxy ftp://: indicates that FTP is being proxied out.
> 
> We simply have it banned on a Juniper firewall. So http is being
> proxied by a web appliance but that's it... nothing else.
> 
> 

Yep. It's up to your proxy server whether it's going to handle FTP or only HTTP 
(and/or HTTPS).

I use squid a lot and it handles FTP great.
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Blackman

On 12 Jul 2012, at 17:23, Kaya Saman wrote:

> How does one get round this issue as my superiors are telling me that
> opening up FTP is a security risk and therefor don't want to proceed?
> 
> 
> I would like to use ports specifically and not the pkg_add tool to get 
> software.
> 
> 
> Can anyone sugget anything?

The usual solution appears to be to add

   MASTER_SORT_REGEX = ^http

to your /etc/make.conf file

see

http://lists.freebsd.org/pipermail/freebsd-questions/2011-January/226342.html

- Mark

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Felder

On Thu, 12 Jul 2012 12:00:01 -0500, Kaya Saman  wrote:



Yeah, this is a good idea I was actually thinking about this.

I've never done it so I'd need to google around a bit and do some
testing but it is probably what we would want to do!



Install the port, run the setup script, answer something like four  
questions, and you're done -- it will begin mirroring automatically. It  
might tell you to add a one-liner to cron but that's it. *Magic* :-)

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:47 PM, Mark Felder  wrote:
> On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman  wrote:
>
>>
>> I would like to use ports specifically and not the pkg_add tool to get
>> software.
>
>
> Getting the ports tree with csup/cvsup wouldn't use ftp. You could run your
> own local mirror (net/cvsup-mirror) as well.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Yeah, this is a good idea I was actually thinking about this.

I've never done it so I'd need to google around a bit and do some
testing but it is probably what we would want to do!


Regards,


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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Mark Felder

On Thu, 12 Jul 2012 11:23:29 -0500, Kaya Saman  wrote:



I would like to use ports specifically and not the pkg_add tool to get  
software.


Getting the ports tree with csup/cvsup wouldn't use ftp. You could run  
your own local mirror (net/cvsup-mirror) as well.

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
On Thu, Jul 12, 2012 at 5:33 PM, Devin Teske  wrote:
>
> On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote:
>
>> Hi,
>>
>> I am trying to introduce FreeBSD into my office and it's been looked
>> at with quite a bit of enthusiasm however, what makes it look bad is
>> our companies 'security' policy to block FTP.
>>
>> At present they are running a whole bunch of CentOS based boxes and
>> VM's which of course can be run through port 80 when using YUM.
>>
>>
>> How does one get round this issue as my superiors are telling me that
>> opening up FTP is a security risk and therefor don't want to proceed?
>>
>>
>> I would like to use ports specifically and not the pkg_add tool to get 
>> software.
>>
>>
>> Can anyone sugget anything?
>>
>
> env ftp_proxy=host:port 
>
> where  is your normal command, such as "fetch".
>
> For a full list of environment variables you can use,…
>
> $ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings -n 
> 7 | grep _proxy
> fetch_no_proxy_match
> fetch_default_proxy_port
> http_proxy
> ftp_proxy
> no_proxy
>
> --
> Devin
>
> _
> The information contained in this message is proprietary and/or confidential. 
> If you are not the intended recipient, please: (i) delete the message and all 
> copies; (ii) do not disclose, distribute or use the message in any manner; 
> and (iii) notify the sender immediately. In addition, please be aware that 
> any message addressed to our domain is subject to archiving and review by 
> persons other than the intended recipient. Thank you.

Thanks Devin for this however,

setenv ftp_proxy ftp://: indicates that FTP is being proxied out.

We simply have it banned on a Juniper firewall. So http is being
proxied by a web appliance but that's it... nothing else.


Regards,

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


Re: Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Devin Teske

On Jul 12, 2012, at 9:23 AM, Kaya Saman wrote:

> Hi,
> 
> I am trying to introduce FreeBSD into my office and it's been looked
> at with quite a bit of enthusiasm however, what makes it look bad is
> our companies 'security' policy to block FTP.
> 
> At present they are running a whole bunch of CentOS based boxes and
> VM's which of course can be run through port 80 when using YUM.
> 
> 
> How does one get round this issue as my superiors are telling me that
> opening up FTP is a security risk and therefor don't want to proceed?
> 
> 
> I would like to use ports specifically and not the pkg_add tool to get 
> software.
> 
> 
> Can anyone sugget anything?
> 

env ftp_proxy=host:port 

where  is your normal command, such as "fetch".

For a full list of environment variables you can use,…

$ ldd -f '%p\n' `which fetch` | xargs grep -alr ftp_proxy | xargs strings -n 7 
| grep _proxy 
fetch_no_proxy_match
fetch_default_proxy_port
http_proxy
ftp_proxy
no_proxy

-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Is there a way to run FreeBSD ports through port 80?

2012-07-12 Thread Kaya Saman
Hi,

I am trying to introduce FreeBSD into my office and it's been looked
at with quite a bit of enthusiasm however, what makes it look bad is
our companies 'security' policy to block FTP.

At present they are running a whole bunch of CentOS based boxes and
VM's which of course can be run through port 80 when using YUM.


How does one get round this issue as my superiors are telling me that
opening up FTP is a security risk and therefor don't want to proceed?


I would like to use ports specifically and not the pkg_add tool to get software.


Can anyone sugget anything?


Regards,


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


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread RW
On Mon, 25 Jun 2012 00:53:50 -0700 (PDT)
Dan Mahoney, System Admin wrote:

> Hey there,
> 
> I'm presently in the process of trying to do a portupgrade from
> rt-3.8.8 to 3.8.13.  By all estimations, this is a minor bump.
> 
> Already, I've encountered several annoyances due to ABI changes, such
> as the libtool2.4 fun.  With normal portupgrade, this forces you to
> go fix the dependent port.

I don't know what you mean by that

> Finally, I just applied -r, which should update all dependent
> packages, but it seems to upgrade them unconditionally.

That's because the revisions numbers will have been bumped, it's
nothing to do with portupgrade.

> Ergo, I've since built a new version of perl, a new verion of python, 
> rebuilt every perl module on the system, am presently rebuilding
> apache22, and I'm sure the system will turn around and require me to
> rebuild postgres real soon.
> 
> You would think there's an option to portupgrade that says "don't
> upgrade every single package I've got, 

Firstly it doesn't. Secondly no one is forcing you to do this, if you
want to go through the ports and work out which need an update and which
don't then portupgrade will let you do that.

> but if somewhere in the
> dependency chain I need a newer version of a thing, then do it."
> 
> Am I just missing it in the manpages, or does such a thing really not 
> exist?
> 
> -Dan
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Daniel Staal

On 2012-06-25 11:47, John Levine wrote:
You would think there's an option to portupgrade that says "don't 
upgrade
every single package I've got, but if somewhere in the dependency 
chain I

need a newer version of a thing, then do it."


The problem is that the versioning in the ports system doesn't
distinguish between upgrades that present interface changes and
upgrades that are just nits, new features, or minor bug fixes.
Port makefiles can contain version dependency info, e.g., this
port needs at least version N.M of package X, but few of them do.

This has bitten me in the past with PHP and pcre.  In fact, PHP5
won't work with old versions of pcre, but the PHP port maintainer
refuses to put in version dependency info, because he thinks that
every port should be up to date all the time.


There's also the issue of things like Perl modules - most of them will 
just work, even with a newer version of perl, but a few have sections 
that need to be compiled against perl itself.  So if you update the Perl 
port, you need to at least recompile those.  (I'm simplifying a bit.)  
But there is no good way to mark in general which ports will 'just work' 
with an updated dependency, and which care what version of the 
dependency was installed when they were compiled.  This is separate from 
versioned dependencies: Again to use Perl modules as an example, DBI for 
instance is will work with any version of perl since 5.8 or so - but if 
you change which version of perl you are using you'll need to recompile 
and reinstall.


Rebuilding everything is a bit overkill, but it beats missing one that 
needed to be rebuilt.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread John Levine
>You would think there's an option to portupgrade that says "don't upgrade 
>every single package I've got, but if somewhere in the dependency chain I 
>need a newer version of a thing, then do it."

The problem is that the versioning in the ports system doesn't
distinguish between upgrades that present interface changes and
upgrades that are just nits, new features, or minor bug fixes.
Port makefiles can contain version dependency info, e.g., this
port needs at least version N.M of package X, but few of them do.

This has bitten me in the past with PHP and pcre.  In fact, PHP5
won't work with old versions of pcre, but the PHP port maintainer
refuses to put in version dependency info, because he thinks that
every port should be up to date all the time.

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


"-r" will upgrade all dependent ports *if* a newer version is available.
"-rf" will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says "don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it."


I'm not sure what you mean.
I guess you waned "portupgrade -R rt", which will upgrade all ports rt 
is depending on.






HTH.

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Andrea Venturoli

On 06/25/12 10:40, Andrea Venturoli wrote:

On 06/25/12 09:53, Dan Mahoney, System Admin wrote:

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8
to 3.8.13.  By all estimations, this is a minor bump.

Already, I've encountered several annoyances due to ABI changes, such as
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
the dependent port.

Finally, I just applied -r, which should update all dependent packages,
but it seems to upgrade them unconditionally.


"-r" will upgrade all dependent ports *if* a newer version is available.
"-rf" will upgrade all dependent ports unconditionally.






You would think there's an option to portupgrade that says "don't
upgrade every single package I've got, but if somewhere in the
dependency chain I need a newer version of a thing, then do it."


I'm not sure what you mean.
I guess you waned "portupgrade -R rt", which will upgrade all ports rt

  ^
  wanted

is depending on.





HTH.

  bye
 av.



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


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Matthew Seaman
On 25/06/2012 08:53, Dan Mahoney, System Admin wrote:
> I'm presently in the process of trying to do a portupgrade from rt-3.8.8
> to 3.8.13.  By all estimations, this is a minor bump.
> 
> Already, I've encountered several annoyances due to ABI changes, such as
> the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
> the dependent port.
> 
> Finally, I just applied -r, which should update all dependent packages,
> but it seems to upgrade them unconditionally.
> 
> Ergo, I've since built a new version of perl, a new verion of python,
> rebuilt every perl module on the system, am presently rebuilding
> apache22, and I'm sure the system will turn around and require me to
> rebuild postgres real soon.
> 
> You would think there's an option to portupgrade that says "don't
> upgrade every single package I've got, but if somewhere in the
> dependency chain I need a newer version of a thing, then do it."
> 
> Am I just missing it in the manpages, or does such a thing really not
> exist?

It has been many years since I used portupgrade with any regularity, and
many of those neurones have been recycled.  However, I do recall
that:

   portupgrade -a should update all out-of-date ports on your system.

   portupgrade -r pkgname should update pkgname (if out of date) and
  all packages that depend on pkgname.

   portupgrade -R pkgname should update everything that pkgname depends
  on plus pkgname (if out of date).

'portupgrade -R' sounds like what you want.  I believe that the meaning
of the -r and -R flags in portupgrade is reversed from pkg_info(1) which
is annoyingly inconsistent.

Nowadays I usually use portmaster, where:

   portmaster pkgname

works equivalently to 'portupgrade -R pkgname' except that portmaster
/always/ reinstalls pkgname even if it is up to date.  ie. the standard
default action of portmaster is to do exactly what you want.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Re: portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Damien Fleuriot


On 6/25/12 9:53 AM, Dan Mahoney, System Admin wrote:
> Hey there,
> 
> I'm presently in the process of trying to do a portupgrade from rt-3.8.8
> to 3.8.13.  By all estimations, this is a minor bump.
> 
> Already, I've encountered several annoyances due to ABI changes, such as
> the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
> the dependent port.
> 
> Finally, I just applied -r, which should update all dependent packages,
> but it seems to upgrade them unconditionally.
> 
> Ergo, I've since built a new version of perl, a new verion of python,
> rebuilt every perl module on the system, am presently rebuilding
> apache22, and I'm sure the system will turn around and require me to
> rebuild postgres real soon.
> 
> You would think there's an option to portupgrade that says "don't
> upgrade every single package I've got, but if somewhere in the
> dependency chain I need a newer version of a thing, then do it."
> 
> Am I just missing it in the manpages, or does such a thing really not
> exist?
> 
> -Dan
> 

We've been happily using portmanager for ages, it does just that :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


portupgrade -- is there a way to only build and update ports that actually NEED it?

2012-06-25 Thread Dan Mahoney, System Admin

Hey there,

I'm presently in the process of trying to do a portupgrade from rt-3.8.8 
to 3.8.13.  By all estimations, this is a minor bump.


Already, I've encountered several annoyances due to ABI changes, such as 
the libtool2.4 fun.  With normal portupgrade, this forces you to go fix 
the dependent port.


Finally, I just applied -r, which should update all dependent packages, 
but it seems to upgrade them unconditionally.


Ergo, I've since built a new version of perl, a new verion of python, 
rebuilt every perl module on the system, am presently rebuilding apache22, 
and I'm sure the system will turn around and require me to rebuild 
postgres real soon.


You would think there's an option to portupgrade that says "don't upgrade 
every single package I've got, but if somewhere in the dependency chain I 
need a newer version of a thing, then do it."


Am I just missing it in the manpages, or does such a thing really not 
exist?


-Dan

--

"You recreate the stars in the sky with cows?"

-Furrball, March 7 2005, on Katamari Damacy

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: is there a way to code this .... without curses?

2011-09-30 Thread Gary Kline
On Fri, Sep 30, 2011 at 08:20:35AM +0200, Roland Smith wrote:
> Date: Fri, 30 Sep 2011 08:20:35 +0200
> From: Roland Smith 
> Subject: Re: is there a way to code this  without curses?
> To: Gary Kline 
> Cc: FreeBSD Mailing List 
> 
> On Thu, Sep 29, 2011 at 09:46:45PM -0700, Gary Kline wrote:
> > guys,
> > 
> > i have written a small program using curses; that isn't the problem.
> > but does anybody onlist know how to code the following in C:
> > 
> > void foo()
> > {
> > 
> > system("stty raw");
> 
> man cfmakeraw 
> 
> > .
> > .
> > .
> > system("stty cooked");
> > }
> 
> See f_sane in /usr/src/bin/stty/key.c. The parameters set in f_sane are
> eventually passed to tcsetattr(3), so see 'man tcsetattr'
>  
> > anybody? yoa!


well, i forget that i am/was using the linux stty, so my
question probably should go to that flavor on Nix ... just
because there may be somed differences between the bsd
flavor of stty and the linux version.

this hads to do with my port of the python key-click script
i was asking about about a week ago.  i do have something
working in C/C++.  i'm getting going with the volume option 
today.

i just wanted some few lines of C to replace the system()
calls forf stty.

thanks,

gary

ps:  what i'm working on just _may_ work on both bsd and
linux.  dunno yet.


> 
> Roland
> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

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


Re: is there a way to code this .... without curses?

2011-09-30 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Thu Sep 29 23:48:18 2011
> Date: Thu, 29 Sep 2011 21:46:45 -0700
> From: Gary Kline 
> To: FreeBSD Mailing List 
> Cc: 
> Subject: is there a way to code this  without curses?
>
> guys,
>
> i have written a small program using curses; that isn't the problem.
> but does anybody onlist know how to code the following in C:
>
> void foo()
> {
>
>   system("stty raw");
>   .
>   .
>   .
>   system("stty cooked");
> }
>
> anybody? yoa!

'man 3 stty'

'man 4 tty'

'man tcsetattr'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a way to code this .... without curses?

2011-09-29 Thread Roland Smith
On Thu, Sep 29, 2011 at 09:46:45PM -0700, Gary Kline wrote:
> guys,
> 
> i have written a small program using curses; that isn't the problem.
> but does anybody onlist know how to code the following in C:
> 
> void foo()
> {
> 
>   system("stty raw");

man cfmakeraw 

>   .
>   .
>   .
>   system("stty cooked");
> }

See f_sane in /usr/src/bin/stty/key.c. The parameters set in f_sane are
eventually passed to tcsetattr(3), so see 'man tcsetattr'
 
> anybody? yoa!

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpP0YKWkhsDd.pgp
Description: PGP signature


is there a way to code this .... without curses?

2011-09-29 Thread Gary Kline
guys,

i have written a small program using curses; that isn't the problem.
but does anybody onlist know how to code the following in C:

void foo()
{

system("stty raw");
.
.
.
system("stty cooked");
}

anybody? yoa!

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

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


Re: Is there a

2011-07-04 Thread Chad Perrin
On Mon, Jul 04, 2011 at 01:07:36PM -0500, Bill Varney wrote:
> Repository of supported devices within FreeBSD?
> 
> I'm looking to map linux drivers to truly open BSD drivers for a
> 'conversion' project from Linux to an OS requiring non-GPL-like drivers.
> I see the i2c and spi, etc., but browsing the BSD sites, don't see any
> vendor specific drivers.

I find what you say you're doing interesting, even if I'm not entirely
clear on what it is in all its particulars.  Would you please clarify the
aim of your efforts?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpo0E4CThr5R.pgp
Description: PGP signature


Re: Is there a

2011-07-04 Thread Mike Tancsa
On 7/4/2011 2:07 PM, Bill Varney wrote:
> Repository of supported devices within FreeBSD?

For whats in the tree itself, take a look at the tree

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/

There are also a few drivers in the ports tree (/usr/ports).  There are
some vendors who distribute the odd driver from their website, but those
tend to be few and far between. The source code and the ports are your
best bet to look through.   Some drivers support many vendor devices
under one driver (e.g. Intel's em supports a wide variety of nics).  If
you are interested in seeing specifically what is supported, install a
copy of FreeBSD along with the source and grep through for specific
device IDs you are looking for.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Is there a

2011-07-04 Thread Bill Varney
Repository of supported devices within FreeBSD?

I'm looking to map linux drivers to truly open BSD drivers for a
'conversion' project from Linux to an OS requiring non-GPL-like drivers.
I see the i2c and spi, etc., but browsing the BSD sites, don't see any
vendor specific drivers.

 

Thanks,

Bill



Bill Varney
 

Teleca
420 Stevens Ave., Suite 230 Solana Beach, CA 92075
Phone: +96192181876, Fax: +19726966999
Mobile: +96192181876
bill.var...@teleca.com
http://www.teleca.com/

Follow what's going on at Teleca's blog on 
http://www.whatsyourideaoftomorrow.blogspot.com/.

The information contained in this message is confidential and is intended for 
the addressee(s) only. If you have received this message in error please notify 
the sender immediately. The unauthorized use, disclosure, copying or alteration 
of this message is strictly prohibited.

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


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread Polytropon
On Thu, 16 Jun 2011 07:00:30 -0600 (MDT), Warren Block  
wrote:
> Also, see "lpd Printing With FreeBSD"
> http://www.wonkity.com/~wblock/docs/html/lpdprinting.html

It's worth mentioning that real office printers (those that
come with Ethernet) traditionally contain their own "lpd
subsystem", so you can submit printing jobs directly into
the printer and manipulate _that_ queue using the system's
lp* tools.

This is very comfortable when you have more than one computer
in the house. You don't need to mess with silly "drivers", you
simply point to the printer's IP. Yes, it _is_ that simple.
Now all PCs in the (home) network can send their jobs directly
into the printer.

Another point is that office hardware, if old enough, lasts
nearly forever. I know that my experience is very limited,
but the HP Laserjet 4 which I do own for nearly 20 years now
is the best example. I got it as a used (!) printer, so I can't
tell what the former owner did to it. I did excessively use
that printer for many years now, and it is STILL WORKING. I
can even get spare parts for that old device if needed.

But go ahead, buy a "cheap" USB inkpee printer, and we'll
discuss in 20 years if it is still working. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread Arthur Chance

On 06/16/11 07:28, Gary Kline wrote:

is there a laser other than the brother {tm}?  i mean, that the
members of this org would go for?


It depends how much printing you need it for, so check the 
manufacturer's specs. I've got a Kyocera FS-C5200DN, which is rated as a 
workgroup printer good for 1000s of pages a month. It gets used 
regularly for printing leaflets, brochures, etc in 100s at a time and 
works out considerably cheaper than Staples or other local copy shops 
for that sort of thing - below 2p per page ($0.03) for b&w, below 7p 
($0.11) for colour according to the reviews.


Reasonably fast (except on stuff from the Mac's word processor program 
for some reason), seems reliable but we've only had it about 8 months so 
not long enough to see any long term problems.


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


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread Warren Block

On Wed, 15 Jun 2011, Gary Kline wrote:


we had a power out here this morning and besides it costing most of
my day, it blew out my Brother laser printer.  i just got it working
FINALLY with our cups stuff.  don't asked me how; other than i was
using our olden lpr/lpd and had /etc/printcap.

is there a laser other than the brother {tm}?  i mean, that the
members of this org would go for?


I prefer used HP business-class lasers with instant-on fusers.
http://www.wonkity.com/~wblock/docs/html/usedlasers.html

Also, see "lpd Printing With FreeBSD"
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread C. P. Ghost
On Thu, Jun 16, 2011 at 8:28 AM, Gary Kline  wrote:
>
> we had a power out here this morning and besides it costing most of
> my day, it blew out my Brother laser printer.  i just got it working
> FINALLY with our cups stuff.  don't asked me how; other than i was
> using our olden lpr/lpd and had /etc/printcap.
>
> is there a laser other than the brother {tm}?  i mean, that the
> members of this org would go for?

At home, I'm using an HP LaserJet 1320 over USB on FreeBSD
with CUPS. I understand that the networked version would be
even easier to install and use, but the 1320 was what I got, and
it's okay for light non-commercial use. Of course, with native
Postscript support (I've upgraded the RAM on the unit so that
it prints very complex graphics faster, but that's not strictly
necessary).

BTW, I fully agree with Polytropon: those old HP LaserJet 4000s
are absolutely GREAT, even if used. It's a shame that they don't
make 'em anymore: they were simply too good and didn't comply
with the current standard of crappiness, cheap plastics and badly
engineered trays etc... so obviously, they had to go. :-(

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread Svein Skogen (Listmail account)
On 16.06.2011 08:28, Gary Kline wrote:
> 
> we had a power out here this morning and besides it costing most of
> my day, it blew out my Brother laser printer.  i just got it working 
> FINALLY with our cups stuff.  don't asked me how; other than i was
> using our olden lpr/lpd and had /etc/printcap.
> 
> is there a laser other than the brother {tm}?  i mean, that the
> members of this org would go for?

I'm very happy with my Xerox Phaser 6180 (color), but I've also used the
Phaser 3250. Both handle postscript + lpr just fine (and most other
standards), and priced affordable.

//Svein
-- 
+---+---
  /"\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-16 Thread Polytropon
On Wed, 15 Jun 2011 23:28:08 -0700, Gary Kline  wrote:
> is there a laser other than the brother {tm}?  i mean, that the
> members of this org would go for?

Yes: Office printers, even used ones are fine. Pay attention
that they have:
- ethernet port
- postscript
- if not: PCL

I'm using a HP Laserjet 4000 with duplex unit myself for many
years now - HAPPILY, as I can honestly admit, and in the past,
I've been using a HP Laserjet 4 attached to the parellel port.
All those "old" printers work wonderfully using just system
tools (lpr), as they speak PS, which is the default output
format for printing from any UNIX application. If they don't
speak PS or are slow processing it, use apsfilter from ports
together with gs (Ghosescript) to make PCL from any input.
You can do funny things like add "pretty printing" to any
text input (e. g. LaTeX), or even issue "lpr picture.jpg"
from the command line. Integration of the system tools to
image processing or office software is no problem.

Don't mess with USB and inkpee, it will cost you more in the
final calculation.

I also read that some of the brother printers are quite good,
as well as Kyocera, but I don't have own experience with them,
so I traditionally suggest getting a HP printer. Office printer.
Used office printer. For cheap. Really. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


OT: printer, our cups port, and is-there-a-generic-laser?

2011-06-15 Thread Gary Kline

we had a power out here this morning and besides it costing most of
my day, it blew out my Brother laser printer.  i just got it working 
FINALLY with our cups stuff.  don't asked me how; other than i was
using our olden lpr/lpd and had /etc/printcap.

is there a laser other than the brother {tm}?  i mean, that the
members of this org would go for?

tia,

gary


PS: I THink it may be a fuse--wild guess



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.org

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


Re: Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-09 Thread Modulok
On 1/8/11, Modulok  wrote:
> List,
>
> Is there a command that lets me send standard input to two different
> places at the same time? (i.e. non-sequentially.) Think of it like a
> pipe character, but with a 'Y' branch instead. Basically, I want to
> record standard input to a log file, but also send it to another
> command for processing.
>
> For example, let's assume we have a command called 'branch' and it
> copies standard input to the standard input of all arguments. We could
> use it like this:
>
> cat foo.txt | branch '/bin/echo > log1.txt' '/bin/echo > log2.txt'
>
> The first 'cat' would read the file, pass it to our theoretical
> 'branch' command, which would then start two subprocesses, passing the
> input to both of them. The result result would be two copies of the
> file. (Obviously making copies of files is not my primary goal, just
> an example.)
>
> I guess another way of explaining it would be two write the same stdin
> to two named pipes and then have two different programs read from each
> pipe, getting the same output.
>
> I can probably write something in Python, but thought I'd ask first.
> Thanks!
> -Modulok-
>

Thanks guys! I'll look into the tee(1) command as suggested.

You guys rock :)
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread Jon Radel

On 1/8/11 10:30 PM, Modulok wrote:

List,

Is there a command that lets me send standard input to two different
places at the same time? (i.e. non-sequentially.) Think of it like a
pipe character, but with a 'Y' branch instead. Basically, I want to
record standard input to a log file, but also send it to another
command for processing.


Think T, not Y, and then type

man tee

which I suspect does exactly what you want.

--

--Jon Radel
j...@radel.com




Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread Robert Huff

Modulok writes:

>  Is there a command that lets me send standard input to two different
>  places at the same time? (i.e. non-sequentially.) Think of it like a
>  pipe character, but with a 'Y' branch instead. Basically, I want to
>  record standard input to a log file, but also send it to another
>  command for processing.

man tee?


Robert Huff

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


Re: Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread John Levine

>Is there a command that lets me send standard input to two different
>places at the same time? (i.e. non-sequentially.) Think of it like a
>pipe character, but with a 'Y' branch instead. Basically, I want to
>record standard input to a log file, but also send it to another
>command for processing.

$ man tee

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread Chris Hill

On Sat, 8 Jan 2011, Modulok wrote:


Is there a command that lets me send standard input to two different
places at the same time? (i.e. non-sequentially.) Think of it like a
pipe character, but with a 'Y' branch instead. Basically, I want to
record standard input to a log file, but also send it to another
command for processing.


tee(1)?

[snip]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Is there a 'Y' (i.e. branch) version of a command pipe?

2011-01-08 Thread Modulok
List,

Is there a command that lets me send standard input to two different
places at the same time? (i.e. non-sequentially.) Think of it like a
pipe character, but with a 'Y' branch instead. Basically, I want to
record standard input to a log file, but also send it to another
command for processing.

For example, let's assume we have a command called 'branch' and it
copies standard input to the standard input of all arguments. We could
use it like this:

cat foo.txt | branch '/bin/echo > log1.txt' '/bin/echo > log2.txt'

The first 'cat' would read the file, pass it to our theoretical
'branch' command, which would then start two subprocesses, passing the
input to both of them. The result result would be two copies of the
file. (Obviously making copies of files is not my primary goal, just
an example.)

I guess another way of explaining it would be two write the same stdin
to two named pipes and then have two different programs read from each
pipe, getting the same output.

I can probably write something in Python, but thought I'd ask first. Thanks!
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a "best" online python tutorial?

2011-01-02 Thread kline
On Sun, 2011-01-02 at 23:51 +0100, Giorgos Keramidas wrote:
> On Sun, 2 Jan 2011 13:29:44 -0800, Gary Kline  wrote:
> > Guys,
> >
> > I actaully have studied python...but only for about twenty
> > minutes); maybe a few days, actually.  What is the best online
> > tutorial to learn python?  With ink+paper book, altho in lots of
> > ways I prefer real books, they almost demand two hands.  Or
> > paper weights, in my case.
> >
> > thanks in advance for the gbest, or top two or three sites,
> > gary
> 
> Start at the online docs section of www.python.org:
> 
> http://www.python.org/doc/
> 
> The 'Additional documentation' section has a few very good guides.
> 
> Then there's always a number of books that you can read online,
> download, print and use offline too:
> 
> • How to Think Like a Computer Scientist — 
> http://openbookproject.net/thinkcs/python/english2e/
> 
>   An introductory book that teaches basic concepts of
>   programming, algorithms and Python.  Highly recommended,
>   because of its excellent writing style and the large number
>   of topics it covers (recursion, exceptions, object oriented
>   programming, data structures [lists, stacks, queues, etc.]).
> 
> • A Byte of Python — http://www.swaroopch.com/notes/Python
> 
>   An introductory book about Python, updated even to version
>   3.0 of the language.  Written by Swaroop C.H., a developer
>   in India who maintains the book for several versions of
>   Python.
> 
> • Dive Into Python — http://diveintopython.org/
> 
>   A Python book for experienced programmers.  If you already
>   know how to program in other languages and you are looking
>   for a nice guide that will teach you 'pythonic' ways of
>   writing code, this is an excellent book.
> 
> Even more guides for Python are listed at:
> 
> http://wiki.python.org/moin/BeginnersGuide/NonProgrammers
> 
> 
All of these sites look great.  I have them all either captured on my
firefox and hopefully correctly bookmarked.  Thanks very much!

gary




-- 
 Gary Kline  kl...@thought.org http://thought.org   Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 7.97a release of Jottings: http://jottings.thought.org


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


Re: is there a "best" online python tutorial?

2011-01-02 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 13:29:44 -0800, Gary Kline  wrote:
> Guys,
>
> I actaully have studied python...but only for about twenty
> minutes); maybe a few days, actually.  What is the best online
> tutorial to learn python?  With ink+paper book, altho in lots of
> ways I prefer real books, they almost demand two hands.  Or
> paper weights, in my case.
>
> thanks in advance for the gbest, or top two or three sites,
> gary

Start at the online docs section of www.python.org:

http://www.python.org/doc/

The 'Additional documentation' section has a few very good guides.

Then there's always a number of books that you can read online,
download, print and use offline too:

• How to Think Like a Computer Scientist — 
http://openbookproject.net/thinkcs/python/english2e/

  An introductory book that teaches basic concepts of
  programming, algorithms and Python.  Highly recommended,
  because of its excellent writing style and the large number
  of topics it covers (recursion, exceptions, object oriented
  programming, data structures [lists, stacks, queues, etc.]).

• A Byte of Python — http://www.swaroopch.com/notes/Python

  An introductory book about Python, updated even to version
  3.0 of the language.  Written by Swaroop C.H., a developer
  in India who maintains the book for several versions of
  Python.

• Dive Into Python — http://diveintopython.org/

  A Python book for experienced programmers.  If you already
  know how to program in other languages and you are looking
  for a nice guide that will teach you 'pythonic' ways of
  writing code, this is an excellent book.

Even more guides for Python are listed at:

http://wiki.python.org/moin/BeginnersGuide/NonProgrammers

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


is there a "best" online python tutorial?

2011-01-02 Thread Gary Kline
Guys,

I actaully have studied python...but only for about twenty
minutes); maybe a few days, actually.  What is the best online
tutorial to learn python?  With ink+paper book, altho in lots of
ways I prefer real books, they almost demand two hands.  Or
paper weights, in my case.

thanks in advance for the gbest, or top two or three sites,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.org

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


Re: is there a utillity...?

2010-11-08 Thread Duncan Young
On Wed, 3 Nov 2010 03:55:28 pm Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
> > On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > > > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent 
> > > > hours
> > > > googling around and trying things.  So far, not much.  ---It 
> > > > occured
> > > > that I _might_ be geting the full thru-put; that it is data 
> > > > that is
> > > > flowing in via the background that stalls things.  (I have just 
> > > > shut
> > > > off the automated flow.)
> > > 
> > > You can run "systat -if" to see how much bandwidth is being used by the
> > > computer.  At 1M you should see around 120KB/s downlink.
> > 
> > Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> > or histogram?
> 
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
> 
> 


Text based real time graphing: slurm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-03 Thread Gary Kline
On Wed, Nov 03, 2010 at 01:54:01AM -0500, Adam Vande More wrote:
> On Wed, Nov 3, 2010 at 1:36 AM, Bas Smeelen  wrote:
> 
> > Or in Gnome put the system monitor thing on a panel
> > I used to use vnstat for this on servers
> > Path:/usr/ports/net/vnstat
> > Info:A console-based network traffic monitor
> >
> 
> If you want to avoid proc, try
> 
> net-mgmt/iftop
> or
> net/trafshow
> 
> I prefer trafshow, but haven't tried vnstat.
> 
> -- 
> Adam Vande More


Thanks.  I'll try trafshow, but iftop is _nice_.  i never realized
how much traffic was happening.  Interesting...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 

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


Re: is there a utillity...?

2010-11-03 Thread Dan Nelson
In the last episode (Nov 03), Gary Kline said:
> On Wed, Nov 03, 2010 at 12:55:28AM -0500, Dan Nelson wrote:
> > In the last episode (Nov 02), Gary Kline said:
> > > On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > > > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > > > > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
> > > > > googling around and trying things.  So far, not much.  ---It
> > > > > occured that I _might_ be geting the full thru-put; that it is
> > > > > data that is flowing in via the background that stalls things.  (I
> > > > > have just shut off the automated flow.)
> > > > 
> > > > You can run "systat -if" to see how much bandwidth is being used by
> > > > the computer.  At 1M you should see around 120KB/s downlink.
> > > 
> > > Yes... outstanding.  Is there any sort of GUI app tat has this in a
> > > geaph or histogram?
> > 
> > Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> > activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> > gives you little network histograms for each interface, but they're
> > little :)
> 
>   I think this little gadget is neat!  Not much on the network
>   section, tho.  The Config window/dialog has a space to type in
>   a  string for "Net" ...   I have "NIC" for the "Optional label";
>   what command string should I enter below?

You don't need to fill either one in.  The optional label will show up just
above the interface name in the display, and entering a command string turns
the interface name into a button you can click to launch that command.

If you right-click on one of the charts, you can change the scale, and the
drawing style for TX/RX data.
 
>   gary
> 
>   PS:  I d/loaded a different face// ["theme"?] for this, but went
>   back to the default!
> 
>   OH: PPS: How should I activate "lo"?

Just check the "Enable lo0" checkbox in the config tab for the lo0
interface, in the Builtins->Net category.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-03 Thread Gary Kline
On Wed, Nov 03, 2010 at 07:33:08AM +0100, Bas Smeelen wrote:
> On 11/03/2010 06:55 AM, Dan Nelson wrote:
> > In the last episode (Nov 02), Gary Kline said:
> >> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> >>> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
>   The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
>   googling around and trying things.  So far, not much.  ---It occured
>   that I _might_ be geting the full thru-put; that it is data that is
>   flowing in via the background that stalls things.  (I have just shut
>   off the automated flow.)
> >>> You can run "systat -if" to see how much bandwidth is being used by the
> >>> computer.  At 1M you should see around 120KB/s downlink.
> >> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> >> or histogram?
> > Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> > activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> > gives you little network histograms for each interface, but they're little 
> > :)
> >
> You could setup mrtg and snmp to graph the network bandwidth usage and
> integrate it in your website
> 

I had mrtg going several years ago; plan to integrate this and
other things that moritor behavior in time


> 
> DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
> disclosure, copying,
> distribution or reliance on any of it by anyone else is prohibited. If you 
> have received it
> by mistake please let us know by reply and then delete it from your system.
> 
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re: is there a utillity...?

2010-11-03 Thread Gary Kline
On Wed, Nov 03, 2010 at 12:55:28AM -0500, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
> > On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > > > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent 
> > > > hours
> > > > googling around and trying things.  So far, not much.  ---It 
> > > > occured
> > > > that I _might_ be geting the full thru-put; that it is data 
> > > > that is
> > > > flowing in via the background that stalls things.  (I have just 
> > > > shut
> > > > off the automated flow.)
> > > 
> > > You can run "systat -if" to see how much bandwidth is being used by the
> > > computer.  At 1M you should see around 120KB/s downlink.
> > 
> > Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> > or histogram?
> 
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)


I think this little gadget is neat!  Not much on the network
section, tho.  The Config window/dialog has a space to type in
a  string for "Net" ...   I have "NIC" for the "Optional label";
what command string should I enter below?

gary

PS:  I d/loaded a different face// ["theme"?] for this, but went
back to the default!

OH: PPS: How should I activate "lo"?

> 
> -- 
>   Dan Nelson
>   dnel...@allantgroup.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re: is there a utillity...?

2010-11-03 Thread Gary Kline
On Wed, Nov 03, 2010 at 12:55:28AM -0500, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
> > On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > > > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent 
> > > > hours
> > > > googling around and trying things.  So far, not much.  ---It 
> > > > occured
> > > > that I _might_ be geting the full thru-put; that it is data 
> > > > that is
> > > > flowing in via the background that stalls things.  (I have just 
> > > > shut
> > > > off the automated flow.)
> > > 
> > > You can run "systat -if" to see how much bandwidth is being used by the
> > > computer.  At 1M you should see around 120KB/s downlink.
> > 
> > Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> > or histogram?
> 
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
> 

Thanks for the insights!  I'll check them out.  ("Small is
beautiful") ...  

> -- 
>   Dan Nelson
>   dnel...@allantgroup.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re: is there a utillity...?

2010-11-02 Thread Adam Vande More
On Wed, Nov 3, 2010 at 1:36 AM, Bas Smeelen  wrote:

> Or in Gnome put the system monitor thing on a panel
> I used to use vnstat for this on servers
> Path:/usr/ports/net/vnstat
> Info:A console-based network traffic monitor
>

If you want to avoid proc, try

net-mgmt/iftop
or
net/trafshow

I prefer trafshow, but haven't tried vnstat.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-02 Thread Bas Smeelen
On 11/03/2010 06:55 AM, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
>> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
>>> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.  ---It occured
that I _might_ be geting the full thru-put; that it is data that is
flowing in via the background that stalls things.  (I have just shut
off the automated flow.)
>>> You can run "systat -if" to see how much bandwidth is being used by the
>>> computer.  At 1M you should see around 120KB/s downlink.
>> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
>> or histogram?
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
Or in Gnome put the system monitor thing on a panel
I used to use vnstat for this on servers
Path:/usr/ports/net/vnstat
Info:A console-based network traffic monitor


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

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


Re: is there a utillity...?

2010-11-02 Thread Bas Smeelen
On 11/03/2010 06:55 AM, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
>> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
>>> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.  ---It occured
that I _might_ be geting the full thru-put; that it is data that is
flowing in via the background that stalls things.  (I have just shut
off the automated flow.)
>>> You can run "systat -if" to see how much bandwidth is being used by the
>>> computer.  At 1M you should see around 120KB/s downlink.
>> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
>> or histogram?
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
>
You could setup mrtg and snmp to graph the network bandwidth usage and
integrate it in your website


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

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


Re: is there a utillity...?

2010-11-02 Thread Dan Nelson
In the last episode (Nov 02), Gary Kline said:
> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > >   The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
> > >   googling around and trying things.  So far, not much.  ---It occured
> > >   that I _might_ be geting the full thru-put; that it is data that is
> > >   flowing in via the background that stalls things.  (I have just shut
> > >   off the automated flow.)
> > 
> > You can run "systat -if" to see how much bandwidth is being used by the
> > computer.  At 1M you should see around 120KB/s downlink.
> 
> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> or histogram?

Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
gives you little network histograms for each interface, but they're little :)

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-02 Thread Gary Kline
On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
> > googling around and trying things.  So far, not much.   ---It
> > occured that I _might_ be geting the full thru-put; that it is
> > data that is flowing in  via the background that stalls things.
> > (I have just shut off the automated flow.)
> 
> You can run "systat -if" to see how much bandwidth is being used by the 
> computer.  At 1M you should see around 120KB/s downlink.


Yes... outstanding.  Is there any sort of GUI app tat has this
in a geaph or histogram?

:-)

gary


> 
> -- 
> Bruce Cran
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re: is there a utillity...?

2010-11-02 Thread Bruce Cran
On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
>   The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
>   googling around and trying things.  So far, not much.   ---It
>   occured that I _might_ be geting the full thru-put; that it is
>   data that is flowing in  via the background that stalls things.
>   (I have just shut off the automated flow.)

You can run "systat -if" to see how much bandwidth is being used by the 
computer.  At 1M you should see around 120KB/s downlink.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-02 Thread Gary Kline
On Tue, Nov 02, 2010 at 08:50:03AM +, RW wrote:
> On Mon, 1 Nov 2010 20:42:06 -0700
> Gary Kline  wrote:
> 
> > People, is there a utility to give me the rate of bps that I am
> > _supposed_ to be getting from my telco DSL?
> 
> If your modem or router has some means of configuring it, typically via
> a browser, you can get usually get that information there. 


The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.   ---It
occured that I _might_ be geting the full thru-put; that it is
data that is flowing in  via the background that stalls things.
(I have just shut off the automated flow.)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re: is there a utillity...?

2010-11-02 Thread Bruce Cran
On Tuesday 02 November 2010 03:42:06 Gary Kline wrote:
> People, is there a utility to give me the rate of bps that I am
> _supposed_ to be getting from my telco DSL?

You can normally find out what rate the modem has synced to your ISP at - that 
should tell you the theoretical maximum raw throughput. It's normally obtained 
via a web browser but some modems can also be configured to provide it over 
SNMP.  

By the way your subject lines could be improved - they don't tend to be very 
descriptive :)

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-02 Thread RW
On Mon, 1 Nov 2010 20:42:06 -0700
Gary Kline  wrote:

> People, is there a utility to give me the rate of bps that I am
> _supposed_ to be getting from my telco DSL?

If your modem or router has some means of configuring it, typically via
a browser, you can get usually get that information there. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-01 Thread justin v
On Mon, 01 Nov 2010 20:48:01 -0700, Antonio Olivares  
 wrote:



On Mon, Nov 1, 2010 at 10:42 PM, Gary Kline  wrote:

People, is there a utility to give me the rate of bps that I am
_supposed_ to be getting from my telco DSL?

tia,

gary

--
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service  
Unix

   The 7.90a release of Jottings: http://jottings.thought.org/index.php
   An Open Letter to Stephen Hawking  
http://www.thought.org/#oL


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




Try iperf?

http://www.freebsdsoftware.org/benchmarks/iperf.html

Used it to test speed on modem connection.

Hope this helps.

Regards,

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





--
Using Opera's revolutionary email client: http://www.opera.com/mail/






Dont you need a Client when using IPERF??

If you want to see your current in/out in realtime try:

netstat -I  -w 1

To see my throughput I do:

netstat -I wlan0 -w 1

Hope this helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is there a utillity...?

2010-11-01 Thread Ryan Coleman
Gary,

Keep in mind that their rate and your rate WILL be different. At least a 10% 
difference, due to TCP overhead. So make sure you test on already compressed 
data (like an MP3 stream). The more compressed the data the less likely it will 
go through protocol compression en route.

--
Ryan
On Nov 1, 2010, at 10:48 PM, Antonio Olivares wrote:

> On Mon, Nov 1, 2010 at 10:42 PM, Gary Kline  wrote:
>> People, is there a utility to give me the rate of bps that I am
>> _supposed_ to be getting from my telco DSL?
>> 
>> tia,
>> 
>> gary
>> 
>> --
>>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
>>The 7.90a release of Jottings: http://jottings.thought.org/index.php
>>An Open Letter to Stephen Hawking http://www.thought.org/#oL
>> 
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>> 
> 
> Try iperf?
> 
> http://www.freebsdsoftware.org/benchmarks/iperf.html
> 
> Used it to test speed on modem connection.
> 
> Hope this helps.
> 
> Regards,
> 
> Antonio
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


Re: is there a utillity...?

2010-11-01 Thread Antonio Olivares
On Mon, Nov 1, 2010 at 10:42 PM, Gary Kline  wrote:
> People, is there a utility to give me the rate of bps that I am
> _supposed_ to be getting from my telco DSL?
>
> tia,
>
> gary
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
>    The 7.90a release of Jottings: http://jottings.thought.org/index.php
>                An Open Letter to Stephen Hawking http://www.thought.org/#oL
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

Try iperf?

http://www.freebsdsoftware.org/benchmarks/iperf.html

Used it to test speed on modem connection.

Hope this helps.

Regards,

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


is there a utillity...?

2010-11-01 Thread Gary Kline
People, is there a utility to give me the rate of bps that I am
_supposed_ to be getting from my telco DSL?

tia,

gary

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Is there a way I can rotate Logitech 960-000111 Quickcam Orbit AF USB Webcam in FreeBSD?

2010-10-08 Thread Yuri

This webcam otherwise works. But it is capable to rotate in two dimensions.
I found two projects dov4l and setpwc related to this, but they seem to 
be outdated.


Any way I can rotate this cam?

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


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Iñigo Ortiz de Urbina
Its not clear if you require real time stats or not so, I would like
to jump in and join the discussion by suggesting to capture the bulk
traffic, then filtering and dumping to another capture. Then use
wireshark/tshark's built-in stats to get the throughput.

Anyway, I would go down the pf+labels+pfctl+pftop road for pseudo-RT

On 8/17/10, Yuri  wrote:
> For example skype, or web browser?
> I know SysGuard in kde4 shows network traffic per interface at
> particular time. But I am interested in per-application stats.
>
> Yuri
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Mike Tancsa

At 02:37 PM 8/17/2010, Yuri wrote:

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.


There are a number of tools. Something like ntop presents a nice 
graphical interface and a graphical report. For a CLI type tool, 
Argus is very nice
http://nsmwiki.org/index.php?title=Argus 



---Mike


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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


Re: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Joshua Isom
If you're wanting something quick and simple to monitor, `systat 
-netstat` would probably be best.  It lists by address and port, but if 
you run sockstat you get a list of which programs hold which sockets.


On 8/17/2010 1:45 PM, Gary Gatten wrote:

nTop plus 100 others I'm sure.  I'm sure even with pf, ipfw, iptables, et al: there's a 
way to permit "everything" but do accounting.  I use ntop daily, but I'm just a 
novice at others so am just assuming there.

What type of data you want/need vs. how big of footprint/resource requirements 
will drive your decision.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Yuri
Sent: Tuesday, August 17, 2010 1:38 PM
To: freebsd-questions@freebsd.org
Subject: Is there a way to measure how much network traffic particular app 
generates?

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at
particular time. But I am interested in per-application stats.

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

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


RE: Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Gary Gatten
nTop plus 100 others I'm sure.  I'm sure even with pf, ipfw, iptables, et al: 
there's a way to permit "everything" but do accounting.  I use ntop daily, but 
I'm just a novice at others so am just assuming there.

What type of data you want/need vs. how big of footprint/resource requirements 
will drive your decision.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Yuri
Sent: Tuesday, August 17, 2010 1:38 PM
To: freebsd-questions@freebsd.org
Subject: Is there a way to measure how much network traffic particular app 
generates?

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.

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








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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


Is there a way to measure how much network traffic particular app generates?

2010-08-17 Thread Yuri

For example skype, or web browser?
I know SysGuard in kde4 shows network traffic per interface at 
particular time. But I am interested in per-application stats.


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


Re: Is there a way to rebuild 32-bit libraries under amd64?

2010-08-12 Thread b. f.
>I have 8.0-STABLE amd64 machine, and I need to run some 32-bit FreeBSD
>process which runs fine on 8.0-STABLE i386.
>
>So I copied all shared libs needed by it from i386 into there respective
>locations on amd64, but under lib32/ folder.
> libexecinfo.so.1 => /usr/local/lib32/libexecinfo.so.1 (0x289ca000)
> libffi.so.5 => /usr/local/lib32/libffi.so.5 (0x289d5000)
> libstdc++.so.6 => /usr/local/lib32/libstdc++.so.6 (0x289da000)
> libm.so.5 => /usr/lib32/libm.so.5 (0x28ac4000)
> libgcc_s.so.1 => /usr/local/gcc/4.5.0-32bit/lib/libgcc_s.so.1
>(0x28add000)
> libthr.so.3 => /usr/lib32/libthr.so.3 (0x28ae9000)
> libc.so.7 => /usr/lib32/libc.so.7 (0x28afe000)
>
>But the process crashes. After debugging I found that regexec returns
>result different from what it returns on i386 with the same input.
>
>So my question is: is there a way to rebuild for example
>/usr/lib32/libc.so.7 and /usr/lib32/libthr.so.3 on amd64? Or what may
>cause such incompatibility?

Did you install the 32-bit compatibility libraries and utilities on
amd64, by selecting the lib32 option with sysinstall(8), or by running
../lib32/install.sh from the FreeBSD media, or by rebuilding and
reinstalling world without a WITHOUT_LIB32 defined in src.conf(5) or
make.conf(5)?  Then did you make sure that rtld(1) has the proper
hints to find any needed 32-bit libraries that are not in the lib32
part of the base system, by defining the right values for
ldconfig32_paths and/or ldconfig_local32_dirs in rc.conf(5)?

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


Is there a way to rebuild 32-bit libraries under amd64?

2010-08-12 Thread Yuri
I have 8.0-STABLE amd64 machine, and I need to run some 32-bit FreeBSD 
process which runs fine on 8.0-STABLE i386.


So I copied all shared libs needed by it from i386 into there respective 
locations on amd64, but under lib32/ folder.

libexecinfo.so.1 => /usr/local/lib32/libexecinfo.so.1 (0x289ca000)
libffi.so.5 => /usr/local/lib32/libffi.so.5 (0x289d5000)
libstdc++.so.6 => /usr/local/lib32/libstdc++.so.6 (0x289da000)
libm.so.5 => /usr/lib32/libm.so.5 (0x28ac4000)
libgcc_s.so.1 => /usr/local/gcc/4.5.0-32bit/lib/libgcc_s.so.1 
(0x28add000)

libthr.so.3 => /usr/lib32/libthr.so.3 (0x28ae9000)
libc.so.7 => /usr/lib32/libc.so.7 (0x28afe000)

But the process crashes. After debugging I found that regexec returns 
result different from what it returns on i386 with the same input.


So my question is: is there a way to rebuild for example 
/usr/lib32/libc.so.7 and /usr/lib32/libthr.so.3 on amd64? Or what may 
cause such incompatibility?


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


  1   2   3   4   5   >