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 00:0e:0c:5c:32:29 92M 129M > em19000 10.41.170/24 ufo20

Re: netstat -i

2012-12-06 Thread Olivier Nicole
Matthew, > > NameMtu Network Address Ipkts Opkts > > em19000 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 li

Re: Somewhat OT: Is Full Command Logging Possible?

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

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Fleuriot Damien
On Dec 6, 2012, at 1:35 AM, Kurt Buff wrote: > On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk wrote: >> On 12/05/2012 05:44 PM, Kurt Buff wrote: >>> >>> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >>> wrote: I am working with an institution that today provides limited privilege

Re: netstat -i

2012-12-06 Thread Matthew Seaman
On 06/12/2012 09:12, Olivier Nicole wrote: > There is only one layer 3 network on that physical infrastructure (at > least in that VLAN). And there are only 8 machines in that VLAN, no > routing, as the VLAN is primarily designed for NFS. > > I did not sjow the most disturbing figure where at outp

Organic SEO for Freebsd.org

2012-12-06 Thread Sophi Nelson
Freebsd.orgstyle="color:rgb(0,0,255)"> face="Verdana, sans-serif">Team, I thought you might like to know some of the reasons why you are not getting enough Social Media and Organic search engine traffic for Freebsd.org 1.Your website Freebsd.org is not ranking top in Google organic search for

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 ask

Re: netstat -i

2012-12-06 Thread Ilya Kazakevich
Hello Oliver, > > NameMtu Network Address Ipkts Opkts > > > em19000 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 o

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 u

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 ex

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: flags=8051 metric 0 mtu 1492 >

Re: PPPoE

2012-12-06 Thread Mike Tancsa
On 12/6/2012 10:13 AM, Ralf Mardorf wrote: > Hi, > > how do I have to set up PPPoE? > This doesn't work: [1] > [rocketmouse@freebsd] /usr/home/rocketmouse# ifconfig > re0: flags=8843 metric 0 mtu 1500 > > options=389b > ether 00:1e:8c:80:2a:eb > inet6 fe80::21e:8cff:fe80:2

Re: PPPoE

2012-12-06 Thread Ralf Mardorf
On Fri, 2012-12-07 at 02:17 +1100, andrew clarke wrote: > 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

Re: PPPoE

2012-12-06 Thread Ralf Mardorf
On Thu, 2012-12-06 at 10:20 -0500, Mike Tancsa wrote: > you do have an IP from your provider. No. > Is it your default route not getting installed ? What is the default route? By Ethernet I want to connect to an ADSL modem. > Are you expecting nat to be working ? No. > After you are connecte

Re: Login class and limit

2012-12-06 Thread Charles Swiger
Hi-- On Dec 6, 2012, at 6:32 AM, Vagner 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. ___ freebsd-qu

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: $(w

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 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 auditd to record

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 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 yo

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 Date: Thu, Dec 6, 2012 at 11:53 AM Subject: Re: Somewhat OT: Is Full Command Logging Possible? To: Fleuriot Damien On Thu, Dec 6, 2012 at 1:26 AM, Fleuriot Damien wrote: > > On Dec 6, 2012, at 1:35 A

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 carmel..

Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-06 Thread Steve O'Hara-Smith
On Thu, 06 Dec 2012 13:19:00 -0600 Tim Daneliuk wrote: > On 12/06/2012 12:55 PM, n j wrote: > > On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk > > wrote: > >> ... > >> Well ... does auditd provide a record of every command issued within a > >> script? > >> I was under the impression (and I may we

Re: SMS application

2012-12-06 Thread Waitman Gobble
On Thu, Dec 6, 2012 at 11:59 AM, Carmel wrote: > 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 eithe

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 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 they have to adhere to

Re: grep -Dskip doesn't skip FIFOs

2012-12-06 Thread Marco Steinbach
David Xu wrote on 06.12.2012 04:28: On 2012/12/06 07:07, Marco Steinbach wrote: Hi there, grep(1) does not seem to skip FIFOs when told to. 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 FIFO, then blocked. http://people.freebsd.

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. 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 FIFO,

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 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 > + CL

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 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 system either, although I might have misse

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 > > + > > LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr

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 da

Re: Login class and limit

2012-12-06 Thread Lowell Gilbert
Vagner 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 assoc

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 li

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 b

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 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 identifier

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. T

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

2012-12-06 Thread Ronald F. Guilmette
In message <50c1313c.4000...@gmx.com>, Nikos Vassiliadis wrote: >I think fdisk should need a valid partition table, or not? Apparently, yes. >diskinfo works nice with all disk-like devices be it a physical disk, >a slice, a partition, a swap-backed device etc. Its output is easily >parsable u

Re: netstat -i

2012-12-06 Thread Olivier Nicole
Thank you Matthew and Ilya, >> There is only one layer 3 network on that physical infrastructure (at >> least in that VLAN). And there are only 8 machines in that VLAN, no >> routing, as the VLAN is primarily designed for NFS. >> >> I did not sjow the most disturbing figure where at output bytes i

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

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

2012-12-06 Thread James
And because I think geom(8) and awk(1) are awesome... geom disk list | awk ' BEGIN { FS=": *" } $1 == "Geom name" { device=$2 } $1 ~ "^ +Mediasize$" { match($2, /\([^)]+\)/) size=substr($2, RSTART+1, RLENGTH-2) } $1 ~ "^ +descr$" { if ($2 == "(null)") { desc