On Tue, May 14, 2002 at 04:19:15PM -0700, Brennen Reynolds wrote: > All of the connections use UDP. I want to have the first line > (H1:p1->H2:P0) be the main connection with all the other ones related / > associated with it. I have been able to relate the H1:P0<-H2:P2 connection > by creating an expected connection by including everything but P2 in a > tuple. I though this would catch the other ones, but it doesn't. If I > specify a related tuple as (H1:P0<-H2:any port) why does it only work for > the first instance? Any help / pointers to other mods doing this would be > great!
Because you always expect only a single connection. There is no such thing as a 'persistent expectation' >From my point of view, there are two possible solutions: 1) create a new expectation at the time your first slave connection arrives (racy) 2) use the newnat API [which is encouraged anyway, since it will be standard starting with the 2.4.20 kernel] and issue four expectations for four to-be-expected UDP streams. > Brennen Reynolds > <[EMAIL PROTECTED]> -- Live long and prosper - Harald Welte / [EMAIL PROTECTED] http://www.gnumonks.org/ ============================================================================ GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)