Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Next Gen features #460

Closed
Zjemm opened this issue Nov 10, 2015 · 25 comments
Closed

Feature - Next Gen features #460

Zjemm opened this issue Nov 10, 2015 · 25 comments

Comments

@Zjemm
Copy link

Zjemm commented Nov 10, 2015

Feature Request:

Can we have some "Next Gen" features implemented:

  • DNS (bind9) Response polixy zones support (RPZ) this is a feature where you can sunscribe to a RPZ data feed to block malware domains, or Ad domains. Block or redirect to walled garden
  • Anti virus and Malware scanning support (clamAV?)
  • SSL inspection. nowadays you cannot have no SSL inspection. How will you be able to inspect traffic without? so this is a must have feature for a mordern firewall as more and more is behhind ssl

or are those allready on the roadmap?
please let me know if i can help

@AdSchellevis
Copy link
Member

Only "man in the middle" using squid is in our plans, but not scheduled yet.
Antivirus / Malware maybe could use the same route for web traffic, but it's a bit more tricky, email scanning for example is something we probably don't want to deliver any time soon given the amount of work to integrate that neatly.

I don't think RPZ is in unbound at the moment, although I'm not sure, adding another dns like system to the base system probably isn't a very good idea without removing / cleaning something else there first.

If you can code, you can take a look at our plugin system and development model:
https://wiki.opnsense.org/index.php/Develop:Creating_the_hello_world_module
http://lastsummer.de/development-workflow-in-opnsense/
https://github.com/opnsense/plugins

Patches on our squid module are also welcome, as long as they follow the guidelines. (No shell code in the php frontend/middleware, clean separation of concerns, detach frontend/backend to allow api usage).

Help in testing is also very welcome.

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

Hi Ad,

Good to hear there are plans for working on SSL inspection. it should not be that hard to incluse AV scanning in the same path. i will look into that to see if i can be of any help.

for the RPZ, I really think this is a great value to add to the firewall, also because it is a relatively easy thing to get working. only recuirement is to use a DNS server that supports it. Bind does.
You would not want to add another DNS system to the firewall, but you might want to consider replacing it for bind, or give the user a choice to use the one or the other.

let me know what you think

@langerma
Copy link

if you Need any help on squid and MITM just let me know...i allready have a squid instance with MITM at home...

it would also be nice to impliment sth. like store-id deduplication with squid for Caching YouTube and Facebook etc. (i also have some ideas about that)

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

Hi Langerma,

sharing abaout the MITM would be great. Do you have it working transparently?

@langerma
Copy link

I can give you my config stuff i use.

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

That would be great.
do you use it on the opnsense firewall? or another server icm with PF?

@langerma
Copy link

i use it on a dedicated server under freebsd 10 (squid3.5) with the flags i posted to franco

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

where can i find it?

@fichtner
Copy link
Member

the flags in opnsense methinks... :D

https://github.com/opnsense/tools/blob/master/config/15.7/make.conf#L17-L18

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

i mean the config stuff :)

@langerma
Copy link

i share it with you i allready have it on my github account

@langerma
Copy link

https://github.com/langerma/squidconfig --> there is some unused stuff i have to clear out...will update it with a clearified Version in the next few weeks

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

thank you very much

@langerma
Copy link

afaik there are new options available to generate and inspect certs...but i have to take a look at it.

@Zjemm
Copy link
Author

Zjemm commented Nov 11, 2015

do you mean the Dynamic SSL Certificate Generation ?

@langerma
Copy link

No I am thinking about that one: Make bumping decisions after the origin server name is known, especially when intercepting SSL. Avoid bumping non-SSL traffic.

http://wiki.squid-cache.org/Features/SslPeekAndSplice

@Zjemm
Copy link
Author

Zjemm commented Nov 12, 2015

langerma, did you also add some AV scanning to the decrypted traffic? For what usecase did you set this up?

@langerma
Copy link

i did not add any av scanning but i am looking forward to add it. with this config and the perlscript you are also able to make use of deduplication which means cdn network stuff is only stored once.

@Zjemm
Copy link
Author

Zjemm commented Nov 13, 2015

Ok cool, I'll look if i can get it working with AV scanning on the decrypted traffic. If it works i'll let you know

@langerma
Copy link

nice! i have never played around with the av scanning stuff.

@langerma
Copy link

maybe this document brings some improvement: http://marek.helion.pl/install/squid.html that peek and splice feature seems to be awesome stuff for transparent proxy.

@oparoz
Copy link
Contributor

oparoz commented Jan 26, 2016

@fichtner - If we manually make changes to the squid.conf will it be completely overwritten by any changes made in the GUI or is the GUI only making modifications to the variables it uses?

@fichtner
Copy link
Member

@oparoz there is a squid template that can be edited to retain manual changes, but these will be rewritten on firmware upgrades

@oparoz
Copy link
Contributor

oparoz commented Jan 26, 2016

Thanks. I'll have to keep that in mind :)

@fichtner
Copy link
Member

I will close this and opened a new ticket for sslbump feature in squid: #779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants