[AG-TECH] Firewall woes ...

shudo at ni.aist.go.jp shudo at ni.aist.go.jp
Fri Mar 26 01:57:40 CST 2004


Nathan and Thomas,

> >I am attempting to run an AG 2.x venue server and bridge server on a
> >linux box with an iptables firewall. The bridge server seems to use some
> >ports it picks in an arbitrary fashion? How do I know which ports to
> >open in the firewall for both the bridge and the venue server.

> The current version of the bridge server does choose ports randomly.
> The next version will allow the ports to be configured, to be more
> friendly to admins with firewall concerns.  If you're interested, when
> it's usable in cvs, I can give you the info you need to try it.

I have modified the BridgeServer.py as the attached patch to allocate
the port number determinately.

By doing so, it become very easy to know the port number and use the
bridge from VIC and RAT directly without AG client software.

  Kazuyuki Shudo	shudo at computer.org	http://www.shudo.net/
-------------- next part --------------
--- /usr/bin/BridgeServer.py.orig	2003-10-30 20:15:37.000000000 +0900
+++ /usr/bin/BridgeServer.py	2003-11-17 07:56:38.000000000 +0900
@@ -345,7 +345,8 @@
         
         # Allocate a port for the bridge
         uaddr = Utilities.GetHostname()
-        uport = MulticastAddressAllocator().AllocatePort()
+#        uport = MulticastAddressAllocator().AllocatePort()
+	uport = streamDesc.location.port + 10500
 
         # Create the bridge and start it
         bridge = self.bridgeFactory.CreateBridge(streamDesc.id, 


More information about the ag-tech mailing list