Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
6554cc21
Commit
6554cc21
authored
9 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/firewall-multicast'
parents
d58484c8
5bb4316f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/gluon-neighbour-info/Makefile
+2
-0
2 additions, 0 deletions
package/gluon-neighbour-info/Makefile
package/gluon-neighbour-info/files/lib/gluon/upgrade/400-neighbour-info-firewall
+20
-0
20 additions, 0 deletions
...-info/files/lib/gluon/upgrade/400-neighbour-info-firewall
with
22 additions
and
0 deletions
package/gluon-neighbour-info/Makefile
+
2
−
0
View file @
6554cc21
...
@@ -32,6 +32,8 @@ define Build/Compile
...
@@ -32,6 +32,8 @@ define Build/Compile
endef
endef
define
Package/gluon-neighbour-info/install
define
Package/gluon-neighbour-info/install
$(CP)
./files/*
$(1)/
$(INSTALL_DIR)
$(1)/usr/bin
$(INSTALL_DIR)
$(1)/usr/bin
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/gluon-neighbour-info
$(1)/usr/bin/
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/gluon-neighbour-info
$(1)/usr/bin/
endef
endef
...
...
This diff is collapsed.
Click to expand it.
package/gluon-neighbour-info/files/lib/gluon/upgrade/400-neighbour-info-firewall
0 → 100755
+
20
−
0
View file @
6554cc21
#!/usr/bin/lua
local
uci
=
require
(
'luci.model.uci'
).
cursor
()
-- Allow incoming respondd replies to queries on WAN
-- If the query was via multicast, the response isn't matched by --state RELATED
uci
:
section
(
'firewall'
,
'rule'
,
'wan_respondd_reply'
,
{
name
=
'wan_respondd_reply'
,
src
=
'wan'
,
src_ip
=
'fe80::/64'
,
src_port
=
'1001'
,
dest_port
=
'32768:61000'
,
-- see /proc/sys/net/ipv4/ip_local_port_range
proto
=
'udp'
,
target
=
'ACCEPT'
,
}
)
uci
:
save
(
'firewall'
)
uci
:
commit
(
'firewall'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment