error to use kmem_free() function

2005-04-09 Thread #ZHANG CHUNLEI#
I have modified tcp_subr.c function , in which i make use of kmem_free(kmem_map, , ) function. However, the compiling error says: wanrning: implicit declaration of kmem_free() function and kmem_map undeclared. do i miss including some header file or other reasons? thanks in advance. chu

how to do kernel debug?

2005-04-09 Thread #ZHANG CHUNLEI#
Dear all: i have modifiy some part of TCP code, while after compiling and reboot, shows me fatal 12 page fault. I want to ask nomally how to do kernel debug ? what are the steps. thanks. chunlei ___ freebsd-net@freebsd.org mailing list http://lists.f

Please review this diff...

2005-04-09 Thread gnn
Hi, I would like to check in the following diff against FreeBSD-CURRENT and to get feedback from the Kame folks on the general usefulness of these fixes. All changes are against icmp6.c. The first part of the diff removes dead code as I suspect MCLBYTES, the size of a cluster, will never be less

RE: FreeBSD Firewall + NAT Traversal + IPsec

2005-04-09 Thread Vince
I do this with the cisco VPN client (to PIX), I am firewalling with pf. Client --- FreeBSD firewall+NAT using pf --- internet - PIX The only problem I had was that isakmp needs to come from port 500 as well as go to port 500 so I needed to add a rule To stop pf changing the source port. My na

Re: FreeBSD Firewall + NAT Traversal + IPsec

2005-04-09 Thread John Mok
To my understanding, the mechanism of how NAT works is that, the client connections from the intranet are mapped to separate ports on the NAT with one single IP address by means of a mapping table, such that the reply packet from the outside to the NAT could be reversely mapped to the respectiv

Re: FreeBSD Firewall + NAT Traversal + IPsec

2005-04-09 Thread Vince Hoffman
On Sat, 9 Apr 2005, John Mok wrote: To my understanding, the mechanism of how NAT works is that, the client connections from the intranet are mapped to separate ports on the NAT with one single IP address by means of a mapping table, such that the reply packet from the outside to the NAT could