summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* uhttpd URL-codec bug fixes.jow2012-05-031-5/+11
| | | | | | | | | | | | | | | | | | | * Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested input-buffer index against output-buffer length]. In reality, this would not typically cause an overflow on decode, where the output string would be expected to be shorter than the input string; and uh_urlencode() seems to have been unreferenced in the source. * Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the input-string. While this could manifest in C code, the result was most egregious when called from Lua, where it caused an extra null byte to be embedded at the end of the output string. * uh_urlencode() cleanup: removed redundant bitwise-and. Signed-off-by: David Favro <openwrt@meta-dynamic.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/pptp: remove a stray bracketjuhosg2012-05-031-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix iptables abuse of kernel header files. Use exported headers instead.juhosg2012-05-0310-4/+85
| | | | | | | | [juhosg: export xt_layer7.h for all kernel versions] Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix pptp handling of routes to server.juhosg2012-05-032-14/+12
| | | | | | | | | | | | | The existing code is fairly broken. It assumes you're using Legacy IP, and it assumes that the server is reachable via your default route. Via the first default route in the 'route -n' output, in fact, regardless of metric. Fix all those problems by using 'ip route get' to really find the *current* route to the server, and install a host-specific route to match. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add ppp-mod-pppol2tp subpackage to pppjuhosg2012-05-034-3/+36
| | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: W306R V2.0 - GPIO and Network fixesjuhosg2012-05-024-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by removing a line(default is correct), and reversed the Lan/wan layout LLLLW to WLLLL. Added: image/Makefile now builds -factory.bin files. I am unsure of the accepted way to change the makefile but the name of the image needs to be 'linkn Kernel Image' in order to be accepted by the OEM firmware. Known issue: eth0 (internal switch i think has mac address: 00:11:22:33:44:55 but i think it should be same as the lan). Known issue: Pressing the reset button has no noticable effect, i would expect the router to boot failsafe if being pressed on boot, reboot if short press and reset all to default if long press. [juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead] Signed-off-by: David Pearce <david_18051985@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Make serial console for DIR-300-B1 work againjuhosg2012-05-021-2/+2
| | | | | | | | | | | | | | | | | Make serial console for DIR-300-B1 work again. With some recent change, "console=ttyS1,57600" was removed from the default kernel command line, this adds the necessary mkcmdline incantation to image/Makefile to add it there for this target. This is quite likely broken for other targets as well. Without this the console switches to ttyS0 instead of ttyS1 and kernel output is missing, and the userspace comes up with 9600 baud instead of 57600. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc83xx: remove 2.6.36 supportjuhosg2012-05-0232-5006/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc83xx: switch to 3.3juhosg2012-05-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc83xx: add support for 3.3juhosg2012-05-0211-0/+4555
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: add more missing symbolsjuhosg2012-05-021-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] openssl: update to 1.0.1bflorian2012-05-022-14/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] use a define for the poll and debounce intervalflorian2012-05-0235-98/+111
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: don't pass CFLAGS when wrapping ldjow2012-05-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: add more missing symbolsjuhosg2012-05-011-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configsjuhosg2012-05-015-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [coldfire]: switch to 2.6.38kaloz2012-05-01117-21919/+91478
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: move the interface fixup to the right placenbd2012-04-301-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: use config_load+fixup_interface instead of scan_interfaces to speed ↵nbd2012-04-301-1/+3
| | | | | | up startup time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files-network: add a fixup_interface function like with the netifd ↵nbd2012-04-301-19/+25
| | | | | | compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: use an init script instead of a legacy network proto handler (fixes ↵nbd2012-04-304-137/+100
| | | | | | #11276) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.3 to 3.3.4juhosg2012-04-3024-100/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a ar93xx ht40 performance fixnbd2012-04-301-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix station lookup issuesnbd2012-04-301-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: load lib80211 after cfg80211 (#11342)nbd2012-04-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: add a generic reset_switch functionjuhosg2012-04-295-76/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: rename rtl836*_hw_init to rtl836*_setupjuhosg2012-04-293-21/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: add a reset_chip callback to rtl8366_smi_opsjuhosg2012-04-295-24/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to disable link polling on unused PHYsjuhosg2012-04-293-4/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: remove 2.6.35 supportjuhosg2012-04-293-268/+0
| | | | | | The generic 2.6.35 support has been remove long time ago. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: refresh patchesjuhosg2012-04-291-14/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rdc: add 3.3 supportjuhosg2012-04-2910-0/+1394
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add support for 3.3juhosg2012-04-295-0/+355
| | | | | | Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: add 3.3 supportjuhosg2012-04-299-0/+431
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: yet another missing symboljuhosg2012-04-291-0/+1
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add module for the Pericom PT7C4338 RTC chipjuhosg2012-04-291-0/+14
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.3: add support for the Pericom PT7C4338 I2C RTC chipjuhosg2012-04-291-0/+253
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add i2c module support for Freescale MPC processorsjuhosg2012-04-291-1/+17
| | | | | | Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add kmod-booke-wdt to the default packagesjuhosg2012-04-291-0/+2
| | | | | | Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: add module for the Booke watchdogjuhosg2012-04-291-0/+18
| | | | | | Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: don't override CONFIG_WATHCDOGjuhosg2012-04-291-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: move CONFIG_BOOKE_WDT to the generic configjuhosg2012-04-295-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/2.6.36: R.I.P.juhosg2012-04-29125-74685/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: add broken flag to targets which are using 2.6.36juhosg2012-04-292-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix WDS AP authentication issues (#11261, #11318)nbd2012-04-292-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes address/route list handling issues ↵nbd2012-04-292-2/+3
| | | | | | and fixes dual-stack ppp route handling git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: update to 20120428, fixes some radius issues and wds ap mac address ↵nbd2012-04-2919-83/+94
| | | | | | issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: fix parsing the ipv6-{up,down}-script optionnbd2012-04-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: create a new subtarget for the RB1xx devicesjuhosg2012-04-299-50/+90
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: share a common kernel config between the subtargetsjuhosg2012-04-293-403/+228
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31512 3c298f89-4303-0410-b956-a3cf2f4a3e73