Nxl67002 - AndLinux - Files: Difference between revisions
Jump to navigation
Jump to search
(→settings.txt: Added cofs1=D:\) |
(Added config-home, config-nxp, config-tunnel, proxy.conf) |
||
Line 12: | Line 12: | ||
cofs0=C:\ |
cofs0=C:\ |
||
cofs1=D:\ |
cofs1=D:\ |
||
</pre> |
|||
== ~/.ssh/config-home == |
|||
Download [{{#file: config-nxp}} this file]. |
|||
<pre> |
|||
# ~/.ssh/config-home |
|||
Host ftp.noekeon.org noekeon |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
Host noekeonsshtunnel |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
Host gryphon gryphon |
|||
User baddreams |
|||
HostName gryphon |
|||
Host * |
|||
ServerAliveInterval 15 |
|||
</pre> |
|||
== ~/.ssh/config-nxp == |
|||
Download [{{#file: config-nxp}} this file]. |
|||
<pre> |
|||
# ~/.ssh/config-nxp |
|||
Host ftp.noekeon.org noekeon |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
#TEST-To prevent disconnect if network down... |
|||
TCPKeepAlive no |
|||
# ProxyCommand /usr/local/bin/ssh-tunnel.pl -f - - %h %p |
|||
Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/multitee 0:3 3:1' |
|||
###### EXPERIMENTS: |
|||
# Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; cat ~/.ssh/clbanner.txt >&3; head -c 50 <&3; read -n $(stat -c %%s ~/.ssh/clbanner.txt); exec /usr/local/bin/socat - FD:3' |
|||
Host noekeonsshtunnel |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
Host andlinux |
|||
User beq06659 |
|||
HostName andlinux |
|||
ProxyCommand none |
|||
Host gryphon |
|||
User baddreams |
|||
HostName gryphon |
|||
Host * |
|||
# ProxyCommand /usr/local/bin/ssh-tunnel.pl - - %h %p |
|||
Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/socat - FD:3' |
|||
ServerAliveInterval 15 |
|||
</pre> |
|||
== ~/.ssh/config-tunnel == |
|||
Download [{{#file: config-nxp}} this file]. |
|||
<pre> |
|||
# ~/.ssh/config-tunnel |
|||
Host ftp.noekeon.org noekeon |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
Host noekeonsshtunnel |
|||
User daemenj |
|||
HostName ftp.noekeon.org |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p |
|||
Host andlinux |
|||
User beq06659 |
|||
HostName andlinux |
|||
ProxyCommand none |
|||
Host gryphon gryphon |
|||
User baddreams |
|||
HostName gryphon |
|||
Host * |
|||
ProxyCommand /usr/local/bin/ssh-tunnel.pl -q - - %h %p |
|||
ServerAliveInterval 15 |
|||
</pre> |
|||
== ~/.ssh/proxy.conf == |
|||
Download [{{#file: proxy.conf}} this file]. |
|||
<pre> |
|||
# SSH Tunnel configuration file. |
|||
# Section: OPTIONS |
|||
[option-section] |
|||
debug=0 |
|||
dry=0 |
|||
icmp=0 |
|||
sshping=1 |
|||
timeout=1 |
|||
# Section: PROXY |
|||
[proxy2-section] |
|||
#=== Philips gateway & proxy ======== |
|||
130.145.67/24 proxy.adc-itcl.ce.philips.com:8080 -C ~/.ssh/clbanner.txt |
|||
#=== NXP Proxy - on DELL/WinXP ====================== |
|||
#proxy is a synonym - but not portable because it might only work at Leuven... |
|||
#134.27.180/22 proxy:8080 -C ~/.ssh/clbanner.txt |
|||
134.27.180/22 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt |
|||
#=== NXP Proxy - on DELL/AndLinux ====================== |
|||
#proxy is a synonym - but not portable because it might only work at Leuven... |
|||
#10.0.2.2/32 proxy:8080 -C ~/.ssh/clbanner.txt |
|||
10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt |
|||
</pre> |
</pre> |
Revision as of 15:20, 15 October 2009
settings.txt
Download [{{#file: settings.txt}} this file].
mem=384 root=/dev/cobd0 kernel=vmlinux cobd0=Drives\base.vdi cobd1=Drives\swap.vdi cofs31=. eth0=slirp eth1=tuntap,"TAP-Colinux",00:11:22:33:44:55 cofs0=C:\ cofs1=D:\
~/.ssh/config-home
Download [{{#file: config-nxp}} this file].
# ~/.ssh/config-home Host ftp.noekeon.org noekeon User daemenj HostName ftp.noekeon.org Host noekeonsshtunnel User daemenj HostName ftp.noekeon.org ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p Host gryphon gryphon User baddreams HostName gryphon Host * ServerAliveInterval 15
~/.ssh/config-nxp
Download [{{#file: config-nxp}} this file].
# ~/.ssh/config-nxp Host ftp.noekeon.org noekeon User daemenj HostName ftp.noekeon.org #TEST-To prevent disconnect if network down... TCPKeepAlive no # ProxyCommand /usr/local/bin/ssh-tunnel.pl -f - - %h %p Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/multitee 0:3 3:1' ###### EXPERIMENTS: # Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; cat ~/.ssh/clbanner.txt >&3; head -c 50 <&3; read -n $(stat -c %%s ~/.ssh/clbanner.txt); exec /usr/local/bin/socat - FD:3' Host noekeonsshtunnel User daemenj HostName ftp.noekeon.org ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p Host andlinux User beq06659 HostName andlinux ProxyCommand none Host gryphon User baddreams HostName gryphon Host * # ProxyCommand /usr/local/bin/ssh-tunnel.pl - - %h %p Proxycommand /bin/bash -c 'exec 3<>/dev/tcp/emea.nics.nxp.com/8080;echo -n -e "CONNECT %h:%p HTTP/1.0\r\n\r\n" >&3; read -n 39 <&3; echo -n -e "SSH-2.0-OpenSSH_5.1\r\n" >&3; head -c 50 <&3; read -n 21; exec /usr/local/bin/socat - FD:3' ServerAliveInterval 15
~/.ssh/config-tunnel
Download [{{#file: config-nxp}} this file].
# ~/.ssh/config-tunnel Host ftp.noekeon.org noekeon User daemenj HostName ftp.noekeon.org ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p Host noekeonsshtunnel User daemenj HostName ftp.noekeon.org ProxyCommand /usr/local/bin/ssh-tunnel.pl -q -f - - %h %p Host andlinux User beq06659 HostName andlinux ProxyCommand none Host gryphon gryphon User baddreams HostName gryphon Host * ProxyCommand /usr/local/bin/ssh-tunnel.pl -q - - %h %p ServerAliveInterval 15
~/.ssh/proxy.conf
Download [{{#file: proxy.conf}} this file].
# SSH Tunnel configuration file. # Section: OPTIONS [option-section] debug=0 dry=0 icmp=0 sshping=1 timeout=1 # Section: PROXY [proxy2-section] #=== Philips gateway & proxy ======== 130.145.67/24 proxy.adc-itcl.ce.philips.com:8080 -C ~/.ssh/clbanner.txt #=== NXP Proxy - on DELL/WinXP ====================== #proxy is a synonym - but not portable because it might only work at Leuven... #134.27.180/22 proxy:8080 -C ~/.ssh/clbanner.txt 134.27.180/22 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt #=== NXP Proxy - on DELL/AndLinux ====================== #proxy is a synonym - but not portable because it might only work at Leuven... #10.0.2.2/32 proxy:8080 -C ~/.ssh/clbanner.txt 10.0.2.2/32 emea.nics.nxp.com:8080 -C ~/.ssh/clbanner.txt