Re: RFC: Change to sys_errlist

2003-07-10 Thread Wes Peters
On Thursday 10 July 2003 01:21 pm, Matthew Emmerton wrote: > On Sun, 6 Jul 2003, Terry Lambert wrote: > > Matthew Emmerton wrote: > > > This is a RFC on a change to sys_errlist for errno = 0. > > > > > > On Linux, if perror() or strerror() is called with errno = 0, the > > > resulting string is "Su

Re: raw socket programming SOLVED

2003-07-10 Thread Wes Peters
On Saturday 05 July 2003 08:01 pm, Alin-Adrian Anton wrote: > > Yes, it works now, with these includes: > --- > #include > #include > #include > #include > #include > > #include > #include > #include > > #include > #include > --- Be

PPP vs mpd (was: FreeBSD lacks PPPoE (pppoa3 solution))

2003-07-10 Thread Pedro F. Giffuni
Hi; I wanted to bring this up a little later but since there is a somewhat related thread I thought I might as well bring this now. Our default PPPd is extremely outdated. The version in the distribution is a patched-up version of Paul's PPP 2.3.5 which is maintained now at http://dp.samba.org/ppp

Re: tcp raw socket programming recvfrom()

2003-07-10 Thread Alin-Adrian Anton
Toni Andjelkovic wrote: On Wed, Jul 09 2003 (12:45:14 +0300), Alin-Adrian Anton wrote: Usually? What does usually mean? I know I can use bpf. But is there another way to look at incoming TCP packet ? What I did is I sent a TCP SYN packet and the server answers with a TCP SYN_ACK packet. How c

Re: NSS Modules

2003-07-10 Thread Ben Goodwin
> You can still test for whether or not it is defined. > > #if defined(__FreeBSD__) > /* Do freebsd-specific stuff */ > #else > /* Other systems? */ > #endif *nod* I was just worried about the tests required for Solaris using either gcc or sun's cc .. looks like #if defined(sun) does the t

Re: NSS Modules

2003-07-10 Thread Ben Goodwin
> have a look at : > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51768 > (sorry I dirt your code :)) > It's *really* dirty :) but it works :-) It's actually a pretty good hack :-) I actually forgot that I'd run across this port earlier. It doesn't link on my system (removed -Bgroup to get it

Re: tcp raw socket programming recvfrom()

2003-07-10 Thread Toni Andjelkovic
On Wed, Jul 09 2003 (12:45:14 +0300), Alin-Adrian Anton wrote: > Usually? What does usually mean? I know I can use bpf. But is there > another way to look at incoming TCP packet ? What I did is I sent a TCP > SYN packet and the server answers with a TCP SYN_ACK packet. How can I > look at the SY

Re: AW: Fw: SAPDB FreeBSD Port Anouncement

2003-07-10 Thread Michael Reifenberger
On Thu, 10 Jul 2003, Mosebach, Kai wrote: > Date: Thu, 10 Jul 2003 19:35:23 +0200 > From: "Mosebach, Kai" <[EMAIL PROTECTED]> > To: 'Julian Elischer' <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: AW: Fw: SAPDB FreeBSD Port Anouncement > > They do on : http://sapdb.2scale.net/moin.cgi/Supp

Re: tcp raw socket programming recvfrom()

2003-07-10 Thread Alin-Adrian Anton
Kip Macy wrote: Usually if your looking at raw packets you want to use BPF. -Kip On Wed, 9 Jul 2003, Alin-Adrian Anton wrote: Hey folks, I wrote my piece of code to play with, and it uses raw sockets to send TCP packets. It sends packets okay, everything tested with a sniffer, everythin

Re: NSS Modules

2003-07-10 Thread Bosko Milekic
On Thu, Jul 10, 2003 at 05:12:03PM -0400, Ben Goodwin wrote: > I'd like to support Sun's cc, however .. so I'm betting that isn't defined > (I will check) ... I figured that would be available under gcc but assumed > it wasn't "portable enough" ... You can still test for whether or not it is d

Re: NSS Modules

2003-07-10 Thread Clement Laforet
On Wed, 9 Jul 2003 18:27:21 -0400 "Ben Goodwin" <[EMAIL PROTECTED]> wrote: > Hi guys ... > > I thought I'd give you a heads-up that I'm porting libnss-mysql to the NSS > API that FreeBSD 5.1 has adopted in case anyone has input, suggestions, > wants to test, etc.. > I'm also curious about includ

Re: tcp raw socket programming recvfrom()

2003-07-10 Thread Kip Macy
Usually if your looking at raw packets you want to use BPF. -Kip On Wed, 9 Jul 2003, Alin-Adrian Anton wrote: > Hey folks, > > I wrote my piece of code to play with, and it uses raw sockets to send > TCP packets. It sends packets okay, everything tested with a sniffer, > every

tcp raw socket programming recvfrom()

2003-07-10 Thread Alin-Adrian Anton
Hey folks, I wrote my piece of code to play with, and it uses raw sockets to send TCP packets. It sends packets okay, everything tested with a sniffer, everything is really really fine, but it seems I cannot recvfrom anything. I mean, it just keeps waiting and doesn't see the reply the server

Re: NSS Modules

2003-07-10 Thread Ben Goodwin
I'd like to support Sun's cc, however .. so I'm betting that isn't defined (I will check) ... I figured that would be available under gcc but assumed it wasn't "portable enough" ... And yes, one API would be nice. Each OS has their own :-\ Thanks! -=| Ben > You should be able to do: > >

Re: Mirroring using vinum+NFS

2003-07-10 Thread John-Mark Gurney
Peter Jeremy wrote this message on Fri, Jul 11, 2003 at 06:10 +1000: > I'm looking at building a fileserver and want to mirror the data > across two systems (if one fails, I can use the other). Doh, I should of replied sooner. What you are looking for is probably Coda. The home page is at: http:

Re: FreeBSD lacks PPPoE (pppoa3 solution)

2003-07-10 Thread Nuno Teixeira
Hi, Please see http://speedtouch.sourceforge.net/index.php?/news.en.html "Real" PPPoE with a ethernet card connected with a ADSL Modem works. This problem is related with ISPs that supports *only* PPPoE protocol with USB Modems (this case Alcatel) that "emulates" ethernet with TUN/TAP devices.

Re: NSS Modules

2003-07-10 Thread Bosko Milekic
On Wed, Jul 09, 2003 at 06:27:21PM -0400, Ben Goodwin wrote: > Hi guys ... > > I thought I'd give you a heads-up that I'm porting libnss-mysql to the NSS > API that FreeBSD 5.1 has adopted in case anyone has input, suggestions, > wants to test, etc.. > I'm also curious about including it eventua

Re: Mirroring using vinum+NFS

2003-07-10 Thread Joshua Oreman
On Fri, Jul 11, 2003 at 06:10:13AM +1000 or thereabouts, Peter Jeremy wrote: > I'm looking at building a fileserver and want to mirror the data > across two systems (if one fails, I can use the other). > > Consider system A as the server and system B as the mirror. In theory, > on system A I shou

Re: FreeBSD lacks PPPoE (pppoa3 solution)

2003-07-10 Thread Julian Elischer
I'm confused.. FreeBSD has had full PPPoE support for about 4 years. there is also PPPoA support.. why do you think there is not? On Thu, 10 Jul 2003, Nuno Teixeira wrote: > > Hello to all, > > I'm using FreeBSD for almost 4 years and I will continue with it because > I can't find better.

NSS Modules

2003-07-10 Thread Ben Goodwin
Hi guys ... I thought I'd give you a heads-up that I'm porting libnss-mysql to the NSS API that FreeBSD 5.1 has adopted in case anyone has input, suggestions, wants to test, etc.. I'm also curious about including it eventually .. via ports or something perhaps? Is anyone else developing NSS modul

Re: RFC: Change to sys_errlist

2003-07-10 Thread Matthew Emmerton
On Sun, 6 Jul 2003, Terry Lambert wrote: > Matthew Emmerton wrote: > > This is a RFC on a change to sys_errlist for errno = 0. > > > > On Linux, if perror() or strerror() is called with errno = 0, the resulting > > string is "Success". > > On FreeBSD, the resulting string is "Unknown error: 0". >

Mirroring using vinum+NFS

2003-07-10 Thread Peter Jeremy
I'm looking at building a fileserver and want to mirror the data across two systems (if one fails, I can use the other). Consider system A as the server and system B as the mirror. In theory, on system A I should be able to: mount B:/big/data/blob /remote vnconfig /big/data/block

FreeBSD lacks PPPoE (pppoa3 solution)

2003-07-10 Thread Nuno Teixeira
Hello to all, I'm using FreeBSD for almost 4 years and I will continue with it because I can't find better. I subscribed to a ADSL connection in Portugal that supports only PPPoE (and not PPPoA). Almost everyone in Portugal uses only 2 modems (supported by ISPs): Siemens Santis USB and Alcatel

RE: What ever happened with this? "eXperimentalbandwidthdelayproduct code"

2003-07-10 Thread Max Clark
First off, thank you everyone who has helped me with this. After the reading that I have been through this is basically what I've come to: throughput = window size / RTT Which means that if I want a 5Mbit/s throughput and my RTT is 220ms then I want a window size of 137,500 bytes. Is this inaccur

RE: Race in kevent

2003-07-10 Thread John Baldwin
On 10-Jul-2003 Harti Brandt wrote: > On Wed, 9 Jul 2003, John Baldwin wrote: > > JB>On 09-Jul-2003 Harti Brandt wrote: > JB>> > JB>> Hi, > JB>> > JB>> I just had a crash while typing ^C to a program that has a kevent timer > JB>> running. The crash was: > JB>> > JB>> callout_stop > JB>> callout_r

FreeBSD Router and ARP (fwd)

2003-07-10 Thread Dan Mahoney, System Admin
I have a lan of maybe 200 nodes where a BSD box is performing as the core router (with cisco's doing line-connectivity). It is all switched, with no VLAN in place. Each machine (in general) has its own subnet. Most are /29's, some are as large as a /25. Each subnet has a single gateway ip conf

AW: Fw: SAPDB FreeBSD Port Anouncement

2003-07-10 Thread Mosebach, Kai
They do on : http://sapdb.2scale.net/moin.cgi/SupportedPlatforms SAP officially will not support a FreeBSD port, so they wont offer it on the www.sapdb.org site. They unofficially support the porting process though. Cheers > -Ursprüngliche Nachricht- > Von: Julian Elischer [mailto:[EMAIL

Re: Fw: SAPDB FreeBSD Port Anouncement

2003-07-10 Thread Kai Mosebach
Hi, After some days offline (thanx to Denic), www.komadev.de is online again. 1.) In my eyes ( correct me if im wrong), its a native port, using the linuxthreads lib from freebsd. Its furthermore native, because it does NOT need linux_base to be installed. (except for building, but thats sth diff

RE: What ever happened with this? "eXperimentalbandwidthdelayproductcode"

2003-07-10 Thread Dirk-Willem van Gulik
On Thu, 10 Jul 2003, Max Clark wrote: > > We've done this in the past for protocols such as ftp, http and smtp; and > it works wonders. > > The protocol is FTP, what sort of proxy are you talking about here? I would > like to have... Commercial/Custom written; mostly based on the apache framewo

RE: What ever happened with this? "eXperimentalbandwidthdelayproduct code"

2003-07-10 Thread Max Clark
> We've done this in the past for protocols such as ftp, http and smtp; and it works wonders. The protocol is FTP, what sort of proxy are you talking about here? I would like to have... ftp server freebsd proxy <---Network Link---> freebsd proxy Windows PC I assumed that my first step in this

RE: What ever happened with this? "eXperimental bandwidthdelayproduct code"

2003-07-10 Thread Max Clark
I can reasonably protect these machines via a VPN or similar strategy so I am not to worried about making changes that would open up other undesirables. I am trying to devise a chart where if the desired bandwidth is (a) then I set (x/y/z) variables to (b/c/d). So for instance if I want to run at

Re: NetApp and 'nfs send error 32'

2003-07-10 Thread Bernd Walter
On Thu, Jul 10, 2003 at 10:12:36AM +0300, Danny Braniss wrote: > hi all, > googling shows this not to be anything new, but ... > it happend when we enabled tcp/nfs on our NetApp fileservers. > so the question is: > 1- is it serious - it doesn't seem so ... > 2- can it be ignored?

Re: What ever happened with this? "eXperimentalbandwidthdelayproductcode"

2003-07-10 Thread Dirk-Willem van Gulik
On Thu, 10 Jul 2003, Terry Lambert wrote: > > Okay, let's say how do I force my machine to think it doesn't have any > > latency and saturate a 6Mbit/s link even though the link has 220ms latency? > > See the recent discussion on the FreeBSD-performance mailing list. Your propblem is similar to

Re: What ever happened with this? "eXperimental bandwidthdelayproduct code"

2003-07-10 Thread Terry Lambert
Max Clark wrote: > :) hehe... > > Okay, let's say how do I force my machine to think it doesn't have any > latency and saturate a 6Mbit/s link even though the link has 220ms latency? See the recent discussion on the FreeBSD-performance mailing list. -- Terry _

Re: What ever happened with this? "eXperimental bandwidthdelayproduct code"

2003-07-10 Thread Terry Lambert
Dan Nelson wrote: > In the last episode (Jul 09), Max Clark said: > > > 600/8*.220 = 165Kbytes or 1.32Mbit/s > > > > I understand the BDP concept and the calculation to then generate the > > tcp window sizes. What I don't understand is this... > > > > How in the world is a windows 2000 box runn

Re: Race in kevent

2003-07-10 Thread Harti Brandt
On Wed, 9 Jul 2003, Eric Jacobs wrote: EJ>On Wed, 9 Jul 2003 15:28:38 +0200 (CEST) EJ> EJ>I didn't think of it in my original post, but perhaps we need a EJ>"thissoftcheck" pointer that works analogously to "nextsoftcheck", EJ>except that instead of being advanced to the next entry in the queue, E

RE: Race in kevent

2003-07-10 Thread Harti Brandt
On Wed, 9 Jul 2003, John Baldwin wrote: JB>On 09-Jul-2003 Harti Brandt wrote: JB>> JB>> Hi, JB>> JB>> I just had a crash while typing ^C to a program that has a kevent timer JB>> running. The crash was: JB>> JB>> callout_stop JB>> callout_reset JB>> filt_timerexpire JB>> softclock JB>> JB>> and ca

NetApp and 'nfs send error 32'

2003-07-10 Thread Danny Braniss
hi all, googling shows this not to be anything new, but ... it happend when we enabled tcp/nfs on our NetApp fileservers. so the question is: 1- is it serious - it doesn't seem so ... 2- can it be ignored? the main problem is that to turn it off, i have to reboot some 600