Sorry, my pre-post is not very clear. I understand we can use kernel route to specify source ip and destination ip in ip layer, my question is how can we specify source port and destination port in udp layer and tcp layer? Can we control it by xml file? Thanks.
On Tue, Oct 28, 2008 at 12:22 AM, Jun Yin <[EMAIL PROTECTED]> wrote: > Hi Cyrilleo, Ricardo & all, > > Did you try to use the latest version in the trunk source code and > solve your problem? I'm very interested about your test result. Can > you also specify "source ip&port" besides "destination ip&port"? for > both udp and tcp? > > Could you post a full xml file sample? thanks a lot. > > On Wed, Jul 30, 2008 at 7:40 AM, Cyrille OLIVIER <[EMAIL PROTECTED]> wrote: >> Hi Ricardo & all, >> Thanks a lot for your answer. >> I will get the lastest version in the trunk source code, >> Unfortunatelly, i need to set the *source* IP and port of my sipp messages. >> so it leads to the 100$ question: does the "setsrc" or "setsource" option >> also exists ? >> :) >> >> BR, >> Cyrille >> >>> Date: Wed, 30 Jul 2008 15:31:57 +0100 >>> From: [EMAIL PROTECTED] >>> To: [EMAIL PROTECTED] >>> Subject: Re: [Sipp-users] Force source IP & source Port at IP laye >>> >>> Hello, >>> >>> I think you had the same problem as me. >>> You can change the place here your sipp messages go to by specifying >>> the host and the port in the scenario file like this: >>> <nop> >>> <action> >>> <setdest host="112.12.12.12" port="5060" protocol="udp" /> >>> </action> >>> <nop> >>> >>> This works in sipp with UDP, in TCP i don't know, never tried. >>> This will only work with the lastest version in the trunk source code, >>> the current binaries in the sourceforge stable version >>> will not recognized the setdest keyword. >>> >>> Ps: >>> If you are using windows get this version from the snapshots here: >>> http://sipp.sourceforge.net/snapshots/sipp-win32-2008-07-18.exe >>> >>> Hope it helps >>> Ricardo Fernandes >>> >>> >>> >>> On Wed, Jul 30, 2008 at 2:31 PM, Cyrille OLIVIER <[EMAIL PROTECTED]> >>> wrote: >>> > Hi all, >>> > I worried a bit about this post ;) >>> > Actually, I don't need a very developped answer but just a short (but >>> > clear >>> > ;) ) one. >>> > Of course, if needed, i can detail more >>> > >>> > Best regards & thanks a lot, >>> > Cyrille >>> > >>> > ________________________________ >>> > From: [EMAIL PROTECTED] >>> > To: [email protected] >>> > Date: Thu, 10 Jul 2008 10:13:50 +0000 >>> > Subject: [Sipp-users] Force source IP & source Port at IP layer >>> > >>> > >>> > Dear sipp-users, >>> > >>> > Again, I asked my requests about SIPp client using TCP: >>> > Is it possible to force sipp to use specific IP source & Port source, at >>> > IP >>> > layer, for "send" messages when TCP with single socket (option '-t t1' >>> > used) >>> > ? >>> > I tried many things: >>> > >>> > 1/ -bind_local: seems unuseful. >>> > 2/ -i x.x.x.x -p yyyy options: it's only for some SIP headers but not >>> > for IP >>> > packet header. >>> > 3/ <send -source_ip="x.x.x.x" -source_port="yyyy"> for INVITE message: >>> > does >>> > not seems to work. >>> > 4/ look for this subject in mailing list archives: some conversation are >>> > closed to my question but not similar at 100% >>> > ... >>> > >>> > Currently, I don't know which other workaround or things to do :( >>> > I would really appreciate any help about that >>> > Thanks a lot, >>> > BR, >>> > Cyrille >>> > ________________________________ >>> > Discutez gratuitement avec vos amis en vidéo ! Téléchargez Messenger, >>> > c'est >>> > gratuit ! >>> > ________________________________ >>> > Avec Windows Live Messenger restez en contact avec tous vos amis ! >>> > Téléchargez Messenger, c'est gratuit ! >>> > >>> > ------------------------------------------------------------------------- >>> > This SF.Net email is sponsored by the Moblin Your Move Developer's >>> > challenge >>> > Build the coolest Linux based applications with Moblin SDK & win great >>> > prizes >>> > Grand prize is a trip for two to an Open Source event anywhere in the >>> > world >>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> > _______________________________________________ >>> > Sipp-users mailing list >>> > [email protected] >>> > https://lists.sourceforge.net/lists/listinfo/sipp-users >>> > >>> > >> >> >> ________________________________ >> Consultez vos emails sur votre mobile ! Créez un compte Hotmail, c'est >> gratuit ! >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Sipp-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sipp-users >> >> > > > > -- > Rgds, > > Hans Yin > Web: homeofhans.homeip.net > Email: [EMAIL PROTECTED] > MSN: [EMAIL PROTECTED] > Skype: hans_yin_vancouver > -- Rgds, Hans Yin Web: homeofhans.homeip.net Email: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] Skype: hans_yin_vancouver ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
