LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2011, 05:38 AM   #16
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
resetting guest


Hi,


thanks, i have some network issues which are taking time to resolve....
 
Old 09-02-2011, 05:40 AM   #17
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Sure. And thanks for all 'yes'
 
1 members found this post helpful.
Old 09-02-2011, 08:16 AM   #18
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
still no joy

Hi,

I tried echo 1 > /proc/sys/net/ipv4/ip_forward but I still don't see in wireshark any response ?

thanks
graham
 
Old 09-02-2011, 08:18 AM   #19
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
no joy

Hi

I tried

echo 1 > /proc/sys/net/ipv4/ip_forward but no luck

thanks
graham
 
Old 09-02-2011, 08:21 AM   #20
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Perhaps, you might have to check your server configuration.

Well.. letz do a small debugging to find out if your server is good.

Do you have 'nc' in your Linux instance?
 
1 members found this post helpful.
Old 09-02-2011, 08:24 AM   #21
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
Maybe there is something not right with iptables

---------- Post added 09-02-11 at 02:25 PM ----------

yes i have nc installed
 
Old 09-02-2011, 08:26 AM   #22
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
if i type nc i get to

cmd line
 
Old 09-02-2011, 08:32 AM   #23
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
This is what I wanted to check...

1. Stop the SIP server running in Linux instance.

2. Enable ip_forward and have iptables rule configured as discussed

3. Run 'nc' to listen on 127.0.0.1, udp mode, port 5060

4. Start SIP client from host

5. Once SIP client sends a request, you will notice it on the terminal where 'nc' is running

6. Once you saw a request, type something on 'nc' terminal and check if the typed message went back to SIP client.

If everything happened properly, you have to revisit SIP server's configuration.
 
1 members found this post helpful.
Old 09-02-2011, 08:34 AM   #24
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
wireshark trace no response from guest

thanks
Attached Files
File Type: txt no-reponse.txt (34.7 KB, 5 views)
 
Old 09-02-2011, 08:39 AM   #25
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Did you notice SIP client's request on 'nc' terminal?
 
1 members found this post helpful.
Old 09-02-2011, 08:53 AM   #26
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
nc -v -u 127.0.0.1 5060 output

Hi,

I ran the above, but noting is written to the screen

instead I just see that nc responds with

localhost.localdomain 127.0.0.1 5060 (?) open
 
Old 09-02-2011, 08:58 AM   #27
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Ok.. now,

1. delete the iptables command

Assuming you have only one iptables rule in nat table...

Quote:
iptables -t nat -F
2. Run nc listening on all interface and see if you get the request on screen.
 
1 members found this post helpful.
Old 09-02-2011, 09:11 AM   #28
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
icmp messages back

Hi I ran the test again,

but still nothing on nc output
 
Old 09-02-2011, 09:13 AM   #29
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Can you post the output of
Quote:
netstat -anup
after you executed 'nc'?
 
1 members found this post helpful.
Old 09-02-2011, 09:17 AM   #30
gbwien
Member
 
Registered: Jul 2008
Posts: 33

Original Poster
Rep: Reputation: 0
thanks very much for your help --> output after nc command

Code:
[root@grahamb ~]# netstat -anup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
udp        0      0 0.0.0.0:32768               0.0.0.0:*                               3598/named
udp        0      0 127.0.0.1:32789             127.0.0.1:5060              ESTABLISHED 11043/nc 
udp        0      0 127.0.0.1:6060              0.0.0.0:*                               11050/ser
udp        0      0 192.168.21.128:53           0.0.0.0:*                               3598/named
udp        0      0 127.0.0.1:53                0.0.0.0:*                               3598/named
udp        0      0 127.0.0.1:5060              0.0.0.0:*                               11008/ser
udp        0      0 127.0.0.1:4060              0.0.0.0:*                               9713/ser 
udp        0      0 0.0.0.0:111                 0.0.0.0:*                               3656/portmap
udp        0      0 0.0.0.0:884                 0.0.0.0:*                               3676/rpc.statd
udp        0      0 0.0.0.0:887                 0.0.0.0:*                               3676/rpc.statd
udp        0      0 0.0.0.0:631                 0.0.0.0:*                               3137/cupsd
udp        0      0 :::32769                    :::*                                    3598/named
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raw UDP Socket and ICMP Destination (Port) Unreachable bobble Programming 5 07-06-2011 05:07 AM
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 migabriel.84 Linux - Server 1 11-25-2009 04:36 PM
route -n shows unknown network destination gjmwalsh Linux - Networking 2 09-19-2009 10:36 PM
icmpquery: Unknown ICMP message received (type 13) phsythax Linux - Networking 1 11-17-2005 04:39 PM
lpstat: Unknown destination ricky_ds Linux - Networking 1 08-22-2005 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration