Re: netstat -i

2012-12-06 Thread Matthew Seaman
On 06/12/2012 05:51, Olivier Nicole wrote: I used netstat -i for the first time and I saw something I cannot understand: # netstat -ibh -I em1 NameMtu Network Address Ipkts Opkts em19000 Link#2 00:0e:0c:5c:32:29 92M 129M em19000 10.41.170/24

Re: netstat -i

2012-12-06 Thread Olivier Nicole
Matthew, NameMtu Network Address Ipkts Opkts em19000 Link#2 00:0e:0c:5c:32:29 92M 129M em19000 10.41.170/24 ufo2000 924K 926K I understand that the line reporting MAc address means the traffic seen at layer2, while the line

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Fleuriot Damien
On Dec 6, 2012, at 12:47 AM, Tim Daneliuk tun...@tundraware.com wrote: On 12/05/2012 05:42 PM, Damien Fleuriot wrote: On 6 Dec 2012, at 00:19, Tim Daneliuk tun...@tundraware.com wrote: sudo chown root:wheel my_naughty_script sudo chmod 700 my_naughty script sudo

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Fleuriot Damien
On Dec 6, 2012, at 1:35 AM, Kurt Buff kurt.b...@gmail.com wrote: On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk tun...@tundraware.com wrote: On 12/05/2012 05:44 PM, Kurt Buff wrote: On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk tun...@tundraware.com wrote: I am working with an institution

Re: ipfwNG project?

