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

Squid : add custom fields #802

Closed
tifredfr opened this issue Mar 3, 2016 · 3 comments
Closed

Squid : add custom fields #802

tifredfr opened this issue Mar 3, 2016 · 3 comments
Assignees
Labels
feature Adding new functionality
Milestone

Comments

@tifredfr
Copy link

tifredfr commented Mar 3, 2016

Hi,

It is that it would be possible to have a field to enter additional settings proxy ?

For example, to add the directive: "tcp_outgoing_address 127.0.0.1;"

Thx

@AdSchellevis
Copy link
Member

@thelinuxfr I rather not add plain text fields to the configuration for validation reasons, but we probably could extend the template to support custom hooks by placing a template on the filesystem. Would that work for you?

@tifredfr
Copy link
Author

tifredfr commented Mar 7, 2016

@AdSchellevis yes that's fine. An example of other parameters may be of interest

https://doc.pfsense.org/index.php/Squid_Package_Tuning#Random_Tips.2FTricks

@AdSchellevis
Copy link
Member

@thelinuxfr the last commit adds the possibility to append custom options before and after the http_access section.

When available, these files will be included:
/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.user.pre_auth.conf
/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.user.post_auth.conf

fichtner pushed a commit that referenced this issue Jul 8, 2016
@AdSchellevis AdSchellevis added the feature Adding new functionality label Jul 19, 2016
@AdSchellevis AdSchellevis added this to the 16.7 milestone Jul 19, 2016
@AdSchellevis AdSchellevis self-assigned this Jul 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

2 participants