[Asterisk-Users] turning off IAX registration attempts

Robert Hajime Lanning lanning+asterisk at monsoonwind.com
Tue Dec 23 10:13:32 MST 2003


I have, in iax.conf the register statement:
register => username:password at iaxtel.com

This causes registration attempts to iaxtel.com for both IAX and IAX2.

Every once in a while there is a packet for port 4569 keeping the IAX2
registration alive.  This is fine.

But, I have a barrage of registration attempts to iaxtel on port 5036 for
IAX.  Every UDP packet is answered with an ICMP packet claiming
"port unreachable".

I know that iaxtel has turned off IAX,  So, how do I turn off the registration
attempts for IAX, for that particular connection?  (and keep IAX2)

Just seems like alot of wasted bandwidth, contiously knocking on a locked door.
Ok, not alot of bandwidth, but, completely useless.

Has anyone done a tcpdump at iaxtel to see how many IAX registration attempts
hit them, and how fast?

Here is my tcpdump: there are ICMP return packets for each of these UDP packets

root at hiro:/etc/asterisk# tcpdump -n ip host 69.73.19.178 and udp port 5036
tcpdump: listening on eth0
17:10:01.740865 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:01.740912 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:01.760869 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:01.760909 198.144.196.118.5036 > 69.73.19.178.5036: udp 42 (DF) [tos 0x10]
17:10:09.740652 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:11.201240 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:11.750502 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:11.750535 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:11.750546 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:11.770504 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:12.220512 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:25.240316 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:26.250264 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:29.740007 198.144.196.118.5036 > 69.73.19.178.5036: udp 42 (DF) [tos 0x10]
17:10:31.759849 198.144.196.118.5036 > 69.73.19.178.5036: udp 42 (DF) [tos 0x10]
17:10:39.279658 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:39.749612 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:40.299550 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:41.759498 198.144.196.118.5036 > 69.73.19.178.5036: udp 12 (DF) [tos 0x10]
17:10:41.759546 198.144.196.118.5036 > 69.73.19.178.5036: udp 42 (DF) [tos 0x10]

20 packets received by filter
0 packets dropped by kernel


-- 
END OF LINE
       -MCP



More information about the asterisk-users mailing list