Ticket #5162 (closed Feature Requests: worksforme)

Opened 2 years ago

Last modified 1 year ago

Input validation on creating SIP extension

Reported by: dprophitjr Assigned to: p_lindheimer
Priority: minor Milestone: 2.10
Component: Core - Users/Devices Version: 2.9-branch
Keywords: Cc:
Confirmation: Need Feedback Distro:
Backend Engine: Asterisk 1.6 Distro Ver:
Backend Ver: 2.9.0.2 SVN Revision (if applicable):

Description

Please regex the input validation for syntactically correct ip/subnet. I had a typo and now freepbx has gone haywire and crashed asterisk!

Change History

05/20/11 12:43:11 changed by mickecarlsson

Please be more specific. Are you referring to deny/permit fields?

07/16/11 05:32:18 changed by mickecarlsson

I have tested to put in invalid IP-addresses in these permit/deny fields. On Asterisk 1.8 I only get this in the log file:

[2011-07-16 12:41:03] WARNING[5512] acl.c: Invalid IP address: 255.255.255..0
[2011-07-16 12:41:03] ERROR[5512] chan_sip.c: Bad ACL entry in configuration line 21 : 255.255.255..0/0.0.0.0

What version of Asterisk do you use?

07/25/11 02:49:00 changed by mickecarlsson

  • priority changed from blocker to minor.
  • confirmation changed from Unreviewed to Need Feedback.

dprophitjr ping. Could you please update the status of this ticket with the version of your Asterisk?

I will give you one week then I will close this ticket as worksforme.

02/20/12 19:47:10 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to worksforme.