-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add challenge for browser-based requests
- Loading branch information
Showing
8 changed files
with
107 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
locals { | ||
nul_ips = [ | ||
"129.105.184.0/24", | ||
"129.105.19.0/24", | ||
"129.105.203.0/24", | ||
"129.105.29.0/24", | ||
"165.124.126.38/32", | ||
"165.124.144.0/23", | ||
"165.124.160.0/21", | ||
"165.124.199.32/29", | ||
"165.124.200.24/29", | ||
"165.124.201.96/28", | ||
"165.124.202.0/24" | ||
] | ||
nul_ips_v6 = [ | ||
"2620:10d:2000:3000:0:0224::/96", | ||
"2620:10d:2000:3000:0:0078::/96", | ||
"2620:10d:2000:3000:0:0077::/96" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
034196a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the 5 IP ranges listed below from nul_ips. They are no longer in use, and I recommend removing them.
"165.124.160.0/21" # Legacy "regular" VPN IP range
"165.124.126.38/32" # Legacy SSL VPN Website Exit IP
"165.124.199.32/29" # Legacy SSL VPN
"165.124.200.24/29" # Legacy SSL VPN
"165.124.201.96/28" # Legacy SSL VPN
You do not have the Mudd staff IP range of "129.105.121.128/25" and the NU Cloud IP ranges of 129.105.238.192/26, 129.105.20.0/25, 129.105.20.128/26, 129.105.20.192/27. I do not know if they are needed here, only listing them out in the event you do.
The exit IPs for all VPN traffic are 165.124.167.1 to 165.124.167.4. There is no differentiation between students, staff or like Library staff. Same with the above IP ranges, not sure if you need to exclude them from the rate limiting or not.
034196a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @mstork!