Re: Regression with pf or IPv6 on FreeBSD 14 with IPsec gif(4) tunnel

2023-09-20 Thread Xin Li
On 2023-09-15 4:43 AM, mike tancsa wrote: On 9/15/2023 1:38 AM, Xin Li wrote: On 2023-09-14 3:28 AM, Kristof Provost wrote: On 14 Sep 2023, at 4:54, Xin Li wrote: Hi! And as a shoot to the dark, I tried again with IPsec (racoon) disabled, and the issue is gone.  My IPsec configuration

Re: Regression with pf or IPv6 on FreeBSD 14 with IPsec gif(4) tunnel

2023-09-14 Thread Xin Li
On 2023-09-14 3:28 AM, Kristof Provost wrote: On 14 Sep 2023, at 4:54, Xin Li wrote: Hi! I recently upgraded my home router and found that there is some regression related to pf or IPv6. When attempting to connect an IPv6 TCP service, process would enter a seemingly unkillable state

Regression with pf or IPv6 on FreeBSD 14 with IPsec gif(4) tunnel

2023-09-13 Thread Xin Li
Hi! I recently upgraded my home router and found that there is some regression related to pf or IPv6. When attempting to connect an IPv6 TCP service, process would enter a seemingly unkillable state (the stack varies but always begins with write, so it seems that tailscale was trying to

Re: [pf] stable/12: block by OS broken

2021-02-17 Thread Xin Li via freebsd-net
On 2/17/21 22:57, Xin Li wrote: > On 2/17/21 22:35, Kristof Provost wrote: >> On 18 Feb 2021, at 6:01, Xin Li wrote: >> >> Hi, >> >> It appears that some change between 939430f2377 (December 31) and >> b4bf7bdeb70 (today) on stable/12 have broke

Re: [pf] stable/12: block by OS broken

2021-02-17 Thread Xin Li via freebsd-net
On 2/17/21 22:35, Kristof Provost wrote: > On 18 Feb 2021, at 6:01, Xin Li wrote: > > Hi, > > It appears that some change between 939430f2377 (December 31) and > b4bf7bdeb70 (today) on stable/12 have broken pf in a way that the > following rule: > >

[pf] stable/12: block by OS broken

2021-02-17 Thread Xin Li via freebsd-net
Hi, It appears that some change between 939430f2377 (December 31) and b4bf7bdeb70 (today) on stable/12 have broken pf in a way that the following rule: block in quick proto tcp from any os "Linux" to any port ssh would get interpreted as: block drop in quick proto tcp from any to any port = 22

in6_mcast: in6_joingroup attempts to acquire IN6_MULTI_LOCK when sleeping prohibited

2019-10-17 Thread Xin Li via freebsd-net
I have seen this on boot of my laptop. It appears that in6_joingroup() was called in netisr_dispatch_src codepath, and it tried to acquire IN6_MULTI_LOCK(), which happened to sleep because we failed to acquire the sx, thus triggered the panic. === panic: sleepq_add: td 0xf8000ecd6000 to

Re: panic: sleeping in an epoch section

2019-10-14 Thread Xin Li via freebsd-net
On 2019-10-09 08:07, Gleb Smirnoff wrote: > Yes, I we should allow sleep in ifioctl handlers. So this is my fault, I'll > handle it today. It seems that -CURRENT as of today would panic with: (kgdb) #0 doadump (textdump=1) at src/sys/amd64/include/pcpu_aux.h:55 #1 0x80bbe550 in

[Differential] [Updated] D4824: hyperv/hn: Implement LRO

2016-01-10 Thread delphij (Xin Li)
delphij added a comment. Looks good to me overall, consider this as a formal approval if there is no objection from Adrian by Monday. Could you please take a look at my inline comments and address them if they are reasonable? INLINE COMMENTS

Re: HELP! Mysterious socket 843/tcp listening on CURRENT system

2015-09-15 Thread Xin Li
On 9/15/15 00:06, O. Hartmann wrote: > Hopefully, I'm right on this list. if not, please forward. > > Running CURRENT as of FreeBSD 11.0-CURRENT #3 r287780: Mon Sep 14 13:34:16 > CEST 2015 amd64, I check via nmap for open sockets since I had trouble > protecting a server with IPFW and NAT. >

Panic with recent -CURRENT

2015-08-17 Thread Xin Li
: } if (ifp-if_addrlen != ah-ar_hln) { - LLE_WUNLOCK(la); ARP_LOG(LOG_WARNING, from %*D: addr len: new %d, i/f %d (ignored)\n, ifp-if_addrlen, (u_char *) ar_sha(ah), :, ah-ar_hln, Cheers, -- Xin LI delp

Re: tcp window scaling (rfc1323) problem

2015-08-03 Thread Xin Li
some packet capture (tcpdump -w with the host/port's) so our TCP developers would be able to look into deeper? Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.1.6 (FreeBSD

Re: Looking for input on locally patch tcpdump or merge in latest release from upstream?

2015-05-28 Thread Xin Li
has been doing last few imports. Yes, I think we should do the new import. (Are you willing to do that? I'm doing it only because nobody else were doing it...) Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN

Re: Looking for input on locally patch tcpdump or merge in latest release from upstream?

2015-05-28 Thread Xin Li
On Thu, May 28, 2015 at 1:18 PM, hiren panchasara hi...@strugglingcoder.info wrote: On 05/28/15 at 10:12P, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Hiren, On 05/27/15 21:55, hiren panchasara wrote: On 05/28/15 at 12:40P, Patrick Kelsey wrote: Hi, I've had

Re: Bring netstat -R to stable10

2015-04-06 Thread Xin Li
all platforms that FreeBSD currently supports have 32-bit int (doing a quick grep of __UINT_MAX), I think the change does not break KBI. The added field does not break KPI. Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free

[Differential] [Changed Subscribers] D1711: Changes to the callout code to restore active semantics and also add a test-framework and test to validate thecallout code (and potentially for use by other

2015-01-28 Thread delphij (Xin Li)
delphij added a subscriber: delphij. REVISION DETAIL https://reviews.freebsd.org/D1711 To: rrs, gnn, rwatson, imp, adrian, sbruno, lstewart, hselasky Cc: delphij, neel, erj, freebsd-net ___ freebsd-net@freebsd.org mailing list

Panic after iwn0 controller panic

2014-12-04 Thread Xin Li
haven't looked at the issue further yet as I haven't idea how to provoke the issue again. Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.1.0 (FreeBSD

Re: [tor-relays] FreeBSD's global IP ID

2014-11-07 Thread Xin Li
- -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0 iQIcBAEBCgAGBQJUXTyeAAoJEJW2GBstM+nscFkP/3AZyfGcZ+guYAXKg2fXUeNL 2A6upXx5Vtb7xMyTeCSfccGMtvc/IsGjWNrN8m8gC1xo304RDE9ChxZKUwtbSjNz

Re: Non-interrupt packet sending and receiving

2014-03-28 Thread Xin Li
it work for dumping a kernel over ethernet. Anyone want to take a look at the diffs I have so far? Cool! Maybe create a branch in svn.freebsd.org or github? Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN

Re: Why default route is not installed last?

2013-08-26 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/26/13 11:10, Julian Elischer wrote: On 8/26/13 7:56 PM, Kimmo Paasiala wrote: On Mon, Aug 26, 2013 at 2:37 PM, Hiroki Sato h...@freebsd.org wrote: Xin Li delp...@delphij.net wrote in 521670ff.6080...@delphij.net: de -BEGIN PGP

Why default route is not installed last?

2013-08-22 Thread Xin Li
) that is required by the default route. Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBCgAGBQJSFnD/AAoJEG80Jeu8UPuzUx0H/20W31vhhHL56CtjIIGEfbVP

Re: Per-IP Bandwidth Monitoring

2013-06-08 Thread Xin LI
Try this patch: https://cgit.delphij.net/freebsd/patch/?id=39c6ec81eb015ed6788c203a1aea6148f813d063 We haven't merged it to -HEAD only because it's not clear how much overhead this would incur. Cheers, ___ freebsd-net@freebsd.org mailing list

Re: LOR: taskqueue_drain with the following non-sleepable locks held with if_em

2013-05-08 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/07/13 21:55, Garrett Cooper wrote: On Tue, May 7, 2013 at 4:06 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/07/13 15:03, Garrett Cooper wrote: Saw the following LOR on a CURRENT build

Re: LOR: taskqueue_drain with the following non-sleepable locks held with if_em

2013-05-07 Thread Xin Li
0; } I've added Jeff to Cc. Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCgAGBQJRiYjwAAoJEG80Jeu8UPuzOC0H+wbTxVq3nPOuQqZynOLcxHVj L19b1D8opm8hl3AwXfvbOyCbEEenoHJm0FjBd+5eas

Re: bce(4) on the Dell PE 2950

2013-04-12 Thread Xin Li
that the firmware can be more easily updated by user? Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- iQEcBAEBCgAGBQJRaHfwAAoJEG80Jeu8UPuz5EkIAMpC9/vKi62HGPSZKWO5KqH3

Re: smbfs slow compared to smbclient

2013-01-07 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 1/7/13 10:02 PM, Mikhail T. wrote: Hello! I found this same question asked back in 2005, but never answered: http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/098717.html Today, 7 years later, using FreeBSD-9.1 I

Re: kern/168217: [bce] Watchdog timeouts with bce(4) on BCM5716

2012-06-04 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/04/12 17:32, YongHyeon PYUN wrote: On Tue, May 22, 2012 at 10:34:00AM -0700, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/22/12 03:37, yong...@freebsd.org wrote: Your release information(i386) and environment(amd64

Re: kern/168217: [bce] Watchdog timeouts with bce(4) on BCM5716

2012-05-22 Thread Xin Li
that does not exhibit the same problem, they have oui=0x50ef for the four brgphy's, and on this system the four have oui=0xaf7 (brgphy0 pnpinfo oui=0xaf7 model=0x3c rev=0x8 at phyno=1). Not sure if this is related though. Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD

Re: I want to change the ToS / DSCP on FreeBSD

2011-07-22 Thread Xin LI
they did released the code under 3 clause BSD license. https://github.com/yahoo/l3dsr/tree/master/ We should probably make a port or import it into the base system, I think? Cheers, - -- Xin LI delp...@delphij.nethttps://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die

named: client (a broadcast address)#(port): error sending response: permission denied

2010-11-12 Thread Xin LI
am not yet aware of which operating system did that. Another workaround is to patch named (contrib/bind9/bin/named/client.c) around the log and disable the whole log thing. == The fix is to either fix the offending host or remove it. Cheers, - -- Xin LI delp...@delphij.nethttp

Re: em(4): discard frame w/o packet header (82547L on Supermicro X7SPA-H) on stable/8

2010-09-30 Thread Xin LI
information as well as sysctl dev.em output on the system just in case you will be interested in them: https://neptune.delphij.net/acpi/ Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE

em(4): discard frame w/o packet header (82547L on Supermicro X7SPA-H) on stable/8

2010-09-17 Thread Xin LI
?) issue by the way? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJMk6dhAAoJEATO+BI/yjfBDCUH/jJNsvmePB4Onq7rSgXvgJEu

Re: em(4): discard frame w/o packet header (82547L on Supermicro X7SPA-H) on stable/8

2010-09-17 Thread Xin LI
' device = 'Intel(R) ICH9 Family SMBus Controller working fine with http://download.cnet.com/Chipset-Driver-Inte (8086)' class = serial bus subclass = SMBus Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die

Re: panic: rtqkill route really not free on freebsd 8.0-release update

2010-07-02 Thread Xin LI
copying the route entry rather than referencing it but I didn't yet on how should I implement that and do benchmark... Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.15

Re: A slight change to tcpip_fillheaders...

2010-06-02 Thread Xin LI
architectures. I'd for this change if it doesn't cause performance regression :) Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBCAAGBQJMBuTXAAoJEATO+BI/yjfBj20H

Recent nc(1) changes

2010-04-15 Thread Xin LI
. My plan is to remove this option before 9.0-RELEASE. Will this removal be a problem for anyone? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD

[PATCH FOR REVIEW] Fix SIOCGIFDESCR when buffer is too small

2010-04-13 Thread Xin LI
from userland is not sufficient, instead of returning ENAMETOOLONG. I'll also submit a patch for libpcap if this proposed change is considered be a good one. The libpcap in contrib/libpcap is not affected since it doesn't support dynamic length description. Cheers, - -- Xin LI delp...@delphij.net

Re: Please pay attention to fix bug kern/141285

2010-03-19 Thread Xin LI
it solved your problem? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLo6qxAAoJEATO+BI/yjfBX4cIAMvBqAMLSuSDIZYy4F2thDdq Niv4Phq7Ob9xrmpC6368fknZu/w

Why lagg(4) wants ~IFF_DRV_OACTIVE?

2010-03-08 Thread Xin LI
this check? :) Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLlUwZAAoJEATO+BI/yjfBFKsH/3eK7vq6SgSRbhnc+NZo8Tba

Re: Why lagg(4) wants ~IFF_DRV_OACTIVE?

2010-03-08 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, David, On 2010/03/08 12:03, David Horn wrote: On Mon, Mar 8, 2010 at 2:32 PM, Andrew Thompson thom...@freebsd.org wrote: On Mon, Mar 08, 2010 at 11:12:25AM -0800, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Maybe

Re: [PATCH] Interface description

2010-01-26 Thread Xin LI
(not a big deal, though) to ioctl every time to obtain the length, so I used an arbitrary number (2^6) and make the program to adapt to larger number if kernel gave feedback with ENAMETOOLONG, and the buffer/length would be used the next call. Cheers, - -- Xin LI delp...@delphij.nethttp

[PATCH] Interface description

2010-01-25 Thread Xin LI
? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLXhbbAAoJEATO+BI/yjfBWg8IAJTruuq7gMcB3SS/CP7hhRPN 2lN7N3NxTz9V1s4mkzZ4/EFtM

Re: [PATCH] Interface description

2010-01-25 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010/01/25 14:33, Antoine Brodin wrote: On Mon, Jan 25, 2010 at 11:10 PM, Xin LI delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have revised the patchset based on feedback received. This version: - Unbreak

Re: Any plans to upgrade the tftp client and server images for FreeBSD?

2009-12-31 Thread Xin LI
you send a patch? I think edwin@ (cc'ed) worked on TFTP and have a patch to implement it, he just didn't committed against -HEAD for some reason (?) Cheers, -- Xin LI delp...@delphij.net http://www.delphij.net ___ freebsd-net@freebsd.org mailing list

Re: Any plans to upgrade the tftp client and server images for FreeBSD?

2009-12-31 Thread Xin LI
On 2009/12/31 12:02, Xin LI wrote: Hi, On Thu, Dec 31, 2009 at 7:48 AM, Rui Paulorpa...@freebsd.org wrote: Also, if it is already done, then I was not able to view it (I tried the CVS and SVN web source browser and did not see any changes related to adding RFC 2348 support. The tftp server

Routing question (GRE packet vs normal traceroute)?

2009-12-24 Thread Xin LI
has configured his switch to bounce the packet back to the server by configuring a host route on L3 switch, and it seems that the FreeBSD box is able to route the GRE packet to its desired gateway this time. Any suggestions? Cheers, -- Xin LI delp...@delphij.net http://www.delphij.net

[PATCH FOR REVIEW] interface description (revised)

2009-11-17 Thread Xin LI
. Since the kernel has to copy in a string, is there a clean way to do this? I think we will also need to deal with similar issue with SIOCSIFNAME as well. Cheers, -- Xin LI delp...@delphij.net http://www.delphij.net ifdescr.diff Description: Binary data

Re: [PATCH FOR REVIEW] interface description (revised)

2009-11-17 Thread Xin LI
Since I'm not pretty sure if gmail will mangle the attachment, here is a downloadable version: http://people.freebsd.org/~delphij/for_review/ifdescr.diff -- Xin LI delp...@delphij.net http://www.delphij.net ___ freebsd-net@freebsd.org mailing list

(just for fun) port of OpenBSD pf's sloppy mode

2009-08-20 Thread Xin LI
ICMP teardown attack and/or insertion attacks, so please use caution and limit the use in cases where pf(4) won't see some packets in the connection. Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12

[PATCH] Fix for e1000 (em/igb) NOARP issue [Was Re: em(4): sending ARP regardless of NOARP flag]

2009-08-18 Thread Xin LI
it as attached, say, only do it when IFF_NOARP is not set. This should have no effect for usual configuration but fix the problem when NOARP is the desired behavior. Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [PATCH] Fix for e1000 (em/igb) NOARP issue [Was Re: em(4): sending ARP regardless of NOARP flag]

2009-08-18 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barney Cordoba wrote: --- On Tue, 8/18/09, Pyun YongHyeon pyu...@gmail.com wrote: From: Pyun YongHyeon pyu...@gmail.com Subject: Re: [PATCH] Fix for e1000 (em/igb) NOARP issue [Was Re: em(4): sending ARP regardless of NOARP flag] To: Xin LI

[Take 2] Re: RFC: interface description

2009-08-14 Thread Xin LI
had to create a new ioctl, as we don't seem to expose these two fields in an KBI-stable manner in the past. I have not took a look at bsnmp yet but I'll take a look at it to see if we have some better ways to distinguish the interface name. Cheers, - -- Xin LI delp...@delphij.nethttp

RFC: interface description

2009-08-13 Thread Xin LI
the SIOCSIFDESCR ioctl to document the remote CDP peer like: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:11:22:33:44:55 description: connected to myrouter.home (CDP) [...] The attached patch ported the feature to FreeBSD. Cheers, - -- Xin LI delp

Re: RFC: interface description

2009-08-13 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Bjoern A. Zeeb wrote: On Thu, 13 Aug 2009, Julian Elischer wrote: Andrey V. Elsukov wrote: Xin LI wrote: While playing with some OpenBSD installation I found that they have an interesting feature - adding description to a NIC

Re: em(4): sending ARP regardless of NOARP flag

2009-08-04 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Li, Qing wrote: Is this on -CURRENT ? No, it's 7.2-RELEASE-p2. --Qing -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd- n...@freebsd.org] On Behalf Of Xin LI Sent: Monday, August 03, 2009 12:40 PM

em(4): sending ARP regardless of NOARP flag

2009-08-03 Thread Xin LI
' device = '82541EI Gigabit Ethernet Controller' class = network subclass = ethernet Thanks in advance! Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD

Re: kern/134658: [bce] bce driver fails on PowerEdge m610 blade.

2009-07-30 Thread Xin LI
. ___ 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 - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE

LOR: PFil hook read/write mutex vs if_bridge

2009-07-22 Thread Xin LI
= 0, rsp = 0xff8a6d30, rbp = 0 --- - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpmsicACgkQi+vbBBjt66DkhwCgojNp7zSLd/TNGrNg0rzVMpQ4 /XgAmwdOggz33OT8kBNjClVjz8R56Uy8 =7PU5

Re: [LOR] carp vs bridge

2009-07-15 Thread Xin LI
happen. I think there is no obvious clean solution to break the dependency without weakening the realtimeness of sending the required multicast at this point. Will think again about it when I got some spare time. Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD

[LOR] carp vs bridge

2009-07-13 Thread Xin LI
+0x68 ithread_loop() at ithread_loop+0xb2 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe - --- trap 0, rip = 0, rsp = 0xff842d30, rbp = 0 --- Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE

Re: [head tinderbox] failure on sparc64/sparc64

2009-06-09 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny Braniss wrote: Xin, good day. Mon, Jun 08, 2009 at 04:49:36PM -0700, Xin LI wrote: The attached patch should fix this, any objections? Yes, you missed negation operator in the copyin check. The issue was already fixed by hrs@ two hours

Re: [head tinderbox] failure on sparc64/sparc64

2009-06-08 Thread Xin LI
/LINT. *** Error code 1 The attached patch should fix this, any objections? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoto48ACgkQi+vbBBjt66C98ACgvgafjQZ/MU01V8ftN6ZI9

Re: kern/135091: [bce] if_bce inbound traffic bytes counter is incorrect in 7.2-RELEASE

2009-06-01 Thread Xin LI
the production machine is unbelievably important. Could you please use 'ident /sys/dev/bce/if_bce.c' and tell me the result? For me the change fixed the problem... Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG

Re: kern/135091: [bce] if_bce inbound traffic bytes counter is incorrect in 7.2-RELEASE

2009-06-01 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 smallpox wrote: /sys/dev/bce/if_bce.c: $FreeBSD: src/sys/dev/bce/if_bce.c,v 1.34.2.8 2009/05/20 21:13:49 delphij Exp $ Em... This would be weird, are you really sure that your kernel is built against this source? Cheers, - -- Xin LI delp

Re: kern/135091: [bce] if_bce inbound traffic bytes counter is incorrect in 7.2-RELEASE

2009-06-01 Thread Xin LI
... Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkojfwEACgkQi+vbBBjt66CdHQCeMZGJsyupxo3aTl09E8Vh8gX7 MqAAn0mR7l210LTDj5Hv/P+fJENUdWra =NNup -END PGP SIGNATURE

Re: how to program a driver?

2008-12-08 Thread Xin LI
driver and try start to get knowledge by tweaking some stuff and see what would happen. Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk9/GAACgkQi+vbBBjt66Cv4wCfVKw9Wkqfzr

Re: NFS performance tuning?

2008-12-05 Thread Xin LI
of very big files, and about 8-10Mb/s on real workloads. Are here any guides how to tune NFS for performance? rsize/wsize? I think the current default (8192) is too smal, perhaps 262144 would be a better choice. What I usually use is: mount_nfs -3Tr 262144 -w 262144 - -- Xin LI [EMAIL

Re: sfbufs on amd64?

2008-09-26 Thread Xin LI
use of amd64-specific technique that eliminates the need of allocating sfbufs and avoids the copying. That's say, sendfile would work without needing to separately allocating sfbufs and this would be much faster than the old approach. Cheers, - -- Xin LI [EMAIL PROTECTED] http

Routing: local link vs VPN provided route

2008-08-06 Thread Xin LI
through the tun0 device? (Of course it's possible to configure the remote network or local network as 192.168.0.0/24, just curious about this scenario - do we have a switch or something?) Cheers, - -- Xin LI [EMAIL PROTECTED]http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP

Re: Can I port 4.4BSD-Lite's TCP/IP protocol stack soure code to my own OS kernel which is GPL Licenced?

2008-05-05 Thread Xin LI
product instead? Let us know if there is some limitation/lack of functionality? Cheers, - -- Xin LI [EMAIL PROTECTED]http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: zonelimit issues...

2008-04-18 Thread Xin LI
@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL PROTECTED] -- Xin LI [EMAIL PROTECTED]http://www.delphij.net/ FreeBSD - The Power to Serve! ___ freebsd-net@freebsd.org mailing

Re: zonelimit issues...

2008-04-18 Thread Xin LI
sysctl (like a 2x increase) to see if the problem goes away? Cheers, -- Xin LI [EMAIL PROTECTED]http://www.delphij.net/ FreeBSD - The Power to Serve! ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net

Re: [RESOLVED] Re: Strange resolver behavior

2008-02-27 Thread Xin LI
between rejecting or allowing _'s when they are using gethostbyname(). Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHxapDi+vbBBjt66ARAsynAKCziDnfUYMsGTFHwWGMPrmLuguUtACgh/Wa z

[RESOLVED] Re: Strange resolver behavior

2008-02-13 Thread Xin LI
operating systems does allow it at the client side. Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHs07Ui+vbBBjt66ARArTAAJ9bzw4f/tZ0LzH5QXQi9CM9nNr8egCdHprK fE6LNOaSyeGu

Re: Strange resolver behavior

2008-02-12 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xin LI wrote: Edwin Groothuis wrote: On Tue, Feb 12, 2008 at 06:42:37PM -0800, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin Groothuis wrote: On Tue, Feb 12, 2008 at 05:31:57PM -0800, Xin LI wrote: Received 127 bytes from

Re: Strange resolver behavior

2008-02-12 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin Groothuis wrote: On Tue, Feb 12, 2008 at 06:42:37PM -0800, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin Groothuis wrote: On Tue, Feb 12, 2008 at 05:31:57PM -0800, Xin LI wrote: Received 127 bytes from 127.0.0.1#53

Re: Strange resolver behavior

2008-02-12 Thread Xin LI
) libz.so.1 = /usr/lib/libz.so.1 (0x402fd000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHsml/i

Strange resolver behavior

2008-02-12 Thread Xin LI
(NXDOMAIN) Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHskiNi+vbBBjt66ARAhO0AKCI64gr+oNw7j8/TcL51b7vw1PReQCeMRE1 RaI38+YYtloZuSc0L0BDF2M= =ONkQ -END PGP SIGNATURE

Re: Strange resolver behavior

2008-02-12 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hajimu UMEMOTO wrote: Hi, On Tue, 12 Feb 2008 17:31:57 -0800 Xin LI [EMAIL PROTECTED] said: delphij [EMAIL PROTECTED] ~ host ps_other.a.shifen.com delphij ps_other.a.shifen.com has address 202.108.22.46 delphij Host ps_other.a.shifen.com

Re: Strange resolver behavior

2008-02-12 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin Groothuis wrote: On Tue, Feb 12, 2008 at 05:31:57PM -0800, Xin LI wrote: Received 127 bytes from 127.0.0.1#53 in 0 ms [EMAIL PROTECTED] ~ host ps_other.a.shifen.com ps_other.a.shifen.com has address 202.108.22.46 Host ps_other.a.shifen.com

Re: Added native socks support to libc in FreeBSD 7

2007-12-07 Thread Xin LI
/download/FreeBSD_libc.tar.gz Would you mind sending a PR for this? It sounds useful to me and I don't want it to lose... Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD

Re: FreeBSD 7 TCP syncache fix: request for testers

2007-07-21 Thread Xin LI
I was unable to apply Mike's patch so I have manually applied it. Here is a new one that should apply against today's -CURRENT. Cheers, Index: tcp_syncache.c === RCS file: /home/ncvs/src/sys/netinet/tcp_syncache.c,v retrieving

Re: i386/107504: Page Fault when attempting to run most network applications (sshd, sendmail, etc)

2007-01-04 Thread Xin LI
Synopsis: Page Fault when attempting to run most network applications (sshd, sendmail, etc) State-Changed-From-To: open-feedback State-Changed-By: delphij State-Changed-When: Thu Jan 4 08:41:55 UTC 2007 State-Changed-Why: Hi, Haven, I think this is a known and fixed issue. Would you please

Re: i386/107504: Page Fault when attempting to run most network applications (sshd, sendmail, etc)

2007-01-04 Thread Xin LI
Synopsis: Page Fault when attempting to run most network applications (sshd, sendmail, etc) Responsible-Changed-From-To: freebsd-net-delphij Responsible-Changed-By: delphij Responsible-Changed-When: Thu Jan 4 08:47:51 UTC 2007 Responsible-Changed-Why: Handle this.

Two NIC's connected to same subnet: routing question

2005-02-01 Thread Xin LI
to the /32 solution. So is there any way to utilize the both NIC's? I think I have been confused :-( Cheers, -- Xin LI delphij delphij net http://www.delphij.net/ signature.asc Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9

Strange networking problem on SPARC64

2004-07-12 Thread Xin LI
/pure-ftpd.pid ] \ kill `cat /etc/pure-ftpd.pid` /dev/null \ echo -n ' pure-ftp' ;; *) echo Usage: `basename $0` {start|stop} 2 ;; esac exit 0 Cheers, -- Xin LI delphij frontfree net http://www.delphij.net/ See complete headers for GPG key and other

Re: RANDOM_IP_ID sysctl?

2004-06-29 Thread Xin LI
think there is rarely a sysadmin to enable and disable this runtime. BTW. For security considerations I'd like to see if this is made default in GENERIC kernels :-) Cheers, -- Xin LI delphij frontfree net http://www.delphij.net/ See complete headers for GPG key and other information

Re: RANDOM_IP_ID sysctl?

2004-06-29 Thread Xin LI
On Tue, Jun 29, 2004 at 04:43:32PM +0200, Max Laier wrote: On Tuesday 29 June 2004 15:40, Xin LI wrote: On Tue, Jun 29, 2004 at 02:13:38PM +0100, David Malone wrote: It seems to me that RANDOM_IP_ID might be better as a sysctl rather than a kernel option. Would anyone mind if I changed

Preliminary sys/netinet style patch

2004-06-24 Thread Xin LI
/\\ \ \ \ \ \ \ \ /\ \ /g *.c *.h sed -i '' -E s/\ +\$//g *.c *.h Because the patchset may cause many conflicit with developers working on netinet/, is this valuable to apply the patchset right now? Cheers, -- Xin LI delphij frontfree net http://www.delphij.net/ See complete

Re: Newbie question: is net.inet.ip.fastforwarding intended for routersonly?

2004-01-18 Thread Xin LI
configuration or any other information as well? Thanks in advance. Xin LI - Original Message - From: Andre Oppermann [EMAIL PROTECTED] To: Xin LI [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 2:35 AM Subject: Re: Newbie question: is net.inet.ip.fastforwarding intended

Re: Newbie question: is net.inet.ip.fastforwarding intended for routersonly?

2004-01-17 Thread Xin LI
I guess I have done something wrong? Not so sure in this issue though... Thanks in advance. Xin LI - Original Message - From: Andre Oppermann [EMAIL PROTECTED] To: Xin LI [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 1:53 AM Subject: Re: Newbie question

Newbie question: is net.inet.ip.fastforwarding intended for routers only?

2004-01-16 Thread Xin LI
. Am I right? Thanks in advance! Xin LI ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL PROTECTED]