Re: Connection reset

2005-09-08 Thread Olivier Nicole
> When I try to connect via a redirection through the firewall, I got a > RST after the SYN, SYN/ACK, ACK. OK here is a step further, the rest occures because of syncache_expand that return 0 on line 722 of tcp_input. Any reason why the syncache is empty after the SYN and SYN,ACK? Olivier __

Re: Connection reset

2005-09-08 Thread Mike Silbersack
On Thu, 8 Sep 2005, Olivier Nicole wrote: When I try to connect via a redirection through the firewall, I got a RST after the SYN, SYN/ACK, ACK. OK here is a step further, the rest occures because of syncache_expand that return 0 on line 722 of tcp_input. Any reason why the syncache is empty

Re: panic: receive: m == 0 so->so_rcv.sb_cc == 4294967295

2005-09-08 Thread Marc Olzheim
On Thu, Sep 08, 2005 at 12:43:36AM -0400, Kris Kennaway wrote: > db> wh > Tracing pid 23098 tid 100263 td 0xc92e4af0 > kdb_enter(c07060af,0,c070c9b3,f7d14bc8,c92e4af0) at kdb_enter+0x30 > panic(c070c9b3,0,,3f5,c0709939) at panic+0x13e > soreceive(c9be5b20,0,f7d14cb4,0,0,f7d14c30,4000) at so

Re: Connection reset

2005-09-08 Thread Olivier Nicole
Hi Mike, > First of all, the redirection you speak of - is that occuring on the local > machine itself, or a physically seperate machine? Yes same machine. > Secondly, please > provide a tcpdump log of the aborted connection in question, if you can. Here I could add more details if needed.

Re: Connection reset

2005-09-08 Thread Mike Silbersack
On Thu, 8 Sep 2005, Olivier Nicole wrote: Hi Mike, First of all, the redirection you speak of - is that occuring on the local machine itself, or a physically seperate machine? Yes same machine. Then my guess is that something is wrong with your redirection setup. Unfortunately, tcpdump s

net.inet.ip.forwarding and net.inet.ip.fastforwarding

2005-09-08 Thread Marcin Jessa
Hi guys. What's the difference between net.inet.ip.forwarding and net.inet.ip.fastforwarding ? What's the role of net.inet.ip.fastforwarding ? Cheers Marcin. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ne

Re: net.inet.ip.forwarding and net.inet.ip.fastforwarding

2005-09-08 Thread Matt Emmerton
> Hi guys. > > What's the difference between net.inet.ip.forwarding and net.inet.ip.fastforwarding ? > What's the role of net.inet.ip.fastforwarding ? >From inet(4): IPCTL_FORWARDING (ip.forwarding) Boolean: enable/disable forwarding of IP packets. Defaults

Re: net.inet.ip.forwarding and net.inet.ip.fastforwarding

2005-09-08 Thread Sam Leffler
Matt Emmerton wrote: Hi guys. What's the difference between net.inet.ip.forwarding and net.inet.ip.fastforwarding ? What's the role of net.inet.ip.fastforwarding ? From inet(4): IPCTL_FORWARDING (ip.forwarding) Boolean: enable/disable forwarding of

Re: net.inet.ip.forwarding and net.inet.ip.fastforwarding

2005-09-08 Thread gnn
At Thu, 8 Sep 2005 22:11:15 +, Marcin Jessa wrote: > > Hi guys. > > What's the difference between net.inet.ip.forwarding and > net.inet.ip.fastforwarding ? > What's the role of net.inet.ip.fastforwarding ? > net.inet.ip.fastforwarding tells the network code to send packets through a differe

Re: Connection reset

2005-09-08 Thread Olivier Nicole
> Then my guess is that something is wrong with your redirection setup. > Unfortunately, tcpdump sees the packets as they enter the network card, > before the redirection occurs, so we can't see exactly what is really > happening. No actually that's the packets after they have been redirected.

NAT over multiple subnets

2005-09-08 Thread Stephen Moore
Re: "I set up NAT+ipfw on FreeBSD computer which resides on 192.168.2.x LAN, and has an outgoing ADSL connection. any client on 2.x can access internet by setting this freebsd box as its gateway. there is another server on the 2.x network which is used as a link to another LAN, 1.x subnet. thos

Re: NAT over multiple subnets

2005-09-08 Thread Chuck Swiger
Stephen Moore wrote: [ ...chaining multiple NATs... ] Any response appreciated. The simplest way to deal with that is to add interfaces to the machine running natd and put one NIC on each distinct subnet. You can also use supernetting to combine a 192.168.1.0/24 subnet and a 192.168.2.0/24

BPF patch for addition of good feature linux packet(7)

2005-09-08 Thread Vladimir Yu. Stepanov
Hello! I made a modernization of bpf realization. It have a mind when we are trying to use bpf to account network statistic. When packets is catching by filter thereis imposible to determine the direction of packets flows. Due to this problem statistic accounts two times when packets is r

BPF patch for addition of good feature linux packet (7) (see attachment)

2005-09-08 Thread Vladimir Yu. Stepanov
Hello! I made a modernization of bpf realization. It have a mind when we are trying to use bpf to account network statistic. When packets is catching by filter thereis imposible to determine the direction of packets flows. Due to this problem statistic accounts two times when packets is r