Commit Graph

3107 Commits (4a6795409d1520fd3da3e909a8bcf9d7fd0927bb)

Author SHA1 Message Date
Steven Barth b7c1f24f9b ipv6-support: Use more consistent default values
SVN-Revision: 34913
12 years ago
Steven Barth e7719bb4aa ipv6-support: Updated functionality * Add site-border feature again * Add option to always announce a default router
SVN-Revision: 34908
12 years ago
Steven Barth ce41e59030 6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused subprefixes
SVN-Revision: 34907
12 years ago
Steven Barth d6c955e39a 6relayd: Announce DNS search domain via DHCPv6
SVN-Revision: 34906
12 years ago
Steven Barth 253d7345e1 ipv6-support: Remove site-border feature * was causing routing problems * will be reimplemented using firewall
SVN-Revision: 34898
12 years ago
Steven Barth 941f4ccd68 Remove site-border routing filter due to problems
SVN-Revision: 34897
12 years ago
Steven Barth 01059c8914 ipv6-support: * Automatically detect and propagate MTU from upstream interfaces * Add site-border feature (RFC 6204, ULA-4) * Fix a typo
SVN-Revision: 34896
12 years ago
Steven Barth 50a9fed238 6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand * Add commands to enable / disable a site-border
SVN-Revision: 34895
12 years ago
Steven Barth 4bab347e98 6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when using tunnels
SVN-Revision: 34894
12 years ago
Steven Barth 970adc9eb9 ipv6-support: Fix default RA settings for dnsmasq
SVN-Revision: 34873
12 years ago
Felix Fietkau 7ed89e8542 dropbear: convert init script to procd
SVN-Revision: 34867
12 years ago
Felix Fietkau 82bd58c793 dropbear: use network_get_device instead of scan_interfaces to get the device name
SVN-Revision: 34863
12 years ago
Steven Barth a4e656ef24 ipv6-support: Preliminary support for dnsmasq >=2.66
SVN-Revision: 34858
12 years ago
Steven Barth 2dbfffef68 6relayd: Fix detection of prefix changes
SVN-Revision: 34857
12 years ago
Steven Barth f36c3067c6 odhcp6c: Fix build on arch where char is unsigned
SVN-Revision: 34856
12 years ago
Steven Barth 970c5d97fe 6distributed: Improve prefix deprecation algorithm
SVN-Revision: 34855
12 years ago
Gabor Juhos 149b1c46c7 ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34752
12 years ago
Felix Fietkau bf34eeaea4 netifd: update to latest version, fixes interface error reporting for shell proto handlers
SVN-Revision: 34741
12 years ago
Felix Fietkau 14281559e1 netifd: update to latest version, no longer needs the removed jshn_append() shell function
SVN-Revision: 34734
12 years ago
Felix Fietkau 056d75049d wpa_supplicant.sh: always use parameters from the current section
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 34716
12 years ago
John Crispin e9c0b95829 fixes uapi helper define
SVN-Revision: 34715
12 years ago
Felix Fietkau 860c2e8116 netifd: call /etc/udhcp.user from the netifd dhcp.script
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 34704
12 years ago
John Crispin 06c9170a7c move ltq-adsl-tool
SVN-Revision: 34694
12 years ago
John Crispin 4583469413 make use of uapi directory wrapper
SVN-Revision: 34684
12 years ago
Gabor Juhos 86cd825c1f package/swconfig: don't use kernel headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34679
12 years ago
Felix Fietkau b85c8a6361 netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
SVN-Revision: 34664
12 years ago
Steven Barth 8d9564af1b ipv6-support: Make ULA addresses secondary * Deprecates ULA prefixes when there are other public prefixes * Fixes issues with clients using incorrect source addresses
SVN-Revision: 34630
12 years ago
Steven Barth 8546f8a401 6distributed: Add support for secondary addresses
SVN-Revision: 34629
12 years ago
Steven Barth 14273e1120 6relayd: Fix announcement of deprecated prefixes
SVN-Revision: 34628
12 years ago
Steven Barth faba477274 ipv6-support: Add support for NPT status tracking
SVN-Revision: 34609
12 years ago
Steven Barth cd76023e97 6distributed: add status-call for luci-integration
SVN-Revision: 34608
12 years ago
Felix Fietkau 01513b7c8b iw: sync with nl80211.h to fix setting antenna gain
SVN-Revision: 34593
12 years ago
Steven Barth a07ddb955f ipv6-support: Next iteration * Make ula_prefix a global option * Add preliminary support for NAT (Linux >= 3.7, ip6tables >= 1.4.17) * Minor fixes for prefix fallback
SVN-Revision: 34586
12 years ago
Steven Barth 57d853ffc4 6distributed: Correctly handle duplicate prefixes
SVN-Revision: 34585
12 years ago
Steven Barth eeeb59e451 6relayd: Always send NA with hop-limit 255 * thanks risa2000 for investigating
SVN-Revision: 34584
12 years ago
Jo-Philipp Wich 16d0957a4e firewall: fix typo in reflection hotplug script
SVN-Revision: 34569
12 years ago
Steven Barth 63135142d8 6to4: Remove static radvd-integration * Please use the new ipv6-support package
SVN-Revision: 34567
12 years ago
Steven Barth 82576f0ca3 ipv6-support: next iteration * Introduce mode 6rd * Introduce mode 6to4 * Fix announcement of DNS-Servers received from DHCPv6 * Fix some corner-cases in relaying behaviour
SVN-Revision: 34542
12 years ago
Steven Barth 61e8c6b83b 6relayd: More RFC-compatibility and size reduction
SVN-Revision: 34541
12 years ago
Steven Barth f14e1f1b1d 6distributed: Add compatibility with 6rd and 6to4
SVN-Revision: 34540
12 years ago
Jo-Philipp Wich d221222907 ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)
Since the switch to netifd, proto handlers may always set the defaultroute
and provide dns server addresses, netifd will decide in the generic code
path whether the announced values are masked or not.

