From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 4 12:27:22 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6222E16A419; Mon, 4 Feb 2008 12:27:22 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 106CD13C4D1; Mon, 4 Feb 2008 12:27:21 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 7ACEA1B10F3B; Mon, 4 Feb 2008 13:27:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id DE2731B10F2C; Mon, 4 Feb 2008 13:27:17 +0100 (CET) Message-ID: <47A704A5.1050001@moneybookers.com> Date: Mon, 04 Feb 2008 14:27:17 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Ivan Voras References: <4795CC13.7080601@moneybookers.com> <47970EE2.5000400@moneybookers.com> <479754E6.1060101@moneybookers.com> <9bbcef730801230802n5c52832bk60c6afc47be578f4@mail.gmail.com> <47976AD4.3020203@moneybookers.com> <47A62EE8.2000700@FreeBSD.org> <47A62F1D.8070507@FreeBSD.org> <47A639B5.2020909@FreeBSD.org> <47A6EA28.6000902@moneybookers.com> <9bbcef730802040258v3fb42cd7hb70432c0da56aed3@mail.gmail.com> In-Reply-To: <9bbcef730802040258v3fb42cd7hb70432c0da56aed3@mail.gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 12:27:22 -0000 Greetings, Ivan Voras wrote: > On 04/02/2008, Stefan Lambrev wrote: > > >> Kris if you do not mind I'll write to hping developers to adopt this >> patch, and if no response from them I can try to reach the port >> maintainer, so we have this patched in ports? >> > > As we're in a "the whole world is a Linux" situation, would it be > helpful to open a page on our wiki to enumerate differences like this, > that would help people write and port applications to FreeBSD? I know > the sort of advice given by Kris should be obvious to professional > developers, but history shows that it is not and that people rather > read blogs than manuals. > That's the reason I started to dislike Linux last few years - because it's "defacto" standart in open source/unix like OS world, and their dev team act very much like MS dev team :( In the wiki there is a page about how to avoid "linuxism". I think we have to mention this there. It was the first place where I looked how to speed up hping. I think the info about gettimeofday (and replacements) and the ENOBUFS situation have to be explained little more there. I do not expect developers, that write programs for linux to read the FreeBSD wiki, but it will help people like me - not very experienced in coding, to produce patches/ports without bothering too much advanced developers :) It will be good if there are some examples too. -- Best Wishes, Stefan Lambrev ICQ# 24134177