Commit Graph

5025 Commits (2021.2)
 

Author SHA1 Message Date
pedro 5fb6c9d4dd rc: sched.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 24f7f959cb rc: forward.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 887f0b4731 rc: jffs2.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 46830c6113 rc: new_qoslimit.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 503c56614f rc: nocat.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 866c7d0e02 rc: pbr.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 9592a05c8c rc: nginx.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 3ca01b4e16 rc: phy_tempsense.c: code optimization and clean-up 5 years ago
pedro 95c64faa3d rc: ppp.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 7e917f6509 rc: rc.c/rc.h: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 7796cbbb81 rc: pptpd.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 5680b02a8e rc: pptp_client.c: a little fix for commit f19cb7d 5 years ago
pedro e7d3e4a880 rc: mysql.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro 04704235cc rc: dhcp.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro e800537f5a GUI: improvement to shutdown() - added 2nd pop-up with confirmation 5 years ago
pedro d6e5a160c1 openvpn: update to 2.5_rc3
- cosmetic in patch
5 years ago
snowman58 95b3807ea1 build: add Netgear R6700v1 support 5 years ago
pedro 83306d93ba rc: switch to killall_tk_period_wait() instead killall_tk(); remove the latter 5 years ago
pedro e781bd600b shared: misc.c: move getNVRAMVar() to libshared 5 years ago
pedro 3e5d10fb78 Merge branch 'arm-master' into arm-sdk7 5 years ago
M_ars a1bb74c0bc kernel SDK7: pptp.c - small fix for SDK Update
see 5bc54580e2

fix the following (hidden) warning:
Oct 19 06:00:01 Tomato-Router daemon.info pptp[1807]: Using interface ppp4
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: Connect: ppp4 <--> pptp (xxx.xxx.xxx.xxx)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: ------------[ cut here ]------------
Oct 19 06:00:01 Tomato-Router kern.warn kernel: WARNING: at include/net/dst.h:114 pptp_xmit+0x498/0x4b4()
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ip6table_mangle	 bf5d1000	 934
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ip6table_filter	 bf5cb000	 750
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ipt_account	 bf5c3000	 8376
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  xt_DSCP	 bf5b0000	 1474
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  wl	 bf170000	 4201685
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  dpsta	 bf167000	 12782
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ehci_hcd	 bf159000	 32414
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  xhci_hcd	 bf146000	 51128
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  vfat	 bf13e000	 8509
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  fat	 bf12d000	 43022
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ext4	 bf0ec000	 221882
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  crc16	 bf0e6000	 1007
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  jbd2	 bf0d3000	 48989
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  mbcache	 bf0cc000	 4599
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  usb_storage	 bf0bd000	 34290
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  sd_mod	 bf0b1000	 21983
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  scsi_wait_scan	 bf0ab000	 416
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  scsi_mod	 bf086000	 108730
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  usbcore	 bf062000	 103389
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_pptp	 bf05c000	 1602
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_pptp	 bf056000	 3355
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_proto_gre	 bf050000	 887
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_proto_gre	 bf04a000	 3228
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_ftp	 bf044000	 1144
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_ftp	 bf03d000	 4909
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_h323	 bf036000	 4761
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: CHAP authentication succeeded
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_h323	 bf028000	 33807
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  et	 bf011000	 64894
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  igs	 bf009000	 11927
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  emf	 bf000000	 15397
Oct 19 06:00:01 Tomato-Router kern.warn kernel: Modules linked in: ip6table_mangle ip6table_filter ipt_account xt_DSCP wl(P) dpsta(P) ehci_hcd xhci_hcd vfat fat ext4 crc16 jbd2 mbcache usb_storage sd_mod scsi_wait_scan scsi_mod usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_h323 nf_conntrack_h323 et(P) igs(P) emf(P) [last unloaded: xt_length]
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c0045000>] (unwind_backtrace+0x0/0xf8) from [<c00632a0>] (warn_slowpath_common+0x4c/0x64)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c00632a0>] (warn_slowpath_common+0x4c/0x64) from [<c00632d4>] (warn_slowpath_null+0x1c/0x24)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c00632d4>] (warn_slowpath_null+0x1c/0x24) from [<c01c2810>] (pptp_xmit+0x498/0x4b4)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01c2810>] (pptp_xmit+0x498/0x4b4) from [<c01bba28>] (ppp_channel_push+0x50/0xb0)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01bba28>] (ppp_channel_push+0x50/0xb0) from [<c01bbb3c>] (ppp_write+0xb4/0x10c)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01bbb3c>] (ppp_write+0xb4/0x10c) from [<c00cb3b0>] (vfs_write+0xb4/0x148)
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: MPPE 128-bit stateless compression enabled

Note: see/follow SDK6
5 years ago
pedro faa6e8d4c6 Revert "kernel sdk7: include: dst.c: disable WARN_ON_ONCE()"
This reverts commit b3999570b3.
5 years ago
M_ars 0b875a684a kernel SDK6: pptp.c - small fix for SDK Update
see d27db60dba

fix the following (hidden) warning:
Oct 19 06:00:01 Tomato-Router daemon.info pptp[1807]: Using interface ppp4
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: Connect: ppp4 <--> pptp (xxx.xxx.xxx.xxx)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: ------------[ cut here ]------------
Oct 19 06:00:01 Tomato-Router kern.warn kernel: WARNING: at include/net/dst.h:114 pptp_xmit+0x498/0x4b4()
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ip6table_mangle	 bf5d1000	 934
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ip6table_filter	 bf5cb000	 750
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ipt_account	 bf5c3000	 8376
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  xt_DSCP	 bf5b0000	 1474
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  wl	 bf170000	 4201685
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  dpsta	 bf167000	 12782
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ehci_hcd	 bf159000	 32414
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  xhci_hcd	 bf146000	 51128
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  vfat	 bf13e000	 8509
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  fat	 bf12d000	 43022
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  ext4	 bf0ec000	 221882
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  crc16	 bf0e6000	 1007
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  jbd2	 bf0d3000	 48989
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  mbcache	 bf0cc000	 4599
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  usb_storage	 bf0bd000	 34290
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  sd_mod	 bf0b1000	 21983
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  scsi_wait_scan	 bf0ab000	 416
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  scsi_mod	 bf086000	 108730
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  usbcore	 bf062000	 103389
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_pptp	 bf05c000	 1602
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_pptp	 bf056000	 3355
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_proto_gre	 bf050000	 887
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_proto_gre	 bf04a000	 3228
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_ftp	 bf044000	 1144
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_ftp	 bf03d000	 4909
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_nat_h323	 bf036000	 4761
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: CHAP authentication succeeded
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  nf_conntrack_h323	 bf028000	 33807
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  et	 bf011000	 64894
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  igs	 bf009000	 11927
Oct 19 06:00:01 Tomato-Router kern.warn kernel: module:  emf	 bf000000	 15397
Oct 19 06:00:01 Tomato-Router kern.warn kernel: Modules linked in: ip6table_mangle ip6table_filter ipt_account xt_DSCP wl(P) dpsta(P) ehci_hcd xhci_hcd vfat fat ext4 crc16 jbd2 mbcache usb_storage sd_mod scsi_wait_scan scsi_mod usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_h323 nf_conntrack_h323 et(P) igs(P) emf(P) [last unloaded: xt_length]
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c0045000>] (unwind_backtrace+0x0/0xf8) from [<c00632a0>] (warn_slowpath_common+0x4c/0x64)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c00632a0>] (warn_slowpath_common+0x4c/0x64) from [<c00632d4>] (warn_slowpath_null+0x1c/0x24)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c00632d4>] (warn_slowpath_null+0x1c/0x24) from [<c01c2810>] (pptp_xmit+0x498/0x4b4)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01c2810>] (pptp_xmit+0x498/0x4b4) from [<c01bba28>] (ppp_channel_push+0x50/0xb0)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01bba28>] (ppp_channel_push+0x50/0xb0) from [<c01bbb3c>] (ppp_write+0xb4/0x10c)
Oct 19 06:00:01 Tomato-Router kern.warn kernel: [<c01bbb3c>] (ppp_write+0xb4/0x10c) from [<c00cb3b0>] (vfs_write+0xb4/0x148)
Oct 19 06:00:01 Tomato-Router daemon.notice pptp[1807]: MPPE 128-bit stateless compression enabled

tested with Tomato MIPS RT-N server and windows 10 server, working correct
5 years ago
pedro 75c39001ab Revert "kernel sdk6: include: dst.h: disable WARN_ON_ONCE()"
This reverts commit 5d4dbba460.
5 years ago
pedro 3d1ee4bc0d rc: openvpn.c: improvements and clean-up based on @Merlin work 5 years ago
pedro 572c5b82d8 openvpn: ensure DHCP doesn't override our default route (fixes TAP+DHCP) 5 years ago
pedro 254138621f openvpn: switch to the subnet topology, instead of the deprecated net30 topology
- Ref: https://community.openvpn.net/openvpn/wiki/Topology#Topologysubnet
5 years ago
pedro 7ee1bc8f13 vpnrouting: do not add local routes if in PBR strict mode; also use 'via $route_vpn_gateway' if available; cosmetics 5 years ago
pedro f98b760bc6 rc: openvpn.c: client: fix ineffective "route" directives when PBR active
- discussion: https://www.linksysinfo.org/index.php?threads/openvpn-client-bug-flaw-ineffective-route-directives-when-pbr-active.75941/
5 years ago
pedro f19cb7de8a rc: pptp_client.c: code optimization and clean-up. One version for ARM and MIPS branch.
- in PRs please use #ifdef TCONFIG_BCMARM/#ifndef TCONFIG_BCMARM/etc to distinguish different branches
5 years ago
pedro fa2e970525 www: also add localStorage.clear() on admin-upgrade and admin-access pages 5 years ago
pedro a9b1a516c3 www: remove upgrade-plain.asp as it's not longer needed 5 years ago
M_ars a2ca78227d GUI: basic-network.asp - repair scan button function and provide control channel at wireless survey
Note: use control channel and not the actual channel because we use the same function get_scan_results() for wireless survey AND scan button at basic-network.asp

Example: wireless 5G setup 36/80 (control channel / channel width) will/would result in actual channel 42 --> Channel 42 is "not valid" or select-able for basic wireless for example;

tested with R7000, E4200v1 and WRT54GL, working correct!

see problem report https://www.linksysinfo.org/index.php?threads/5ghz-wifi-scanning-broken-on-2020-6.75913/#post-319783

Fixes Issue #51
5 years ago
M_ars 8936e258ed router: httpd: wl.c - adjust function get_scan_results() and align to Asus SRC and follow BRCM recommendation (cosmetic)
--> Applications MUST CHECK ie_offset field and length field to access IEs and next bss_info structure

Note: tested, all ok / no change
5 years ago
pedro eef2b2d565 GUI: Admin: Debugging: add Clear Cache link (removes all Storage Object item for domain/IP address) 5 years ago
M_ars 48bb9b1935 GUI: advanced-wlanvifs.asp - add AP Isolation setting also for VIFs
Note: Wireless clients will not be able to communicate with each other if turned on. (see Issue #55)
5 years ago
pedro 7c8f06d016 GUI: cosmetic 5 years ago
pedro b8c5eae307 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro fabb11a051 build: openvpn 2.5: use (built-in) netlink support instead of iproute2 5 years ago
pedro dc34579853 php: update to 7.2.34 5 years ago
pedro 90f23e2b2c nginx: udpate to 1.19.3 5 years ago
pedro bd8299b008 nano: update to 5.3 5 years ago
pedro 64951a85fe GUI: openvpn: several fixes (again...) 5 years ago
M_ars c4987c00bf IPv6: extend GUI status page (status-overview.asp) - show IPv6 WAN DNS addresses 5 years ago
pedro 41fd8fdc44 Merge branch 'arm-master' into arm-sdk7 5 years ago
pedro 132163a4f0 rc: openvpn.c: fix typo in commit 833e52a 5 years ago
pedro bc2eba668c rc: openvpn.c: build ovpn config (MIPS, only 'j' target, 4MB flash) without new features included in OpenVPN 2.5 5 years ago
pedro a7cb3be13e rc: openvpn.c: build ovpn config using 'ncp-ciphers' instead of 'data-ciphers' only for 4MB targets (MIPS with OpenVPN 2.4) 5 years ago
pedro 3be2021a19 rc: openvpn.c: fix for commit 193662b (used wrong var) 5 years ago
pedro 84d5c10544 GUI: openvpn: fix formatting 5 years ago