Re: Bridging when one interface has no carrier

2002-10-24 Thread Lars Eggert
not sure which one is the best approach. On Mon, Aug 19, 2002 at 09:52:27AM -0700, Lars Eggert wrote: I've filed a PR (kern/41632, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/41632) on the following problem: FreeBSD box with two Ethernet NICs, e.g. if0 with IP address A and if1 with IP address B

Re: Bridging when one interface has no carrier

2002-10-25 Thread Lars Eggert
Lars Eggert wrote: Attached is a rough patch to if_ethersubr.c that fixes the problem. It should probably further be tweaked (there's a chance for duplicates), but I wanted some comments first :-) Here's a revised version of the patch (against bridge.c, which is a better place

Re: Dummynet Usage Problems

2002-10-01 Thread Lars Eggert
Vinod wrote: --- Lars Eggert [EMAIL PROTECTED] wrote: That looks OK. What does ipfw show print? ipfw pipe 1 show prints: 1: 100.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x/0x -0x/0x *Just* ipfw show - I was wondering if your packets match

Re: IPSEC/NAT issues

2002-10-17 Thread Lars Eggert
, and transport-mode IPsec that. That way, your NAT packets get tunneled, and the tunneled packets secured. On inbound, security processing comes first, then decapsulation, then ipfw. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME

Re: Bridging when one interface has no carrier

2002-10-27 Thread Lars Eggert
[Re-send, forgot to attach the patches. Argh.] Lars Eggert wrote: This causes the problem decribed in PR kern/41632 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/41632), where dhcpd listens on interface A which is bridged to interface B. When A has no carrier, DHCP requests arriving on B

RFC 3390: Increasing TCP's Initial Window

2002-11-01 Thread Lars Eggert
net.inet.tcp.slowstart_flightsize to 4? (I've been running with this for a long time w/o problems.) Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: Packet Capturing on GWs but don't let them go out.

2002-11-22 Thread Lars Eggert
soheil soheil wrote: I want to do packet capturing but as you know the pcap let the packet go out and just put a copy on the buffer . I just want to do a copy and don't let them go out . Sounds like you should be using a divert socket, and not a bpf. Lars -- Lars Eggert [EMAIL PROTECTED

Re: Multihoming - implementing RFC 1122

2002-12-02 Thread Lars Eggert
, where IP is used as both link and network protocol. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: IPSEC over wireless link

2002-12-05 Thread Lars Eggert
/transport//require; spdadd 10.0.0.0/0 10.0.0.3 any -P out ipsec esp/transport//require; EOF These look fishy. Shouldn't they simply be: spdadd 10.0.0.3 10.0.0.1 any -P in ipsec esp/transport//require; spdadd 10.0.0.1 10.0.0.3 any -P out ipsec esp/transport//require; Lars -- Lars Eggert [EMAIL

Re: NIC throughput on multiprocessor low.

2003-01-06 Thread Lars Eggert
, what were the numbers you got when you measured (and what is chariot)? Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: FreeBSD 5.0 Multiple NICs , IPFW and IPNAT

2003-03-06 Thread Lars Eggert
, there is no need to run DHCP to get them. Just assign them as aliases to a single NIC, turn off DHCP, and related MAC address registration headaches go away. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: Need to frag (DF) :)

2003-03-31 Thread Lars Eggert
on. Try tcpmssd from ports, and bind it to ng0 after it comes up. It should diddle the MSS values in your TCP SYNs on the fly. (You may also have to do something similar on the tunnel endpoint for inbound connections.) Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences

Re: options FAST_IPSEC tunnels

2003-04-01 Thread Lars Eggert
will then go to Informational.) Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: options FAST_IPSEC tunnels

2003-04-02 Thread Lars Eggert
Eric, On 4/2/2003 7:58 AM, Eric Masson wrote: Lars == Lars Eggert [EMAIL PROTECTED] writes: Lars Alternatively (and already working), you can replace IPsec tunnel Lars mode with IPIP (gif) tunnels and transport mode, and then use the Lars gif device in your firewall rules. If transport mode

Re: Bandwidth monitoring

2003-06-24 Thread Lars Eggert
^^^ in and out. If -d is also present, show the number of dropped ^^^ packets. If -t is also present, show the contents of watchdog timers. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s

Re: Recursive Tunneling

2003-08-14 Thread Lars Eggert
): 56 data bytes ping: sendto: Input/output error ping: sendto: Input/output error ping: sendto: Input/output error Did you increase net.link.gif.max_nesting via sysctl? Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic

Re: Translate MAC address to IP address

2003-08-14 Thread Lars Eggert
packets received, 0% unanswered Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: Translate MAC address to IP address

2003-08-15 Thread Lars Eggert
Nick, Nick Barnes wrote: At 2003-08-13 15:43:51+, Lars Eggert writes: Nick Barnes wrote: I have some MAC addresses from a local Ethernet segment. I want to convert them into IP addresses. How can I do that programmatically? net/arping from port: Thanks for the reference. I had a look

Re: CFR: bridge locking

2003-08-20 Thread Lars Eggert
needed both these changes for our Soekris-based rent-a-subnet box: http://www.isi.edu/tethernet/ -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: I would like to tcpdump and get all the packets...

2003-09-18 Thread Lars Eggert
Michael Sierchio wrote: The time it takes to resolve host names, probably, and the additional burden of writing the service names, where known, etc. Try tcpdump -vvv -n or tcpdump -vvv -ln Or try a binary dump straight into a file, and analyze it offline. Lars -- Lars Eggert [EMAIL PROTECTED

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

2003-10-20 Thread Lars Eggert
PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL PROTECTED] -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: Filtering question: checking for many addresses in a single rule?

2003-10-21 Thread Lars Eggert
. simulate a trie-like structure with the firewall. This can can get you down to O(log). It's not as automatic as you'd like though, probably. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information Sciences Institute smime.p7s Description: S/MIME Cryptographic Signature

Re: ipsec tunnels packet length issues

2003-10-29 Thread Lars Eggert
with mtu, is there a fix ? See the section on PMTU discovery in draft-touch-ipsec-vpn-06. If the requirements of your setup allow is, IPIP gif tunnels together with IPsec transport mode (as described in the ID) can address this issue. Lars -- Lars Eggert [EMAIL PROTECTED] USC Information

Re: Routing With Two ISPs?

2003-11-07 Thread Lars Eggert
would target at true policy-based routing. For some simple setups, you can use ipfw fwd rules to forward on something other than destination address. But I agree that for more complex things you need some implementation of policy routing. Lars -- Lars Eggert [EMAIL PROTECTED] USC

European USB DSL modems?

2004-01-29 Thread Lars Eggert
- all my US modems just had an Ethernet port... -- Lars Eggert NEC Network Laboratories smime.p7s Description: S/MIME Cryptographic Signature

Re: question: source address on interface w/ aliases?

2004-02-13 Thread Lars Eggert
) Such was my expectation. But: is this a BSD-specific implementation? If I catch a kernel doing otherwise, can I say 'Aha! That's a bug based on documented standards' ? RFC 1122, Section 3.3.4.2 Lars -- Lars Eggert NEC Network Laboratories smime.p7s Description: S/MIME

Re: TCP RST handling in 6.0

2005-11-08 Thread Lars Eggert
frequently come across entries in the logs that I wish I had some more information about. I'd even go as far as (optionally) dumping all such packets in tcpdump format. Lars -- Lars Eggert NEC Network Laboratories

Re: TCP RST handling in 6.0

2005-11-08 Thread Lars Eggert
such as this one, and are able to judge the risks of enabling it. Lars -- Lars Eggert NEC Network Laboratories

Re: TCP RST handling in 6.0

2005-11-08 Thread Lars Eggert
from spoofed RSTs. Lars -- Lars Eggert NEC Network Laboratories

Re: My planned work on networking stack

2004-03-01 Thread Lars Eggert
to coordinate with the donations officer for help in getting equipment you may need. this sounds like something you could do with planetlab (http://planet-lab.org/). Do you have access? (Or maybe I misunderstood what you meant by testbed.) Lars -- Lars Eggert NEC

Re: My planned work on networking stack

2004-03-01 Thread Lars Eggert
Lars Eggert wrote: this sounds like something you could do with planetlab (http://planet-lab.org/). Do you have access? (Or maybe I misunderstood what you meant by testbed.) Argh. Yes, it runs Linux. Yes, I'm jet lagged. (But there was some talk about running something else on planetlab at some

Re: simulating an LFN over 1Gb LAN Ethernet?

2004-04-22 Thread Lars Eggert
spacing. That may or may not be a problem for what you are trying to simulate however. Lars -- Lars Eggert NEC Network Laboratories smime.p7s Description: S/MIME Cryptographic Signature

Re: TCP out-of-order packets.

2005-01-13 Thread Lars Eggert
and reestablish the original packet order. Lars -- Lars Eggert NEC Network Laboratories smime.p7s Description: S/MIME Cryptographic Signature

Re: Some question about DCTCP implementation in FreeBSD

2019-06-04 Thread Lars Eggert
Hi, glad to see interest in DCTCP! On 2019-6-4, at 11:05, Yu He via freebsd-net wrote: > In line 387 of file cc_tcp.c, the update of alpha is calculated by following > code: > > dctcp_data->alpha = min(alpha_prev - (alpha_prev >> V_dctcp_shift_g) + > (dctcp_data->bytes_ecn << (10

<    1   2