Commit Graph

8674 Commits (06abd0b735f3d84124b4a724019a92b2e8d9b1f0)

Author SHA1 Message Date
Jo-Philipp Wich 2b42d9a454 [package] kernel: fix packaging of act_connmark.ko (#11492)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:33:47 +00:00
Jo-Philipp Wich f16b4efcf3 [package] openssl: update to v1.0.1c (CVE-2012-2333)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 21:00:14 +00:00
Jo-Philipp Wich 3ff6da1788 [package] dnsmasq: bump package revision
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:57 +00:00
Jo-Philipp Wich 97178bb007 dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:56 +00:00
Jo-Philipp Wich 1d7469404c dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:54 +00:00
Jo-Philipp Wich 474b508fd6 [package] dnsmasq: fix parsing of mx record options (#11365)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 20:17:19 +00:00
Felix Fietkau 8712ef2867 netifd: update to latest version, fixes a crash on restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 21:59:23 +00:00
Felix Fietkau 6561a3c4ea ubus: update to latest version, fixes a socket race condition in the client library with uloop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:36:02 +00:00
Gabor Juhos a5c66329a0 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:33 +00:00
Gabor Juhos a06bfceffa package/ep80579-drivers: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:28 +00:00
Felix Fietkau 4c4ba94809 kernel: add et131x from packages/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 19:03:35 +00:00
Felix Fietkau 488d927554 kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 18:36:36 +00:00
Hauke Mehrtens 0a65c8f341 mac80211: add brcmfmac driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:43:04 +00:00
Felix Fietkau 95757184a0 kernel: remove obsolete dependencies and conditionals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:17 +00:00
Felix Fietkau bf2796c599 kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:13 +00:00
Felix Fietkau 20c32c30e0 kernel: remove kmod-gpio-cs5535, it was only relevant for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:06 +00:00
Felix Fietkau d25930c39b kernel: remove obsolete CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:02 +00:00
Hauke Mehrtens 4a2b705ce7 mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:24:47 +00:00
Hauke Mehrtens f9cfc0fd4a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
Felix Fietkau 95f5d95c62 6to4: load the network config to fix radvd announce (#11467)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:42:05 +00:00
Felix Fietkau 90e78ad475 tc: depend on kmod-sched-core instead of kmod-sched (fixes #11465)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:36:00 +00:00
Felix Fietkau 5cc05317be 6in4: remove some obsolete functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:56 +00:00
Felix Fietkau aa8f34d86b libubox: fix jshn handling of variables with numbers (fixes #11468)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 12:35:52 +00:00
Felix Fietkau d71b07eaa7 qos-scripts: use kmod-sched-core instead of kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:23 +00:00
Felix Fietkau 24e5083747 kernel: split kmod-sched into kmod-sched-core and kmod-sched
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:19 +00:00
Felix Fietkau 8ad528bf27 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:16 +00:00
Felix Fietkau 1c8e5d5942 iproute2: update to 3.3.0, drop a few useless old patches, add codel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:12 +00:00
Felix Fietkau eab3f3adaa kernel: add codel and fq_codel support to kmod-sched (patch by Dave Täht)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:08 +00:00
Jo-Philipp Wich 9d66c5c342 [package] firewall: rework interface address determination to skip ipv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:37:49 +00:00
Jo-Philipp Wich 8eb607235e [package] firewall: fix nat reflection after netifd switch (#11460)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 13:03:54 +00:00
Felix Fietkau da082ac8d1 libubox: update to latest version, fixes handling of numbers in jshn variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 08:45:24 +00:00
Felix Fietkau c3312ba02d netifd: bring up all interfaces on /etc/init.d/network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:50:59 +00:00
Felix Fietkau 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
Felix Fietkau 4c693d4929 netifd: use the new json_get_vars function in the dhcp helper script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:27 +00:00
Felix Fietkau 8788174df8 ppp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:24 +00:00
Felix Fietkau f7ce72379d pptp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:20 +00:00
Felix Fietkau 6b0f54f030 pptp: use resolveip, schedule restart if dns lookups fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:16 +00:00
Felix Fietkau 30b6d0f199 netifd: update to 2012-05-14, fixes a file descriptor leak, fixes a use-after-free on host dependencies, adds a command for scheduling proto-shell restarts and adds support for more address options (point to point, broadcast)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:13 +00:00
Felix Fietkau c4269df82a pptp: drop the dependency on ip if netifd is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:09 +00:00
Felix Fietkau 80d100f031 libubox: update to latest version, adds a new function in jshn.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:06 +00:00
Felix Fietkau 8f99bd9b98 relayd: fix return code check for resolving network->ifname mapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 14:08:43 +00:00
Gabor Juhos ea83f75b32 package/e2fsprogs: disable building of internal lib{blkid,uuid}
Also remove an empty patch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:17 +00:00
Gabor Juhos 81cac38a8e package/util-linux: install development files
Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:20:15 +00:00
Felix Fietkau 6c1cdabe51 ath9k: fix ar9330 internal regulator setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:41:05 +00:00
Felix Fietkau 2b8c75f0c1 ath9k: update initvals for ar9330 to fix issues with high power designs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:59 +00:00
Felix Fietkau a8d08175a9 ath9k: fix a rare use-after-free bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:53 +00:00
Felix Fietkau db771744d5 ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 17:40:47 +00:00
Felix Fietkau f70f922c56 remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-11 22:08:06 +00:00
Gabor Juhos e8e568c7bf package/kernel: add package for the ADT7473/7475/7476/7490 sensors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:36 +00:00
Gabor Juhos 738d601117 package/kernel: add package for the LM85 sensor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:34 +00:00
Gabor Juhos 3ceade616b package/kernel: move hwmon-vid into a separate package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:33 +00:00
Jo-Philipp Wich ddfe3736b2 [package] ppp: remove stray bracked in ppp-up script, thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 22:41:41 +00:00
Jonas Gorski 32e3956d54 base-files: wait for wifi modules to settle
On slower devices wifi drivers might take too long for detecting
devices, resulting in the wifi detect call not seeing them.

This was observed on a bcm6348 with bcm4318 wifi. Adding a one second
pause was enough for b43 to expose the device.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:25:42 +00:00
Felix Fietkau c7667e1b88 pptp: fix installation path for netifd proto handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:04 +00:00
Hauke Mehrtens 9897c49803 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:43:17 +00:00
Hauke Mehrtens 800e2f8345 kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:40:54 +00:00
Hauke Mehrtens a0a2ff9d7f kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

The last commit (r31631) has the wrong message, kmod-usb-phidget was removed in kernel 2.6.30.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:40:19 +00:00
Hauke Mehrtens d961b62b26 kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:37:08 +00:00
Hauke Mehrtens 6df2e61263 kernel: add video-videobuf2
This should fix #11349 and #11142


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:35:54 +00:00
Hauke Mehrtens 706068bb82 kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:34:55 +00:00
Hauke Mehrtens 6ac2f0d119 kernel: add kmod-video-gspca-konica and remove kmod-video-konica
kmod-video-konica was removed from kernel 2.6.38 and is now replaced by kmod-video-gspca-konica


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:34:00 +00:00
Hauke Mehrtens 94ff11d318 kernel: remove kmod-video-ov511 and kmod-video-ovcamchip
These two modules where removed from kernel with kernel version 2.6.36, use kmod-video-gspca-ov519 instead.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:33:17 +00:00
Felix Fietkau 9dec26a0ec ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich 0d28fe709f [package] ubus: update to current git, package up libubus-lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 20:47:38 +00:00
Gabor Juhos aafbc3e734 package/ar7-atm: allow to build on 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:33 +00:00
Gabor Juhos e61881d040 package/ar7-atm: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:29 +00:00
Felix Fietkau 9698031bec pptp: kill the call manager process on shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:42 +00:00
Felix Fietkau b8a49d3b90 pptp: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:28 +00:00
Felix Fietkau 9f5b2e9447 pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:24 +00:00
Felix Fietkau 2ca268790c netifd: update to latest version, adds support for host route dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:20 +00:00
Felix Fietkau 3d253cd67e pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:06:33 +00:00
Imre Kaloz 6eb5a5d106 [mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich c84a22dde3 [package] uhttpd: display errors in init script, code formatting changes, bump package version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich adae4ff72c uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich 5d7a3d6461 Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:18 +00:00
Jo-Philipp Wich 9151869423 uhttpd URL-codec bug fixes.
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:16 +00:00
Gabor Juhos ccd44980d6 package/pptp: remove a stray bracket
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 13:29:36 +00:00
Gabor Juhos 7f4625bd8c Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
Gabor Juhos 59ba22536d Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
Gabor Juhos 5901da9cc8 Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:38:58 +00:00
Florian Fainelli 3b665de29a [package] openssl: update to 1.0.1b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:32 +00:00
Gabor Juhos 0be01c2456 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:25 +00:00
Felix Fietkau 280b7f6d6b relayd: move the interface fixup to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:27:12 +00:00
Felix Fietkau c6da372ed8 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:24:00 +00:00
Felix Fietkau 3744d1583a base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:56 +00:00
Felix Fietkau 3dfaa342eb relayd: use an init script instead of a legacy network proto handler (fixes #11276)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 18:23:52 +00:00
Felix Fietkau db5b2b03af ath9k: merge a ar93xx ht40 performance fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:20:34 +00:00
Felix Fietkau cf2a7761a9 mac80211: fix station lookup issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 07:57:09 +00:00
Felix Fietkau fba1fa5929 mac80211: load lib80211 after cfg80211 (#11342)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 21:00:17 +00:00
Gabor Juhos 7c56aea1c1 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:23 +00:00
Gabor Juhos e0c81fe733 package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:21 +00:00
Gabor Juhos ec96b19306 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:37 +00:00
Felix Fietkau 08132839a5 mac80211: fix WDS AP authentication issues (#11261, #11318)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 13:47:37 +00:00
Felix Fietkau db240e6428 netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 12:20:10 +00:00
Felix Fietkau 3a4ea627ce hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 11:14:53 +00:00
Felix Fietkau c634ed2aea pppd: fix parsing the ipv6-{up,down}-script option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 10:08:33 +00:00
Hauke Mehrtens 49c6fd7f27 broadcom-diag: add missing break into switch case statement.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 23:30:05 +00:00
Mirko Vogt 893dfb7551 [package/*] remove special treatment when using glibc - support got dropped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:16 +00:00
Mirko Vogt 3b19d53edd [toolchain/glibc*] purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:12 +00:00
Mirko Vogt d0d93794e9 [packages/{e2fsprogs,util-linux,util-linux-ng}] update/rename those packages
This patch makes several changes to the util-linux(-ng) package:
 * rename to util-linux (official name now, util-linux-ng got merged)
 * bump to last stable version 2.21.1 (was 2.13.0.1 before)
 * add several new packages
 * sort packages within Makefile
 * remove patches which got merged upstream

This patch makes some changes to the e2fsprogs package:
 * bump to last stable version 1.42.2
 * libraries moved from e2fsprogs to util-linux - take care of that

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 19:54:54 +00:00