Re: Help with some makefile hackery

2010-06-28 Thread Brian Somers
-tools rm -f src-kernel-done { cd src; ./amd64-kernel.sh 21 touch src-kernel-done; } | tee build_amd64_kernel.log rm src-kernel-done You really want to catch all failures, including tee failures. -- Brian Somers br...@awfulhak.org

Re: NFSD lockup running ESXi 4

2010-06-09 Thread Brian Somers
. FreeBSD-9 kernels prior to around June 6 were freezing on me. It may have been because of the nfsd activity, but I didn't investigate the freeze... Perhaps looking for changes that might might affect nfsd stability in the week prior to June 6 might discover a fix? -- Brian Somers

Re: head behaviour

2010-06-07 Thread Brian Somers
$IFS $ ps | (IFS= read a; echo $a; grep zsh) works a lot better. -- Brian Somers br...@awfulhak.org Don't _EVER_ lose your sense of humour !br...@freebsd.org ___ freebsd-hackers@freebsd.org mailing

Re: Deprecating ps(1)s -w switch

2009-08-27 Thread Brian Somers
On Tue, 25 Aug 2009 03:40:54 -0700 Brian Somers br...@freebsd.org wrote: I recently closed bin/137647 and had second thoughts after Ivan (the originator) challenged my reason for closing it. The suggestion is that ps's -w switch is a strange artifact that can be safely deprecated. ps goes

Deprecating ps(1)s -w switch

2009-08-25 Thread Brian Somers
that it will be removed in a future release. Does anyone have any objections to doing this? I don't propose merging this back into stable/8. -- Brian Somers br...@awfulhak.org Don't _EVER_ lose your sense of humour ! br...@freebsd.org signature.asc

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-22 Thread Brian Somers
On Fri, 21 Aug 2009 22:41:34 -0700 Brian Somers br...@awfulhak.org wrote: On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers br...@freebsd.org wrote: On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy km...@freebsd.org wrote: Try this: Index: sys/net/flowtable.c

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-22 Thread Brian Somers
On Fri, 21 Aug 2009 23:23:13 -0700 Brian Somers br...@freebsd.org wrote: On Fri, 21 Aug 2009 22:41:34 -0700 Brian Somers br...@awfulhak.org wrote: On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers br...@freebsd.org wrote: On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy km...@freebsd.org wrote

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-22 Thread Brian Somers
On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers br...@freebsd.org wrote: On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy km...@freebsd.org wrote: Try this: Index: sys/net/flowtable.c === --- sys/net/flowtable.c (revision

kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-21 Thread Brian Somers
for the first outbound packet. I haven't been able to do much investigation yet due to other patches in my tree that seem to have broken all my kernel symbols, but once I get a clean rebuild I should be back in business. If anyone has any suggestions, I'm all ears! Cheers. -- Brian Somers

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-21 Thread Brian Somers
. If anyone has any suggestions, I'm all ears! Cheers. -- Brian Somers br...@awfulhak.org Don't _EVER_ lose your sense of humour ! br...@freebsd.org ___ freebsd-hackers@freebsd.org mailing list http

Re: How to signal a time zone change?

2009-08-10 Thread Brian Somers
to ensure that you're reading /etc/localtime, this bit of hackery works too: putenv(TZ=/dev/null); tzset(); unsetenv(TZ); tzset(); If you raise a PR and let me know the number, I'd be happy to fix this. -- Brian Somers

Re: can we afford an extra column in iostat?

2009-07-14 Thread Brian Somers
| ^C The patch that changes this is quite small: This should be fixed. Ironically, the only people that usually have problems with fixes like this are people that have seen the fields merge and have adjusted some script to understand column widths! -- Brian Somers

make {,re}installkernel{,.debug}

2009-07-09 Thread Brian Somers
manlint \ -obj objlink realinstall regress tags \ +obj objlink realinstall install.debug regress tags \ ${SUBDIR_TARGETS} ${__target}: _SUBDIR .endfor -- Brian Somers br...@awfulhak.org Don't _EVER_ lose your sense of humour

Re: My PPP timer PR [nag]

2007-05-11 Thread Brian Somers
PROTECTED] I'll have a look at it RSN - or at BSDCan next week at the latest. -- Brian Somers [EMAIL PROTECTED] Don't _EVER_ lose your sense of humour ![EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org

Re: read a file from a driver

2002-04-11 Thread Brian Somers
There's an example of how to do this in the ``digi'' driver. It loads it's firmware module on-the-fly (if it can) and dumps it afterwards. As you can see, this saves a bunch of runtime space (digi is the base driver, digi_* are the firmware modules): $ ls -l /boot/kernel/digi* -r-xr-xr-x 1

Re: 'rm' incompatibility with Posix.2

2002-04-10 Thread Brian Somers
Bogdan TARU [EMAIL PROTECTED] writes: On 10 Apr 2002, Dag-Erling Smorgrav wrote: In my humble opinion, Solaris (and every other *nix) is broken in this respect, and *BSD is correct. Except for OpenBDS. No NetBDS machine available, maybe some of you could try it on one as well? I

Re: [Fwd: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection]

2001-12-06 Thread Brian Somers
Brian Somers wrote: Hi, Thanks for your report. Would you be able to grab me logs of the connection that doesn't work (the latest ppp) and the one that works (the pre-July 30 one) with the following set: set log tun chat lcp ipcp It may be possible to fix the problem

Re: [Fwd: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection]

2001-12-05 Thread Brian Somers
Hi, Thanks for your report. Would you be able to grab me logs of the connection that doesn't work (the latest ppp) and the one that works (the pre-July 30 one) with the following set: set log tun chat lcp ipcp It may be possible to fix the problem by changing your ``set mru'' and ``set

Re: Checking changes to listening ports in /etc/security

2001-09-17 Thread Brian Somers
From: Brian Somers [EMAIL PROTECTED] Subject: Re: Checking changes to listening ports in /etc/security Date: Fri, Sep 14, 2001 at 12:18:43PM +0100 I think the attached patch makes things slightly better. We only run sockstat once, and remove the trailing whitespace that sockstat emits

Re: Checking changes to listening ports in /etc/security

2001-09-14 Thread Brian Somers
From: Brian Somers [EMAIL PROTECTED] Subject: Re: Checking changes to listening ports in /etc/security Date: Thu, Sep 13, 2001 at 10:25:02PM +0100 I like this idea. I think It would be worth making it diff against /dev/null when netstat.today doesn't exist, so that the first time

Re: Checking changes to listening ports in /etc/security

2001-09-13 Thread Brian Somers
I've been adding an extra check in my local version of /etc/security for quite some time now. All it does is use 'netstat' to grab a list of the listening tcp and udp ports of my machine and save it to /var/log/netstat.today (and /var/log/netstat.yesterday). This way, when some service

Re: Driver structures alignment

2001-09-13 Thread Brian Somers
Hi there, Is there a single blessed way to define packed structures for use in drivers? I suspect that using #pragma pack(1) will lead to alignment errors in non-Intel architectures. gcc deals with it, certainly on alpha anyway. However, I don't think anyone would ever bless using

Re: For review: Patch to ps(1) old-style option parsing.

2001-08-15 Thread Brian Somers
This is pretty low-priority and I don't think it needs to be MFC'd for the 4.4 release, but there is a small error in ps's old-style option handling. An outstanding example of this is when one runs `ps Uroot': This has irritated me in the past too :*) I've applied your patch to

Re: a little O/T, but D.V.D. drivesfreeBSD

2001-08-03 Thread Brian Somers
,[ On Thu, Aug 02, at 05:57PM, Julian Elischer wrote: ]-- | anyone had success watching a dvd? `[ End Quote ]--- ok, first and foremost, please, anyone else replying, reply to the list and not to me and please dont cc me, i am on the list. (i

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
In message [EMAIL PROTECTED] Dima Dorfman writes: : Does anybody know (remember?) why portmap_enable (the rc.conf knob) : wasn't renamed to rpcbind_enable when portmap became rpcbind? It : seems odd to have a knob called portmap_enable that actually starts : something called rpcbind (not to

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
In message [EMAIL PROTECTED] Brian Somers writes: : In message [EMAIL PROTECTED] Dima Dorfman writes: : : Does anybody know (remember?) why portmap_enable (the rc.conf knob) : : wasn't renamed to rpcbind_enable when portmap became rpcbind? It : : seems odd to have a knob called

Re: Why install -C include files?

2001-07-25 Thread Brian Somers
On Wed, 25 Jul 2001 08:58:02 CST, Warner Losh wrote: The reason I'd like to see it isn't so that make world kills things automatically, but so that I could kill them (or at least find out what should be killed) on systems that had FreeBSD 1.0 installed on them, then upgraded, disk

Re: A full source-tour somewhere?

2001-07-23 Thread Brian Somers
On Mon, Jul 23, 2001 at 12:56:04AM -0700, Julian Elischer wrote: Julian Elischer wrote: Dima Dorfman wrote: [...] * A cross reference of the FreeBSD kernel well I have the source code of course, but the second is what I'm looking for except that it stopped being

Re: interface cloning MFC

2001-07-20 Thread Brian Somers
I plan to MFC the network interface cloning support and the gif modularization early next week unless someone has objections. I'd like to get it in before the code slush and since I'll be leaving for a week on the 31st, that means sometime early to mid next week to allow for any bug

Re: interface cloning MFC

2001-07-20 Thread Brian Somers
I plan to MFC the network interface cloning support and the gif modularization early next week unless someone has objections. I'd like to get it in before the code slush and since I'll be leaving for a week on the 31st, that means sometime early to mid next week to allow for any bug

Re: mgetty+AutoPPP pointers?

2001-07-13 Thread Brian Somers
There's stuff in the ppp(8) man page about this -- although I've deprecated the mgetty stuff in favour of getty which is capable of doing the same thing. Hello all, I want to configure a server machine I have at home to answer a phone line via internal modem and setup a PPP connection to

Re: Some questions about kernel programming

2001-07-13 Thread Brian Somers
write() doesn't exist in the kernel. The simple answer is you're going to have to read what the send() syscall does and emulate it. First, though, you need to answer the question why do I want to do this in the kernel? it actually exists, however the problem is that copyin and friends

Re: Some questions about kernel programming

2001-07-13 Thread Brian Somers
Have a look at the digi driver in -current where I did this. The caveat is that the kernel code looks ugly. From the driver's ioctl routine: case DIGIIO_IDENT: return (copyout(sc-name, *(char **)data, strlen(sc-name)

Re: FreeBSD Mall now BSDCentral

2001-07-08 Thread Brian Somers
Poul-Henning Kamp wrote: | In message [EMAIL PROTECTED], Brian Somers writes: | | I'm not having a go at Cheapbytes. I'm just saying that their CDs | should be labeled official or unofficial based on their content. If | they want to drop the base ISO image onto a CD and sell

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Brian Somers
Josef Karthauser [EMAIL PROTECTED] wrote: On Fri, Jul 06, 2001 at 02:28:18PM -0700, Kris Kennaway wrote: =20 In the past, the officially blessed CD distributor was kicking back money directly to FreeBSD; whatever happens in the future with respect to CD distribution, I think we should

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Brian Somers
On Sat, 7 Jul 2001, Brian Somers wrote: Richard Hodges [EMAIL PROTECTED] wrote: And as far as distribution goes, if my vote counts, I would suggest that anyone should have the right to sell (or give away) copies for whatever price they want. The more copies, the better! I fail

Re: Linux Applications Over PPP

2001-07-03 Thread Brian Somers
Brian Somers wrote: The only strange occurrence I've seen that sounds even vaguely similar is that if you leave out a nameserver line in /compat/linux/etc/hosts, it *doesn't* default to 127.1. Try adding a nameserver line (if you haven't already got one). Thanks

Re: C++ to C translator

2001-07-03 Thread Brian Somers
I requested the bug list for that ``compiler'' at one point and was given hundreds of sheets of ``known bugs'' (several bugs per sheet). At the time, I was looking for alternatives to g++ because of a bug I'd come across. Needless to say, the bug in question appeared in the cfront

Re: Linux Applications Over PPP

2001-07-02 Thread Brian Somers
The only strange occurrence I've seen that sounds even vaguely similar is that if you leave out a nameserver line in /compat/linux/etc/hosts, it *doesn't* default to 127.1. Try adding a nameserver line (if you haven't already got one). Hi, Six million *.rpm files later, I've finally got

Re: rman wildcard question

2001-06-27 Thread Brian Somers
In the gif interface cloning code I used the resource management code like Brian did in the tun cloning code to manage unit numbers. When the user requests an arbitrary unit, they get the first one available, but I'm not convinced that's what we want because that has the potential to

Re: cloning network interfaces

2001-06-10 Thread Brian Somers
I went ahead and nuked the auto-creation and -D flag in favor of plumb and unplumb in the patch at: http://www.one-eyed-alien.net/~brooks/FreeBSD/gif.diff This version includes a change to rc.network to plumb gif interfaces before calling gifcreate. This will still trip up users who

Re: cloning network interfaces

2001-06-09 Thread Brian Somers
Ok, I've got the quick and dirty way working for testing (a nine line clone handler works great for that), but I think Brian's suggestion is probably best for a real solution especialy since it's rather easier to check for permissions before allowing creation this way. My current patch lets

Re: cloning network interfaces

2001-06-07 Thread Brian Somers
In message [EMAIL PROTECTED], Brooks Davis writes: With network devices that are also normal devices the way tun is, you do this by just implementing a dev_clone event handler so when the user attempts to open a non-existent instance it's created. The problem with gif is that there's no

Re: speeding up /etc/security

2001-06-04 Thread Brian Somers
As you suspect, mounting nosuid makes /etc/security skip the suid checks... good for giving the security-unconscious a reason to fix their system :) I was alway quite impressed with this :) On Mon, Jun 04, 2001 at 12:07:19PM -0700, Matthew Jacob wrote: Does /etc/security take filesystem

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-25 Thread Brian Somers
: :On Wed, 23 May 2001, Matt Dillon wrote: : : Nice one! I'm going to be using this all over the place myself. : :I am missing something here. Is there a practical use for this? :) : :Jamie Many programs these days use unix-domain sockets as a rendezvous for IPC

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-23 Thread Brian Somers
packet across an Ethernet that can only handle 1500 According to Brian Somers: If pppctl is still working (ppp will talk to it), then it may be worth seeing what ``show physical'' and ``show timer'' say (is the link open, or is ppp waiting for something to happen via a timeout

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-23 Thread Brian Somers
According to Brian Somers: Brett Glass (cc'd) has complained about a similar problem where it seems that the ng_pppoe node is locked up. I can't reproduce the problem here though :( Does the following help you : [.] Not really - I think we need ``physical'' logs so that we can

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-21 Thread Brian Somers
Hi, I think it's important to quantify what a lockup is here. If pppctl is still working (ppp will talk to it), then it may be worth seeing what ``show physical'' and ``show timer'' say (is the link open, or is ppp waiting for something to happen via a timeout?). If pppctl isn't working it's

Re: sysctl to disable reboot

2001-05-21 Thread Brian Somers
That's a good point. A more sophisticated sysctl again would be one that would prevent the loading of a new keymap which enabled rebooting where the previous one did not. cons.keymap.protected perhaps? I could impliment a cons.keymap.securelevel which did: 0: Anyone can

How to auto-boot from an alternate disk

2001-05-16 Thread Brian Somers
Hi, I have a machine with 3 IDE disks and 2 SCSI disks and I want to boot from the first SCSI disk *but* my BIOS won't boot it. How are you supposed to do this ? I've currently done # boot0cfg -v -t 10 -B -s 5 ad0 # boot0cfg -v -t 1 -B -s 5 -m 0 ad1 # boot0cfg -v -t 1 -B -s 5 -m 0 ad2

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread Brian Somers
Try reducing the interface MTU further. It's possible that there's a misconfigured router between you and the sites *and* a part of the route has an mtu of less than 1492. ``set mtu 1480'' or ``set mtu 1460'' may work. I have been having problems with the the newer Windows machines, 2000

Re: xargs(1) replstr patch

2001-05-12 Thread Brian Somers
I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI Feel free to blame me for reviewing it !!! Folks, The attached patch adds a replacement string feature to xargs(1). There's a full description in the man page update (also attached), but the

Re: Writing device drivers (was: help me please)

2001-05-11 Thread Brian Somers
hi, Thanx Julian for pointing me to the tunnel pseudo-driver. But my major concern was regarding linking the driver to the kernel( i am trying to use static linking stuff). I am presently doing a major grep on tun 8-) It would be great if i could get some docs regding which

Re: Writing device drivers (was: help me please)

2001-05-10 Thread Brian Somers
On Wednesday, 9 May 2001 at 10:40:50 +0530, Jayesh Krishna wrote: Hi guys... I am comfortable with Linux Device Drivers. Presently I am trying to write some pseudo-drivers in FreeBSD(4.2-Release). I tried out make_pseudo_driver.sh in the /usr/share/examples/drivers but it does not

Re: pax(1) gzip functionality

2001-04-26 Thread Brian Somers
On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: Please review the following code from OpenBSD; it adds -z and -Z options to pax(1) to gzip(1) the archives created. Sigh. They could have generalized this just a little and supported Bzip2 at the same time. Please let me

Re: pax(1) gzip functionality

2001-04-26 Thread Brian Somers
On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: Please review the following code from OpenBSD; it adds -z and -Z options to pax(1) to gzip(1) the archives created. Sigh. They could have generalized

Re: vm fun

2001-04-19 Thread Brian Somers
Hi, If inside a syscall, what is the proper way to find the physical address of an arbitrary userland address of the current process ? Probably something like VM_PAGE_TO_PHYS - but you'll need a vm_page_t to use that. vm_page_list_find() looks promising, but I've never used it :-/

Modules with INVARIANTS

2001-04-18 Thread Brian Somers
Hi, Does anyone know of a clean way to have module builds detect that INVARIANTS is defined in opt_global.h ? -- Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org http://www.Awfulhak.org brian@[uk.]OpenBSD.org Don't _EVER_ lose your sense of humour !

Re: Patch to make snp(4) devfs-friendly

2001-04-17 Thread Brian Somers
I haven't actually tested the code, but looking at the patch, I think there's a problem with it... Specifically, on a non-devfs system - where the device nodes are created with mknod(1), snp_clone() isn't going to be called before snpopen(). I've (ab)used drv2 as a flag to say whether

Re: Patch to make snp(4) devfs-friendly

2001-04-17 Thread Brian Somers
opened, so the destroy_dev() looks ok here in practice. Brian Somers [EMAIL PROTECTED] writes: I haven't actually tested the code, but looking at the patch, I think there's a problem with it... Specifically, on a non-devfs system - where the device nodes are created with mknod(1

Re: ffs dirpref speedup

2001-04-06 Thread Brian Somers
Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758 -- Forwarded message -- Date: Sat, 7 Apr 2001 02:02:21 +0400 From: Grigoriy Orlov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: CVS: cvs.openbsd.org: src On Fri, Apr 06, 2001 at 10:27:55PM +0100, Brian

Re: Vinum stripe size (was: tuning a VERY heavily (30.0) loaded server)

2001-03-27 Thread Brian Somers
On Tuesday, 20 March 2001 at 11:11:44 -0600, Michael C . Wu wrote: [Lengthy email, bear with me please, it is quite interesting. This box averages 30.0 load with no problems.] snip Average file size is about 4K. /home/bbsusers* is on a vinum stripe'd volume with 3 Ultra160 9G

Re: Control messages.

2001-03-27 Thread Brian Somers
I can't see where in the kernel we're *not* using CMSG_DATA(). This was fixed a while ago and tested ok on beast (for 3 descriptors AFAIR). Are we looking at the same code (I'm looking in /sys/kern) ? The only dodgy thing I see in there is the COMPAT_OLDSOCK stuff in uipc_syscalls.c, and

Re: Vinum stripe size (was: tuning a VERY heavily (30.0) loaded server)

2001-03-27 Thread Brian Somers
On Tuesday, 27 March 2001 at 9:39:36 +0100, Brian Somers wrote: On Tuesday, 20 March 2001 at 11:11:44 -0600, Michael C . Wu wrote: [Lengthy email, bear with me please, it is quite interesting. This box averages 30.0 load with no problems.] snip Average file size is about 4K

Re: PPPD!

2001-03-23 Thread Brian Somers
Hi! Does anybody know about support pppunit in the ppp conf files, or may be can advice me where I can read about pppunit. Thank you very much. I'm afraid I can't really help, but I believe ppp(8) can do the same thing with the -unit command line switch. -- Brian [EMAIL PROTECTED]

Re: Inheriting the nodump flag

2001-02-28 Thread Brian Somers
Attached below is a port of NetBSD's patch to FreeBSD's dump(8). dump's tree walker is a little weird, so the patch is a little more complicated than calling fts_set with FTS_SKIP. For the technical details of what it does, see: http://lists.openresources.com/NetBSD/tech-kern/msg00453.html.

Re: character device driver

2001-02-27 Thread Brian Somers
[.] In my mind, it is important that (in the general case) we provide a struct file state hook rather than having per-process state, to allow things like threads, process teams, aio, file descriptor passing, etc, to work properly. One advantage to tying VFS statefulness to device

Re: ADSL and PPPoE question

2001-02-15 Thread Brian Somers
[.] I thought something like this: [ISP] | | - Office [ADSL] | | [FreeBSD Box] | | | | | | | | [A][B][C][D] where A, B, C, D all have their own

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-08 Thread Brian Somers
On Thu, Feb 08, 2001 at 04:58:17AM -0800, Julian Elischer wrote: =20 Looks like some way of clustering this might achieve a lot. =20 what does systat -vmstat or vmstat 1 show? Better still, I guess we could do a linux-truss and see what it's doing... I believe that it's strace

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-06 Thread Brian Somers
Bruce Evans wrote: On Tue, 6 Feb 2001, Josef Karthauser wrote: I'm wondering what's changed recently to cause vmware2 running on the linuxemu to lose a lot of performance with disk I/O. Use of cmpxchg and possibly other SMP pessimizations. A couple of weeks ago I could

Re: PPPoE

2001-01-22 Thread Brian Somers
I think the best way to implement this is some sort of config message to the pppoe node (before the connect/listen). The NETGRAPH version of ppp(8) is capable of doing ``chat scripts'' with netgraph nodes, so it's fairly easy to configure the node configuration conversation... Hopefully now

Re: PPP failures in 4.2-STABLE

2000-12-13 Thread Brian Somers
Hi, The only thing that comes to mind here is that perhaps you've got something like hylafax or mgetty running against the same port and something's gone wrong with the port locking code. It *looks* like something's writing fax commands to your modem at the same time as you're trying to

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-16 Thread Brian Somers
I feel like a dummy. Any other ideas? Thanks for the help Brian, I'm not sure what the problem could be - can you confirm that everything's seen if you divert everything ? --Renaud - Original Message - From: Brian Somers [EMAIL PROTECTED] To: Renaud Waldura [EMAIL PROTECTE

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-15 Thread Brian Somers
Maybe I'm just being boneheaded, but... ! sudo ipfw add 4 divert 12345 all from any to any via INTERFACE ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE I was under the (tested confirmed) impression that programs executed by ppp are run under uid 0. Eg. I don't use "sudo"

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-14 Thread Brian Somers
On Tue, 14 Nov 2000, Renaud Waldura wrote: -Dear hackers, - - What exactly does not work? - What does the option -l do? - -When launched automatically by ppp, tcpmssd doesn't get any of the packets -and is useless. When I start it manually from the command line, it works -fine. -

Re: PPPoE w/ nat auto fragmentation hack?

2000-11-12 Thread Brian Somers
Hi, Any of you happened to hack the PPPoE support on Fbsd 4.x to automatically fragment the IP datagram if whatever device behind the NAT refuses to adjust its MTU? There's a ``tcpmssd'' port. Thanks -- Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org

Re: PPP patch (CHAP81 + MPPE)

2000-10-29 Thread Brian Somers
Hi, Thanks for the patches. I've committed the changes although I'm having problems with MPPE. I suspect the problems are actually in the CCP stuff though - and I've suspected this for some time, something to do with running ppp back-to-back (and not over a tty). I'll look into this soon.

Re: Making /etc/defaults/rc.conf a configuration file.

2000-10-03 Thread Brian Somers
Hi, With these patches, and the new tiny util 'sourceconf', we can make /etc/defaults/rc.conf and /etc/defaults/periodic.conf configuration files again, such that they can be parsed by things other than 'sh'. [.] Looks good to me ! -- Brian [EMAIL PROTECTED]

Re: mergemaster RFC (long)

2000-09-21 Thread Brian Somers
Another thing that would be very useful is that during a merge of two files that it's possible to specify both the left hand side and the right hand side. That would fix cases like: Orig: # $FreeBSD: src/etc/shells,v 1.4 SOMEDATE$ # # List of acceptable shells for chpass(1). #

Re: mergemaster RFC (long)

2000-09-20 Thread Brian Somers
Brian Somers [EMAIL PROTECTED] wrote: First, the things I am definitely going to do. Christian "naddy" Weisgerber has taken on the task of porting mm to openbsd. I think it would be nice to aim to keep the two scripts exactly the same, using `uname` when it's really

Re: mergemaster RFC (long)

2000-09-17 Thread Brian Somers
[.] First, the things I am definitely going to do. Christian "naddy" Weisgerber has taken on the task of porting mm to openbsd. He has made some very reasonable requests that will make his life easier and reduce gratuitous differences between versions. Also, several people have

Re: Fdescfs updates--coming to a devfs near you!

2000-09-15 Thread Brian Somers
The majority of these programs could be handled by adding knowledge of "-" as a magic filename to fopen(3). [.] I would argue that the programs and the scripts that call them are already broken, but hey... So (just to add fuel to the mass opposition), do this without temporary files:

Re: Redirect stdout/stderr to syslog [OFF-TOPIC]

2000-09-01 Thread Brian Somers
Hi, I wonder if it is possible to redirect stdout/stderr to syslog. Background: I'm writing a program which starts (fork=execvp) and observes another program. I would like to redirect all output of the "execvped" program to syslog. I know this is not really FBSD related but I hope

Re: Critical (or equivalent) section in Userland?

2000-08-17 Thread Brian Somers
In message [EMAIL PROTECTED] Karl Pielorz writes: : I'm writing a program under FreeBSD 3.X that has been forced into having to : make a number of rename() calls that must be completed atomically (i.e. all : together) without the process being interrupted, or any other process being :

Re: Does sio have a maintainer?

2000-08-14 Thread Brian Somers
Hi folks, Does the sio driver have a maintainer? There are two PR's open that contain patches to provide support for new devices, but I can't find anyone to pin them on. :-) I thought bde looked after sio.c... Dunno if he reads this list. -- Brian [EMAIL PROTECTED]

Re: Writing device drivers (ioctl issue)

2000-08-10 Thread Brian Somers
I ran into this same problem when modifying the vmmon VMWare driver for FreeBSD to support mulitple emulator instances. FreeBSD's VFS does not have a concept of stateful file access: there are open's and close's, but the VOP_READ/WRITE operations are not associated with sessions. This

Re: /etc/security - /etc/periodic/security ?

2000-07-13 Thread Brian Somers
Brian Somers wrote: Well, "periodic security" will work as long as /etc/periodic/security exists, so I guess you just mean the docs need updating? I'll get to that if someone is actually planning on committing this stuff. =20 Perhaps the best option is to do with the inlin

Re: /etc/security - /etc/periodic/security ?

2000-07-13 Thread Brian Somers
Brian Somers wrote: Well, "periodic security" will work as long as /etc/periodic/security exists, so I guess you just mean the docs need updating? I'll get to that if someone is actually planning on committing this stuff. =20 Perhaps the best option is to do with

Re: /etc/security - /etc/periodic/security ?

2000-07-04 Thread Brian Somers
[ x-posted to -arch to fish for complaints ] James Howard wrote: On Thu, 29 Jun 2000, Ben Smithurst wrote: =20 Try the attached. They haven't been thoroughly tested, but that's what -CURRENT is for, right? :-) I even remembered to update the manual page this time... =20 This

Re: /etc/security - /etc/periodic/security ?

2000-06-29 Thread Brian Somers
Will we be seeing a move in this direction towards a more configurable security script? Is anyone planning it? I am porting the scripts to Linux and will hold off on security if nothing is being planned or make the changes myself. I just do not want to duplicate efforts. Also, I found

Re: PPPoE help me please!!

2000-06-24 Thread Brian Somers
I can run tcpdump on my ethernet device ed1 and it is sending out a PADI packet but it is not getting anything back. This is either because you have an incorrect :provider setting in your ``set device'' line, or because you were using a different NIC with your provider at one point, and

Re: buildworld summary

2000-06-22 Thread Brian Somers
A few months ago someone posted a script that summarizes make buildworld as it progresses. I've searched the ports and the mailing lists but I can't find it any more :-( so I'd be grateful if someone would tell me. Thanks. It was phk (cc'd), and yes, it seems to have evaporated. Tony. --

Re: buildworld summary

2000-06-22 Thread Brian Somers
Brian Somers wrote: A few months ago someone posted a script that summarizes make buildworld as it progresses. I've searched the ports and the mailing lists but I can't find it any more :-( so I'd be grateful if someone would tell me. Thanks. =20 It was phk (cc'd), and yes, it seems

Re: .core file reporting in daily report

2000-06-22 Thread Brian Somers
I was trying to figureout how the periodic scripts were run when I noticed that cron had coredumped back in October and left a core file in /var/run/cron. I got to thinking, it would be nice if the daily scripts would report when core files are found so they can be cleaned up. I'm about to

Re: RealSystem module for libalias

2000-06-16 Thread Brian Somers
Hi, I haven't done anything with this yet, but I plan to take a look soon. This is just a note to let you know that your post hasn't gone unnoticed. The libalias allows to transport only TCP stream on the RealSystem (RealAudio and RealVideo). It can not transport UDP stream, rtsp and pna,

Re: RealSystem module for libalias

2000-06-16 Thread Brian Somers
Brian, this is just to let you know that: 1) I am currently in process of applying *big* PPTP patch to libalias so I would really appreciate it if you do not touch libalias before I finish with PPTP part. Ok, no problem - I'm pretty busy at the moment anyway. 2) Erik Salander

Re: Linux and FreeBSD dual universe

2000-05-30 Thread Brian Somers
In message [EMAIL PROTECTED], Bill Pechter write s: Date: Thu, 25 May 2000 09:42:51 -0700 (PDT) From: "Duane H. Hesser" [EMAIL PROTECTED] Subject: Re: FreeBSD kernel as a replacement for Linux kernel Anyone remember the old Pyramid OSX 'universe' command? command like "att ls",

Re: file creation times ?

2000-05-26 Thread Brian Somers
Such editors are broken. What if the file is a symlink ? IMHO open() write() write() write() ftruncate() close() is the only way. If that is the only way, then emacs is of course broken. (And I disagree - I use emacs every day...) Now there's an argument waiting to happen :-) So if

Re: file creation times ?

2000-05-26 Thread Brian Somers
[.] I check it in FreeBSD 4.0-R open do not change atime. Indeed, but it sets a bunch of flags that can be referred to later by the driver. This would be a good flag - perhaps limited in the same way that touching the file is (owner only). [.] -- @BABOLO http://links.ru/

Re: Linux emu question

2000-05-26 Thread Brian Somers
I noticed some people talking about the linux emulation and how good/bad it can be and I just wondered, does anybody here have any experiences with the vmware for linux software? I have been thinking of buying this, for those one or two windows programs that I need to use now and then. To

  1   2   >