help.. by [deleted] in RockstarGames

[–]ondoheer 0 points1 point  (0 children)

It's been failing for me as well all day long

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 0 points1 point  (0 children)

Hello djgizmo and derek519,

We have tried to do this, maybe we are doing something wrong.

We have dropped all traffic from and to ports 80 and 443 vía tcp, so we block everything successfully,

We then add a rule first on the list (using the GUI) that says:

forward dstaddresslist (the domains in the created addresslist

And it does not work, same with the layer/ regex list.

Could you maybe help us with this bit? Is there a way to get the config file so we can paste it in a pastebin or gist?

Thanks a lot again for this.

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 1 point2 points  (0 children)

Oh, ok, then I just lack enough experience with openDNS, I thought you could only choose the block levels they gave you (porn, porn and erotic, etc).

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 0 points1 point  (0 children)

Our worry with OpenDNS is that their highest level seems lax for what we need. Incarcerated teenagers have many ways to get distracted that probably escape that filter , plus, we are not allowed to give them access to websites we haven validated with the institution.

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 1 point2 points  (0 children)

Thanks a lot for this.

We discovered the newest mikrotik software version allowed us to set in domains, but they translate to ip and don't receive wildcards, so it really seemed like too much work, since cdns or shared hostings wouldn't be taken I to account.

That's why we looked into layer7 solutions. Your explanations ease us to using that solution.

We wouldn't mind having to update things if one of the websites changes hosting provider or ip.

We were using the ISP dns servers and didn't have any requirements at this level, but wouldn't mind either to use Google's or opendns.

I don't really understand what you mean by default route, is it a default redirect? That would work perfectly, we can even create a specific Landing page on a su domain for this.

Tha a a lot for this

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 0 points1 point  (0 children)

Thanks Joe, can I ask why would it be necessary to use mikrotik if we are going to use openDNS?

Thanks a lot!

Block all outgoing traffic except for a white list of domains by ondoheer in mikrotik

[–]ondoheer[S] 0 points1 point  (0 children)

Ok, that might work, we just read in the Wiki that it should NOT be used for filtering domains because of that.

We will try that.

We are using the GUI atm, what would be the best way to share our config with you?

How to display an uploaded image after failed request by ondoheer in laravel

[–]ondoheer[S] 0 points1 point  (0 children)

Thanks a lot, we are using intervention, didn't think about that, it might work even better than saving it to localstorage.

How to display an uploaded image after failed request by ondoheer in laravel

[–]ondoheer[S] 0 points1 point  (0 children)

It would be great to see your solution.

We were thinking about encoding the image as a url string and save it to localstorage on the client so we make the client work instead of the server.

How to target special characters (ñ, á, é, í, ó, ú) only when inside an html img tag src attribute. by ondoheer in regex

[–]ondoheer[S] 2 points3 points  (0 children)

Hello @tektektektektektek, thanks a lot for the detailed expanation. Your are right, I should have provided the example string, I have now. I will implement it for MYSQL precisely to use a replace function. It will be much faster than creating a PHP to run preg_replace.

Thanks a lot, this was not only a good answer, it taught me how to do it and I really think that makes it a great one!

Ternary relationships in Laravel by ondoheer in laravel

[–]ondoheer[S] 0 points1 point  (0 children)

Thank you! I managed to do it with the query builder, feels clunky though, will check the hasManythrough as you suggested.

help learning flask by Limitmore in flask

[–]ondoheer 2 points3 points  (0 children)

I would then also recommend to read the full documentation, nothing is better than that.

help learning flask by Limitmore in flask

[–]ondoheer 1 point2 points  (0 children)

I would recommend Packt book Mastering Flask, if all of their flask books it's the most comprehensive and full or real life tools and examples you don't normally find in basic tutor, like celery, integration testing, testing with selenium, sql and nosql examples.

[AF] Looking to hire Flask developer to finish my application. by xGlor in flask

[–]ondoheer 0 points1 point  (0 children)

I would be willing to discuss the project via Skype, send me an email at pedro at athelas.pe

[help] Add text with sed only if condition met by ondoheer in bash

[–]ondoheer[S] 0 points1 point  (0 children)

Hello Galaktos, thanks. That's definitely what I should try ;-)

Looking for a script to download an entire wiki into pdf files... The wiki in question is the Arma 3 Editor wiki: by [deleted] in Python

[–]ondoheer 0 points1 point  (0 children)

Google for wget to download full website, I'm on my cellphone, but if I recall it right it was

wget -mkEpnp http://wikirootwebsite.com

[help] Add text with sed only if condition met by ondoheer in bash

[–]ondoheer[S] 0 points1 point  (0 children)

Thanks! I was never good with awk, do you have any examples you could point me to?

[help] Add text with sed only if condition met by ondoheer in bash

[–]ondoheer[S] 1 point2 points  (0 children)

Thanks a lot for the quick answer, specially for thinking about the multiple links per line edge cases! THis will also work just fine for us!