Additionally protocol handlers should not modify the routing tables themselves
and prevent any launched services from doing so.

Remove the additional defaultroute and peerdns option handling from the ppp.sh
protocol handler and rely on netifd to mask or not mask the values.

SVN-Revision: 34536
12 years ago
Felix Fietkau 838d6e3b8d netifd: update to latest version, fixes resolv.conf writes on interface setting changes
SVN-Revision: 34500
12 years ago
Florian Fainelli 9e355444a6 dropbear: update to 2012.55 and refresh patches
Upstream has a few code cleanups, more eagerly burns sensitive memory and
includes the fix for CVE-2012-0920. Full changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

Local changes:
- Removed PKG_MULTI which is no longer in options.h (even before 2011.54)
- Merged DO_HOST_LOOKUP into 120-openwrt_options.patch
- Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS)
- Removed 400-CVE-2012-0920.patch which is included in 2012.55

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34496
12 years ago
Jo-Philipp Wich 6504b268b3 firewall: extend nat reflection support
- use comment match to keep track of per-network rules
	- setup reflection for any interface which is part of a masqueraded zone, not just "wan"
	- delete per-network reflection rules if network is brought down

SVN-Revision: 34472
12 years ago
Felix Fietkau 8516ddb133 mac80211, hostapd: Fix macfilter for multi bssid setups
Previously only the first macfilter configuration would have been used
on all interfaces. However, the configuration was always done per vif
already. Hence, move the macfilter setup into hostapd.sh where and
create one mac list file per vif.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 34470
12 years ago
Mirko Vogt 4c30952394 Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

SVN-Revision: 34468
12 years ago
Steven Barth 4bda16cf27 ipv6-support: Second Iteration * mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling
SVN-Revision: 34466
12 years ago
Steven Barth 71ed7ae842 netifd: empty hotplug handler removed
SVN-Revision: 34465
12 years ago
Steven Barth c6b0c63cad 6distributed: Poll for ubus to come up (fix race)
SVN-Revision: 34462
12 years ago
Gabor Juhos 5d8a7a0ce5 Make teql hotplug script run sooner
In particular, it wants to run before the ntpclient script. Which may
block for a long time attempting to do DNS lookups for NTP servers. In
my case, that would have *worked* if the new device had been added to
teql first, rather than timing out.

This was effectively causing a huge delay between an interface coming
up, and routing actually starting to work.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34442
12 years ago
Steven Barth a0f0c23109 ipv6-support: Add conffiles section
SVN-Revision: 34423
12 years ago
Steven Barth a4edea5ef3 ipv6-support: Add new IPv6-support meta-package
SVN-Revision: 34422
12 years ago
Steven Barth e6e6e0d152 odhcp6c: Add new embedded DHCPv6 client
SVN-Revision: 34421
12 years ago
Steven Barth 25d943e872 6distributed: add local IPv6 prefix distributor
SVN-Revision: 34420
12 years ago
Steven Barth 7d3495b431 6relayd: Fix some RFC 6204 compatibility issues
SVN-Revision: 34419
12 years ago
Steven Barth dffa972af1 Remove old IPv6 sysctl-config (deprecated)
SVN-Revision: 34418
12 years ago
Florian Fainelli 062d3c1e67 iptables: fix typo in iptables musl patch after r34313
Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34326
12 years ago
Florian Fainelli 14ed3f0f22 iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34313
12 years ago
Florian Fainelli 94bdc366d4 netfid: fix build on musl
AF_INET* is provided by sys/socket.h

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34310
12 years ago
Florian Fainelli f1498531c7 hostapd: include sys/stat.h for a struct stat definition
Some libcs need this header to be explicitely included (e.g: musl)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34295
12 years ago
Steven Barth 417af03ba5 6relayd: add conffiles section, thanks swalker
SVN-Revision: 34222
12 years ago
Steven Barth 45137b0896 6relayd: various updates & fixes - Add RD- and DHCPv6-server functionality - Rework configuration and add example UCI file - Fix various bugs and be more RFC compliant
SVN-Revision: 34204
12 years ago
Jo-Philipp Wich db207e2a87 ppp: - fix multilink ppp with custom ifnames, patch by George Kashperko <george@znau.edu.ua> - refresh patches
SVN-Revision: 34171
12 years ago
Jo-Philipp Wich 3a81f75d72 resolveip: fix endless getopt() loop when compiled for arm (#12290)
SVN-Revision: 34116
12 years ago
Jo-Philipp Wich 611b2e8bb3 netifd: don't send a default client identifier in DHCP requests if no clientid uci option is given (#12426)
SVN-Revision: 34089
12 years ago
Felix Fietkau c1aae78816 ppp: add more pppol2tpv3 related structs from the kernel headers to fix compile issues with linux 3.6
SVN-Revision: 34070
12 years ago
Felix Fietkau 16c72b09cc iptables: remove support for libipq, it has been obsolete for years and is unsupported in newer kernels
SVN-Revision: 34069
12 years ago
Steven Barth 9aba83eced 6relayd: auto-configure local interfaces as well
SVN-Revision: 34027
12 years ago
Jo-Philipp Wich 73c75e0dd8 uhttpd: update to latest git head, improves handling of invalid requests
SVN-Revision: 34010
12 years ago
Steven Barth c3d04d4630 6relayd: update to work around a raw-socket bug
SVN-Revision: 34009
12 years ago
Steven Barth 1fe7efbddb ipv6: add 6relayd (RD-, DHCPv6- & NDP-Proxy)
6relayd is an IPv6-tool that relays IPv6-management protocols like router
discovery, neighbor discovery and DHCPv6 so that clients on routed
(non-bridged) interfaces can use the public address prefix, DHCPv6 and
DNS-service of a master interface. This is useful to avoid NAT in chained
IPv6-routers.

SVN-Revision: 34008
12 years ago
Felix Fietkau fc3939a996 netifd: update to latest version, fixes adding an alias during config reload for an interface that is already up
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34006
12 years ago
Jo-Philipp Wich 0e3de8eff7 iwinfo: properly initialize memory of global nl80211_state, fixes random libnl-tiny assertions when using nl80211_probe() on not supported devices
SVN-Revision: 34003
12 years ago
Felix Fietkau f911fb32fe hostapd: merge some pending fixes (fixes assoc errors when moving between vaps of the same wifi device)
SVN-Revision: 33919
12 years ago
Jo-Philipp Wich 1895d55e9d ltq-dsl-app: fix offline postinstall for dsl_control
SVN-Revision: 33901
12 years ago
Hamish Guthrie 81a3d9ba31 licensing: Add licensing metadata to many packages Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated.
The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!

SVN-Revision: 33861
12 years ago
Jo-Philipp Wich 5fb6cf9a11 uhttpd: fix compilation with eglibc
SVN-Revision: 33860
12 years ago
Felix Fietkau 825592b54b netifd: update to latest version, fixes device cleanup and config reload issues when assigning a device to a different bridge
SVN-Revision: 33858
12 years ago
Felix Fietkau 88f3c59fb9 netifd: enable parallel build
SVN-Revision: 33832
12 years ago
John Crispin a34499e095 move lots of kernel related packages to the new system/ folder
SVN-Revision: 33830
12 years ago
Felix Fietkau 965710d3e1 samba36: enable parallel build
SVN-Revision: 33829
12 years ago
John Crispin c2b8d1a619 Fix broadcast DHCP client startup option in dhcp.sh
Signed-off-by: Hans Dedecker (hans.dedecker at technicolor.com)

Fixes the DHCP request broadcasts replies option parsing

SVN-Revision: 33826
12 years ago
Felix Fietkau 26944502e3 hostapd: merge a security fix for a TLS message buffer overflow (CVE-2012-4445)
SVN-Revision: 33815
12 years ago
Florian Fainelli 8fc2b30281 iftop: update iftop to 1.0pre2
Most significantly, includes IPv6 support.  This version forces
libncurses, by patching the configure script, instead of allowing
libncursesw, saving (~65k) image space.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 33782
12 years ago
Jo-Philipp Wich 160c2ef011 uhttpd: update to latest git head - introduces support for multiple index files - fixes build with only the TLS module selected
SVN-Revision: 33778
12 years ago
Jo-Philipp Wich 14e14faa0b uhttpd: switch to external git repo + cmake build system
SVN-Revision: 33775
12 years ago
Florian Fainelli 19f91b26f5 rssileds: improve performance
LEDs brightness is now only updated if the value actually changed, thus reducing
the number of fwrite syscalls significantly.

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

SVN-Revision: 33766
12 years ago
Jo-Philipp Wich a00110a063 6in4: make local ip6addr optional
SVN-Revision: 33761
12 years ago
Jo-Philipp Wich 1eded4f376 ipset: update to v6.14, drop obsolete patches
SVN-Revision: 33735
12 years ago
Jo-Philipp Wich 9e9efd8e49 lldpd: fix minor whitespace quirk in init script
SVN-Revision: 33730
12 years ago
Jo-Philipp Wich 0019b39001 lldpd: bump to v0.6.1, enable privilege separation and chrooting
SVN-Revision: 33729
12 years ago
Jo-Philipp Wich f248332d52 thc-ipv6: update to v2.0, package all available utilities
SVN-Revision: 33728
12 years ago
Jo-Philipp Wich f5d12a126d thc-ipv6: move to trunk and add myself as maintainer
SVN-Revision: 33727
12 years ago
Jo-Philipp Wich 936c1b9424 iputils: move to trunk and add myself as maintainer
SVN-Revision: 33704
12 years ago
Jo-Philipp Wich c748c36d2c iftop: move to trunk and add myself as maintainer
SVN-Revision: 33702
12 years ago
Jo-Philipp Wich 711fdc3b09 conntrack-tools: move to trunk and add myself as maintainer
SVN-Revision: 33701
12 years ago
Jo-Philipp Wich 47ea3c7fee lldpd: move to trunk and add myself as maintainer
SVN-Revision: 33700
12 years ago
Jo-Philipp Wich 11549e1b73 dante: move to trunk and add myself as maintainer
SVN-Revision: 33699
12 years ago
Jo-Philipp Wich b5ab35e816 ipset: move to trunk and add myself as maintainer
SVN-Revision: 33698
12 years ago
Felix Fietkau 05c2442957 package/network/utils/rssileds: claim maintainership
SVN-Revision: 33697
12 years ago
Jo-Philipp Wich d1d1ae994b claim maintainership for resolveip and lua
SVN-Revision: 33694
12 years ago
Felix Fietkau e51eb6046d add myself as a maintainer for a few more packages
SVN-Revision: 33693
12 years ago
Felix Fietkau 2fb3792fa9 hostapd: remove redundant MAINTAINER lines
SVN-Revision: 33692
12 years ago
Felix Fietkau ed33bd8c7c iperf: move to trunk and add myself as maintainer
SVN-Revision: 33691
12 years ago
Felix Fietkau 5806525653 tcpdump: move to trunk and add myself as maintainer
SVN-Revision: 33690
12 years ago
Felix Fietkau 445936955e samba36: move to trunk and add myself as a maintainer
SVN-Revision: 33689
12 years ago
Felix Fietkau 405e21d167 packages: sort network related packages into package/network/
SVN-Revision: 33688
12 years ago