Commit Graph

5255 Commits (2021.4)
 

Author SHA1 Message Date
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
pedro f28f4c2c22 Merge branch 'arm-master' into arm-sdk7 5 years ago
snowman58 f2383e2780 build: correct R6400, R6400v2 and R6700v3 board_data partition offset and size to fix board data from being overwritten by jffs. 5 years ago
pedro 2d91c9ed67 httpd: openvpn.c: fix generation of client configuration file for user&pass/user&pass only Auth; cosmetic 5 years ago
pedro 833e52a0c8 rc: openvpn.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 8fd73ff119 rc: openvpn.c: implement getNVRAMVar() (version from rc/httpd) 5 years ago
pedro a933bffeb8 openvpn: update to 2.5_rc2 5 years ago
pedro 193662b610 GUI: openvpn client: distinguish between remote-cert-tls and verify-x509-name options; cosmetic 5 years ago
pedro e44e77243a openssl: conf: add extendedKeyUsage also to usr_cert section 5 years ago
pedro 29474d49b8 GUI: openvpn server: implement CRL file 5 years ago
pedro f4e4b511ab GUI: openvpn server: implement 'Serial number' for generated client configuration in 'tls' mode 5 years ago
pedro f60728061a GUI: openvpn server: fix bug with generating client configuration in 'secret' mode; also add some more checks; cosmetics 5 years ago
pedro 359671732a GUI: openvpn: implement tls-crypt-v2 support 5 years ago
pedro 9b38ea677f rc: openvpn.c: add keepalive to client config 5 years ago
pedro 5ac55efa23 GUI: openvpn: add stub/stub-v2 compression support to OpenVPN client
- added only for compatibility with remote servers
- it's recommended to no longer use compression at all
5 years ago
pedro e78cd2d2bf GUI: openvpn: only use the old --cipher setting in static key mode; remove obsolete hmac digests from server options (leave them in client for compatibility) 5 years ago
pedro 60805f2287 GUI: openvpn: make Data Ciphers (ncp-ciphers) editable 5 years ago
pedro 5f10f95852 GUI: openvpn: remove option to enable/disable NCP (deprecated); remove 2.4 required warnings from Server page (add a comment at the top of the generated file about it) 5 years ago
M_ars 0b4810808c SDK6: update wireless driver (dual core)
For Info:
6.37 RC14.126
wl0: Aug 10 2020 17:00:56 version 6.37.14.126 (r561982)

previous wireless driver:
6.37 RC14.126
wl0: Apr  6 2020 10:15:10 version 6.37.14.126 (r561982)

tested with R7000 and RT-AC68U, working!
5 years ago
pedro 023c8c1ffa Bump version to 2020.8 5 years ago
pedro 9409a85c86 build: enable parallel kernel building for SDK6/SDK7 models
Ported from @Merlin, thanks
5 years ago