Skip to content

Instantly share code, notes, and snippets.

@wilful
Created June 10, 2015 10:21
Show Gist options
  • Save wilful/46ee99b9465a43729e2e to your computer and use it in GitHub Desktop.
Save wilful/46ee99b9465a43729e2e to your computer and use it in GitHub Desktop.
> cat peers/iHOME
# written by pptpsetup
pty "pptp 85.112.118.4 --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
name u01
remotename iHOME
ipparam iHOME
require-mppe-128
> cat options.pptp | grep -vE '(#|^$)'
lock
noauth
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
> sudo cat chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
# added by pptpsetup for iHOME
u01 iHOME "SECRET" *
> pptpsetupon iHOME debug dump logfd 2 nodetach
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/peers/iHOME)
name u01 # (from /etc/ppp/peers/iHOME)
remotename iHOME # (from /etc/ppp/peers/iHOME)
# (from /etc/ppp/peers/iHOME)
pty pptp 85.112.118.4 --nolaunchpppd # (from /etc/ppp/peers/iHOME)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
ipparam iHOME # (from /etc/ppp/peers/iHOME)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/peers/iHOME)
nodeflate # (from /etc/ppp/peers/iHOME)
require-mppe-128 # (from /etc/ppp/peers/iHOME)
noipx # (from /etc/ppp/options)
using channel 49
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x590a676> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1436> <asyncmap 0x0> <auth chap MS-v2> <magic 0xfc6d315f> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <mru 1436> <asyncmap 0x0> <auth chap MS-v2> <magic 0xfc6d315f> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x590a676> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x590a676]
rcvd [LCP EchoReq id=0x0 magic=0xfc6d315f]
sent [LCP EchoRep id=0x0 magic=0x590a676]
rcvd [CHAP Challenge id=0x6e <805a451fcc6b5e4b48779987e5bdf1cc>, name = "*"]
added response cache entry 0
sent [CHAP Response id=0x6e <64af109c30a52f73d6ed62111c1f08e30000000000000000299d729af8e41b1337b06250b13c34059b9d3442a78a80b400>, name = "u01"]
rcvd [LCP EchoRep id=0x0 magic=0xfc6d315f]
rcvd [CHAP Success id=0x6e "S=228AFDC64A9A5D339642727E447E61E27E21913E M=Access granted"]
response found in cache (entry 0)
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 95.78.252.69>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 85.112.118.4>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 85.112.118.4>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 95.78.252.69>]
Cannot determine ethernet address for proxy ARP
local IP address 95.78.252.69
remote IP address 85.112.118.4
Script /etc/ppp/ip-up started (pid 14757)
Script /etc/ppp/ip-up finished (pid 14757), status = 0x0
Modem hangup
Connect time 1.2 minutes.
Sent 11871 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 14795)
MPPE disabled
sent [LCP TermReq id=0x2 "MPPE disabled"]
Connection terminated.
Script pptp 85.112.118.4 --nolaunchpppd finished (pid 14748), status = 0x0
Script /etc/ppp/ip-down finished (pid 14795), status = 0x0
июн 10 15:07:09 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172878 (expecting 10)
июн 10 15:07:09 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172879 (expecting 10)
июн 10 15:07:09 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172880 (expecting 10)
июн 10 15:07:09 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172881 (expecting 10)
июн 10 15:07:09 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172882 (expecting 10)
июн 10 15:07:12 wilful.h.srv-nix.com pptp[14748]: anon warn[decaps_gre:pptp_gre.c:442]: discarding bogus packet 172883 (expecting 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment