Re: [maybe spam] Re: linux PF_PACKET compatibility

2011-02-12 Thread Gary Jennejohn
On Fri, 11 Feb 2011 17:19:17 -0800 Julian Elischer jul...@freebsd.org wrote: On 2/11/11 4:03 PM, Da Rock wrote: Unfortunately this software uses this family instead of pcap or bpf. So when built it errors. I guess if I am to use this app I will have to rewrite the way it uses the

SO_SETFIB socket option

2011-02-12 Thread Naveen Gujje
Hi All, On my FreeBSD 7.2 box, I've two routing tables (FIBs). Fib 0 and Fib 1 (net.fibs = 2). I have a simple echo client which is the counterpart of an echo server running somewhere. If I run this echo client against fib 0 as 'setfib 0 ./echo-client', it properly uses Fib 0. But, if I run this

Re: [maybe spam] Re: linux PF_PACKET compatibility

2011-02-12 Thread Da Rock
On 02/12/11 19:39, Gary Jennejohn wrote: On Fri, 11 Feb 2011 17:19:17 -0800 Julian Elischerjul...@freebsd.org wrote: On 2/11/11 4:03 PM, Da Rock wrote: Unfortunately this software uses this family instead of pcap or bpf. So when built it errors. I guess if I am to use this app I

Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-02-12 Thread Matthew Seaman
On 11/02/2011 18:08, Devin Teske wrote: $ time blen2netmask 26 255.255.255.192 real0m0.004s user0m0.001s sys 0m0.004s That's pretty fast, I'd say ^_^ (faster than the other implementations -- especially considering that it doesn't have to fork anything). There are only 33

Re: SO_SETFIB socket option

2011-02-12 Thread Daniel Eischen
On Sat, 12 Feb 2011, Naveen Gujje wrote: Hi All, On my FreeBSD 7.2 box, I've two routing tables (FIBs). Fib 0 and Fib 1 (net.fibs = 2). I have a simple echo client which is the counterpart of an echo server running somewhere. If I run this echo client against fib 0 as 'setfib 0

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Julian H. Stacey
Bruce Cran wrote: On Sat, 12 Feb 2011 01:54:58 +0100 Julian H. Stacey j...@berklix.com wrote: -O filesystem-type Use 1 to specify that a UFS1 format file system be built; use 2 to specify that a UFS2 format file system be built. The default format is UFS2. If anyone

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Bruce Cran
On Sat, 12 Feb 2011 17:56:08 +0100 Julian H. Stacey j...@berklix.com wrote: It's not so obvious but in man mdconfig, there's no [] around -t type, I read that as -t something is mandatory, (though it starts without for you ... I suspect -t default is malloc, though manual doesnt say that,

Re: CFR: FEATURE macros for AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/PMC/SYSV/...

2011-02-12 Thread Alexander Leidinger
On Sat, 12 Feb 2011 00:52:48 + (GMT) Robert Watson rwat...@freebsd.org wrote: The one comment I'd make is that the MAC case should indicate that The MAC Framework is supported, rather than mandatory access controls being present -- the presence of the framework doesn't imply the presence

Re: CFR: FEATURE macros for AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/PMC/SYSV/...

2011-02-12 Thread Alexander Leidinger
On Fri, 11 Feb 2011 19:38:06 +0300 Anonymous swel...@gmail.com wrote: Alexander Leidinger alexan...@leidinger.net writes: Hi, during the last GSoC various FEATURE macros where added to the system. Before committing them, I would like to get some review (like if macro is in the

Re: CFR: FEATURE macros for AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/PMC/SYSV/...

2011-02-12 Thread Robert Watson
On Sat, 12 Feb 2011, Alexander Leidinger wrote: On Sat, 12 Feb 2011 00:52:48 + (GMT) Robert Watson rwat...@freebsd.org wrote: The one comment I'd make is that the MAC case should indicate that The MAC Framework is supported, rather than mandatory access controls being present -- the

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Tim Kientzle
On Feb 11, 2011, at 11:09 AM, Julian H. Stacey wrote: memstick.img wastes 7% with 2K blocks of nulls. shown by: 8f -b 0 -n 2048 -l -f Fr* http://berklix.com/~jhs/src/bsd/jhs/bin/public/8f/ 8f.c 8f.1 ... The CD DVD images are not nearly so wasteful, see above. As near

Re: [maybe spam] Re: linux PF_PACKET compatibility

2011-02-12 Thread Vlad Galu
On Sat, Feb 12, 2011 at 12:28 PM, Da Rock freebsd-hack...@herveybayaustralia.com.au wrote: On 02/12/11 19:39, Gary Jennejohn wrote: On Fri, 11 Feb 2011 17:19:17 -0800 Julian Elischerjul...@freebsd.org wrote: On 2/11/11 4:03 PM, Da Rock wrote: Unfortunately this software uses this

Re: SO_SETFIB socket option

2011-02-12 Thread Julian Elischer
On 2/12/11 8:40 AM, Daniel Eischen wrote: On Sat, 12 Feb 2011, Naveen Gujje wrote: Hi All, On my FreeBSD 7.2 box, I've two routing tables (FIBs). Fib 0 and Fib 1 (net.fibs = 2). I have a simple echo client which is the counterpart of an echo server running somewhere. If I run this echo

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Warren Block
On Sat, 12 Feb 2011, Tim Kientzle wrote: Alternatively, of course, is there any way to use isofs instead of ufs for memstick.img? Devin Teske's DruidBSD (http://druidbsd.sourceforge.net/) uses the same image for CD, hard disk, or memstick. I don't know the technical details. (VirtualBox

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Daniel O'Connor
On 13/02/2011, at 8:45, Warren Block wrote: On Sat, 12 Feb 2011, Tim Kientzle wrote: Alternatively, of course, is there any way to use isofs instead of ufs for memstick.img? Devin Teske's DruidBSD (http://druidbsd.sourceforge.net/) uses the same image for CD, hard disk, or memstick. I

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread dieterbsd
Tim Kientzle wrote: The current UFS code is designed to leave enough slack space to support future file writes. What if you turned the knob all the way down and had just one cylinder group? I assume that newfs would need to be fixed to allow this, but would anything break? The current limits

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread perryh
Tim Kientzle t...@kientzle.com wrote: The strategy used by libarchive's recent ISO writer is to concatenate the file bodies into a temp file (with minimal padding between entries to meet alignment requirements) while storing directory information in memory. The final output then consists of

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Julian Elischer
On 2/12/11 7:45 PM, per...@pluto.rain.com wrote: Tim Kientzlet...@kientzle.com wrote: The strategy used by libarchive's recent ISO writer is to concatenate the file bodies into a temp file (with minimal padding between entries to meet alignment requirements) while storing directory

Re: [maybe spam] Re: linux PF_PACKET compatibility

2011-02-12 Thread Da Rock
On 02/13/11 06:15, Vlad Galu wrote: On Sat, Feb 12, 2011 at 12:28 PM, Da Rock freebsd-hack...@herveybayaustralia.com.au mailto:freebsd-hack...@herveybayaustralia.com.au wrote: On 02/12/11 19:39, Gary Jennejohn wrote: On Fri, 11 Feb 2011 17:19:17 -0800 Julian