Commit Graph

433 Commits (581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3)

Author SHA1 Message Date
Steven Barth 1f64838bbc odhcp6c: added support for DS-Lite + various fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:25 +00:00
Steven Barth 761238ce0a firewall3: Remove obsoleted ULA-border
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:20 +00:00
Steven Barth b20c42e9d1 firewall3: add wan6 interface to wan-zone by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:15 +00:00
Steven Barth ac82d7ad0a firewall: Remove obsoleted ULA-border rule
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:10 +00:00
Steven Barth 9d99dd82f9 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 08:07:15 +00:00
Jo-Philipp Wich 333261901e iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 01:12:56 +00:00
Steven Barth 47fcfd999d add uci support for "proxy-dnssec" in dnsmasq
This patch simply adds support for the "--proxy-dnssec" command in dnsmasq into the init file so it can be used with /etc/config/dhcp.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-07 07:19:51 +00:00
Felix Fietkau f4f4d54058 iw: update to 3.10, sync with nl80211.h changes in compat-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 22:35:50 +00:00
Steven Barth 528c719a3f odhcp6c: Make SLAAC-only work without reqprefix=no
Previously if the upstream router did not provide any DHCPv6-service
the wan6 interface would not come up even if RAs were received. The new
behavior allows the wan6 interface to comeup with RA-only configuration
after a timeout of 10s.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 10:20:43 +00:00
Jo-Philipp Wich 7f8b27f0e5 ipset-dns: support simultaneously populating IPv4 and IPv6 sets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 10:01:45 +00:00
Jo-Philipp Wich 280eac850b Add ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a specified ipset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 08:44:54 +00:00
Felix Fietkau a1caa0f493 hostapd: enable 802.11r for the -full variant (#13250)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 10:39:57 +00:00
Jo-Philipp Wich 339f78f6e9 firewall3: update to git head
- assume "tcp+udp" if no protcol is specified in rules or redirects (#13422, #13386)
	- add support for fwmark matches and mark setting targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 13:42:20 +00:00
Jo-Philipp Wich 07664b6ac3 Fix install of iptables pkg-config files.
libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-02 08:10:55 +00:00
Jo-Philipp Wich fde7fcd36c iwinfo: fix iwinfo_hardware() return value if chip id is not found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 14:04:39 +00:00
Jo-Philipp Wich 8605639a3a netifd: update to git head - disables multicast snooping by default on bridges
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:28:40 +00:00
Jo-Philipp Wich 6aef46b32b iwinfo: add hw database file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:21:01 +00:00
Jo-Philipp Wich 9e66c65f62 iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:20:15 +00:00
Felix Fietkau d9de51dff4 netifd: update to the latest version, fixes interface reload issues when removing the ifname option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 16:28:19 +00:00
Steven Barth d7fe9e70d8 6relayd: Fix generation of RA-messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 18:22:08 +00:00
Jo-Philipp Wich 9e42ab43f2 iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 14:44:20 +00:00
Steven Barth 6ada49b194 firewall3: Make IPv6 ULA-Border generation dynamic
This fixes working behind another router which gives out ULAs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 14:17:24 +00:00
Steven Barth 8eaa488397 6relayd: update package description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 07:21:42 +00:00
Steven Barth b97eb9b08e dnsmasq: update to 2.66
Thanks to Christoph König for patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 05:55:39 +00:00
Steven Barth 812209d870 odhcp6c: Set default SOL_MAX_RT to 1h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 05:02:45 +00:00
Felix Fietkau 58519ae974 hostapd: return the frequency to some ubus calls to make integration easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 18:35:50 +00:00
Jo-Philipp Wich 72dfd60fe5 lldpd: upgrade to 0.7.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 10:37:23 +00:00
Steven Barth 5108102e9b netifd: Improve IPv6-ULA assignment handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:06 +00:00
Steven Barth 0fd7fb5a84 odhcp6c: Several fixes and improvements
* Add preliminary support for RFC 6603 prefix exclusion
* Fix reconfigure-support and reconfigure authentication
* Set maximum retransmission timeout for solicitations to 2h
* Fix a segfault when parsing IA_PD in advertise messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:01 +00:00
Steven Barth e0e6b055fe 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:39:55 +00:00
Felix Fietkau a1e5d209da hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 13:24:48 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Jo-Philipp Wich 49df5264b6 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 11:34:39 +00:00
Jo-Philipp Wich e8b3e8e7f2 iwinfo: print info of all existing wireless ifaces when cli is called without arguments
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 15:00:16 +00:00
Felix Fietkau c916e833c0 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:49:52 +00:00
Felix Fietkau b9cc991070 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:21:45 +00:00
Felix Fietkau 78f6958dea qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich 64e2eeb91c iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:37:55 +00:00
John Crispin d0f94eff4a [swconfig] add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:13 +00:00
John Crispin d2f8216c54 [swconfig] add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich a2a15cdf8f netifd: fix route / route6 regression (#13303)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:21:12 +00:00
Steven Barth ef5bbd5008 Remove deprecated ip6slaac option
* use proto=dhcpv6 with reqprefix=no instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:12:30 +00:00
Steven Barth 936588ed30 Remove obsoleted ipv6-support meta-package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 09:45:51 +00:00
Steven Barth 3b9ea165f7 netifd: Bump to latest version
* Fix a memory corruption when updating IPv6 prefixes
* Fix route sorting order (nbd)
* Add support for ip rules (jow)
* Implement support for route / route6 table attribute (jow)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:28:06 +00:00
Steven Barth d8961984f2 netifd: Rewrite IPv6 prefix assignment
* Add ip6hint option to specify assigned subprefixes
* Add preliminary support for RFC 6603 prefix exclusion

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 17:08:21 +00:00
Felix Fietkau eb2800098d openvpn: enable password save support (#13245)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 10:02:43 +00:00
Steven Barth e2a416671c odhcp6c: Fix a race-condition in RA-handling
Thanks to Markus Stenberg for investigating and providing a fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26 13:39:17 +00:00
Steven Barth a800a4a788 iptables: don't use --enable-ipv6 if IPv6 is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 11:22:12 +00:00
Steven Barth 795bb7a15c odhcp6c: minor bug fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 10:58:48 +00:00
Jo-Philipp Wich 8ad3c5dce6 firewall3: update to git head
* fixes parsing of src/dest '*'
	* fixes parsing of proto 'all'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22 14:10:29 +00:00
Jo-Philipp Wich 6cce0f0ddb firewall3: update to git head
* fixes port remapping rules (#13217)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:25:17 +00:00
Hauke Mehrtens 0efdcebf5d kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:59:24 +00:00
Steven Barth faf465e51c netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 13:49:39 +00:00
Steven Barth edbf7afcd3 odhcp6c: Fix metric for on-link prefix routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich 7384872325 firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 16:18:05 +00:00
Jo-Philipp Wich e4fa9433ea firewall3: update to git head
- support network names in per-zone 'masq_src', 'masq_dest' and 'subnet' options (#13197)
	- do not allow src_mac option for SNAT rules

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 13:54:34 +00:00
Felix Fietkau d482f42efb hostapd: fix build errors on supplicant-only builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-18 16:11:32 +00:00
Steven Barth 72786daa1b odhcp6c: fix preference handling, custom client-ID
* thanks to mbidewell for investigating

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-18 07:24:49 +00:00
Felix Fietkau 77a736a2b6 hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 20:47:18 +00:00
Felix Fietkau 54ae3b1981 uhttpd: update to latest version, fixes an occasional crash on CGI scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 13:43:55 +00:00
Jo-Philipp Wich 35c2fb3bf7 firewall3: update to git head
* Introduce "option reload" for includes to specify whether includes should be processed on reload (e.g. when tapping into internal chains)
 * Allow "network" and "device" commands while firewall is running (to make them usable in includes)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 15:29:43 +00:00
John Crispin b715f860d7 [hostapd] use new button scheme
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:25 +00:00
Jo-Philipp Wich a95bb0d75b firewall3: update to git head
* Adds support for emitting hotplug events when creating and clearing zones (fixes miniupnpd)
 * Make NAT reflection direction configurable
 * Map init script stop action to flush
 * Map init script reload action to reload
 * Respect init script disabled state in hotplug handler

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 15:46:30 +00:00
Felix Fietkau a3c6b189ae hostapd: fix client reassociation after too many ACK failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 00:19:25 +00:00
Jo-Philipp Wich 13b7b380b2 firewall3: update to git head
* Fixes compilation against eglibc
 * Fixes tracking logic when selectively restarting IPv4 or IPv6 firewall
 * Fixes tracking logic for user chains by differentiating between reloads and restarts
 * Introduces per-zone user chains {input,output,forwarding,prerouting,postrouting}_$zone_rule
 * Supports legacy "tcpudp" protocol notation again

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 20:52:20 +00:00
Jo-Philipp Wich 1287a5a543 Revert "firewall3: update to git head"
This reverts commit 89969fa333c90fdb217b7289272f3427add107de.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 19:52:18 +00:00
Jo-Philipp Wich 0a093289e6 firewall3: update to git head
- introduce per-zone user chains
	- support legacy "tcpudp" protocol notation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 15:27:33 +00:00
Steven Barth 0bf76485e2 odhcp6c: various bugfixes
* Don't prematurely send RENEW / REBIND when T1 or T2 is > 1 day
* Add "norelease" option to not send a RELEASE when stopping

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-08 07:04:38 +00:00
Steven Barth b15a62570b iptables: Add missing IPv6 builtin modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 08:48:41 +00:00
Steven Barth bd1e6a2a71 iptables: redo update to 1.4.18 with old linking-behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-06 17:05:34 +00:00
Steven Barth bddbaf57c5 Revert "iptables: update to 1.4.18" due to toolchain-issue:
binaries cause segfaults when stripped on ar71xx

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-06 12:55:48 +00:00
Felix Fietkau 0b5d0905be hostapd: include the madwifi headers in the package directory to avoid compile breakage if the madwifi build fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 22:06:30 +00:00
Steven Barth 1942d2db25 iptables: update to 1.4.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 20:51:57 +00:00
Jo-Philipp Wich 58e4a0f346 firewall3: add default config and firewall.user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 13:45:09 +00:00
Felix Fietkau bd0313c2fb hostapd: update to git version 2013-03-02
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 17:16:38 +00:00
Jo-Philipp Wich 4de2e16d3f firewall3: update to git head, introduces support for "enabled" option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 17:09:33 +00:00
Steven Barth c3ba5abe93 6relayd: Fix illegal memory accesses
Spurious errors when receiving netlink-messages lead to unhandled errors
which caused SIGBUS. Thanks to tdavis for debugging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 16:37:20 +00:00
Steven Barth 4ff987eec6 6relayd: various fixes
cap preferred and valid lifetimes at more reasonable limits
decrease memory usage (remove unnecessary book-keeping)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 14:57:19 +00:00
Jo-Philipp Wich 48ff06196e xtables-addons: fix packaging of iptaccount
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 10:58:12 +00:00
Jo-Philipp Wich ffd425c151 firewall3: clear contnrack table on flush, set policies to drop during rule reload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-27 14:09:37 +00:00
Steven Barth 13ada38511 6relayd: Fix config behaviour for rewrite_dns_addr option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 12:50:52 +00:00
Steven Barth 579f6c4632 6relayd: compatibility with broken IPv6 devices
* Announce ULA as deprecated if other addresses are available
* Allow the announced DNS-server to be overwritten

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 12:42:53 +00:00
Jo-Philipp Wich e249d2a240 firewall: fix logging rule regression (#12999)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 13:45:20 +00:00
Jo-Philipp Wich 157ef93d0e firewall3: add support for shell script and iptables-restore style includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 12:45:38 +00:00
Steven Barth 660caa9c81 netifd: only update resolv.conf.auto if changed
This avoids logspam under certain conditions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 08:56:29 +00:00
Jo-Philipp Wich 7f0500f664 firewall3: update to git head
- all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact
	- properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions
	- support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100')
	- support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6')

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 22:33:44 +00:00
Florian Fainelli f13200ffac dante: fix broken configure script not using CFLAGS for conftest
Spotted by doing an ARM hard float build.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 17:22:55 +00:00
Steven Barth 1fb35f7831 6relayd: Fix possible memory corruption issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 12:04:41 +00:00
Steven Barth a96a74fc06 6relayd: Workaround potential signal handling issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 12:50:36 +00:00
Jo-Philipp Wich bc882ab1f1 firewall3 - a C implementation of the current firewall scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 19:26:52 +00:00
Felix Fietkau 452522c6de hostapd: fix the scan wait patch for multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 19:00:34 +00:00
Felix Fietkau 8db109478c hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:26:03 +00:00
Jonas Gorski ea88007d4b samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:42 +00:00
Steven Barth d0fe67f1df odhcp6c: allow setting a user-provided prefix as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 08:23:54 +00:00
Jo-Philipp Wich b0036a67c3 iptables: fix bad PKG_RELEASE in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 22:14:38 +00:00
Jo-Philipp Wich 543e4fb934 iptables: add --lenient switch to iptables-restore and ip6tables-restore that allows to skip erroneous lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 21:58:42 +00:00
Felix Fietkau 2256cbf372 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:10 +00:00
Steven Barth de9ca73143 odhcp6c: Various bugfixes
* Don't send undesired suggestions for preferred and valid lifetimes
* Be less verbose in logging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 12:30:16 +00:00
Felix Fietkau 40228ded56 openvpn-easy-rsa: fix typo in version (#12958)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 22:17:11 +00:00
Felix Fietkau 711882cca5 openvpn: remove the stale PKG_REV variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 10:40:19 +00:00
Felix Fietkau e6106c9b0a openvpn: split easy-rsa into a separate package, it is no longer bundled with the release tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 10:40:13 +00:00
Jo-Philipp Wich 292b4e42b3 firewall: various enhancements
- reduce mssfix related log spam (#10681)
	- separate src and dest terminal chains (#11453, #12945)
	- disable per-zone custom chains by default, they're rarely used

Additionally introduce options "device", "subnet", "extra", "extra_src" and "extra_dest"
to allow defining zones not related to uci interfaces, e.g. to match "ppp+" or any tcp
traffic to and from a specific port.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 14:38:33 +00:00
Steven Barth f5b834c1bd odhcp6c: Fix timing issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 17:26:40 +00:00
Jo-Philipp Wich 4f1d9c7067 libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 12:03:24 +00:00
Steven Barth 15d5fae260 odhcp6c: Fix RENEW and REBIND requests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:44:13 +00:00
Steven Barth deed0b0198 odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 13:38:47 +00:00
Steven Barth 109d4f04b0 netifd: Improved IPv6 featureset
* Fix reloading of ula-prefixes
* Added support for temporary addresses and routes
* Added support for offlink addresses
* Improved status-output for assigned prefixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:43 +00:00
Steven Barth 884f9354e3 odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:39 +00:00
Steven Barth 977543229a 6relayd: Fix announced router flags and IPv6 procfs-configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:34 +00:00
Felix Fietkau 81c98af4d4 openvpn: add from openvpn-devel from /packages, fix support for current polarssl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 20:07:15 +00:00
Steven Barth 7bc0be4f38 6in4: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 09:07:23 +00:00
Steven Barth 26312e0ff3 6in4: work around hanging wget process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 09:05:53 +00:00
Felix Fietkau 6e020244db netifd: update to latest version
fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 14:40:04 +00:00
Felix Fietkau 0c9de267ba samba36: update to 3.6.11 and refresh patches (based on patch from #12914)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 13:18:56 +00:00
Steven Barth 4693e5f404 netifd: implement IPv6 prefix deprecation according to RFC 6204
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 11:05:22 +00:00
Steven Barth 64667abb9d 6relayd: remove IPv6 forwarding-sysctl workaround
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 10:13:49 +00:00
Steven Barth 898917f616 odhcp6c: remove IPv6 forwarding-sysctl workaround
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 10:13:44 +00:00
Steven Barth cfda22b8c6 netifd: remove IPv6 forwarding-sysctl workaround
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 10:13:39 +00:00
Felix Fietkau 3fc753a0b0 netifd: update to latest version, fixes setting addresses/routes on alias interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 20:35:55 +00:00
Jo-Philipp Wich 8a947fc599 hostapd: don't configure wpa_supplicant with empty password="" if no password is specified (#12912)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 18:05:33 +00:00
Jo-Philipp Wich 1b4e6e5e76 firewall: flush conntrack table after changing interface rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 15:53:44 +00:00
Steven Barth 88d95b7acc netifd: IPv6 sysctl, restart IPv6 in static mode to send RS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 14:07:27 +00:00
Steven Barth 0f6d7ebb06 netifd: add SLAAC ipv6 value for static-proto
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 13:53:48 +00:00
Steven Barth e486e3e8b0 odhcp6c: work-around for proto-script to avoid loosing the default route
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 13:53:43 +00:00
Steven Barth 1d9e351fff ipv6-support: don't overwrite existing setting across reflashs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 08:15:09 +00:00
Felix Fietkau a62a397d2e netifd: update to latest version, adds another fix for interface aliases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 16:05:59 +00:00
Steven Barth 27f1da2569 netifd: Fix a segfault when globals.ula_prefix is empty
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 15:49:42 +00:00
Felix Fietkau a2052a26f0 uhttpd: always turn on TLS support, include ustream-ssl as a build dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 15:05:04 +00:00
Felix Fietkau 4c8c6257d4 uhttpd: fix another small hang issue with the same symptoms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 09:38:00 +00:00
Felix Fietkau fbfc90de7d uhttpd: fix connection hangs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 09:28:55 +00:00
Felix Fietkau d7496d57df tcpdump: add SLL parsing support to tcpdump-mini, use -ffunction-sections, -fdata-sections and --gc-sections to reduce size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 07:51:15 +00:00
Felix Fietkau 9e2b006414 uhttpd: fix unencrypted passwords in httpd.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 12:46:41 +00:00
Steven Barth 7057d10c26 6relayd: fix shell library includes in init-script
Thanks to Daniel Golle

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 11:27:03 +00:00
Steven Barth 180a1254ca 6relayd: avoid a race-condition with looping RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 10:42:31 +00:00
Steven Barth 98901eabf5 netifd: Fix segfaults in IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 09:21:30 +00:00
Steven Barth 7b90a50edb odhcp6c: Fix address assignment with infinite validity
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 07:58:58 +00:00
Felix Fietkau 6c5a013f22 uhttpd: fix selecting the right ustream implementation when openssl is to be used (#12857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 21:15:43 +00:00
Felix Fietkau 9099dc3b63 netifd: update to latest version, fixes alias support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 15:47:09 +00:00
Felix Fietkau e92abf2362 network/iproute2: Bump version to 3.7.0
Updated to latest stable version and added an upstream patch to handle
a link failure

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
[dgolle@allnet.de: refreshed patches]
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 11:25:18 +00:00
Felix Fietkau b5a9786bc0 uhttpd: update to a newer version, fixes chunked transfer on some POST requests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 22:55:46 +00:00
Felix Fietkau 2f518a61da uhttpd: switch to uhttpd2, it is now feature complete
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 18:47:09 +00:00
Jo-Philipp Wich d5203450e1 netifd: add a band-aid fix for the wifi setup vs. netifd init race by increasing the wait time to five seconds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 10:13:14 +00:00
Steven Barth 2a6b173e6d ipv6-support: adapt UCI defaults to new ordering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:52:51 +00:00
Steven Barth edeb64dc65 odhcp6c: Fix parsing more than one DNS server
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 08:21:35 +00:00
Steven Barth 1184a39eb6 ipv6-support: Rename enable-ipv6 UCI defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 16:16:06 +00:00
Jo-Philipp Wich ad5b8fca45 xtables-addons: rework uid/gid compat patch to use KUIDT_INIT() and KGIDT_INIT() macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 16:05:30 +00:00
Jo-Philipp Wich dc2e5bd944 xtables-addons: move to package/, add myself as maintainer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 12:29:26 +00:00
Steven Barth 777625776a odhcp6c: Detect a different MAC if interface has none
* Fixes DHCPv6 behaviour over PPP and similar

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:29:01 +00:00
Steven Barth 3e08305deb ppp: don't automatically set IPv6 default route
* Fixes "ndisc_router_discovery() failed to add default route"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:28:57 +00:00
Steven Barth 06527bee18 netifd: @aliases use layer 3 devices instead of main devices
Fixes dhcpv6 protocol alias

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:28:51 +00:00
Steven Barth 4713aef3ff ipv6-support: Switch to native IPv6 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:19 +00:00
Steven Barth ca6e8fdcec 6rd: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:14 +00:00
Steven Barth cbfa80a7d3 6to4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:10 +00:00
Steven Barth 80abeea6ad 6in4: add support for native IPv6 prefix handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:05 +00:00
Steven Barth d9d045a475 6relayd: add suitable default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:08:00 +00:00
Steven Barth 326a6a6193 6distributed: Remove obsolete service (replaced by netifd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:56 +00:00
Steven Barth ddc921275c netifd: Introduce native IPv6 prefix-handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:41 +00:00
Jo-Philipp Wich 16345d0356 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:12:56 +00:00
Jo-Philipp Wich fdcfda2ae8 netifd: update to git head, adds 64bit counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 19:48:52 +00:00
Steven Barth 8b19f35255 odhcp6c: Send RS on start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 18:06:24 +00:00
Steven Barth 24df9aecc1 odhcp6c: Add preliminary proto-handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:35:09 +00:00
Steven Barth c5752d0129 ipv6-support: don't use disable_ipv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:25:43 +00:00
Steven Barth ae972de3fb 6relayd: Rewrite init-script logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 17:25:38 +00:00
Steven Barth d2072402f7 firewall: Add ULA site border for IPv6 traffic
This prevents private traffic from leaking out to the internet

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 15:59:28 +00:00
Jo-Philipp Wich 7e0eb5f61c iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:08:08 +00:00
John Crispin 902905286e [libiwinfo-lua] don't depend on lua
Delete +lua from libiwinfo-lua.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 09:32:06 +00:00
Steven Barth e1c79f5058 ipv6-support: Update iteration
* Add support for blocking forwarding while address assignments
* Fix relay restarting function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:44 +00:00
Steven Barth 1e7f1c6ab7 odhcp6c: Add support for SNTP and SIP options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:39 +00:00
Steven Barth 8ed0bcabf0 6relayd: Announce RDNSS and DNSSL via RA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 23:05:35 +00:00
Jo-Philipp Wich 5dcb273a97 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:29 +00:00
Jo-Philipp Wich 64324ccfca dnsmasq: allow dhcp host entries without mac addresses (#11928)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 15:14:19 +00:00
Jo-Philipp Wich 090f7dbbad lldpd: various enhancements
- introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name
	- set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox"
	- introduce "option lldp_description" to override the automatically generated description

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 14:35:43 +00:00
John Crispin d1c1b7bdd8 Remove remaining etrax references
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 11:28:11 +00:00
Steven Barth c1e3448510 6relayd: Detect changes of default routes for RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:37 +00:00
Steven Barth 269ae87c6f ipv6-support: Remove unnecessary code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 21:41:32 +00:00
Steven Barth d87be0cd09 ipv6-support: Fix typo in dhcpv6-script
* thanks to KarlHegbloom for reporting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-31 09:38:59 +00:00
Steven Barth fc35fadc1b ipv6-support: Use more consistent default values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 10:12:31 +00:00
Steven Barth 7bd61ec3c9 ipv6-support: Updated functionality
* Add site-border feature again
* Add option to always announce a default router

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:22 +00:00
Steven Barth fc3fe40330 6distributed: Add null-route for delegated prefix
* Fixes forwarding loops for unused subprefixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:17 +00:00
Steven Barth d9720b53f1 6relayd: Announce DNS search domain via DHCPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:12 +00:00
Steven Barth 1f93761a65 ipv6-support: Remove site-border feature
* was causing routing problems
* will be reimplemented using firewall

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:53 +00:00
Steven Barth 97f157187d Remove site-border routing filter due to problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:47 +00:00
Steven Barth 81dbe78117 ipv6-support:
* Automatically detect and propagate MTU from upstream interfaces
* Add site-border feature (RFC 6204, ULA-4)
* Fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:17 +00:00
Steven Barth 969eddef42 6distributed: feature update
* Add feature to decrease IPv6-specific MTU on-demand
* Add commands to enable / disable a site-border

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:12 +00:00
Steven Barth 5d14d45927 6relayd: Advertise IPv6-specific MTU instead of generic
* Fixes announced MTU when using tunnels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:07 +00:00
Steven Barth dd4befa7e2 ipv6-support: Fix default RA settings for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:22:48 +00:00
Felix Fietkau dd07d18592 dropbear: convert init script to procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:13 +00:00
Felix Fietkau eca53dd739 dropbear: use network_get_device instead of scan_interfaces to get the device name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:55:57 +00:00
Steven Barth 0e4a0f7b38 ipv6-support: Preliminary support for dnsmasq >=2.66
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:53 +00:00
Steven Barth 70a28cb7bb 6relayd: Fix detection of prefix changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:49 +00:00
Steven Barth c350703d01 odhcp6c: Fix build on arch where char is unsigned
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:45 +00:00
Steven Barth 497a2434ad 6distributed: Improve prefix deprecation algorithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:00:40 +00:00
Gabor Juhos b52a4171cc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:44 +00:00
Felix Fietkau be621b6356 netifd: update to latest version, fixes interface error reporting for shell proto handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 22:24:31 +00:00
Felix Fietkau 59de6c0111 netifd: update to latest version, no longer needs the removed jshn_append() shell function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 14:57:15 +00:00
Felix Fietkau 511f2b5f6d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 13:23:37 +00:00
John Crispin 631fa2c18c [include] fixes uapi helper define
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 11:04:27 +00:00
Felix Fietkau a9600d7cae 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:24 +00:00
John Crispin cc2dee64f0 [lantiq] move ltq-adsl-tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:39 +00:00
John Crispin 599eec46ae [ppp] make use of uapi directory wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:19 +00:00