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

cthelper documentation #94

Closed
ktsaou opened this issue Oct 11, 2015 · 2 comments
Closed

cthelper documentation #94

ktsaou opened this issue Oct 11, 2015 · 2 comments
Labels

Comments

@ktsaou
Copy link
Member

@ktsaou ktsaou commented Oct 11, 2015

We have to write it...

@nick4u
Copy link

@nick4u nick4u commented Mar 2, 2016

Still no cthelper manual and FIREHOL_CONNTRACK_HELPERS_ASSIGNMENT="manual" does not work?

using firehol-3.0.1
my firehol.conf contains :

version 6
FIREHOL_CONNTRACK_HELPERS_ASSIGNMENT="manual"

compiled iptables include "-m helper --helper" entries

# iptables-save |grep help
-A in_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper ftp -j ACCEPT
-A in_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper irc -j ACCEPT
-A in_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper sip -j ACCEPT
-A in_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper pptp -j ACCEPT
-A in_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper proto_gre -j ACCEPT
-A out_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper ftp -j ACCEPT
-A out_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper irc -j ACCEPT
-A out_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper sip -j ACCEPT
-A out_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper pptp -j ACCEPT
-A out_net0 -m conntrack --ctstate RELATED,ESTABLISHED -m helper --helper proto_gre -j ACCEPT
root@frgra1:~/download/firehol-3.0.1# iptables-save |grep CT
-A FORWARD -d 10.0.0.0/8 -o net0 -j REJECT --reject-with icmp-net-prohibited
-A FORWARD -d 172.16.0.0/12 -o net0 -j REJECT --reject-with icmp-net-prohibited
-A FORWARD -d 192.168.0.0/16 -o net0 -j REJECT --reject-with icmp-net-prohibited

no -j CT rules
firehol debug outputs at end :

# Commands to execute:
/sbin/sysctl -w net.ipv4.ip_forward=1
/sbin/sysctl -w net.netfilter.nf_conntrack_helper=0

so looking at source FIREHOL_CONNTRACK_HELPERS_ASSIGNMENT is respected

do I miss sthing?

@ktsaou
Copy link
Member Author

@ktsaou ktsaou commented Mar 6, 2016

Hi,

I added the manual page for cthelper: https://github.com/firehol/firehol/blob/master/doc/firehol/firehol-cthelper.5.md

If you need help, just reply.

philwhineray added a commit that referenced this issue Aug 20, 2017
Fixes: #235, #223, #184, #94, #143, #248, #249, #231, #217, #221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.