Date: Tue, 29 Apr 2008 18:13:54 -0400 From: Tom Uffner <tom@uffner.com> To: freebsd-pf@freebsd.org Subject: nfs send errors Message-ID: <48179DA2.10303@uffner.com>
next in thread | raw e-mail | index | archive | help
my kernel is logging errors like these: Apr 26 04:15:13 xiombarg kernel: nfs send error 1 for server 10.69.69.21:/data0/music Apr 27 23:20:21 xiombarg kernel: nfs send error 1 for server 10.69.69.21:/data0/music Apr 29 15:35:07 xiombarg kernel: nfs send error 1 for server 10.69.69.21:/data0/music NFS does not seem to be affected. it appears to retry the send w/ a new connection. all of my nfs mounts are affected, not just the one shown above. it looks as if firewall is blocking packets due to state timeouts, but states should persist for up to 86400 seconds depending upon state table size and although i am nowhere near the max table size a state appears to have gone away in less than 2469 seconds: 14:53:58.835812 rule 45/0(match): pass out on rl0: xiombarg.uffner.com.713 > 10.69.69.21.nfsd: S 1077685507:1077685507(0) win 65535 <mss 1460,nop,wscale 3,nop,nop,timestamp[|tcp]> 15:35:07.667381 rule 0/0(match): block out on rl0: xiombarg.uffner.com.713 > 10.69.69.21.nfsd: P 1077857136:1077857240(104) ack 1091504052 win 16588 <nop,nop,timestamp 763469633 2221451579> 15:35:07.667571 rule 45/0(match): pass out on rl0: xiombarg.uffner.com.1023 > 10.69.69.21.nfsd: S 772434453:772434453(0) win 65535 <mss 1460,nop,wscale 3,nop,nop,timestamp[|tcp]> this is the pf config for the firewall between my desktop (xiombarg) and a mostly trusted DMZ where the nfs server lives (10.69.69.0/24). (it also contains rules controlling traffic to & from the internet which duplicate the ones on my exterior firewall) ext_if = "rl0" local_ip = "{ 127.0.0.1 10.69.69.60 71.162.143.94 207.245.121.212 }" local_tcp_services ="{ 111 143 587 993 4949 5432 }" #sunrpc, imap, submission, imaps, munin, postgres global_tcp_services ="{ 22 25 53 80 143 443 993 }" #ssh, smtp, domain, http, imap, https, imaps local_udp_services ="{ 111 514 }" #sunrpc, syslog global_udp_services ="{ 53 123 }" #domain, ntp icmp_types = "echoreq" table <bruteforce> persist file "/var/db/ssh-bruteforce" # options set block-policy return set loginterface $ext_if # scrub scrub in on $ext_if all fragment reassemble # filter rules block log all pass quick on lo0 all block drop in log quick proto tcp from <bruteforce> to any port ssh pass in log on $ext_if inet proto tcp from any to ($ext_if) \ port $global_tcp_services pass in log on $ext_if inet proto tcp from $local_ip to ($ext_if) \ port $local_tcp_services pass in log on $ext_if inet proto tcp from 10.69.69.21 port 2049 to ($ext_if) pass in log on $ext_if inet proto udp from any to ($ext_if) \ port $global_udp_services pass in log on $ext_if inet proto udp from $local_ip to ($ext_if) \ port $local_udp_services pass out log on $ext_if all any suggestions on how to resolve or at least further debug this?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48179DA2.10303>