From: Johnny W. <jwi...@re...> - 2011-04-26 09:13:08
|
Hi, > 1. Need Instructions how to cross compile ACE and Open Diameter Library > for Power PC Platform. OpenDiameter really uses an ancient version of ACE. Newer versions of ACE are much easier to use with cross compilation, but that seems nobody has tried that. Upgrading OpenDiameter to for example ACE 6.0.2 seems to be some work, but probably doable. If someone is willing to fund our time to do this upgrade, Remedy IT could do this, assuming we get commit rights to the OpenDiameter archive. Johnny Willemsen Remedy IT http://www.theaceorb.nl > > 2. I need to implement the following Scenario. > > *3 Diameter clients and 1 Diameter server that are in the same Realm. > * > The Diameter Server has to handle the requests from all the 3 > clients and > respond to them correspondingly. > > 3. What are the changes to be done in the code snippets > test_client1.cxx(for the clients) and test_server1.cxx(for server) and > also the changes to be done in the configuration files isp.local.xml and > nas1.local.xml to achieve the above scenario. > > 4. I am also having some doubts in the Transport protocol and the port > no's that is used by the client and server. > > *In the client config file > * <peer> > <hostname>server.isp.net > <http://server.isp.net></hostname> > <port>3868</port> > <use_sctp>0</use_sctp> > <tls_enabled>0</tls_enabled> > </peer> > > *In the server config file > * <peer> > <hostname>nas.access1.net > <http://nas.access1.net></hostname> > <port>1811</port> > <use_sctp>1</use_sctp> > <tls_enabled>0</tls_enabled> > </peer> > > *Can't i use the tcp protocol in both client and server and port no as 3868. > > Please explain the purpose of peer table and route table used in the > config file. > > Some times when i run the sample code snippets provided with the Open > Diameter Library i am getting the following errors with a segmentation > fault. > > Server Output:- > * > (6410|139987135145728) Starting diameter core > (6410|139987135145728) Product : Open Diameter > (6410|139987135145728) Version : 1 > (6410|139987135145728) Vendor Id : 0 > (6410|139987135145728) Supported Vendor : 0 > (6410|139987135145728) Auth Application : 5555 > (6410|139987135145728) Dictionary : dictionary.xml > (6410|139987135145728) Identity : server.isp.net > <http://server.isp.net> > (6410|139987135145728) Realm : isp.net <http://isp.net> > (6410|139987135145728) TCP Listen : 3868 > (6410|139987135145728) SCTP Listen : 1813 > (6410|139987135145728) Watch-Dog timeout : 4 > (6410|139987135145728) Use IPv6 : 0 > (6410|139987135145728) Re-transmission Int : 8 > (6410|139987135145728) Max Re-trans Int : 3 > (6410|139987135145728) Recv Buffer Size : 2048 > (6410|139987135145728) Hostnames Used : server1.isp.net > <http://server1.isp.net> > (6410|139987135145728) Hostnames Used : server2.isp.net > <http://server2.isp.net> > (6410|139987135145728) Dumping Peer Table > (6410|139987135145728) Expire Time 1 > (6410|139987135145728) Peer : Host = nas.access1.net > <http://nas.access1.net>, Port = 1811, TLS = 0 > (6410|139987135145728) Peer : Host = nas1.access1.net > <http://nas1.access1.net>, Port = 1811, TLS = 0 > (6410|139987135145728) Dumping Route Table > (6410|139987135145728) Exp Time : 0 > (6410|139987135145728) Default Route > (6410|139987135145728) Route : Realm = access1.net > <http://access1.net>, Action = 0, Redirect-Usage = 0 > (6410|139987135145728) Application Id=5555, Vendor=0 > (6410|139987135145728) Server = > nas1.access1.net <http://nas1.access1.net>, metric = 4 > (6410|139987135145728) Server = nas.access1.net > <http://nas.access1.net>, metric = 4 > (6410|139987135145728) Max Sess : 10000 > (6410|139987135145728) Auth Stateful Auth : stateful > (6410|139987135145728) Auth Session(T) : 30 > (6410|139987135145728) Auth Lifetime(T) : 360 > (6410|139987135145728) Auth Grace(T) : 30 > (6410|139987135145728) Auth Abort(T) : 20 > (6410|139987135145728) Acct Session(T) : 30 > (6410|139987135145728) Acct Interim Int : 5 > (6410|139987135145728) Acct Real-Time : 1 > (6410|139987135145728) Debug Log : enabled > (6410|139987135145728) Trace Log : enabled > (6410|139987135145728) Info Log : enabled > (6410|139987135145728) Console Log : enabled > (6410|139987135145728) Syslog Log : enabled > Vendor [id = "61"] > Vendor [name = "Merit Networks"] > Vendor [id = "42"] > Vendor [name = "Sun Microsystems, Inc."] > Vendor [id = "429"] > Vendor [name = "US Robotics Corp."] > Base [uri = > "ftp://ftp.ietf.org/internet-drafts/draft-ietf-aaa-diameter-08.txt"] > Base [uri = > "ftp://ftp.ietf.org/internet-drafts/draft-ietf-aaa-diameter-08.txt"] > (6410|139987135145728) TCP Acceptor Listening at 3868, binding to > server.isp.net <http://server.isp.net> > (6410|1167837520) Waiting for incomming connection ... > (6410|139987135145728) SCTP Acceptor Listening at 1813, binding to > server1.isp.net <http://server1.isp.net> server2.isp.net > <http://server2.isp.net> > (6410|1167837520) Waiting for incomming connection ... > (6410|1109088592) Peer Capabilities > (6410|1109088592) Hostname : nas.access1.net > <http://nas.access1.net> > (6410|1109088592) Realm : access1.net <http://access1.net> > (6410|1109088592) Host IP : type=1, 127.0.0.1 > (6410|1109088592) VendorId : 0 > (6410|1109088592) Product Name : Open Diameter > (6410|1109088592) Orig State : 1303723550 > (6410|1109088592) Supported Vendor Id : 0 > (6410|1109088592) Auth Application Id : 5555 > (6410|1109088592) Inband Sec : 0 > (6410|1109088592) Firmware Ver : 1 > (6410|1109088592) Sent CEA: rcode=2001 > (6410|1184622928) Waiting for incomming connection ... > StateMachine[] cannot accept event 0 at state 6. > (6410|139987135145728) Trying to connect to to nas.access1.net:1811 > <http://nas.access1.net:1811> > (6410|1193015632) Checking if connection attempt succeeded ... > StateMachine[] cannot accept event 5 at state 6. > (6410|1125874000) Async Transport Setup Reports: Transport endpoint is > not connected > Segmentation fault > > *Client output:- > * > (6420|140367366813440) Starting diameter core > (6420|140367366813440) Product : Open Diameter > (6420|140367366813440) Version : 1 > (6420|140367366813440) Vendor Id : 0 > (6420|140367366813440) Supported Vendor : 0 > (6420|140367366813440) Auth Application : 5555 > (6420|140367366813440) Dictionary : dictionary.xml > (6420|140367366813440) Identity : nas.access1.net > <http://nas.access1.net> > (6420|140367366813440) Realm : access1.net > <http://access1.net> > (6420|140367366813440) TCP Listen : 1810 > (6420|140367366813440) SCTP Listen : 1811 > (6420|140367366813440) Watch-Dog timeout : 3 > (6420|140367366813440) Use IPv6 : 0 > (6420|140367366813440) Re-transmission Int : 8 > (6420|140367366813440) Max Re-trans Int : 3 > (6420|140367366813440) Recv Buffer Size : 2048 > (6420|140367366813440) Hostnames Used : nas.access1.net > <http://nas.access1.net> > (6420|140367366813440) Dumping Peer Table > (6420|140367366813440) Expire Time 1 > (6420|140367366813440) Peer : Host = server.isp.net > <http://server.isp.net>, Port = 3868, TLS = 0 > (6420|140367366813440) Dumping Route Table > (6420|140367366813440) Exp Time : 0 > (6420|140367366813440) Route : Realm = isp.net > <http://isp.net>, Action = 1, Redirect-Usage = 0 > (6420|140367366813440) Application Id=5555, Vendor=0 > (6420|140367366813440) Server = server.isp.net > <http://server.isp.net>, metric = 2 > (6420|140367366813440) Max Sess : 10000 > (6420|140367366813440) Auth Stateful Auth : stateful > (6420|140367366813440) Auth Session(T) : 30 > (6420|140367366813440) Auth Lifetime(T) : 360 > (6420|140367366813440) Auth Grace(T) : 30 > (6420|140367366813440) Auth Abort(T) : 20 > (6420|140367366813440) Acct Session(T) : 30 > (6420|140367366813440) Acct Interim Int : 5 > (6420|140367366813440) Acct Real-Time : 1 > (6420|140367366813440) Debug Log : enabled > (6420|140367366813440) Trace Log : enabled > (6420|140367366813440) Info Log : enabled > (6420|140367366813440) Console Log : enabled > (6420|140367366813440) Syslog Log : disabled > Vendor [id = "61"] > Vendor [name = "Merit Networks"] > Vendor [id = "42"] > Vendor [name = "Sun Microsystems, Inc."] > Vendor [id = "429"] > Vendor [name = "US Robotics Corp."] > Base [uri = > "ftp://ftp.ietf.org/internet-drafts/draft-ietf-aaa-diameter-08.txt"] > Base [uri = > "ftp://ftp.ietf.org/internet-drafts/draft-ietf-aaa-diameter-08.txt"] > (6420|140367366813440) TCP Acceptor Listening at 1810, binding to > nas.access1.net <http://nas.access1.net> > (6420|1148553552) Waiting for incomming connection ... > (6420|140367366813440) SCTP Acceptor Listening at 1811, binding to > nas.access1.net <http://nas.access1.net> > (6420|1156946256) Waiting for incomming connection ... > (6420|140367366813440) Trying to connect to to server.isp.net:3868 > <http://server.isp.net:3868> > (6420|1165338960) Checking if connection attempt succeeded ... > (6420|1106590032) Connection attempt accepted > (6420|1106590032) Sent CER > Waiting till Client Application has connectivity > (6420|1114982736) Peer Capabilities > (6420|1114982736) Hostname : server.isp.net > <http://server.isp.net> > (6420|1114982736) Realm : isp.net <http://isp.net> > (6420|1114982736) Host IP : type=1, 127.0.0.1 > (6420|1114982736) VendorId : 0 > (6420|1114982736) Product Name : Open Diameter > (6420|1114982736) Orig State : 1303723549 > (6420|1114982736) Supported Vendor Id : 0 > (6420|1114982736) Auth Application Id : 5555 > (6420|1114982736) Inband Sec : 0 > (6420|1114982736) Firmware Ver : 1 > (6420|1114982736) *** Local capabilities accepted by peer *** > (6420|140367366813440) Session id=nas.access1.net.access1.net > <http://nas.access1.net.access1.net>; ;7;SampleClient > Sending AAR message > (6420|140367366813440) DestHost(server.isp.net <http://server.isp.net>) > present but not ours so try realm routing > Waiting till user is authorized > Waiting till user is authorized > (6420|1140160848) SIGPIPE received, closing connection > (6420|1140160848) Async IO Reports: Broken pipe > Waiting till user is authorized > > *Sometimes i am getting the following error at server side: > * > unknown session id discarding msg > > *Sometimes I dont receive the answer messages like (AAA, DWA etc...) > from server to client. > * > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > Please help me. > Thanks for your Time. > > Best Regards, > k. Gopala krishna Reddy. > > > > ------------------------------------------------------------------------------ > Fulfilling the Lean Software Promise > Lean software platforms are now widely adopted and the benefits have been > demonstrated beyond question. Learn why your peers are replacing JEE > containers with lightweight application servers - and what you can gain > from the move. http://p.sf.net/sfu/vmware-sfemails > > > > _______________________________________________ > Diameter-developers mailing list > Dia...@li... > https://lists.sourceforge.net/lists/listinfo/diameter-developers |