Testing some good Regex expressions for use with Squid Proxy and custom spliced URL lists.
Hello fellow Netgate Community,
I put together some small regular expressions you can use if you want they are working great for me.
This is for use with Roblox and its use with multiple t and c and apis servers for rbxcdn.com and the need to splice them. I got tired of entering multiple urls for urls that change one digit or have t or a c in them.
I have a custom URL spliced file,
acl NoSSLIntercept ssl::server_name_regex -i "/usr/local/pkg/url.nobump"
(use with custom file)
Disney Plus and the multiple bamgrid.com usage:
Android smartphone push notifications use while on wifi:
Use of these regular expressions clears up a lot of entries where you need to splice and not intercept.
if you want, test out your own.
@jonathanlee good job!
@michmoor thanks let me know if you have any others .
Here is another one that includes more for mtalk.
works for both alt0-9 and mtalk and mtalk-staging mtalk-dev
With reflection on BigO notation or speed it takes to process the URL this could be better or worse with respect to just separating the other beginning terms outside of the alt[0-9] terms within this regular expression. Again, that website also provides a time and steps to process counter to help with that. Does it reflect the speed within pfsense? That is something I do not know as some firewalls come with multi cores alongside multiple CPUs.
I adapted this for testing and set it to stare all because of this statement on their website, "The following configuration obtains SNI by parsing TLS Client Hello (due to a matching peek rule at step1) and then either splices bank connections OR stares at the TLS Server Hello (due to a matching stare rule) and bumps non-bank connections (due to the default bump-after-stare rule)."
It has a default bump after stare rule, so bump step 3 is not needed
I am thinking. This also seemed to speed up everything.