Re: IPSEC problems with pf

2021-09-24 Thread charles
Em 2021-09-24 20:03, Peter Jeremy escreveu: I'm trying to setup an IPSEC transport connection between my home and one of my VPS hosts. I can successfully setup an IPv6 connection from an internal host to the VPS but can't setup an IPv4 connection from my firewall to that host. I'm using openike

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

2018-10-04 Thread Charles Sprickman via freebsd-net
rds are in some firewall boxes that are in SFF boxes. Old PCI 10/100 NICs are more than adequate for backup WAN purposes (xDSL, cable, etc.) and some of the SFF boxes have one pci-e plus one pci slot and that’s it. Charles > > --- > Sent using a tiny phone keyboard. > Apologies fo

Re: How can I send packets to 255.255.255.255 from the command line?

2016-08-19 Thread Charles Smith
It is still limited to the "local network," about as harmless as a DHCP broadcast. - Charles Sent from my iPhone > On Aug 19, 2016, at 11:15 AM, Valeri Galtsev > wrote: > > >> On Fri, August 19, 2016 9:46 am, Andrey V. Elsukov wrote: >>> On 18.08.16 2

Re: arp response fails

2015-12-15 Thread Charles Swiger
On Dec 15, 2015, at 2:47 PM, bcs wrote: > I have 3 FreeBSD 10.2-RELEASE machines and all of them suffers of the > following problem. They are not responding to ARP requests which causes > network problem for me, other hosts can't access my FBSD machines on the LAN > nor my FBSD hosts can see ea

Re: IPFW blocked my IPv6 NTP traffic

2015-11-30 Thread Charles Swiger
Hi, Mark-- On Nov 30, 2015, at 1:58 PM, Mark Felder wrote: > [ ... ] > I noticed my outbound IPv6 didn't have $ks for udp, so I added it. > However, that had no effect. The solution was to add an incoming rule: > > $cmd 03755 allow udp from any to any src-port 123 in via $pif6 $ks > > This seem

Re: who uses this port?

2015-11-04 Thread Charles Swiger
On Nov 4, 2015, at 11:40 AM, Andriy Gapon wrote: > $ sockstat -l | fgrep 631 > ?? ? ? tcp4 127.0.0.1:631 *:* > > $ nc -l 127.0.0.1 631 > nc: Address already in use That's the IPP port, commonly grabbed by CUPS and other printing software: % grep 631 /etc/services

Re: [BUG?] dhclient sends packets with source IP address that has been deleted

2015-04-07 Thread Charles Swiger
On Apr 7, 2015, at 2:07 PM, Yuri wrote: > On 04/07/2015 07:53, Brooks Davis wrote: >> I suppose that since dhclient has been killed and restarted it can't >> know it's on the same network, but in practice you want to try to get >> the same lease again and fall back if it turns out you've moved or

Re: MTU not regrowing?

2014-06-24 Thread Charles Swiger
Hi-- On Jun 24, 2014, at 11:43 AM, Andrea Venturoli wrote: > Hello. > > Today I experienced something weird (at least for me) on a 8.4 system: > > _ the system had vlan3 interface, with default MTU (1500 bytes); > _ "ping -D -s 1400 somehost" would work, but "ping -D -s 1500 somehost" would >

Re: bce packet loss

2011-07-11 Thread Charles Sprickman
On Mon, 11 Jul 2011, Doug Barton wrote: On 07/11/2011 21:09, Charles Sprickman wrote: I've had it hammered into my brain over the years that for servers it's always best to set link speed and duplex manually at both ends to remove any possible issues with link negotiation. That h

RE: bce packet loss

2011-07-11 Thread Charles Sprickman
tion on auto-negotiation - it was totally unclear to me that I'd basically been disabling flow control by manuallying configuring the interface. Thanks, Charles Dave ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RE: bce packet loss

2011-07-08 Thread Charles Sprickman
at happens here when the NICs support flow control. Another stopgap I'm looking at is having our upstream put us on a GigE port - I imagine that would help us if the switch is running out of buffer space. Thanks again all, Charles Dave __

Re: bce packet loss

2011-07-07 Thread Charles Sprickman
On Thu, 7 Jul 2011, YongHyeon PYUN wrote: On Thu, Jul 07, 2011 at 02:00:26AM -0400, Charles Sprickman wrote: More inline, including a bigger picture of what I'm seeing on some other hosts, but I wanted to thank everyone for all the fascinating ethernet BER info and the final explanati

Re: bce packet loss

2011-07-06 Thread Charles Sprickman
yeon PYUN wrote: On Mon, Jul 04, 2011 at 09:32:11PM -0400, Charles Sprickman wrote: Hello, We're running a few 8.1-R servers with Broadcom bce interfaces (Dell R510) and I'm seeing occasional packet loss on them (enough that it trips nagios now and then). Cabling seems fine as neither

Re: bce packet loss

2011-07-05 Thread Charles Sprickman
Just adding a bit more information inline: On Mon, 4 Jul 2011, Charles Sprickman wrote: Hello, We're running a few 8.1-R servers with Broadcom bce interfaces (Dell R510) and I'm seeing occasional packet loss on them (enough that it trips nagios now and then). Cabling seems fine

bce packet loss

2011-07-04 Thread Charles Sprickman
l that are not in 8.1, and the correlation between cpu load and the drops. What other information can I provide? Thanks, Charles [1] [root@h23 /home/spork]# sysctl -a |grep bce.1 dev.bce.1.%desc: Broadcom NetXtreme II BCM5716 1000Base-T (C0) dev.bce.1.%driver: bce dev.bce.1.%location: slot=

Re: link-local needed w/static IP and gateway?

2011-06-16 Thread Charles Sprickman
Hiroki Sato wrote: > Charles Sprickman wrote > in <4df9970d.5000...@bway.net>: > > sp> -Edit rc.conf to include your IPv6 IP(s) and default route, specify > sp> which interfaces will run IPv6, and enable IPv6: > sp> > sp> ipv6_enable="YES&qu

Re: link-local needed w/static IP and gateway?

