diff options
| author | Tyler Wear <twear@codeaurora.org> | 2018-08-01 18:01:52 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2018-08-01 18:01:52 -0700 |
| commit | aa42e2f2fe79cb6e67d3140d221940edfa060ded (patch) | |
| tree | 298076cff60f656983c37f215e5d11230b5332c8 /server/TetherControllerTest.cpp | |
| parent | 1eaf69e66f335c23c8c43930bd582e568c5afaed (diff) | |
| parent | 8126754ddd0f51cb7bb5dc2501e8e1c1fe597523 (diff) | |
Merge "netd: Active FTP Helper"
am: 8126754ddd
Change-Id: I37b4deb024319b005d74e357d7856daa88b52860
Diffstat (limited to 'server/TetherControllerTest.cpp')
| -rw-r--r-- | server/TetherControllerTest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/TetherControllerTest.cpp b/server/TetherControllerTest.cpp index bcdb106b..6e77bfe7 100644 --- a/server/TetherControllerTest.cpp +++ b/server/TetherControllerTest.cpp @@ -127,6 +127,10 @@ protected: "COMMIT\n", intIf); std::vector<std::string> v4Cmds = { + "*raw", + StringPrintf("-A tetherctrl_raw_PREROUTING -p tcp --dport 21 -i %s -j CT --helper ftp", + intIf), + "COMMIT", "*filter", StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state" " ESTABLISHED,RELATED -g tetherctrl_counters", extIf, intIf), @@ -195,6 +199,10 @@ protected: "COMMIT\n", intIf); std::vector<std::string> v4Cmds = { + "*raw", + StringPrintf("-D tetherctrl_raw_PREROUTING -p tcp --dport 21 -i %s -j CT --helper ftp", + intIf), + "COMMIT", "*filter", StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -m state --state" " ESTABLISHED,RELATED -g tetherctrl_counters", extIf, intIf), |
