26 lines
		
	
	
		
			669 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			669 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=gluon-iptables-clamp-mss-to-pmtu
 | 
						|
 | 
						|
GLUON_VERSION = $(shell git describe --always --dirty=+ 2>/dev/null || echo unknown)
 | 
						|
PKG_VERSION:=$(if $(DUMP),x,$(GLUON_VERSION))
 | 
						|
 | 
						|
include ../gluon.mk
 | 
						|
 | 
						|
define Package/$(PKG_NAME)
 | 
						|
  TITLE:=This will establish a firewall rule to clamp the mss to pmtu on the mesh-vpn interface when the connection is towards 64:ff9b::/96
 | 
						|
  DEPENDS:= +ip6tables
 | 
						|
endef
 | 
						|
 | 
						|
define Package/$(PKG_NAME)/description
 | 
						|
	Package working around icmp blackholes in the internet.
 | 
						|
endef
 | 
						|
 | 
						|
define Package/$(PKG_NAME)/install
 | 
						|
	$(Gluon/Build/Install)
 | 
						|
 | 
						|
	$(INSTALL_DIR) $(1)/lib/gluon
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackageGluon,$(PKG_NAME)))
 |