lkml.org 
[lkml]   [2001]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcan i change the ip masq ports?
hello,

i've run to the following problem recently: i had to install ip masq to
a server to provide inet access for the computers on the lan. it didn't
work, i spent a few days with it browsing the howto, configuring the
firewall, etc.
at the end it turned out, that the evil isp filters the packets. i
figured out that this is only possible through watching the port numbers
in the packets. i made a fast hack in include/ipmasq.h to start the ip
masq ports not from 61... but from a number not much above 1024.
this cured the problem, now the masq runs flawlessly, though there's
not much traffic on the server beside the masq. my question: is it
possible that this simple hack will cause collisions with other
modules/programs that allocate ports? in the masq sources i haven't
found any check for that, probably because the original port region was
allocated uniquely for masq. so i think the collision is possible.
please comment on this. it would be nice to have the server run ip masq
reliably. please cc any answers to me, since i'm not on the list
(yet;)).

cheers; petschy


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.047 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site