All pastes #24648 Raw Edit

Miscellany

public text v1 · immutable
#24648 ·published 2005-10-05 00:50 UTC
rendered paste body

--/etc/hosts------------------------------------------
::1                     localhost
127.0.0.1               localhost
192.168.1.3             aaa
192.168.1.3             aaa.blah.com
---End host file---------------------------------

--sshd_config------------------------------------
Port 6969
ChallengeResponseAuthentication yes
UsePAM yes
AllowTcpForwarding yes
GatewayPorts yes
PrintLastLog yes
TCPKeepAlive yes
UseLogin no
Banner /etc/motd
Subsystem       sftp    /usr/libexec/sftp-server
-----------------------------------------------------

--squid.conf-----------------------------------------------
visible_hostname aaa
http_port 127.0.0.1:13000
udp_incoming_address 127.0.0.1
dns_nameservers 192.168.1.1
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255

hierarchy_stoplist cgi-bin ?
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
http_access allow localhost
http_reply_access allow localhost
icp_access allow localhost

lynx (successful)
via:export http_proxy="http://127.0.0.1:13000"

--successful -- tethereal dump of local lynx---------------------
161.701371          ::1 -> ::1          TCP 57562 > 13000 [SYN] 
161.701444          ::1 -> ::1          TCP 13000 > 57562 [RST, ACK] 
161.702435    127.0.0.1 -> 127.0.0.1    TCP 49900 > 13000 [SYN] 
161.702496    127.0.0.1 -> 127.0.0.1    TCP 13000 > 49900 [SYN, ACK] 
161.702529    127.0.0.1 -> 127.0.0.1    TCP 49900 > 13000 [ACK] 
161.703673    127.0.0.1 -> 127.0.0.1    TCP 49900 > 13000 [PSH, ACK] 
161.796579    127.0.0.1 -> 127.0.0.1    TCP 13000 > 49900 [ACK] 

firefox
via:Proxy Connection: localhost 12000
via:PuTTy (local(win32) 12000 -> localhost(freebsd)13000)

--unsuccessful -- tethereal dump of  ssh client tunnel proxy ---
0.000000          ::1 -> ::1          TCP 65019 > 13000 [SYN]
0.000067          ::1 -> ::1          TCP 13000 > 65019 [RST, ACK]