Re: Confused tcpdump

2009-09-24 Thread Poul-Henning Kamp
re 871009576 is not a valid port number... You're on a 64bit machine ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can ad

Re: TCP loopback socket fusing

2010-09-13 Thread Poul-Henning Kamp
zation and other protocol >overhead [...] Can we keep the option (sysctl ?) of doing the full packet thing, it is a very convenient debugging tool... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-

Re: NATM hardware available

2008-12-25 Thread Poul-Henning Kamp
In message <4953834e.3020...@dlr.de>, Hartmut Brandt writes: >> Do we have any of the necessary software parts to do simulated ATM >> hardware similar to what if_tap does for Ethernet? I believe I have a couple of ATM cards in my lab somewhere, who wants them ? --

SO_LINGER + shutdown(2)

2009-05-01 Thread Poul-Henning Kamp
to be changed lightly, so consider this more of an observation than bug report. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explain

Re: FAST_IPSEC import to HEAD is imminent..

2007-06-27 Thread Poul-Henning Kamp
he FAST_ prefix along with the old IPSEC when we get to that point ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequatel

Re: RFC: Capability addition for IEEE 1588

2007-10-03 Thread Poul-Henning Kamp
's licensing department, there were a $1k licensefee for anything IEEE1588 related and their message was that even if the FreeBSD foundation got such a license, the users would still have to have one as well if they compiled the source code or some such nonsense. If this has all been taken c

Re: RFC: Capability addition for IEEE 1588

2007-10-03 Thread Poul-Henning Kamp
ything to do with it, but I >double check internally. They seem to think they have a patent on doing things that way, no matter what hardware or software you use. If Intel chips have hw-support for timestamping, somebody at intel must have thought about the patent thing. But as I said, if that can

Re: HEAD UP: non-MPSAFE network drivers to be disabled

2008-06-01 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "M. Warner Losh" writes : >In the past I've uesd line disciplines to implement a keyboard driver >for the Apple Newton Keyboard (serial protocol) [...] But shouldn't you have used uart(4) for that ? -- Poul-Henning Kamp | U

multi-link natd(8) testers needed.

2004-06-11 Thread Poul-Henning Kamp
lines from different providers. Run a moderately fresh -current or be prepared to backport the patches (this shouldn't be hard since it is only libalias and natd which is changed). Apply by private email. Poul-Henning -- Poul-Henning Kamp | UNIX

[TEST] natd multipath patches

2004-06-20 Thread Poul-Henning Kamp
l. Please test and report success/failures/ideas/patches. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by in

Re: [TEST] natd multipath patches

2004-06-20 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Simon L. Nielsen" writes: > >--MGu/vTNewDGZ7tmp >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >On 2004.06.20 21:47:10 +0200, Poul-Henning Kamp wrote: &g

Re: Removing T/TCP and replacing it with something simpler

2004-10-21 Thread Poul-Henning Kamp
mething like T/TCP is certainly useful and I know of one special >purpose application using it (Web Proxy Server/Client for high-delay Satellite >connections). Wouldn't that be inferior to what accept-filters gives us ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED

Request to back out Luigis polled-net patch in -stable.

2005-07-02 Thread Poul-Henning Kamp
--- Forwarded Message To: [EMAIL PROTECTED] Subject: Request to back out Luigis polled-net patch in -stable. From: Poul-Henning Kamp <[EMAIL PROTECTED]> Date: Fri, 07 Dec 2001 17:13:24 +0100 Message-ID: <[EMAIL PROTECTED]> Sender: [EMAIL PROTECTED] I have not read the ent

Re: Request to back out Luigis polled-net patch in -stable.

2005-07-02 Thread Poul-Henning Kamp
ome experience with it, we can decide on a rational basis if it should be MFC'ed, (or committed cold into -stable if the MFC doesn't make sense). And of course Luigi is more than welcome to distribute his change as a patch against -stable, just like Jun-Itoh does with his ALTQ. (I don't

Re: [REVIEW/TEST] polling(4) changes

2005-09-30 Thread Poul-Henning Kamp
I still think we should stop having this network-centric view of polling and implement _real_ *device* polling, so that other device types can use it as well. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD

Re: [REVIEW/TEST] polling(4) changes

2005-09-30 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Robert Watson writes: >On Fri, 30 Sep 2005, Poul-Henning Kamp wrote: > >> I still think we should stop having this network-centric view of polling >> and implement _real_ *device* polling, so that other device types can >> use it as

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
is a nontrivial task which requires access to a lot of NDA information and an extensive positive/negative list of chips and chipsets. Even in the most recent chips, there are still issues with TSC that makes it unusable as a default timecounter. -- Poul-Henning Kamp | UNIX since Zilog Z

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Bruce Evans writes: >On Fri, 14 Oct 2005, Poul-Henning Kamp wrote: > >> In message <[EMAIL PROTECTED]>, Andrew Gallatin >> writes: >> >>> Linux already takes care of syncing the TSC between SMP cpus, so we >>> kn

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Andrew Gallatin writes: > >Poul-Henning Kamp writes: > > The best compromise solution therefore is to change the scheduler > > to make decisions based on the TSC ticks (or equivalent on other > > archs) and at regular intervals figu

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
it just keeping the TSC in sync? They seem to maintain >a high resolution timer based on tsc, and keep it in sync every >second, and fixup drift on different cpus, and the TSC >being reset after suspend/resume. >http://cvs.opensolaris.org/source/xref/usr/src/uts/i86pc/os/timestamp.c Sol

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Andrew Gallatin writes: > >Poul-Henning Kamp writes: > > The solution is not faster but less reliable timekeeping, the > > solution is to move the scheduler(s) away from using time as an > > approximation of cpu cycles. > >So you

Re: Call for performance evaluation: net.isr.direct (fwd)

2005-10-14 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Bruce Evans writes: >On Fri, 14 Oct 2005, Poul-Henning Kamp wrote: >> Even to this day new CPU chips come out where TSC has flaws that >> prevent it from being used as timecounter, and we do not have (NDA) >> access to the data that wou

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Poul-Henning Kamp
one who has been there, a couple of times: SECONDED! It is particular unpleasant when you have no way to test the changes. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute t

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Poul-Henning Kamp
tallies and scores to match informed reality and _then_ we could discuss if the criteria were sound on the list(s). Poul-Henning (singing an almost 20 year old refrain again) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD c

Re: additional ifreq accessors?

2020-04-07 Thread Poul-Henning Kamp
rs buys us much more code-isolation, so that would be my vote. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: New netgraph features?

2000-12-22 Thread Poul-Henning Kamp
_ >Archie Cobbs * Packet Design * http://www.packetdesign.com > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-hackers" in the body of the message > -- Poul-Henning Kamp | UNIX sinc

Request to back out Luigis polled-net patch in -stable.

2001-12-07 Thread Poul-Henning Kamp
--- Forwarded Message To: [EMAIL PROTECTED] Subject: Request to back out Luigis polled-net patch in -stable. From: Poul-Henning Kamp <[EMAIL PROTECTED]> Date: Fri, 07 Dec 2001 17:13:24 +0100 Message-ID: <[EMAIL PROTECTED]> Sender: [EMAIL PROTECTED] I have not read the ent

Re: Request to back out Luigis polled-net patch in -stable.

2001-12-07 Thread Poul-Henning Kamp
his ALTQ. (I don't know if Peter has -stable in P4, but that could be one way to make it easier for Luigi to maintain the patch if he had a branch there) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD sin

Re: ftp and mail much slower into fbsd 4.4 vs and old BSDi

2002-07-01 Thread Poul-Henning Kamp
is an I belive it is actually the case on both -current and -releng4 that disabling newreno improves TCP performance. I belive running an X11 application or scp(1) over a wavelan is a very good test-bed for this issue. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED]

Re: ftp and mail much slower into fbsd 4.4 vs and old BSDi

2002-07-01 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Michael Sierchio writes: >Poul-Henning Kamp wrote: > >> Yes, I can attest to this an I belive it is actually the case on both >> -current and -releng4 that disabling newreno improves TCP performance. >> >> I belive running

RFC: eliminating the _IP_VHL hack.

2002-10-15 Thread Poul-Henning Kamp
S file: /home/ncvs/src/sys/netinet/tcp_subr.c,v retrieving revision 1.143 diff -u -r1.143 tcp_subr.c --- tcp_subr.c 10 Oct 2002 21:41:30 - 1.143 +++ tcp_subr.c 15 Oct 2002 22:06:27 -0000 @@ -62,7 +62,6 @@ #include #include -#define _IP_VHL #include #include #include @@ -284,7 +283,8 @@ {

Re: RFC: eliminating the _IP_VHL hack.

2002-10-15 Thread Poul-Henning Kamp
orical behavior of compilers which allocated space for >bitfields in BYTE_ORDER order.) Do you intend to complete the task you originally started ? What is your plan for 3rd party software ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC

Re: RFC: eliminating the _IP_VHL hack.

2002-10-16 Thread Poul-Henning Kamp
tiple of 8. Good point. I'll ammend my proposal to include a __packed__ and a CTASSERT on the size of struct ip == 20. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute t

Re: cvs commit: src/sys/dev/kbd atkbdcreg.h

2002-10-16 Thread Poul-Henning Kamp
& flags */ u_int16_t ipq_div_cookie; /* ipfw divert cookie */ -#endif struct label ipq_label; /* MAC label */ }; #endif /* _KERNEL */ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Re: Removal of netns

2003-03-04 Thread Poul-Henning Kamp
fell for both of those criteria: neither users nor committers. netns fails both criteria too. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately b

Re: Removal of netns - politically correct version

2003-03-04 Thread Poul-Henning Kamp
even compile. Could we possibly move Terry to the attic too ? Please ? Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: adding if_dev member to struct ifnet

2003-09-30 Thread Poul-Henning Kamp
ove if_name/if_unit, it is a thing to do. Moreover it >sounds a good idea to have the if_dev field into the ifnet structure. Somebody please explain how this would work for non-hardware interfaces like if_loop, if_tun, if_tap etc ? device_t is what we use to hitch drivers to hardware. ifnet

Re: adding if_dev member to struct ifnet

2003-09-30 Thread Poul-Henning Kamp
terms of what is behind them, hardware, software or bongo drums. If all you want is an extra field in "struct ifnet" to hang driver information on, then by all means add that field. As long as you give it type "void *" and make it private to the driver I have no problem with t

Re: adding if_dev member to struct ifnet

2003-09-30 Thread Poul-Henning Kamp
eir own ifnet so they could assume they had >filled it in. So you'd still have to keep the if_name + if_unit around for the drivers which do not have a device_t ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer

Re: DLink DWL-G650

2003-12-18 Thread Poul-Henning Kamp
download drivers for card unzip/unrar or whatever it takes. run strings(1) on the files and look for vendor indentification strings ("Atheros", "Broadcom" etc etc). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] |

Re: [Soekris] Re: bridge with access on both interfaces

2003-12-25 Thread Poul-Henning Kamp
seless, yet cause some extra PCI transactions. I don't know if it is correct, but at the very least I have thought the same thoughts when I looked at the driver last, but I didn't get time to try out the idea... Somebody with some spare time should look at this... Poul-Henning --

REVIEW & TEST: libalias megapatch

2004-01-04 Thread Poul-Henning Kamp
rn as always). This patch makes it possible for programs like natd to run multiple packet-aliasing engines, this was not previously possible because of the widespread use of global variables in libalias. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP s

Multihomed UDP server

2004-01-19 Thread Poul-Henning Kamp
outetable or polling the interface configuration does not count as "simple". It seems to me that if there is no simple way to do this, it's about time we added it... As I see it, we need recvfromto() and sendtofrom(). Any takers ? Poul-Henning -- Poul-Henning Kamp

Re: Multihomed UDP server

2004-01-19 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Maxim Konovalov writes: >On Mon, 19 Jan 2004, 12:07+0100, Poul-Henning Kamp wrote: > >> Simple question: >> >> Very simple UDP server daemon. >> >> Many clients (connect(2)'ing a socket for each is not an option) &g

Re: Multihomed UDP server

2004-01-19 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Randall R. Stewart (home) " writes: >>>On Mon, 19 Jan 2004, 12:07+0100, Poul-Henning Kamp wrote: >>>>Simple question: >>>> >>>>Very simple UDP server daemon. >>>> >>>>Many cl

Re: Multihomed UDP server

2004-01-19 Thread Poul-Henning Kamp
y do the right thing. That's what the IP_RECVDESTADDR >option (and its dual whose name I forget right now) is all about. Yeah, I found that out. Now, where on the earth is that documented ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since R

Re: Multihomed UDP server

2004-01-19 Thread Poul-Henning Kamp
turn the destination IP address for a UDP data- > gram. The msg_control field in the msghdr structure points to a buffer > that contains a cmsghdr structure followed by the IP address. The > cmsghdr fields have the following values: >--- cite --- That really belongs on