A non-text attachment was scrubbed... Name: not available Type: multipart/signed Size: 2 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/netflow-tools/attachments/20110201/5150031e/attachment.bin> -------------- next part -------------- _______________________________________________ netflow-tools mailing list netflow-tools at mindrot.org https://lists.mindrot.org/mailman/listinfo/netflow-tools -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://lists.mindrot.org/pipermail/netflow-tools/attachments/20110201/5150031e/attachment-0001.bin>
Christoph Biedl wrote... Sorry, seems like I messed the whole thing up. Second try ... "man --warnings" complained about nroff errors in softflowd.8. Looking closer it seems the explanation of signal handling somehow got garbled. The patch attached fixes both. Cheers, Christoph --- a/softflowd.8 +++ b/softflowd.8 @@ -35,14 +35,14 @@ .Op Fl L Ar hoplimit .Op Fl T Ar track_level .Op Fl c Ar ctl_sock -.Ek +.Bk -words .Oo Fl i\ \& .Sm off .Oo Ar if_ndx : Oc .Ar interface .Sm on .Oc -.Bk words +.Ek .Op Fl m Ar max_flows .Op Fl n Ar host:port .Op Fl p Ar pidfile @@ -336,11 +336,10 @@ command. This interface allows one to shut down the daemon, force expiry of all tracked flows and extract debugging and summary data. -Also, upon receipt of a +Also, receipt of a .Dv SIGTERM or -.DV SIGINT -.Nm +.Dv SIGINT will cause .Nm to exit, after expiring all flows (and thus sending flow export packets -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://lists.mindrot.org/pipermail/netflow-tools/attachments/20110201/d4dc66db/attachment.bin>
Christoph Biedl wrote... (...) Well, three more things I found. Chri- "Me, nitpicking?" stoph --- a/softflowd.8 +++ b/softflowd.8 @@ -161,7 +161,7 @@ Specify an alternate location for the remote control socket in daemon mode. Default is .Pa /var/run/softflowd.ctl .It Fl m Ar max_flows -Specify the maximum number of flow to concurrently track. +Specify the maximum number of flows to concurrently track. If this limit is exceeded, the flows which have least recently seen traffic are forcibly expired. In practice, the actual maximum may briefly exceed this limit by a @@ -173,7 +173,7 @@ than 800k of working data. Set the timeout names .Ar timeout_name to -.Ar time +.Ar time . Refer to the .Sx Timeouts section for the valid timeout names and their meanings. @@ -189,7 +189,7 @@ should not fork and daemonise itself. .It Fl 6 Force .Nm -To track IPv6 flows even if the NetFlow export protocol does not support +to track IPv6 flows even if the NetFlow export protocol does not support reporting them. This is useful for debugging and statistics gathering only. .It Fl D
Hello Christoph I committed (did hg commit and hg push to google code) this patch. thanks, Hitoshi Irino (2011?02?05? 05:23), Christoph Biedl wrote:> Christoph Biedl wrote... > > (...) > > Well, three more things I found. > > Chri- "Me, nitpicking?" stoph > > --- a/softflowd.8 > +++ b/softflowd.8 > @@ -161,7 +161,7 @@ Specify an alternate location for the remote control socket in daemon mode. > Default is > .Pa /var/run/softflowd.ctl > .It Fl m Ar max_flows > -Specify the maximum number of flow to concurrently track. > +Specify the maximum number of flows to concurrently track. > If this limit is exceeded, the flows which have least recently seen traffic > are forcibly expired. > In practice, the actual maximum may briefly exceed this limit by a > @@ -173,7 +173,7 @@ than 800k of working data. > Set the timeout names > .Ar timeout_name > to > -.Ar time > +.Ar time . > Refer to the > .Sx Timeouts > section for the valid timeout names and their meanings. > @@ -189,7 +189,7 @@ should not fork and daemonise itself. > .It Fl 6 > Force > .Nm > -To track IPv6 flows even if the NetFlow export protocol does not support > +to track IPv6 flows even if the NetFlow export protocol does not support > reporting them. > This is useful for debugging and statistics gathering only. > .It Fl D > > _______________________________________________ > netflow-tools mailing list > netflow-tools at mindrot.org > https://lists.mindrot.org/mailman/listinfo/netflow-tools