Jo-Philipp Wich
a9977eca91
firewall: allow local redirection of ports
...
Allow a redirect like:
config redirect
option src 'wan'
option dest 'lan'
option src_dport '22001'
option dest_port '22'
option proto 'tcp'
note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.
This patch makes three changes:
(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
connections.
In the above example,
ssh -p 22 root@myrouter
would fail from the outside, but:
ssh -p 22001 root@myrouter
would succeed. This is handy if:
(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
still want to allow firewall access from outside.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26617
14 years ago
Jo-Philipp Wich
a65b43a46f
autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
...
SVN-Revision: 26589
14 years ago
Jo-Philipp Wich
0f13d0a068
cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead
...
SVN-Revision: 26584
14 years ago
Hauke Mehrtens
24c1caef5f
iipt-debug: create bundle of netfilter modules for debugging
...
Add a bundle for including commonly useful modules for IPtables debugging and development.
For now, it just contains xt_TRACE.ko
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26567
14 years ago
Felix Fietkau
2238b949f1
build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on
...
SVN-Revision: 26499
14 years ago
Felix Fietkau
caf4747f0c
build: clean up handling of the kernel config
...
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env
SVN-Revision: 26498
14 years ago
Felix Fietkau
459762ace2
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
SVN-Revision: 26491
14 years ago
Felix Fietkau
fcc570d999
site: set ac_cv_sizeof_off_t=8 to fix autoconf applications using it for detecting largefile support ( #8376 , #5681 )
...
SVN-Revision: 26471
14 years ago
Felix Fietkau
d637ae2fc8
make the build system a bit more silent without V=99
...
SVN-Revision: 26460
14 years ago
Felix Fietkau
c4b8294c2d
toplevel: add a warning about .config being out of sync after an update
...
SVN-Revision: 26459
14 years ago
Florian Fainelli
5959cd2850
add kmod-ipt-led
...
Netfilter LED target triggers blinkenlichten when a network packet hits
a rule.
LED target requires iptables 1.4.9 or higher
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
SVN-Revision: 26451
14 years ago
Hauke Mehrtens
87f98f8b09
kernel: add md5sum of kernel
...
This was missing in r26441
SVN-Revision: 26442
14 years ago
Felix Fietkau
61485f6491
build: reduce the amount of generated make code for the initial prereq scan - makes it about 20% faster
...
SVN-Revision: 26436
14 years ago
Felix Fietkau
314ce66b86
build: use a conditional @ sign before silenced targets instead of .SILENT - makes prereq checks more than twice as fast
...
SVN-Revision: 26435
14 years ago
Felix Fietkau
33cde6b296
build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed
...
SVN-Revision: 26434
14 years ago
Felix Fietkau
8a0d981006
build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
...
SVN-Revision: 26432
14 years ago
Felix Fietkau
f6a0d67e7c
build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
...
SVN-Revision: 26431
14 years ago
Felix Fietkau
e6aa1cab00
tools/squashfs4: update to version 4.2 (adds support for xz compression)
...
Based on a patch by Jonas Gorski
SVN-Revision: 26422
14 years ago
Michael Büsch
371bccb4c0
Update 2.6.38 to 2.6.38.2
...
SVN-Revision: 26332
14 years ago
Felix Fietkau
335877a2b3
global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
...
SVN-Revision: 26300
14 years ago
Jo-Philipp Wich
d005251cc4
target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
...
SVN-Revision: 26269
14 years ago
Felix Fietkau
b568a64f8c
add support for md5sum checks for mirrored tarballs of packages with version control source urls
...
SVN-Revision: 26260
14 years ago
Jo-Philipp Wich
48c8a8ddb0
image.mk: only upgrade permissions instead of overwriting, utilize tar -p flag for targz image targets ( #7667 )
...
SVN-Revision: 26259
14 years ago
Imre Kaloz
b8430e7427
update to 2.6.32.33 and 2.6.37.4
...
SVN-Revision: 26226
14 years ago
Imre Kaloz
7df8322519
add 2.6.38 md5sum
...
SVN-Revision: 26221
14 years ago
Felix Fietkau
73c1dd9473
build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
...
SVN-Revision: 26181
14 years ago
Felix Fietkau
fd0deca65d
download.mk: properly quote download urls
...
SVN-Revision: 26129
14 years ago
Hauke Mehrtens
4226f1d373
kernel: update to kernel version 2.6.37.3
...
SVN-Revision: 26126
14 years ago
Hauke Mehrtens
425bf41b23
kernel: update to kernel version 2.6.34.8
...
SVN-Revision: 26125
14 years ago
Hauke Mehrtens
b78210955c
kernel: update to kernel version 2.6.32.32
...
SVN-Revision: 26124
14 years ago
Daniel Dickinson
0f93d4c3c4
target: Added coreutils to list of default packages. It doesn't build or install anything (0 bytes, 0 dependencies) and it prevents other packages from appearing in the package list if it is not selected
...
SVN-Revision: 26026
14 years ago
Felix Fietkau
f67f66bb89
Revert "[include] provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems"
...
SVN-Revision: 25970
14 years ago
Jo-Philipp Wich
fb53b99f8c
provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems
...
SVN-Revision: 25968
14 years ago
Jo-Philipp Wich
ff1f0be710
site: cache ac_cv_func_malloc_0_nonnull and ac_cv_func_realloc_0_nonnull
...
SVN-Revision: 25946
14 years ago
Imre Kaloz
b74308c433
only support EABI on ARM targets
...
SVN-Revision: 25928
14 years ago
Felix Fietkau
504eda0da9
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
...
SVN-Revision: 25920
14 years ago
Jo-Philipp Wich
dcb66b0593
deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons
...
SVN-Revision: 25915
14 years ago
Michael Büsch
9e7801b913
cmake: Fix ccache
...
SVN-Revision: 25878
14 years ago
Felix Fietkau
de4fdd0ce6
add a stamp that can forcibly disable autorebuild for a specific package - useful for testing changes to packages with extremely long recompilation times
...
SVN-Revision: 25838
14 years ago
Jo-Philipp Wich
073c5e0e74
add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
...
SVN-Revision: 25753
14 years ago
Felix Fietkau
c864843cbf
netfilter.mk: put ipv6 conntrack in the right package
...
SVN-Revision: 25750
14 years ago
Felix Fietkau
2d14f4e2f8
netfilter: add missing modules for v6 conntrack (patch from #8940 )
...
SVN-Revision: 25731
14 years ago
Felix Fietkau
831e597d7c
move nf_{conntrack,nat}_tftp to ipt-nathelper-extra, most people don't need this
...
SVN-Revision: 25722
14 years ago
Felix Fietkau
9dad83362d
kernel: remove imq support, refresh patches
...
SVN-Revision: 25641
14 years ago
Jo-Philipp Wich
d56fe0cf53
toplevel.mk: remove quotes from the release name, its up to its users to ensure proper quoting
...
SVN-Revision: 25596
14 years ago
Florian Fainelli
d3c2b87213
update to 2.6.32.29
...
SVN-Revision: 25583
14 years ago
Florian Fainelli
31709b2c76
update to 2.6.35.11
...
SVN-Revision: 25582
14 years ago
Florian Fainelli
45c9f5e75e
update to kernel 2.6.36.4
...
SVN-Revision: 25580
14 years ago
Florian Fainelli
3cd87d2d81
update to 2.6.37.1
...
SVN-Revision: 25577
14 years ago
Florian Fainelli
beb132b140
add git (git-core) as a prerequisite ( #8866 )
...
SVN-Revision: 25536
14 years ago