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? (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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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-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: [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: [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: '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: 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

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

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

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

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

Re: Number of TUN devices

1999-05-21 Thread Brian Somers
[.] Why are you thinking of using user PPP for this? As you say, at the data rates you're thinking of, it's not an optimal solution. no, only the LCP, NCP, authenication, dignostic messages for debugging is done in user space. this is small traffic to setup/maintain/tear down the

Re: Suggestion...

1999-05-22 Thread Brian Somers
One other suggestion, while I'm at it. The dgb driver has been marked alpha quality for a LONG time. I've had a fax server running on a PC/Xe 8 port card (64k shared RAM) for well over a year on one of these cards - and have NEVER had a single problem with it. That server gets a LOT of

Re: Suggestion...

1999-05-23 Thread Brian Somers
I plan on doing some work on it and the dgm driver. They're almost the same and should be merged. They both violate style(9) in almost every way too :-[ I know of only one person with an Xem card (dgm driver), but he's promised to send me the specs by snail mail. Once I get

Re: [ALERT] a.out support is broken in 3.2-STABLE and 4.0-CURRENT

1999-05-26 Thread Brian Somers
Why? The compat22 distribution on the FTP site has ld.so in it, as wil the CDROM. Did you install 3.2 on the very first day? Just about. Did a make release for local internal use. Is there a slightly newer CVS tag other than RELENG_3_2_0_RELEASE that gets us all we need to

Interface UP RUNNING flags

1999-05-26 Thread Brian Somers
Hi, Can someone tell me the difference between the IFF_UP and IFF_RUNNING flags ? Currently, the tun pseudo-device never bothers removing the RUNNING flag. This can easily be fixed with Index: if_tun.c === RCS file:

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Brian Somers
[.] We need generic FTP and HTTP functionality for a variety of applications (first and foremost, sysinstall and pkg_add(1)), and we need a command-line interface to the FTP and HTTP protocols (fetch(1)). We also need an interactive interface to the FTP protocol (for doing stuff like

Re: fetch(1) / fetch(3) patchkit available

1999-05-28 Thread Brian Somers
Brian Somers br...@awfulhak.org writes: What about a non-interactive command for pushing stuff via ftp/http ? This has always been lacking IMHO (``ftp -n EOF'' is full of gotchas). I haven't actually looked at libfetch, but I would think that the functionality should

Re: Matt's Commit status (was Re: 3.2-stable, panic #12)

1999-06-03 Thread Brian Somers
[.] Someone who has this much spare energy for tracking down ancient problems in technologically-uninteresting code should be getting some reward for it. In a project like this, it seems to me that the standard reward is a certain degree of respect, and I think Matt's recent work has

Re: 3.2-stable, panic #12

1999-06-03 Thread Brian Somers
It wasn't the dark side of core, it was the panic'ed and worried part of core that was seeing things happening without careful review. The system was becoming unstable due to Matts changes. Whether the instabilities were in Matts code or somewhere else is irrelevent. The reaction was (IMHO)

Re: 3.2-stable, panic #12

1999-06-04 Thread Brian Somers
: It wasn't the dark side of core, it was the panic'ed and worried : part of core that was seeing things happening without careful review. : :The system was becoming unstable due to Matts changes. Whether the :instabilities were in Matts code or somewhere else is irrelevent. :The

Re: 3.2-stable, panic #12

1999-06-04 Thread Brian Somers
On Fri, 4 Jun 1999, Brian Somers wrote: The system was becoming unstable due to Matts changes. Whether the instabilities were in Matts code or somewhere else is irrelevent. The reaction was (IMHO) the right thing to do. I think where the problem lied is very relevent

Re: Session leader releasing the ctty

1999-06-07 Thread Brian Somers
Hello, I'm having a trouble programming a special login shell, and would like to hear any opinions on this. I want this shell (which automatically becomes a session leader) to release its ctty but remain unterminated (the ctty must be taken by its child). However, there seems to be no

Re: Wierd behavour from G++28!

1999-06-08 Thread Brian Somers
On Tue, Jun 08, 1999 at 12:03:03PM -0400, Thomas David Rivers wrote: Program received signal SIGSEGV, Segmentation fault. 0x8052c0f in ostream::flush () at /usr/include/ctype.h:149 149 } Is it because the program's compiled using the wrong includes?

Re: Wierd behavour from G++28!

1999-06-09 Thread Brian Somers
On Wed, Jun 09, 1999 at 12:40:46AM +0100, Brian Somers wrote: Can someone comment please? Is this a bug in the way the gcc2.8 is installed, or is it a bug in my understanding? (probably the latter). Perhaps you need a gcc-compiled version of libstdc++. It's just a guess

Re: NAT Gateway to multiple ISPs

1999-06-14 Thread Brian Somers
Any ideas on the following ? I am setting up a home/office network with NAT filtering gateway on a dual-NIC FreeBSD 3.2 box. No problem so far - I've set up several like this on 2.2.8 using natd. The new wrinkle is this: I need to connect to two ISPs (DSL Cable Modem),

Re: Budget on user-ppp

1999-07-05 Thread Brian Somers
It could be nice with some sort of budget control in ppp. A few days ago I found out bb caused a dialup every 5 minutes. Today I found I had been online 27 hours uninterrupted. Some dialup-routers allows a setup of max a connects/b minutes online over c hours. Patches are always welcome ;-)

Re: Budget on user-ppp

1999-07-06 Thread Brian Somers
On Tue, Jul 06, 1999 at 04:11:39AM +0100, Brian Somers wrote: ? How about under ``set redial'' in the man page ? Brian, The i4b stuff seems to have some sophisticated costing control code (isdn.rates). It appears that you can define the costs at different times of day

Re: need a better solution as callback

1999-07-08 Thread Brian Somers
hi to all, i have a freebsd installed with internet connection on my desktop pc and on my laptop as well. because i am traveling a lot between two countries, i'd like to make followings. - laptop dials to my desktop pc - laptop sends some command - desktop hangs up and dials to local

Re: Budget on user-ppp

1999-07-11 Thread Brian Somers
Brian Somers wrote: The i4b stuff seems to have some sophisticated costing control code (isdn.rates). It appears that you can define the costs at different times of day and thereby vary the timeouts, etc. I wonder whether any of this can be adapted for modem ppp

Re: Budget on user-ppp

1999-07-11 Thread Brian Somers
Brian Somers writes: Daniel C. Sobral wrote: Well? It's sunday... are you going through a slow week, for a change? :-) No, I'm waiting for h...@freebsd.org to commit my i4b changes. He's waiting for feedback from the development sources he released a few days ago. I've only got

Re: Setting up a firewall with dynamic IPs

1999-07-13 Thread Brian Somers
I was checking out the firewall setup in /etc/rc.firewall, and noticed that the simple example relied on a fixed IP address for the external interface. I don't know ahead of time what IP address is going to be allocated to me before I dial up. Would it be possible to specify an interface

Re: newaliases and 256 tun devices

1999-07-28 Thread Brian Somers
If it's of any use, I have 300 tun devices in my home development machine and have no problems with sendmail, but I have a tulip card (de) rather than an Intel and haven't every ``ifconfig delete''d it. Hi ... I previously mailed the same error ... and then I thought it was a

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Brian Somers
dil...@apollo.backplane.com said: :The correct way to do this is to fix getservbyname() so it accepts :port numbers. : :DES :-- :Dag-Erling Smorgrav - d...@flood.ping.uio.no If we were to depend on this, it would break code compatibility with other UNIXes for no good reason.

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Brian Somers
[.] @@ -832,15 +833,21 @@ if (!sep-se_rpc) { sp = getservbyname(sep-se_service, sep-se_proto); if (sp == 0) { + if ((p = strtol(sep-se_service, + (char **NULL), 10))) {

Re: Mentioning RFC numbers in /etc/services

1999-08-03 Thread Brian Somers
In message 199908022217.xaa02...@keep.lan.awfulhak.org Brian Somers writes: : Yes, but do it the other way 'round - strtol first, if it's not all : numeric, getservbyname(). I did it getservbyname first in case there were any legacy services that were all numbers. Traditionally

Re: Mentioning RFC numbers in /etc/services

1999-08-03 Thread Brian Somers
In some email I received from Brian Somers, sie wrote: [.] Yes, but do it the other way 'round - strtol first, if it's not all numeric, getservbyname(). No, the patch was correct. Not in my book - see my other posting :] -- Brian br...@awfulhak.orgbr

Re: Budget on user-ppp

1999-08-18 Thread Brian Somers
[.] Brian, The i4b stuff seems to have some sophisticated costing control code (isdn.rates). It appears that you can define the costs at different times of day and thereby vary the timeouts, etc. I wonder whether any of this can be adapted for modem ppp. I've added it

Re: Mandatory locking?

1999-08-23 Thread Brian Somers
On 23-Aug-99 Greg Lehey wrote: I'm a little surprised that there's any objection to the concept of mandatory locking. In transaction processing, locking is not optional, and if any process at all can access a file or set of files without locking, you can't guarantee the database

src/etc/rc.sysctl installation

1999-09-06 Thread Brian Somers
Is it time to install src/etc/rc.sysctl now ? I certainly think it's a good idea :-] -- Brian br...@awfulhak.orgbr...@freebsd.org http://www.Awfulhak.org br...@openbsd.org Don't _EVER_ lose your sense of humour ! br...@freebsd.org.uk

Re: src/etc/rc.sysctl installation

1999-09-07 Thread Brian Somers
In message 199909070023.baa29...@keep.lan.awfulhak.org Brian Somers writes: : Is it time to install src/etc/rc.sysctl now ? I certainly think it's : a good idea :-] No. I don't think we want to install rc.sysctl for an installworld. It would spam changes that others make to them. I

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

<    1   2