Commit Graph

5990 Commits (e49b39486a166bc348e7f055cc558af2181884a9)

Author SHA1 Message Date
Jo-Philipp Wich 10f199d832 firewall: add DHCPv6 default rule (#10381)
SVN-Revision: 28874
2011-11-09 11:10:37 +00:00
Nicolas Thill f371d516bf package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions
SVN-Revision: 28871
2011-11-09 00:23:58 +00:00
Nicolas Thill 62a2827ea7 package/base-files: /lib/functions.sh: let service_stop exit early if no matching process to stop where found
SVN-Revision: 28870
2011-11-08 23:35:13 +00:00
Nicolas Thill f67f9ef941 package/relayd: use new service wrappers
SVN-Revision: 28869
2011-11-08 22:48:11 +00:00
Nicolas Thill 72de194d16 package/ppp: use new service wrappers
SVN-Revision: 28868
2011-11-08 22:48:05 +00:00
Nicolas Thill ec11af20f6 package/linux-atm: use new service wrappers
SVN-Revision: 28867
2011-11-08 22:48:00 +00:00
Nicolas Thill f4dacc850c package/base-files-network: use new service wrappers
SVN-Revision: 28866
2011-11-08 22:47:54 +00:00
Nicolas Thill b7b56df707 package/base-files: enhance & cleanup service wrappers
* add service_check function for checking if a process is alive
 * add service_signal for sending arbitrary signals to a process
 * change service_stop to send a TERM signal first, wait for the process to die and send a KILL signal if it doen't
 * have service_kill print a warning on STDERR stating it has been deprecated

SVN-Revision: 28865
2011-11-08 22:47:49 +00:00
Nicolas Thill d0659ce37e package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh
SVN-Revision: 28864
2011-11-08 22:47:41 +00:00
Jo-Philipp Wich 7e3b6aa1f1 base-files: do not kill udhcpc on sysupgrade, it will tear down the interface if terminated
SVN-Revision: 28863
2011-11-08 19:14:55 +00:00
Jo-Philipp Wich daca6a6a97 base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely
SVN-Revision: 28862
2011-11-08 18:48:38 +00:00
Jo-Philipp Wich a73fffe857 base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring
SVN-Revision: 28860
2011-11-08 14:42:58 +00:00
Jo-Philipp Wich ec20b84048 hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
SVN-Revision: 28858
2011-11-08 14:22:56 +00:00
Nicolas Thill b6aef59ea8 package/base-files: move /etc/functions.sh to /lib/functions.sh
SVN-Revision: 28857
2011-11-08 14:14:29 +00:00
Felix Fietkau 9906717bfb netifd: fix compile error when both libnl and libnl-tiny are built
SVN-Revision: 28854
2011-11-08 10:12:31 +00:00
Felix Fietkau 3a12bd8bce busybox: use bash for gen_build_files.sh to avoid printf argument list issues on some systems
SVN-Revision: 28849
2011-11-08 00:33:10 +00:00
Nicolas Thill 75e186832a package/uhttpd: use new service wrapper
SVN-Revision: 28841
2011-11-07 22:59:06 +00:00
Nicolas Thill d7409c85b5 package/ubus: use new service wrapper
SVN-Revision: 28840
2011-11-07 22:59:01 +00:00
Nicolas Thill 7a176742bb package/netifd: use new service wrapper
SVN-Revision: 28839
2011-11-07 22:58:56 +00:00
Nicolas Thill be27ac53f2 package/dropbear: use new service wrapper
SVN-Revision: 28838
2011-11-07 22:58:50 +00:00
Nicolas Thill 4f5cbf9f9b package/dnsmasq: use new service wrapper
SVN-Revision: 28837
2011-11-07 22:58:45 +00:00
Nicolas Thill e4a8f5abe6 package/busybox: use new service wrapper
SVN-Revision: 28836
2011-11-07 22:58:39 +00:00
Nicolas Thill 93886bc776 package/base-files: use new service wrapper
SVN-Revision: 28835
2011-11-07 22:58:34 +00:00
Nicolas Thill 10a03275bf package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
SVN-Revision: 28834
2011-11-07 22:58:27 +00:00
Felix Fietkau 0fb7c80659 ath9k: fix LED related crashes on AR913x
SVN-Revision: 28809
2011-11-07 20:14:09 +00:00
Felix Fietkau 476ca6d5d1 carl9170: add dependency on kmod-input-core
SVN-Revision: 28808
2011-11-07 14:50:04 +00:00
Nicolas Thill 8413e90418 package/base-files: /etc/passwd: fix uid number for user 'daemon' (conflicting with user 'nobody')
SVN-Revision: 28799
2011-11-07 11:02:55 +00:00
Jo-Philipp Wich ef98919ff0 busybox: ntpd: indefinitely try to resolve peer addresses (#10361)
SVN-Revision: 28794
2011-11-07 01:45:04 +00:00
Jo-Philipp Wich 8189bd9260 uhttpd: provide rpath-link flag, thanks mazilo
SVN-Revision: 28792
2011-11-07 00:10:52 +00:00
Jo-Philipp Wich ee875810eb madwifi: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. ath0 for network 1 on phy 1 and ath0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28785
2011-11-06 19:57:07 +00:00
Jo-Philipp Wich d7205a9021 mac80211: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28784
2011-11-06 18:49:17 +00:00
Jo-Philipp Wich 6037187a80 uhttpd: Fix wrong certificate options with multiple words
For instance two word city names will result in weird certificates.
Therefore adding the missing quotations.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>

SVN-Revision: 28776
2011-11-06 15:44:42 +00:00
Felix Fietkau 2201e32df3 ath9k: add some fixes for radio reinit and frame flush
SVN-Revision: 28772
2011-11-05 19:51:32 +00:00
Felix Fietkau 973308ebfe mac80211: update to wireless-testing 2011-11-04
SVN-Revision: 28771
2011-11-05 19:51:16 +00:00
Jo-Philipp Wich fcea88e3b5 uhttpd: fix Makefiles and linking of tls plugin
SVN-Revision: 28769
2011-11-05 17:36:47 +00:00
Felix Fietkau 248ab4ac2f base-files: process platform hotplug calls in the early launch of hotplug2 to avoid having crda calls get stuck at boot time (fixes #10350, #10354)
SVN-Revision: 28768
2011-11-05 17:16:01 +00:00
Jo-Philipp Wich 3c96dee342 uhttpd: bump version
SVN-Revision: 28762
2011-11-05 03:19:29 +00:00
Jo-Philipp Wich 3d035a6f6a uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
SVN-Revision: 28761
2011-11-05 03:19:07 +00:00
Felix Fietkau c8321c3ca6 hostapd: update to latest git version
SVN-Revision: 28746
2011-11-04 01:05:26 +00:00
Felix Fietkau dab5ebaa76 netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
SVN-Revision: 28745
2011-11-04 01:05:12 +00:00
Felix Fietkau d4d91df5fe netifd: start wifi at boot
SVN-Revision: 28738
2011-11-03 20:02:52 +00:00
Felix Fietkau 3ac5165690 netifd: update to latest version, fix redundant ifdown hotplug events
SVN-Revision: 28737
2011-11-03 20:02:47 +00:00
Felix Fietkau eff467b5cc openssl: refresh patches
SVN-Revision: 28736
2011-11-03 20:02:42 +00:00
Felix Fietkau faf5f84cbf openssl: update to 1.0.0e (patch by tripolar)
SVN-Revision: 28735
2011-11-03 20:02:36 +00:00
Felix Fietkau 44ba13b578 base-files: load modules early, run wifi detect afterwards and only then process uci defaults
this allows uci-defaults scripts to override wifi settings

SVN-Revision: 28733
2011-11-03 20:02:25 +00:00
Jo-Philipp Wich e3daeabda3 base-files: add some more protected services to sysupgrade kill blacklist
SVN-Revision: 28732
2011-11-03 19:25:25 +00:00
Jo-Philipp Wich 48c37ff7eb qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
SVN-Revision: 28731
2011-11-03 19:11:01 +00:00
Nicolas Thill 89827e33ce package/busybox: update to 1.19.3
SVN-Revision: 28725
2011-11-03 15:55:23 +00:00
John Crispin f78a0b80cc modules: fixes ko files that were renamed in 3.1
SVN-Revision: 28724
2011-11-03 15:16:50 +00:00
John Crispin 4263d93da0 ltq-dsl: fixes driver for targets other than danube
SVN-Revision: 28723
2011-11-03 15:16:39 +00:00
John Crispin d47e4959d2 ltq-vmmc: should be available for falcon and danube only
SVN-Revision: 28722
2011-11-03 15:16:25 +00:00
Nicolas Thill d8722fac70 package/dropbear: fix segfault with remote port forwarding (closes: #10339)
SVN-Revision: 28718
2011-11-03 08:12:17 +00:00
Daniel Dickinson c4e9e4d27e block-mount: Fixed module loading (double cat is wrong)
SVN-Revision: 28717
2011-11-02 18:38:38 +00:00
Felix Fietkau b8d90aceb2 netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
SVN-Revision: 28713
2011-11-01 22:02:40 +00:00
Felix Fietkau 039658f8b3 netifd: update to latest version, fixes handling of hotplug devices (for wifi)
SVN-Revision: 28712
2011-11-01 22:02:33 +00:00
Felix Fietkau 48a77bb98b mac80211: update to wireless-testing 2011-11-01
SVN-Revision: 28711
2011-11-01 22:02:27 +00:00
Felix Fietkau 2afada967c iw: fix setting txpower (#10254)
SVN-Revision: 28710
2011-11-01 19:16:52 +00:00
Gabor Juhos df4579dc64 package/uboot-envtools: make fw_setenv symlink optional
Make the creation of the fw_set-symlink optional, so it can be
disabled in user-builds so only people who know what they are
doing will mess with uboot-env.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28698
2011-11-01 09:23:29 +00:00
Gabor Juhos 3ac119b8cf package/uboot-envtools: generate config-file from UCI
This adds an init-script for generating /etc/fw_env.config from UCI in
case it doesn't exist yet.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28697
2011-11-01 09:23:28 +00:00
Gabor Juhos c5ff1e8e96 package/uboot-envtools: remove runtime dependency of zlib
zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
        libc.so.0 => /lib/libc.so.0 (0x2abd4000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28696
2011-11-01 09:23:27 +00:00
Jo-Philipp Wich ef6d7a7e33 base-files: fix typo
SVN-Revision: 28681
2011-10-30 15:48:14 +00:00
Michael Büsch a3db2f2055 omap24xx: Fix MUSB compile
SVN-Revision: 28674
2011-10-29 22:26:27 +00:00
Jo-Philipp Wich 50a22f4f9e firewall: relocate TCPMSS rules into mangle table, add code to selectively clear them out again
SVN-Revision: 28669
2011-10-29 18:02:45 +00:00
Nicolas Thill 0a84f6a74e package/kernel: various NLS handling fixes
* move AddDepends/nls to 001-depends.mk for proper use by other packages (closes: #7639)
 * make kmod-usb-core use it
 * fix deps generated from its arguments (as used in kmod-fs-hfsplus)

SVN-Revision: 28668
2011-10-29 15:03:56 +00:00
Nicolas Thill 0c95fe5de1 package/kernel: add dependency on kmod-lib-crc-itu-t to kmod-fs-udf (closes: #8045)
SVN-Revision: 28666
2011-10-29 13:20:36 +00:00
Nicolas Thill defe47ebbc package/kernel: add dependency on kmod-lib-crc-itu-t to kmod-firewire
SVN-Revision: 28665
2011-10-29 13:20:30 +00:00
Nicolas Thill 04f03b149d package/kernel: fix my previous kmod-fs-cifs fix in r28661 (could I be sleep-deprived?)
SVN-Revision: 28663
2011-10-28 22:22:13 +00:00
Nicolas Thill 01fcc80afc package/kernel: enable kmod-ata-core & kmod-scsi-core on x86
SVN-Revision: 28662
2011-10-28 19:16:27 +00:00
Nicolas Thill 897ab36e93 package/kernel: fix kmod-fs-cifs dependencies (closes: #9381, #10055)
SVN-Revision: 28661
2011-10-28 19:16:21 +00:00
Nicolas Thill c824c76aae package/kernel: move MD4 crypto module in its own package
SVN-Revision: 28660
2011-10-28 19:16:12 +00:00
Nicolas Thill 4eeb0e1246 package/kernel: fix kmod-fs-btrfs dependencies (missed in r28656)
SVN-Revision: 28659
2011-10-28 14:31:29 +00:00
Nicolas Thill ab29084cdb package/kernel: prefix library modules with lib-
SVN-Revision: 28656
2011-10-28 13:24:41 +00:00
Nicolas Thill fb1297dd1f package/kernel: add dependency on kmod-lib-lzo to kmod-fs-btrfs
SVN-Revision: 28655
2011-10-28 13:11:17 +00:00
Nicolas Thill 340e50b393 package/kernel: add kmod-lib-lzo
SVN-Revision: 28654
2011-10-28 13:11:12 +00:00
Nicolas Thill a13f6a4b75 package/kernel: remove SetDepends not needed anymore
SVN-Revision: 28653
2011-10-28 13:11:06 +00:00
Nicolas Thill 1f1ae372dd package/kernel: change kmod-libcrc32 dependency to kmod-crypto-crc32c only
SVN-Revision: 28652
2011-10-28 13:11:01 +00:00
Nicolas Thill a66a8875bb package/kernel: move crc32c in its own package
SVN-Revision: 28651
2011-10-28 13:10:55 +00:00
Nicolas Thill 3bcb16b305 package/blockmount: simplify extroot module loading logic
SVN-Revision: 28650
2011-10-28 13:10:50 +00:00
Felix Fietkau b58d54f621 comgt: add missing file (fixes #10301)
SVN-Revision: 28648
2011-10-28 11:30:21 +00:00
Michael Büsch b2d89b45d3 bluetooth: set L2CAP and SCO kconfig options to =y. It should be forced to =m for older kernels automagically.
SVN-Revision: 28638
2011-10-27 21:22:53 +00:00
Felix Fietkau 5601dc5f38 comgt: fix pin code config option
SVN-Revision: 28637
2011-10-27 20:29:14 +00:00
Felix Fietkau 3eea31fc6d comgt: delay 3g bringup for sierra wireless cards until the card has locked on to the carrier, this helps with avoiding firmware hangs (thx, chris)
SVN-Revision: 28636
2011-10-27 20:29:10 +00:00
Felix Fietkau c932bcee1c add sierra-directip, a package based on the latest DirectIP capable sierra wireless drivers + some fixes
SVN-Revision: 28635
2011-10-27 20:29:05 +00:00
Felix Fietkau d495281b6e comgt: port 3g.sh to netifd
SVN-Revision: 28634
2011-10-27 20:29:00 +00:00
Felix Fietkau 2af4d04336 ubus: update to latest version, fixes recursion issues in libubus
SVN-Revision: 28633
2011-10-27 20:28:46 +00:00
Felix Fietkau bebd9aec71 netifd: update, prefix proto handler callbacks with 'proto_'
SVN-Revision: 28632
2011-10-27 20:28:42 +00:00
Felix Fietkau 24bf5c41a0 netifd: remove obsolete _init callbacks, set available=1 for ppp
SVN-Revision: 28631
2011-10-27 20:28:37 +00:00
Felix Fietkau b3d7c7b1b5 netifd: allow ppp based proto handlers to override the connect/disconnect script
SVN-Revision: 28630
2011-10-27 20:28:33 +00:00
Felix Fietkau 1138f84e6c netifd: update to latest, adds support for protocol notifiers to signal interface availability
SVN-Revision: 28629
2011-10-27 20:28:28 +00:00
Jo-Philipp Wich c7ac1b5b0c firewall: do not produce 0.0.0.0/0 if a symbolic masq_src or masq_dest is given but does not resolve to an ip
SVN-Revision: 28628
2011-10-27 18:14:55 +00:00
Jo-Philipp Wich 52e93e54bc base-files: sysupgrade: kill all but essential processes before starting the update
SVN-Revision: 28626
2011-10-27 16:52:31 +00:00
Jo-Philipp Wich 825658977f Add QoS firewall stop script generation
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands.  Make use of this from qos-stop.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28623
2011-10-27 12:39:19 +00:00
Jo-Philipp Wich 3ffe66cbe0 Add qos_* iptables chain namespace for QoS
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes.  When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28622
2011-10-27 12:39:16 +00:00
Felix Fietkau 18368debf1 libubox: update to latest version, fixes issues with using the library from C++ code
SVN-Revision: 28619
2011-10-27 08:21:00 +00:00
Gabor Juhos 4cc48089c7 base-files/sysupgrade: add more busybox applet symlinks to ramdisk
Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk.
Also make code more readable by escaping that overly long line.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28616
2011-10-27 07:54:49 +00:00
Jo-Philipp Wich 219d772ce8 busybox: disable rdate, enable ntpd by default
SVN-Revision: 28613
2011-10-27 00:23:16 +00:00
Jo-Philipp Wich 272d95f0f1 base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system.
SVN-Revision: 28612
2011-10-27 00:21:53 +00:00
Felix Fietkau 803c7edcb3 netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
SVN-Revision: 28611
2011-10-26 18:30:55 +00:00
Felix Fietkau 883272696f netifd: update to the latest version, contains small fixes for interface reloading and adds support for dependency handling of stacked devices like dsa
SVN-Revision: 28610
2011-10-26 18:30:49 +00:00
Jonas Gorski 1c251e09ba package: mac80211: remove uses of $(LINUX_KMOD_SUFFIX)
SVN-Revision: 28601
2011-10-26 13:01:15 +00:00