| Summary: | natd(8) forgets about udp connections | ||
|---|---|---|---|
| Product: | Base System | Reporter: | fvw <fvw> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed Works As Intended | ||
| Severity: | Affects Only Me | CC: | eugen |
| Priority: | Normal | ||
| Version: | 4.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
fvw
2001-07-27 01:40:01 UTC
Responsible Changed From-To: freebsd-bugs->ru Ruslan has worked on natd in the past On Fri, Jul 27, 2001 at 02:35:32AM +0000, fvw@var.cx wrote: > > I have a problem where natd appears to be losing entries from it's > table of forwarded connections... I have the sysctl > net.inet.ipf.fr_udptimeout set to 864000, and yet, once in a while, > natd forgets about the previous traffic all together, as illustrated > by the following tcpdumps (this is icq traffic): > This is because libalias has different idea about this timeout: /* Timeouts (in seconds) for different link types */ #define ICMP_EXPIRE_TIME 60 #define UDP_EXPIRE_TIME 60 #define PROTO_EXPIRE_TIME 60 Unfortunately, you don't currently have the way to change these timeouts from within natd(8), at run-time. You should manually edit these values in src/lib/libalias/alias_db.c, recompile and reinstall libalias library, then recompile and reinstall natd. I will eventually add this feature to libalias and natd. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age Responsible Changed From-To: ru->freebsd-bugs ENOTIME. State Changed From-To: open->analyzed Ruslan Ermilov sounded the source of problem. State Changed From-To: analyzed->open unowned PRs should not be in analyzed state For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped natd and libalias have fixed timeout for UDP flows. |