Commit graph

6510 commits

Author SHA1 Message Date
Felix Fietkau
402393bbee netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
2012-05-20 13:56:25 +00:00
Felix Fietkau
52e16e27ec netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
2012-05-19 23:47:33 +00:00
Jo-Philipp Wich
fc7c50c1d3 kernel: fix packaging of act_connmark.ko (#11492)
SVN-Revision: 31821
2012-05-19 23:33:47 +00:00
Jo-Philipp Wich
df754ded76 openssl: update to v1.0.1c (CVE-2012-2333)
SVN-Revision: 31819
2012-05-19 21:00:14 +00:00
Jo-Philipp Wich
7345133eae dnsmasq: bump package revision
SVN-Revision: 31817
2012-05-19 20:17:57 +00:00
Jo-Philipp Wich
0e540ec90d 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>

SVN-Revision: 31816
2012-05-19 20:17:56 +00:00
Jo-Philipp Wich
38cf8379b0 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>

SVN-Revision: 31815
2012-05-19 20:17:54 +00:00
Jo-Philipp Wich
3eb1820532 dnsmasq: fix parsing of mx record options (#11365)
SVN-Revision: 31814
2012-05-19 20:17:19 +00:00
Felix Fietkau
5348608f9f netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
2012-05-18 21:59:23 +00:00
Felix Fietkau
0b41ae819d ubus: update to latest version, fixes a socket race condition in the client library with uloop
SVN-Revision: 31811
2012-05-18 20:36:02 +00:00
Gabor Juhos
d9dab97d38 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

SVN-Revision: 31802
2012-05-18 20:10:33 +00:00
Gabor Juhos
7217afc657 package/ep80579-drivers: refresh patches
SVN-Revision: 31801
2012-05-18 20:10:28 +00:00
Felix Fietkau
1751186f18 kernel: add et131x from packages/
SVN-Revision: 31792
2012-05-18 19:03:35 +00:00
Felix Fietkau
040ce45f98 kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
SVN-Revision: 31791
2012-05-18 18:36:36 +00:00
Hauke Mehrtens
7dd6e5c7bb mac80211: add brcmfmac driver
SVN-Revision: 31786
2012-05-18 15:43:04 +00:00
Felix Fietkau
2360a53116 kernel: remove obsolete dependencies and conditionals
SVN-Revision: 31779
2012-05-17 15:28:17 +00:00
Felix Fietkau
ce9b21bc11 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
SVN-Revision: 31778
2012-05-17 15:28:13 +00:00
Felix Fietkau
1963c6b019 kernel: remove kmod-gpio-cs5535, it was only relevant for old kernel versions
SVN-Revision: 31776
2012-05-17 15:28:06 +00:00
Felix Fietkau
8ff9b93dfa kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
2012-05-17 15:28:02 +00:00
Hauke Mehrtens
23f253fbdc mac80211: brcmsmac update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31773
2012-05-17 13:24:47 +00:00
Hauke Mehrtens
273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
2012-05-17 13:22:38 +00:00
Felix Fietkau
c8dc123892 6to4: load the network config to fix radvd announce (#11467)
SVN-Revision: 31770
2012-05-17 12:42:05 +00:00
Felix Fietkau
57d3b4b47d tc: depend on kmod-sched-core instead of kmod-sched (fixes #11465)
SVN-Revision: 31769
2012-05-17 12:36:00 +00:00
Felix Fietkau
d4961fbcb7 6in4: remove some obsolete functions
SVN-Revision: 31768
2012-05-17 12:35:56 +00:00
Felix Fietkau
4bd4fd2ca2 libubox: fix jshn handling of variables with numbers (fixes #11468)
SVN-Revision: 31767
2012-05-17 12:35:52 +00:00
Felix Fietkau
ef86a2c081 qos-scripts: use kmod-sched-core instead of kmod-sched
SVN-Revision: 31761
2012-05-16 15:23:23 +00:00
Felix Fietkau
96d0c04d9a kernel: split kmod-sched into kmod-sched-core and kmod-sched
SVN-Revision: 31760
2012-05-16 15:23:19 +00:00
Felix Fietkau
d5fc598d62 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
SVN-Revision: 31759
2012-05-16 15:23:16 +00:00
Felix Fietkau
3f97b9eb36 iproute2: update to 3.3.0, drop a few useless old patches, add codel support
SVN-Revision: 31758
2012-05-16 15:23:12 +00:00
Felix Fietkau
f9b64e59ca kernel: add codel and fq_codel support to kmod-sched (patch by Dave Täht)
SVN-Revision: 31757
2012-05-16 15:23:08 +00:00
Jo-Philipp Wich
329d18a25c firewall: rework interface address determination to skip ipv6 addresses
SVN-Revision: 31755
2012-05-16 13:37:49 +00:00
Jo-Philipp Wich
82fc13d3c2 firewall: fix nat reflection after netifd switch (#11460)
SVN-Revision: 31754
2012-05-16 13:03:54 +00:00
Felix Fietkau
ee8322c3c9 libubox: update to latest version, fixes handling of numbers in jshn variables
SVN-Revision: 31747
2012-05-16 08:45:24 +00:00
Felix Fietkau
768d49a428 netifd: bring up all interfaces on /etc/init.d/network restart
SVN-Revision: 31732
2012-05-14 23:50:59 +00:00
Felix Fietkau
5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Felix Fietkau
a6e7b3cffe netifd: use the new json_get_vars function in the dhcp helper script
SVN-Revision: 31727
2012-05-14 20:58:27 +00:00
Felix Fietkau
e8fa94daa4 ppp: use the new json_get_vars function
SVN-Revision: 31726
2012-05-14 20:58:24 +00:00
Felix Fietkau
3ee1a3abf0 pptp: use the new json_get_vars function
SVN-Revision: 31725
2012-05-14 20:58:20 +00:00
Felix Fietkau
189c25d318 pptp: use resolveip, schedule restart if dns lookups fail
SVN-Revision: 31724
2012-05-14 20:58:16 +00:00
Felix Fietkau
89532e6437 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)
SVN-Revision: 31723
2012-05-14 20:58:13 +00:00
Felix Fietkau
c9d393186c pptp: drop the dependency on ip if netifd is selected
SVN-Revision: 31722
2012-05-14 20:58:09 +00:00
Felix Fietkau
fbe1a53770 libubox: update to latest version, adds a new function in jshn.sh
SVN-Revision: 31721
2012-05-14 20:58:06 +00:00
Felix Fietkau
cd1760ee41 relayd: fix return code check for resolving network->ifname mapping
SVN-Revision: 31712
2012-05-14 14:08:43 +00:00
Gabor Juhos
047c0b8d28 package/e2fsprogs: disable building of internal lib{blkid,uuid}
Also remove an empty patch.

SVN-Revision: 31702
2012-05-13 12:20:17 +00:00
Gabor Juhos
b15e49f2fa package/util-linux: install development files
Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

SVN-Revision: 31701
2012-05-13 12:20:15 +00:00
Felix Fietkau
dc30d4fd3a ath9k: fix ar9330 internal regulator setup
SVN-Revision: 31692
2012-05-12 17:41:05 +00:00
Felix Fietkau
2e8e109624 ath9k: update initvals for ar9330 to fix issues with high power designs
SVN-Revision: 31691
2012-05-12 17:40:59 +00:00
Felix Fietkau
373d489a2c ath9k: fix a rare use-after-free bug
SVN-Revision: 31690
2012-05-12 17:40:53 +00:00
Felix Fietkau
5cc362bd7a ath9k: stop rx before tx, should reduce the frequency of "Failed to stop Tx DMA" errors
SVN-Revision: 31689
2012-05-12 17:40:47 +00:00
Felix Fietkau
d7bb955e45 remove kmod-mvswitch, it does not work on kernels <3.2 and is not necessary as a module anyway
SVN-Revision: 31678
2012-05-11 22:08:06 +00:00
Gabor Juhos
e976bf5600 package/kernel: add package for the ADT7473/7475/7476/7490 sensors
SVN-Revision: 31657
2012-05-09 10:48:36 +00:00
Gabor Juhos
0f8e0335a7 package/kernel: add package for the LM85 sensor
SVN-Revision: 31656
2012-05-09 10:48:34 +00:00
Gabor Juhos
c403828c57 package/kernel: move hwmon-vid into a separate package
SVN-Revision: 31655
2012-05-09 10:48:33 +00:00
Jo-Philipp Wich
0422ba4687 ppp: remove stray bracked in ppp-up script, thanks swalker
SVN-Revision: 31647
2012-05-07 22:41:41 +00:00
Jonas Gorski
80650c9475 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.

SVN-Revision: 31639
2012-05-06 21:25:42 +00:00
Felix Fietkau
c3f0b757a3 pptp: fix installation path for netifd proto handler
SVN-Revision: 31636
2012-05-06 21:19:04 +00:00
Hauke Mehrtens
8ff6417c41 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.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00
Hauke Mehrtens
a42570bc3e kernel: remove kmod-usb-serial-airprime
This was removed from kernel 2.6.27

SVN-Revision: 31633
2012-05-06 20:40:54 +00:00
Hauke Mehrtens
2f93cd1fad 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.

SVN-Revision: 31632
2012-05-06 20:40:19 +00:00
Hauke Mehrtens
34c32d3a9d kernel: remove kmod-usb-video
This was remove in kernel 2.6.38 and is not needed any more.

SVN-Revision: 31631
2012-05-06 20:37:08 +00:00
Hauke Mehrtens
0fd86465d0 kernel: add video-videobuf2
This should fix #11349 and #11142

SVN-Revision: 31630
2012-05-06 20:35:54 +00:00
Hauke Mehrtens
655a320a6b kernel: build kmod-video-gspca-gl860 and kmod-video-gspca-jeilinj on all kernel versions
This module is available on all supported kernel versions

SVN-Revision: 31629
2012-05-06 20:34:55 +00:00
Hauke Mehrtens
216853d6ba 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

SVN-Revision: 31628
2012-05-06 20:34:00 +00:00
Hauke Mehrtens
865ac15306 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.

SVN-Revision: 31627
2012-05-06 20:33:17 +00:00
Felix Fietkau
ffa7a3ac35 ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
SVN-Revision: 31622
2012-05-06 08:27:40 +00:00
Jo-Philipp Wich
7dc263ddaa ubus: update to current git, package up libubus-lua
SVN-Revision: 31619
2012-05-05 20:47:38 +00:00
Gabor Juhos
71dc2715a9 package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
2012-05-05 17:32:33 +00:00
Gabor Juhos
1e041ba72a package/ar7-atm: refresh patches
SVN-Revision: 31612
2012-05-05 17:32:29 +00:00
Felix Fietkau
73383c252e pptp: kill the call manager process on shutdown
SVN-Revision: 31606
2012-05-05 16:56:42 +00:00
Felix Fietkau
3225530e1e pptp: add netifd support
SVN-Revision: 31605
2012-05-05 16:56:28 +00:00
Felix Fietkau
b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
2012-05-05 16:56:24 +00:00
Felix Fietkau
50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
2012-05-05 16:56:20 +00:00
Felix Fietkau
7591ffded8 pptp: compile with the openwrt cflags instead of -O0
SVN-Revision: 31600
2012-05-05 13:06:33 +00:00
Imre Kaloz
44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
2012-05-03 21:50:41 +00:00
Jo-Philipp Wich
8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
2012-05-03 17:19:22 +00:00
Jo-Philipp Wich
54b34ccbc5 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>

SVN-Revision: 31571
2012-05-03 17:19:20 +00:00
Jo-Philipp Wich
bcd8d530d1 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.

SVN-Revision: 31570
2016-03-20 20:05:13 +01:00
Jo-Philipp Wich
2bfb1e012a 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>

SVN-Revision: 31569
2012-05-03 17:19:16 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
Gabor Juhos
3349cf2691 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>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos
60db046ef2 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>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
Felix Fietkau
4ea86b956c 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
SVN-Revision: 31543
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00
Felix Fietkau
897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
2012-04-30 07:57:09 +00:00
Felix Fietkau
a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
2012-04-29 21:00:17 +00:00
Gabor Juhos
5528e0b008 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31526
2012-04-29 15:08:23 +00:00
Gabor Juhos
8c60f7825b package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31524
2012-04-29 15:08:21 +00:00
Gabor Juhos
01a9103254 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
2012-04-29 15:00:37 +00:00
Felix Fietkau
bfa2c971a0 mac80211: fix WDS AP authentication issues (#11261, #11318)
SVN-Revision: 31517
2012-04-29 13:47:37 +00:00
Felix Fietkau
f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau
d4d223edad hostapd: update to 20120428, fixes some radius issues and wds ap mac address issues
SVN-Revision: 31515
2012-04-29 11:14:53 +00:00
Felix Fietkau
873cdb190c pppd: fix parsing the ipv6-{up,down}-script option
SVN-Revision: 31514
2012-04-29 10:08:33 +00:00
Hauke Mehrtens
164dd71afe broadcom-diag: add missing break into switch case statement.
SVN-Revision: 31506
2012-04-28 23:30:05 +00:00
Mirko Vogt
232b7aa65b remove special treatment when using glibc - support got dropped
SVN-Revision: 31504
2012-04-28 22:24:16 +00:00