From owner-freebsd-hackers Mon Jul 8 06:04:14 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA02368 for hackers-outgoing; Mon, 8 Jul 1996 06:04:14 -0700 (PDT) Received: from citadel.oms.co.za (gram.aztec.co.za [196.3.254.235]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA02284 for ; Mon, 8 Jul 1996 06:03:59 -0700 (PDT) Received: (from nobody@localhost) by citadel.oms.co.za (8.6.12/8.6.9) id OAA00413 for ; Mon, 8 Jul 1996 14:45:31 +0200 Received: by citadel via recvmail id 411; Mon Jul 8 14:45:19 1996 Received: (from gram@localhost) by gram.oms.co.za (8.6.12/8.6.9) id OAA00431 for hackers@FreeBSD.org; Mon, 8 Jul 1996 14:17:06 +0200 From: Gram Message-Id: <199607081217.OAA00431@gram.oms.co.za> Subject: BPF and point-to-point links To: hackers@freebsd.org Date: Mon, 8 Jul 1996 14:17:06 +0200 (SAT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi folks I am trying to use BPF to write packets directly out to a network interface. I hacked the kernel to allow me to do this with PPP (both user and kernel PPP). The code works fine with Ethernet interfaces, and works fine with SLIP, user PPP and kernel PPP, provided I am not sending the packet to the other end of the point-to-point link, but rather to some other host on the Internet. So, for example, I can talk nicely to the local Internet Cafe or to my old University machine, but not to my ISP's server. In this case the throughput is very sluggish, with what seem to be quite a few timeouts and retransmissions. I have been unable to figure this out. As I say, it is only when using SLIP or PPP and communicating with this one host that I have problems. And even then the packets get through eventually. If anyone has any ideas I'd be glad to hear them, or provide more info. BTW I'm not sure if this is a mailing list or just an e-mail address that I'm sending to. If the former, I'd also like to know how to get on it! Thanks Graham -- Dr Graham Wheeler E-mail: gram@oms.co.za Open Mind Solutions Phone: +27(21)23-6065/6/7 Open System and Network Specialists Mobile: +27(83)-253-9864 Internet Security and Firewalls Fax: +27(21)24-3656 Custom Software Solutions WWW: http://www.oms.co.za/