2012-12-06 Thread Nikos Vassiliadis
On 12/4/2012 4:24 PM, Rick Miller wrote: I came across the wiki doc for ipfwNG (http://wiki.freebsd.org/IpfwNg) and wondered if any of the concepts of this project are currently being developed for FreeBSD and when we might start seeing those concepts included in releng/ code. Hi, I would

Re: netstat -i

2012-12-06 Thread Ilya Kazakevich
Hello Oliver, NameMtu Network Address Ipkts Opkts em19000 Link#2 00:0e:0c:5c:32:29 92M 129M em19000 10.41.170/24 ufo2000 924K 926K Use tcpdump to find out what traffic do you have there. There are a lot of protocols that work on

Login class and limit

2012-12-06 Thread Vagner
Hi all! I need help configuring limits for users at FreeBSD 8.3. I set next options and parametrs at login.conf(5): mydaemon:\ :cputime=5s:\ :memoryuse=500m:\ :vmemoryuse=500m:\ :tc=default: changed class for user, running cap_mkdb(1). But if i running process a user

Resizing HAST volumes

2012-12-06 Thread Scott Hilleard
Hi, I was looking at setting up a HAST volume that gets exported by iSCSI. the HAST volume was going to sit on top of a ZFS managed zpool. I know that using ZFS I can grow the size of a volume by adding more vdevs and then any ZFS or UFS filesystem on top of that can expanded to accommodate the

PPPoE

2012-12-06 Thread Ralf Mardorf
Hi, how do I have to set up PPPoE? This doesn't work: [1] Regards, Ralf [1] [rocketmouse@freebsd] /usr/home/rocketmouse# ppp -ddial alice Working in ddial mode Using interface: tun0 [rocketmouse@freebsd] /usr/home/rocketmouse# cat /etc/ppp/ppp.conf

Re: PPPoE

2012-12-06 Thread andrew clarke
On Thu 2012-12-06 16:13:40 UTC+0100, Ralf Mardorf (ralf.mard...@rocketmail.com) wrote: how do I have to set up PPPoE? This doesn't work: [1] In what way does it not work? In your example, at the very least you should be able to ping 213.191.89.25: tun0:

Re: Login class and limit

2012-12-06 Thread Charles Swiger
Hi-- On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote: Hi all! I need help configuring limits for users at FreeBSD 8.3. I set next options and parametrs at login.conf(5): [ … ] # sudo -u daemon limits Resource limits (current): cputime infinity secs but: # su

Re: PPPoE

2012-12-06 Thread RW
On Thu, 06 Dec 2012 16:13:40 +0100 Ralf Mardorf wrote: ##enable dns # request DNS info (for resolv.conf) You probably need this if you haven't set resolv.conf manually set dial set login I don't think you need these. ___

kdialog error message

2012-12-06 Thread Jerry
FreeBSD 8.3-STABLE kde Platform Version 4.8.4 (4.8.4) I am attempting to create a custom action in claws-mail. The action command line reads: | kdialog --msgbox Characters: $(wc -c) This works fine except it also issues an error message: --- Ended: kdialog --msgbox Characters: $(wc

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread n j
On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk tun...@tundraware.com wrote: ... Well ... does auditd provide a record of every command issued within a script? I was under the impression (and I may well be wrong) that it noted only the name of the script being executed. Even if you configured

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Tim Daneliuk
On 12/06/2012 12:55 PM, n j wrote: On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk tun...@tundraware.com wrote: ... Well ... does auditd provide a record of every command issued within a script? I was under the impression (and I may well be wrong) that it noted only the name of the script being

Fwd: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Kurt Buff
Sorry, forgot to replay all... Kurt -- Forwarded message -- From: Kurt Buff kurt.b...@gmail.com Date: Thu, Dec 6, 2012 at 11:53 AM Subject: Re: Somewhat OT: Is Full Command Logging Possible? To: Fleuriot Damien m...@my.gd On Thu, Dec 6, 2012 at 1:26 AM, Fleuriot Damien

SMS application

2012-12-06 Thread Carmel
Can anyone recommend a good SMS application that works on FreeBSD? I have used several different ones on MS Windows; however, I cannot find one that works on FreeBSD. There doesn't appear to be a fully functional one in the ports system either, although I might have missed it. -- Carmel

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Paul Schmehl
--On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk tun...@tundraware.com wrote: I understand this. Even the organization in question understands this. They are not trying to *prevent* any kind of access. All they're trying to do *log* it. Why? To meet some obscure compliance requirement

Re: grep -Dskip doesn't skip FIFOs

2012-12-06 Thread Marco Steinbach
David Xu wrote on 06.12.2012 04:46: On 2012/12/06 11:28, David Xu wrote: On 2012/12/06 07:07, Marco Steinbach wrote: Hi there, grep(1) does not seem to skip FIFOs when told to. snip I think you need a patch to fix it, the bug is in ggrep, it tries to open a FIFO before checking if it is a

Re: Login class and limit

2012-12-06 Thread Vagner
On 06:53 Thu 06 Dec , Charles Swiger wrote: Hi-- On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote: Hi all! I need help configuring limits for users at FreeBSD 8.3. I set next options and parametrs at login.conf(5): [ ? ] # sudo -u daemon limits Resource limits (current):

Re: what replaces javaws? using icedtea-web and openjdk6.

2012-12-06 Thread Antonio Olivares
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603 I apply the suggested fix: $ sh -x `which itweb-javaws` jviewer.jnlp + JAVA=/usr/local/openjdk6/jre/bin/java + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar + LAUNCHER_FLAGS=-Xms8m +

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Devin Teske
On Dec 5, 2012, at 3:19 PM, Tim Daneliuk wrote: This is a little bit outside the strict boundaries of a FreeBSD question, but I am hoping someone in this community has solved this problem and that I might be able to adapt it for non-FreeBSD systems (AIX and Linux, specifically). I am

Re: SMS application

2012-12-06 Thread John Levine
In article blu0-smtp19ad48d80755ecda768cb193...@phx.gbl you write: Can anyone recommend a good SMS application that works on FreeBSD? I have used several different ones on MS Windows; however, I cannot find one that works on FreeBSD. There doesn't appear to be a fully functional one in the ports

Re: what replaces javaws? using icedtea-web and openjdk6.

2012-12-06 Thread Dan Nelson
In the last episode (Dec 06), Antonio Olivares said: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603 I apply the suggested fix: $ sh -x `which itweb-javaws` jviewer.jnlp + JAVA=/usr/local/openjdk6/jre/bin/java +

Re: Login class and limit

2012-12-06 Thread Chuck Swiger
On Dec 6, 2012, at 12:36 PM, Vagner wrote: [ ... ] Either use one of the su/sudo flavors I mention above, or /bin/sh -l to provide a login env to the process? ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible? Sure, it's possible: run the daemon

Re: Login class and limit

2012-12-06 Thread Lowell Gilbert
Vagner vag...@bsdway.ru writes: On 06:53 Thu 06 Dec , Charles Swiger wrote: su -, su -l, and sudo -i provide a login shell, which gets the limits setup by login.conf. Normally daemons are started at boot via rc mechanism (or perhaps get spawned from inetd) and do not have a login shell

List all hard drives on system (with capacities)... How?

2012-12-06 Thread Ronald F. Guilmette
I'd like to write a small program or shell script that simply lists all of the physical hard drives attached to the local system, along with their product identifiers and their respective capacities. The following simple script works well for both PATA/SATA and USB hard drives, but it does not

Re: List all hard drives on system (with capacities)... How?

2012-12-06 Thread Tim Daneliuk
On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: I'd like to write a small program or shell script that simply lists all of the physical hard drives attached to the local system, along with their product identifiers and their respective capacities. The following simple script works well for

Re: List all hard drives on system (with capacities)... How?

2012-12-06 Thread Ronald F. Guilmette
In message 50c12b6c.5020...@tundraware.com, Tim Daneliuk tun...@tundraware.com wrote: On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: I'd like to write a small program or shell script that simply lists all of the physical hard drives attached to the local system, along with their product

Re: List all hard drives on system (with capacities)... How?

2012-12-06 Thread Nikos Vassiliadis
On 12/7/2012 1:34 AM, Tim Daneliuk wrote: On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: I'd like to write a small program or shell script that simply lists all of the physical hard drives attached to the local system, along with their product identifiers and their respective capacities.

Re: List all hard drives on system (with capacities)... How?

2012-12-06 Thread Chad Perrin
On Thu, Dec 06, 2012 at 04:23:54PM -0800, Ronald F. Guilmette wrote: if ($bytes = (1024 * 1024 * 1024 * 1024)) { You know about the exponentiation operator in Perl -- right? if ($bytes = (1024 ** 4)) { I don't think typing 1024 four times with * between each pair is really a helpful