Robert Hajime Lanning
2003-Dec-23 10:13 UTC
[Asterisk-Users] turning off IAX registration attempts
I have, in iax.conf the register statement: register => username:password@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@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
Tilghman Lesher
2003-Dec-23 11:44 UTC
[Asterisk-Users] turning off IAX registration attempts
On Tuesday 23 December 2003 11:13, Robert Hajime Lanning wrote:> I have, in iax.conf the register statement: > register => username:password@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)How's this for a solution (attached)? -Tilghman -------------- next part -------------- A non-text attachment was scrubbed... Name: 20031223__iax1_conf_file.diff Type: text/x-diff Size: 1251 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20031223/f070e521/20031223__iax1_conf_file.bin