oleghasjanov
bc01dfaa3a
feat: support IPv6 /64 range in white IP validation
...
- Split IP validation logic for IPv4 and IPv6 addresses
- Add specific validation for IPv6 to allow only single addresses (/128) or /64 ranges
- Remove old network address calculation for IPv6
- Keep IPv4 address limit validation unchanged
- Add localization for new IPv6 validation error message
- Add test coverage for IPv6 validation:
* Test for valid /64 range
* Test for valid single address
* Test for invalid ranges (/48 and /96)
2025-03-24 15:16:10 +02:00
Sergei Tsoganov
e00e44c9b8
Modified white ip form and created mailer
2023-07-05 15:28:43 +03:00
Sergei Tsoganov
537315a8a9
Fixed codeclimate issues
2023-07-04 11:36:26 +03:00
Sergei Tsoganov
97c11f5dfd
Added error messages translations to white ips
2023-07-04 11:33:06 +03:00
Sergei Tsoganov
289159bff2
Fixed codeclimate issue
2023-07-03 15:47:45 +03:00
Sergei Tsoganov
c234449dae
Modified white ip form
2023-07-03 15:43:30 +03:00
Sergei Tsoganov
2a2b569bea
Corrected failed tests
2023-05-31 16:00:17 +03:00
Sergei Tsoganov
ded8917adf
Added ip whitelist max count and validation
2023-05-31 14:51:40 +03:00
Sergei Tsoganov
18cd6f5046
Added validation for one only IP
2023-05-30 14:42:56 +03:00
Sergei Tsoganov
0069d57c6f
Fixed codeclimate issues
2023-05-29 15:02:41 +03:00
Sergei Tsoganov
b84e9e1579
Added ApiUser and WhiteIp endpoints to REPP API
2023-05-29 14:26:53 +03:00
Sergei Tsoganov
dc41cfb103
Fixed codeclimate issues
2023-05-15 14:23:41 +03:00
Sergei Tsoganov
0f16ec77f5
Added csv export to registrar api_users and white_ips
2023-05-15 14:11:46 +03:00
dinsmol
e7e3278267
fixed codeclimate errors
2021-09-09 13:06:51 +03:00
Karl Erik Õunapuu
d99dd477c6
WhiteIP: Replace empty string with nil
2021-02-05 11:46:21 +02:00
Karl Erik Õunapuu
dc428b3c18
Fix IPv4/IPv6 parsing for empty string
2021-02-04 16:24:01 +02:00
Alex Sherman
708e87f5a7
CC fixes
2020-11-24 13:20:16 +05:00
Alex Sherman
3943628716
Add some debug messages
2020-11-23 19:18:28 +05:00
Alex Sherman
f01e59d95a
Some white ip check fixes
2020-11-23 17:53:17 +05:00
Alex Sherman
bace495f57
Revert "Fix error handling in processing request IP"
...
This reverts commit 5a82d7c2c0
.
2020-11-23 17:24:52 +05:00
Alex Sherman
5a82d7c2c0
Fix error handling in processing request IP
2020-11-23 17:20:14 +05:00
Alex Sherman
5cc85980d4
Fixed validations
2020-11-17 19:50:22 +05:00
Alex Sherman
a6b6a3e60a
Enable WhiteIp for checking against subnets
2020-11-17 19:37:24 +05:00
Artur Beljajev
fa52001be6
Upgrade to Rails 5.0
...
Closes #377
2019-11-15 15:26:33 +02:00
Artur Beljajev
c6bd590b38
Fix SQL injection
...
#600
2017-10-04 01:37:03 +03:00
Artur Beljajev
a82625c635
Remove rubocop tags
...
#600
2017-10-04 01:07:19 +03:00
Artur Beljajev
35afbf1f8c
Refactor IP registrar restriction
...
#600
2017-10-04 01:03:32 +03:00
Martin Lensment
c6073c7e87
Restructure white ip interfaces #2713
2015-09-15 14:00:19 +03:00
Martin Lensment
d26dd3da98
Check API whitelist IP-s when loggin into registrar with pw #2713
2015-08-14 17:34:05 +03:00
Martin Lensment
ffebff72dd
Add feature to disable IP whitelist #2707
2015-06-29 12:31:47 +03:00
Martin Lensment
df47e21086
Merge repp, epp in IP whitelist
2015-05-20 18:47:57 +03:00
Martin Lensment
a7a984d999
Tests for registrar ip whitelist
2015-05-20 16:32:54 +03:00
Martin Lensment
940355a417
Check IP in registrar
2015-05-20 15:43:25 +03:00
Martin Lensment
abf47b1e08
Add IP protection for REPP
2015-05-19 19:12:43 +03:00
Martin Lensment
76ea1389e6
Add logging to white ip
2015-05-19 17:25:47 +03:00
Martin Lensment
8e37355e13
Create white ips
2015-05-19 16:47:29 +03:00