2011-06-15 Thread Charles Sprickman
though, but info on the guts of address resolution was hard to come by. It would be really great if the network_ipv6 script would toggle the link-local sysctl when run. Why it does not puzzles me. Thanks, Charles Charles Sprickman wrote: > (sending to list, accidentally missed "reply t

Re: link-local needed w/static IP and gateway?

2011-06-12 Thread Charles Sprickman
(sending to list, accidentally missed "reply to all" when I replied to Doug) Doug Barton wrote: > On 6/12/2011 3:30 PM, Charles Sprickman wrote: >> Can anyone help me understand what the relationship is between address >> resolution for the router > > I don&#

link-local needed w/static IP and gateway?

2011-06-12 Thread Charles Sprickman
or simple autoconfigured LAN stuff - no one's really addressing typical colo/datacenter configs. I've got my workaround, but I'd like to understand what's going on. Thanks, Charles ___ freebsd-net@freebsd.org mailing l

Re: IPv6 alias masks/masks for routed aliases

2011-05-18 Thread Charles Sprickman
On Tue, 17 May 2011, Hiroki Sato wrote: Charles Sprickman wrote in : sp> First, the easy one. For IPv6 aliases, what is the proper subnet? Normally it is a /64. See also Section 2.5.4 in RFC 4291. My understanding was that a /64 was a common subnet since it's the minimum size

IPv6 alias masks/masks for routed aliases

2011-05-17 Thread Charles Sprickman
ubnet in our current setup, plus the network and broadcast IPs. I'm hoping that in a routed setup I can regain not only the VRRP IPs but the top and bottom of each subnet... Considering the scarcity of IPs these days, that would be a big help. Thanks, Charles _

Re: igb watchdog timeouts

2011-01-14 Thread Charles Owens
apped with sys/dev/ixgb, igbe... so I included them. Should I have? * Is there anything else I should have included? Thanks very much, Charles On 1/13/11 4:49 PM, Jack Vogel wrote: Polling has seemed to me to be a way around other problems, problems that these days no longer exist.

Re: igb watchdog timeouts

2011-01-13 Thread Charles Owens
In case it's of interest: igb0@pci0:1:0:0:class=0x02 card=0x34de8086 chip=0x10a78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'device = '82575EB Gigabit Network Connection' class = network subclass = ethernet Thanks, Charl

Re: igb watchdog timeouts

2011-01-13 Thread Charles Owens
y is that we're simply seeing igb issues, symptoms similar to those described. Does 8.2-RC1 have sufficiently "latest" code, or should I be looking to load up something else? (8-stable, maybe?) Thanks, Charles On 1/13/11 12:07 AM, Jack Vogel wrote: The problem that Robin saw was

Re: igb watchdog timeouts

2011-01-12 Thread Charles Owens
ou had any luck? Thanks, Charles Charles Owens Great Bay Software, Inc. On 1/3/11 4:02 PM, Robin Sommer wrote: Hello all, quite a while ago I asked about the problem below. Unfortunately, I haven't found a solution yet and I'm actually still seeing these timeouts after just upgra

Re: em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-15 Thread Charles Owens
The appliance is in a 1U form-factor with just a single riser-based slot (PCIe 2.0). Thanks for your help with this, Charles On 11/15/10 6:14 PM, Jack Vogel wrote: The way you talked about this at first made me think this was something new, but its actually fairly old, its just a quad port

Re: em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-15 Thread Charles Owens
is 8.1 the only option? Thanks, Charles On 11/15/10 4:58 PM, Jack Vogel wrote: Well, if the system doesnt show the hardware in a PCI scan there isn't much my driver can do :) The last line in your log says 'eth0', what's that about? You could try booting 8.1 64 bit, you ca

Re: em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-15 Thread Charles Owens
Server/Adapters/PRO1000PF-QuadPort/PRO1000PF-QuadPort-overview.htm Is this what you were expecting?We can also work on booting into 8.1 64bit. Thanks much, Charles On 11/15/10 4:58 PM, Jack Vogel wrote: Well, if the system doesnt show the hardware in a PCI scan there isn't much my dr

Re: em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-15 Thread Charles Owens
eing at 32 bit could be a factor here? So far the same card model has been tested on several of these server appliances, so I doubt it's a bad-slot situation. In case it's helpful, I've attached a boot log. Anything else that I can provide that might help? Thank you, Charl

Re: em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-15 Thread Charles Owens
Great... thanks! Please see attached. BTW, the system is running 8.0-RELEASE-p2 i386 (PAE). Charles On 11/13/10 2:24 AM, Jack Vogel wrote: pciconf -l please, I'll betcha these are the new quad ports that are in my next igb driver update, it would have gone in already but I&#x

em(4): 4-port Intel Pro/1000 PF card not detected

2010-11-12 Thread Charles Owens
- is there a known issue with the 4-port version? We've tried three different cards of this model, all with same result. Thanks in advance for any help. Charles -- Charles Owens Great Bay Software, Inc. ___ freebsd-net@freebsd.org ma

Re: 8.1 em alias changes MAC

2010-08-18 Thread Charles Sprickman
Following up on my own post... Well, that was dumb. I had IPMI enabled, and it had the same IP I was trying to use for the alias. Had no idea it somehow created it's own MAC though, that's odd. Sorry for the noise. Charles On Mon, 16 Aug 2010, Charles Sprickman wrote: Hello,

8.1 em alias changes MAC

2010-08-16 Thread Charles Sprickman
7;s MAC is 00:30:48:28:87:16. All the other hosts log this: Aug 16 03:02:50 media kernel: arp: 10.3.2.234 moved from 00:14:22:b1:54:18 to 00:14:22:b1:54:1a on em0 Deleting and re-adding the alias works for a bit, then this happens again. Any ideas? pciconf and dmesg snippet below. Th

Re: net.inet.tcp.slowstart_flightsize in 8-STABLE

2010-08-06 Thread Charles Logan
Sorry but this is not a bug. You set bad sysctl flags. We won't add it to our database and this is the final decison. Regards, Freebsd Team On Fri, Aug 6, 2010 at 10:56 AM, Andre Oppermann wrote: > On 13.07.2010 16:01, Maxim Dounin wrote: >> >> Hello! >> >> On Wed, May 12, 2010 at 04:47:02PM +0

Re: 8.1-RELEASE em watchdog timeout broken?

2010-08-06 Thread Charles Logan
Our company had to deal with the same problem We going to help you for 10k usd. On Wed, Aug 4, 2010 at 7:19 AM, Jack Vogel wrote: > The watchdog is working in all the internal testing that we've done, if > there's > some corner case here then I need more info to reproduce it. I'm confused > abo

Re: kern/149306: [alc] Doesn't work Atheros AR8131 PCIe Gigabit Ethernet

2010-08-06 Thread Charles Logan
Hi it;s not working because of you have to apply ms kb2010 08-9 patch. On Thu, Aug 5, 2010 at 7:20 PM, Troye Johnson wrote: > The following reply was made to PR kern/149306; it has been noted by GNATS. > > From: Troye Johnson > To: bug-follo...@freebsd.org, aksen...@gmail.com > Cc: > Subject:

Re: 8.0 carp problems

2010-04-29 Thread Charles Sprickman
On Wed, 21 Apr 2010, Charles Sprickman wrote: Hello, I still need to gather more info when I visit the datacenter to reboot one of the problematic hosts, but I wanted to verify my basic carp config here was solid. Said machine has been booted and is also on a remote power switch now. This

8.0 carp problems

2010-04-20 Thread Charles Sprickman
n if needed. I need to boot the locked box, enable dumps, and get more info on the revision of the fxp nics on it. Thanks, Charles ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

attempting local merge of e1000 from RELENG_8 to RELENG_8_0

2010-04-19 Thread Charles Owens
relies on somehow, such that this is an iffy proposition? * Has the e1000 driver in -STABLE now mostly stabilized... or is additional engineering expected in the near term? Any and all assistance is greatly appreciated! Thanks, Charles -- Charles

MFC of igb fixes?

2010-03-22 Thread Charles Owens
] igb0: [ITHREAD] igb0: Ethernet address: 00:15:17:b4:cf:e4 igb1: port 0x3000-0x301f mem 0xb1b0-0xb1b1,0xb1b4-0xb1b43fff irq 28 at device 0.1 on pci1 igb1: Using MSIX interrupts with 3 vectors igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: Ethernet address: 00:15:17:b4:cf:e5

