[Serusers] RE: 483 - too many hops error - - Sorry, I attached wrong ngrep, correct is now in the email.
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Aug 11 00:07:06 CEST 2004
use ngrep also on the loopback interface. This way you should see a lot
of messages which are looped. Make sure that your ser is accepting
requests for "orau.net".
If you are using the domain module (is_from_local()) make sure that your
domain is in the "domain" table in the ser database.
If you are using
if (uri==myself) { ...
then make sure that you have added your domain by using the alias=
directive in ser.cfg, e.g.
alias=orau.net
regards,
klaus
Morris, Scott wrote:
> Sorry, I attached wrong ngrep, correct is now in the email.
>
> Scott Morris
> Enterprise Network Engineer
> DOE - ORAU / ORISE
> 865-576-4672
>
>
> -----Original Message-----
> From: Morris, Scott
> Sent: Tuesday, August 10, 2004 2:29 PM
> To: serusers at lists.iptel.org
> Subject: 483 - too many hops error -
>
>
> I found documentation on the 483 - too many hops error and what to do about
> it, but I guess I don't have a handle one the concept, just like many others
> I guess. Here is the information I am using.
>
> Sign-in name - morriss at orau.net
> username - morriss
> password - xxxx
>
> my workstation is 10.5.10.1
> SER server is 10.0.2.1 (comm01.orau.gov)
>
> the sip service records for dns are comm01.orau.gov
>
> SER version - 8.12 running on Redhat 3.0 ES
> workstation software - Windows Messenger 4.7.2009
>
> Please take a look at the ser.cfg and ngrep below and see where I have the
> uri not set properly. And can more detail be provided on the aliases
> command?
>
> Thanks.
>
> Scott Morris
> Enterprise Network Engineer
> DOE - ORAU / ORISE
> 865-576-4672
>
> Ser.cfg
> =====================================================
>
> # $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
> #
> # simple quick-start config script
> #
>
> # ----------- global configuration parameters ------------------------
>
> #debug=3 # debug level (cmd line: -dddddddddd)
> #fork=yes
> #log_stderror=no # (cmd line: -E)
>
> /* Uncomment these lines to enter debugging mode
>
> debug=7
> fork=no
> log_stderror=yes
> */
>
> check_via=no # (cmd. line: -v)
> dns=no # (cmd. line: -r)
> rev_dns=no # (cmd. line: -R)
> #port=5060
> #children=4
> fifo="/tmp/ser_fifo"
>
> # ------------------ module loading ----------------------------------
>
> # Uncomment this if you want to use SQL database
> #loadmodule "/usr/lib/ser/modules/mysql.so"
>
> loadmodule "/usr/lib/ser/modules/sl.so"
> loadmodule "/usr/lib/ser/modules/tm.so"
> loadmodule "/usr/lib/ser/modules/rr.so"
> loadmodule "/usr/lib/ser/modules/maxfwd.so"
> loadmodule "/usr/lib/ser/modules/usrloc.so"
> loadmodule "/usr/lib/ser/modules/registrar.so"
>
> loadmodule "/usr/lib/ser/modules/auth_radius.so"
>
> # Uncomment this if you want digest authentication
> # mysql.so must be loaded !
> loadmodule "/usr/lib/ser/modules/auth.so"
> #loadmodule "/usr/lib/ser/modules/auth_db.so"
>
> # ----------------- setting module-specific parameters ---------------
>
> # -- usrloc params --
>
> modparam("usrloc", "db_mode", 0)
>
> # Uncomment this if you want to use SQL database
> # for persistent storage and comment the previous line #modparam("usrloc",
> "db_mode", 2)
>
> # -- auth params --
> # Uncomment if you are using auth module
> #
> # modparam("auth_db", "calculate_ha1", yes)
> #
> # If you set "calculate_ha1" parameter to yes (which true in this config),
> # uncomment also the following parameter)
> #
> # modparam("auth_db", "password_column", "password")
>
> # -- rr params --
> # add value to ;lr param to make some broken UAs happy modparam("rr",
> "enable_full_lr", 1)
>
> # radius
> modparam("auth_radius", "service_type", 15 ) modparam("auth_radius",
> "radius_config", "/etc/radiusclient/radiusclient.conf")
>
> # ------------------------- request routing logic -------------------
>
> # main routing logic
>
> route{
>
> # initial sanity checks -- messages with
> # max_forwards==0, or excessively long requests
> if (!mf_process_maxfwd_header("10")) {
> sl_send_reply("483","Too Many Hops");
> break;
> };
> if ( msg:len > max_len ) {
> sl_send_reply("513", "Message too big");
> break;
> };
>
> # we record-route all messages -- to make sure that
> # subsequent messages will go through our proxy; that's
> # particularly good if upstream and downstream entities
> # use different transport protocol
> record_route();
> # loose-route processing
> if (loose_route()) {
> t_relay();
> break;
> };
>
> # if the request is for other domain use UsrLoc
> # (in case, it does not work, use the following command
> # with proper names and addresses in it)
> if (uri==myself) {
>
> if (method=="REGISTER") {
>
> # Uncomment this if you want to use digest authentication
> if (!radius_www_authorize("orau.net")) {
> www_challenge("orau.net", "1");
> break;
> };
>
> save("location");
> break;
> };
>
> # native SIP destinations are handled using our USRLOC DB
> if (!lookup("location")) {
> sl_send_reply("404", "Not Found");
> break;
> };
> };
> # forward to current uri now; use stateful forwarding; that
> # works reliably even if we forward from TCP to UDP
> if (!t_relay()) {
> sl_reply_error();
> };
>
> }
>
>
>
> Grep
> =====================================================
> interface: eth0 (10.0.0.0/255.255.0.0)
> #
> U 10.5.10.1:1765 -> 10.0.2.1:5060
> REGISTER sip:orau.net SIP/2.0..Via: SIP/2.0/UDP 10.5.10.1:11478..From:
> <sip
> :morriss at orau.net>;tag=c6436765-3d9a-4a10-ae23-c05fbcce10e7..To:
> <sip:morri
> ss at orau.net>..Call-ID:
> b1ea53ea-e136-4143-9b9c-ebe110cdd814 at 10.5.10.1..CSeq
> : 1 REGISTER..Contact: <sip:10.5.10.1:11478>;methods="INVITE, MESSAGE,
> INFO
> , SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"..User-Agent: Windows
> RTC/1.
> 0..Expires: 1200..Event: registration..Allow-Events:
> presence..Content-Leng
> th: 0....
> #
> T 143.126.10.0 -> 2.1.0.0 +1540 at 8:28
> ..........[..~..............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nF..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nF..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nG...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nG...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nf..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nf..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ng...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> ng...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nh..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nh..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ni...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> ni...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nl..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nl..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nm...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nm...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ne..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> ne..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nf...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nf...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nw..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nw..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nx...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nx...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> n`..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> n`..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> na...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> na...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nn..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nn..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> no...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> no...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nH..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nH..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nI...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nI...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nm..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nm..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nn...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nn...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ny..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> ny..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nz...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nz...........comm01.orau.net.....................
> #
> U 10.0.2.1:5060 -> 10.5.10.1:11478
> SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP 10.5.10.1:11478..From:
> <sip:mor
> riss at orau.net>;tag=c6436765-3d9a-4a10-ae23-c05fbcce10e7..To:
> <sip:morriss at o
> rau.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.d78f..Call-ID:
> b1ea53ea-e136-
> 4143-9b9c-ebe110cdd814 at 10.5.10.1..CSeq: 1 REGISTER..Server: Sip EXpress
> rou
> ter (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 10.0.2.1:5060
> "N
> oisy feedback tells: pid=11802 req_src_ip=10.0.2.1 req_src_port=5060
> in_ur
> i=sip:orau.net out_uri=sip:orau.net via_cnt==12"....
> #
> U 10.0.2.230:138 -> 10.0.2.255:138
> .............. EMEBEOEEEFFDELCACACACACACACACACA.
> EPFCEBFFCACACACACACACACACA
>
> CACABO..SMB%..............................D...................D.V.........U
> .\MAILSLOT\BROWSE.......LANDESK.................U.Landesk - Desktop
> Managem
> ent Server.
> #
> U 10.5.10.1:1766 -> 10.0.2.1:5060
> REGISTER sip:orau.net SIP/2.0..Via: SIP/2.0/UDP 10.5.10.1:11478..From:
> <sip
> :morriss at orau.net>;tag=2496eef8-3160-45e3-b511-428bd3aa5227..To:
> <sip:morri
> ss at orau.net>..Call-ID:
> c230c295-6be4-4e73-b908-30f896694342 at 10.5.10.1..CSeq
> : 1 REGISTER..Contact: <sip:10.5.10.1:11478>;methods="INVITE, MESSAGE,
> INFO
> , SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"..User-Agent: Windows
> RTC/1.
> 0..Expires: 1200..Event: registration..Allow-Events:
> presence..Content-Leng
> th: 0....
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ng..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> ng..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nh...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nh...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> no..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> no..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> np...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> np...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nj..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nj..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nk...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nk...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> np..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> np..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nq...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nq...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nb..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nb..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nc...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nc...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ns..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> ns..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nt...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nt...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nl..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nl..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nm...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nm...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nJ..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nJ..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nK...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nK...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> ni..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> ni..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nj...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nj...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> n{..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> n{..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> n|...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> n|...........comm01.orau.net.....................
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nu..........._sip._udp.orau.net..!..
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
>
> nu..........._sip._udp.orau.net..!.....!...............comm01.orau.net..6..
> ............
> #
> U 10.0.2.1:33128 -> 10.0.2.253:53
> nv...........comm01.orau.net.....
> #
> U 10.0.2.253:53 -> 10.0.2.1:33128
> nv...........comm01.orau.net.....................
> #
> U 10.0.2.1:5060 -> 10.5.10.1:11478
> SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP 10.5.10.1:11478..From:
> <sip:mor
> riss at orau.net>;tag=2496eef8-3160-45e3-b511-428bd3aa5227..To:
> <sip:morriss at o
> rau.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.729a..Call-ID:
> c230c295-6be4-
> 4e73-b908-30f896694342 at 10.5.10.1..CSeq: 1 REGISTER..Server: Sip EXpress
> rou
> ter (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 10.0.2.1:5060
> "N
> oisy feedback tells: pid=11809 req_src_ip=10.0.2.1 req_src_port=5060
> in_ur
> i=sip:orau.net out_uri=sip:orau.net via_cnt==12"....
> #
> T 143.126.10.0 -> 2.1.0.0 +1540 at 8:28
> ..........[..~..............
> exit
> 155 received, 0 dropped
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list