Re: Sudden mbuf demand increase and shortage under the load (igb issue?)

2010-03-11 Thread Charles Owens
I've dug around in the source repo... it appears the new code is just shy of being MFC'd. Any known caveats with the new code or is it by all accounts good to go? I'm going to try testing it in 8.0. Thanks Charles Owens Great Bay Software, Inc. Charles Owens wrot

Re: Sudden mbuf demand increase and shortage under the load (igb issue?)

2010-03-11 Thread Charles Owens
up/down/up), but I'm concerned that we might fall victim to other symptoms mentioned if we put the system under load. Would you recommend we apply the igb patch you've mentioned? Is it in RELENG_8 yet, or is it still under development? Thanks very much, Charles Charles Owens Great Bay Soft

Re: libnet_get_hwaddr() failing with FreeBSD 8

2010-02-03 Thread Charles Owens
Charles Owens wrote: > Hello, > > I'm working with some code (snippet below) that fails with > libnet_get_hwaddr() function (it returns false). The code works fine > under 7.x but not with 8.0 . > > Any thoughts as to what might be going on? > Issue solved. I

libnet_get_hwaddr() failing with FreeBSD 8

2010-02-01 Thread Charles Owens
Hello, I'm working with some code (snippet below) that fails with libnet_get_hwaddr() function (it returns false). The code works fine under 7.x but not with 8.0 . Any thoughts as to what might be going on? Thanks much, Charles int get_hw_addr(char *device, u_char mac[6]) { s

Re: "PHY read timeout" with bce2 & 3 on FreeBSD 8.0

2010-01-20 Thread Charles Owens
Pyun YongHyeon wrote: > On Mon, Jan 18, 2010 at 10:40:55AM -0500, Charles Owens wrote: >> Hello, >> >> I'm working with a system (IBM System x3550 M2) that has four onboard >> bce(4) NICs. Using FreeBSD 8.0, the first two seem to function fine, >> but the sec

Re: "PHY read timeout" with bce2 & 3 on FreeBSD 8.0

2010-01-18 Thread Charles Owens
Pyun YongHyeon wrote: > On Mon, Jan 18, 2010 at 10:40:55AM -0500, Charles Owens wrote: >> Hello, >> >> I'm working with a system (IBM System x3550 M2) that has four onboard >> bce(4) NICs. Using FreeBSD 8.0, the first two seem to function fine, >> but the sec

"PHY read timeout" with bce2 & 3 on FreeBSD 8.0

2010-01-18 Thread Charles Owens
src/sys/dev/bce/if_bce.c(1533): Error: PHY read timeout! phy = 1, reg = 0x0001 What's are the best next steps to take in figuring this out? Thanks in advance for any assistance. Kernel boot log appending below. Charles -- Charles Owens Great Bay Software, Inc. Copyright (c) 1992-2

Performance issue with new pipe profile feature in FreeBSD 8.0 RELEASE

2009-11-24 Thread Charles Henri de Boysson
.8 MBytes 10.5 Mbits/sec [ 3] Sent 13382 datagrams [ 3] Server Report: [ 3] 0.0-16.3 sec893 KBytes449 Kbits/sec 1.810 ms 12757/13379 (95%) Let me know what other information you would need to help me debugging this. In advance, thank you for your help -- Charles-H

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Charles Swiger
On Jul 21, 2006, at 1:43 PM, Clément Lecigne wrote: 44-pi# grep -l pcap_inject /usr/lib/libpcap* 45-pi# nm -g /usr/local/lib/python2.4/site-packages/pcap.so | grep pcap_inject U pcap_inject Have you disable bpf support ? Which version of libpcap do you use ? No, bpf is compiled in

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Charles Swiger
On Jul 20, 2006, at 10:10 PM, [EMAIL PROTECTED] wrote: [1]: If I could only get net/py-pcap to build, I might be able to do a little more... :-) You only need net/py-pypcap, but if that's what you meant please let me know what the build problem is. Interesting-- basicly, your tests commonl

Re: Question about netinet/ip.h

2006-05-31 Thread Charles Swiger
On Jun 1, 2006, at 12:57 AM, Emil Kondayan wrote: Can someone tell me why "ip_hl" and "ip_v" are of type "u_int" when the structure is packed and they only fill a byte? Well, that struct definition is relying on the compiler to squeeze the bitfields into the smallest space required. Some p

Re: changing default route

2006-05-15 Thread Charles Swiger
On May 15, 2006, at 7:04 PM, OxY wrote: have two interfaces with the same ip, em0 connected to another server with crosslink, em1 is the public, can be reached from the internet connected to a switch. Don't do that. Use bridging instead, if appropriate. -- -Chuck _

Re: is NFS production-ready ?

2006-04-10 Thread Charles Swiger
On Apr 10, 2006, at 3:26 PM, dima wrote: First, searching through the archives I'm about to say "No". My goal is to provide NFS service to many FreeBSD clients sharing the exports. The usage pattern appears to be "many reads and not as much writes". The deployment might look like the follow

Re: Non dropping packet monitor

2006-03-24 Thread Charles Swiger
On Mar 24, 2006, at 5:46 PM, Paul Haddad wrote: I need to monitor packets flowing in/out of a freebsd 6.x box in a tcpdump/pcap (monitor only) style but I can't have packets dropped as tcpdump often does when its buffer fills up. I'm fine if the entire network connection slows down because of th

Re: Good gigabit NIC for 4.11?

2005-12-23 Thread Charles Swiger
On Dec 23, 2005, at 4:47 PM, Rink Springer wrote: However, there is little point to trying to use GB and jumbo frames on a NIC in a standard 33MHz PCI slot; unless you have PCI Express slots available or a GB card integrated with the chipset, the PCI bus will bottleneck the system from doing much

Re: Good gigabit NIC for 4.11?

2005-12-23 Thread Charles Swiger
On Dec 23, 2005, at 2:32 PM, Matt Staroscik wrote: I'm looking for a basic PCI 1-port card with jumbo frame support if possible--I can live without it. Either way, stability is much more important than performance. 4.11 ought to work well with both the Broadcom and Intel GB NICs. However, ther

Re: Re[2]: nat exclusion?

2005-11-02 Thread Charles Swiger
On Nov 2, 2005, at 4:45 PM, Peter Gregorc wrote: I've got 86.61.75.240/30 .241 is for BSD .242 for WS1 .243 broadcast So two are usable for outside usage, if NAT is disabled. Sure, but normally, either .1 or .2 of a /30 subnet (ie, your .241 or .242) is the externally-connected router of your

Re: nat exclusion?

2005-11-02 Thread Charles Swiger
On Nov 2, 2005, at 4:09 PM, Peter Gregorc wrote: My config is like this: ADSL MODEM BSD WS1 WS2 WS3 | || | | | (switch or hub-doesn't matter) I've got a /30 class subnet from my ISP. What i want to do is: -my BSD should start a PPPoE connection with my

Re: PPPoE and UDP fragmentation

2005-09-11 Thread Charles Sprickman
t might ignore fragments, and who along the way is actually doing the fragmentation. My current "fix" is just to set the interface MTU on the sending box to 1492, and that works well, but I'd really like to understand why it fails without that. Thanks! Charles -- Julian

PPPoE and UDP fragmentation

2005-09-09 Thread Charles Sprickman
agmented? -Are there any tunables at either end (both hosts are FreeBSD 4.11 p11) to alter how fragmented packets are re-assembled? Thanks, Charles ___ Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet - www.bway.net [EMAIL PROTECTED] - 212.655.9344

Re: divert sock api q

2005-06-07 Thread Charles Swiger
On Jun 7, 2005, at 6:31 PM, Julian Elischer wrote: [ ...about the ip_vhl byte... ] sorry misread you.. yes.. OK. on my net segment there are a lot of other non IP packets floating around and I am used to seeing 45 and 42 and didn't stop to think that the 42 are not IP :-) No problem, the

Re: divert sock api q

2005-06-07 Thread Charles Swiger
On Jun 7, 2005, at 5:29 PM, Julian Elischer wrote: I agree with your suggestion, but how can you have an ip_vhl of 0x42? Doesn't a valid IP packet need to have a header length of at least 5 (5 << 2 == 20 bytes)? huh? the first byte of an IP packet is not the length.. the first byte you s

Re: bpf writes on tun device

2005-06-07 Thread Charles Swiger
On Jun 7, 2005, at 4:56 PM, Matthew Luckie wrote: Agreed. When you use BPF or PCAP to capture packets, for the DTL_NULL case there is a 4-byte offset between where PCAP says the packet starts and where the actual raw IP packet starts. If you want BPF/PCAP to return packets without the 4-byt

Re: bpf writes on tun device

2005-06-07 Thread Charles Swiger
On Jun 7, 2005, at 3:54 PM, Matthew Luckie wrote: I'd be wary of changing the definition of DLT_NULL however -- it literally means 'there's nothing here apart from raw data', and changing this notion would mean that we have to change it everywhere, including bpf clients, because the change b

Re: divert sock api q

2005-06-07 Thread Charles Swiger
On Jun 7, 2005, at 1:14 PM, Julian Elischer wrote: I apologize for being so exceptionally dense, this is driving me completely up the walls.. if you are receiving the entire IP packet in user space (first byte is 0x42 or 0x45 usually) then you need to update teh packet length field of the

Re: issue with route

2005-06-03 Thread Charles Swiger
On Jun 3, 2005, at 6:40 PM, Li, Qing wrote: Are you perhaps asking for .emacs setting which conforms to this (the four-space) style? Yes, do you have one ? For most purposes, if you set c-basic-offset to 4, this will also work fine with classic BSD-style code using 8-chars as the initia

Re: sending MAC packets --- again, and again

2005-05-21 Thread Charles Swiger
On May 21, 2005, at 12:27 PM, Daniel Valencia wrote: [ ...pcap reading code stalling... ] Is this normal pcap behaviour, or is it some FreeBSD-specific behaviour, or is it just me? It's unfortunately normal. You're running into this (from "man pcap"): NOTE: when reading a live capture

Re: sending MAC packets --- again, and again

2005-05-21 Thread Charles Swiger
On May 20, 2005, at 11:16 PM, Daniel Valencia wrote: I know this may sound funny, but I'm still wrestling with libpcap because I send packets and I cannot read them. I tried also some example code of a toy sniffer from a tutorial to pcap, and it behaves just like my code. As my code is pretty c

Re: sending MAC packets

2005-05-03 Thread Charles Swiger
On May 3, 2005, at 8:33 PM, Daniel Valencia wrote: I'm doing research on network-layer protocols, so I need a way to send packets straight into layer 2. So far i've been reffered to raw sockets, but i've read the code and i cannot skip header checking and that stuff... Is there a way to interact

Re: Disable NFS client cache (or other traffic reduction methods)

2005-04-07 Thread Charles Swiger
On Apr 7, 2005, at 3:51 PM, Eli Dart wrote: Looking at the packet contents, it appears to be fetching back the last few blocks of the log file. My guess is that this is the client keeping its NFS cache fresh. The client is never, ever, ever going to read that file (or any file on that filesystem) o

Re: Q: routing, nat

2005-04-04 Thread Charles Swiger
On Apr 4, 2005, at 4:24 PM, Alan wrote: I am trying to setup a home network with Internet access for a windows xp machine and freeSBIE workstation and want to use the bsd station to act as a gateway for the windows one. I am having hard time setting the correct routing info. I will really appreciat

Re: FreeVRRPd project status

2005-04-04 Thread Charles Swiger
On Apr 4, 2005, at 3:35 PM, Markus Oestreicher wrote: Does anyone know the current status of the FreeVRRPd project? It's dead, I think: Cisco's lawyers started making predatory noises about their "intellectual property". Some people from NetBSD are working on a replacement called CARP, which yo

Re: tcpdump/bpf and seeing .1q tags

2005-03-09 Thread Charles Swiger
On Mar 9, 2005, at 2:22 PM, Charlie Schluting wrote: So with tcpdump -e it somehow magically sees vlan tags.. even if hardware stripping of the tags is enabled. How? tcpdump normally puts the interface into promiscuous mode. Perhaps retry using the '-p' flag? More importantly, I'm trying to figure

RE: FreeBSD 4.x and OS-X tcp performance

2005-03-09 Thread Charles Sprickman
-0xfebf irq 11 at device 18.0 on pci0 Anything else I can provide? Thanks, Charles --Mark Tinguely. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-07 Thread Charles Sprickman
box is at 3.3, which may prove important since it's quite dated. If there's anything else I can provide, let me know. Thanks, Charles On Mon, 7 Mar 2005, Daniel Hartmeier wrote: On Mon, Mar 07, 2005 at 02:04:01PM -0500, Charles Sprickman wrote: Very interesting, thank you for that read

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-07 Thread Charles Sprickman
On Mon, 7 Mar 2005, Daniel Hartmeier wrote: On Sun, Mar 06, 2005 at 04:45:30PM -0500, Charles Sprickman wrote: For fun I'm going to post a full tcpdump of an ftp session from one box to the other, maybe someone can spot something there? It's attached and bzip'd. It's a t

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-06 Thread Charles Sprickman
On Fri, 4 Mar 2005, Bill Vermillion wrote: "Ang utong ko ay sasabog sa sarap!" exclaimed Charles Sprickman while reading this message on Fri, Mar 04, 2005 at 18:43 and then responded with: On Fri, 4 Mar 2005, Darcy Buskermolen wrote: On Friday 04 March 2005 14:34, Charles Sprickman wr

Re: FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Charles Sprickman
On Fri, 4 Mar 2005, Darcy Buskermolen wrote: On Friday 04 March 2005 14:34, Charles Sprickman wrote: Howdy, Sorry to bring what seems like a simple issue up here. I had been blaming slow afp filesharing between my OS-X (10.3.8 and previous) and FreeBSD 4.x boxes on netatalk's afp implement

FreeBSD 4.x and OS-X tcp performance

2005-03-04 Thread Charles Sprickman
fault lies within the OS-X tcp stack. I'm no tcpdump wizard, would anyone care to help me track this down? Thanks, Charles ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail

Re: DNS question ???

2005-03-04 Thread Charles Swiger
On Mar 4, 2005, at 2:02 PM, Sheh, Peter wrote: [ ...crossposting trimmed... ] Hope someone can help me with this question: "What does DNS do when the same hostname is reported from multiple systems with different IP addresses? " The DNS returns the same hostname for each of the IPs which have

Re: Fixing "Slipping in the window" before 4.11-release

2005-01-03 Thread Charles Swiger
On Jan 3, 2005, at 2:31 AM, Mike Silbersack wrote: For the life of me, I can't figure out why SYN packets (other than delayed retransmissions of the original SYN) would ever show up once a connection is in the ESTABLISHED state. So, I'm proposing the attached patch, which simply ignores any pac

Re: Working on howl port

2004-12-13 Thread Charles Swiger
On Dec 13, 2004, at 4:06 AM, Andrea Campi wrote: I'd like to live complications such as this for a later stage. I'd say if you have a multihomed machine you better know how to configure it; the primary target for my work are laptops and other clients. That is not to say I don't care; rather, I need

Re: polling(4) rocks!

2004-11-17 Thread Charles Swiger
On Nov 17, 2004, at 1:52 PM, Eugene Grosbein wrote: On Wed, Nov 17, 2004 at 09:13:51PM +0300, Yar Tikhiy wrote: [ ...praise of polling(4)... ] Does polling(4) increase latency? It is very imortant for router that handles lots of RTP (VoIP) traffic. Using polling does increase the latency of the tra

Re: gateway for separate networks

2004-09-11 Thread Charles Swiger
On Sep 11, 2004, at 9:41 PM, Bob Ababurko wrote: I have two networks that are routed to me via a serial connection, namely a T1. I have just installed a new router and it has two ethernet ports that will route to the two different networks. What I want to do is have a single machine have two r

Re: Tunneling HTTPS with Squid

2004-09-07 Thread Charles Swiger
On Sep 7, 2004, at 9:53 AM, Vladimir Terziev wrote: When HTTP traffic is forwarded with Squid all is ok, because the proper X-FORWARDED-FOR header is set and we are able to identify the request issuer. When Squid forwards HTTPS traffic to us, situation is different, because the only IP which we

Re: 3 NICs - 1 upstream, 2 downstream to same subnet??

2004-09-03 Thread Charles Swiger
On Sep 3, 2004, at 6:54 AM, RRrp Toren wrote: What you're trying to do work actually give you much benefit to security: someone who wants to break in doesn't have to pay attention to the DHCP lease you give them, they can just assign themselves a good 10.0.0.x address. I am not a believer in

Re: 3 NICs - 1 upstream, 2 downstream to same subnet??

2004-09-02 Thread Charles Swiger
On Sep 2, 2004, at 2:17 PM, rip wrote: I am trying to make a configuration to isolate the WiFi APs on a single segment. DHCP hands out 'good' addresses (10.0.0.x) to MACs it recognizes and 'bad' (10.99.0.x) when the MAC does not match and is taken from the common pool. I then will use ipfw to bl

Re: proposed new if_data variable

2004-08-27 Thread Charles Swiger
On Aug 27, 2004, at 4:05 PM, Brooks Davis wrote: Since this will increase the size of struct if_data and thus struct ifnet, the change needs to be made now if it's going to be made for 5-STABLE. Any comments on this idea? I think the change is useful, by all means. -- -Chuck __

Re: em driver worse then fxp driver ... why?

2004-08-10 Thread Charles Swiger
[ ...crossposting between stable and freebsd-net trimmed... ] On Aug 10, 2004, at 4:37 PM, Marc G. Fournier wrote: I've tried in bth half and full duplex mode .. full duplex, Ierrs climbs, half-duplex, Collisions climb ... You should expect to see some collisions (1% or so) when working in half-d

Re: comparision of firewalling on Linux and FreeBSD

2004-06-30 Thread Charles Swiger
On Jun 30, 2004, at 1:47 PM, [EMAIL PROTECTED] wrote: Looking for considered comparisions of firewalling on Linux and FreeBSD. Hmm, what you should be considering is whether you want to use pf/IPF, or IPFW. If IPFW makes more sense to you, use FreeBSD. If you want to use IPF, either platform w

Re: udp checksum on raw sockets

2004-04-27 Thread Charles Swiger
On Apr 27, 2004, at 12:09 PM, Mark Santcroos wrote: * I'm sending UDP packets on a raw socket. * iphdr->ip_src.s_addr = INADDR_ANY; So I don't know the IP address that will be used as src address. The kernel ought to pick the src address of the interface the packet will be sent from according t

Re: IP_ONESBCAST and upcoming RELENG_4_9 freeze

2004-01-26 Thread Charles Swiger
On Friday, August 22, 2003, at 01:35 AM, Wes Peters wrote: On Thursday 21 August 2003 07:22 am, Bruce M Simpson wrote: Hi all, Does anyone have any major objections to an MFC'ing of IP_ONESBCAST which I committed yesterday before the upcoming 4.9 code freeze next Monday? No, please do-- your and W

Re: suffering from poor network performance...

2003-12-17 Thread Charles Swiger
On Dec 17, 2003, at 9:34 AM, Bill Vermillion wrote: I've not tried the ping but I'm seeing exceptionally poor performance on G4s to FreeBSD. The G4's can ftp to each other at about 8-9MB/sec, as can the FreeBSDs. They are on a Cisco 2948 switch. But ftp from BSD to G4 is in the order of 20-40KB/

Re: suffering from poor network performance...

2003-12-16 Thread Charles Swiger
On Dec 16, 2003, at 7:22 PM, Alex (ander Sendzimir) wrote: [ ... ] First, Barney was correct: using "ping -f" will run into the ICMP response limitation. Try using "ping -i 0.01 _hostname_", instead, and you may find out that you don't have a problem with packet loss at all at this lower speed.

Re: suffering from poor network performance...

2003-12-16 Thread Charles Swiger
On Dec 16, 2003, at 6:32 PM, Barney Wolff wrote: You're seeing icmp rate-limiting. Don't worry about it. Whoops, I didn't pay particular attention to the "-f" option, but you're absolutely right... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://li

Re: suffering from poor network performance...

2003-12-16 Thread Charles Swiger
On Dec 16, 2003, at 5:58 PM, Alex (ander Sendzimir) wrote: I have a small home network with a PowerBook G4 and FBSD 4.9-STABLE connected through a Netgear DS108 hub (10/100). If the device works at both 10 and 100 speed, it's a switch, not a hub. Anyway, the very high rates of packet loss you rep

Re: Controlling ports used by natd

2003-12-14 Thread Charles Swiger
On Dec 12, 2003, at 7:19 PM, Barney Wolff wrote: I have a real philosophical problem with ceding ports to worms, viruses and trojans. Where will it stop? Portno is a finite resource. This is a respectable position, but the notion of categorizing ranges of ports into an association with a securit

ip addressing question

2003-11-20 Thread charles pelletier
I'm hoping someone here can answer this question as regards IPs etc. I realize this is probably a Windows related issue but I was hoping someone here could explain, in terms of networking, what could be occuring.. When connected via PPPoE, this issue occurs: No matter the User/Pass, ipconfig pul

Thoughts on IPv6, was: Re: Help Broadcasting a UDP packet on the LAN:URGENT

2003-10-23 Thread Charles Swiger
On Thursday, October 23, 2003, at 03:43 PM, Barney Wolff wrote: My expectation is the same as yours, but I strongly believe that anyone doing a new design that deliberately ignores IPv6 is being very shortsighted. "Quite some time" is now only years, not decades. It might be useful to consider ano

Re: Help Broadcasting a UDP packet on the LAN:URGENT

2003-10-23 Thread Charles Swiger
On Thursday, October 23, 2003, at 03:43 PM, Barney Wolff wrote: On Thu, Oct 23, 2003 at 02:23:57PM -0400, Charles Swiger wrote: What are you going to do when IPv6 comes into more general use, since it has no broadcast address? Are you asking what a IPv4-to-IPv6 translator (like gif?) should do

  1   2   >