Req: VPN daemon

Re: Req: VPN daemon

Postby firwareslut » Tue Jun 19, 2012 7:40 pm

Last time we did this i got startup messages.

Even so, at the time I checked the ps aux | grep pptpd and did a port scan.

I will remove it all and start over.
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Req: VPN daemon

Postby firwareslut » Tue Jun 19, 2012 7:44 pm

oot@fvdwsl-base:/ # pptpd -d --conf /etc/pptpd.conf
root@fvdwsl-base:/ # ps aux | grep pptpd
root 2593 0.0 0.4 4564 1052 ttyp0 D+ 06:29 0:00 grep pptpd
root@fvdwsl-base:/ # ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Jun18 ? 00:00:00 init
root 2 0 0 Jun18 ? 00:00:00 [kthreadd]
root 3 2 0 Jun18 ? 00:00:00 [ksoftirqd/0]
root 6 2 0 Jun18 ? 00:00:00 [khelper]
root 7 2 0 Jun18 ? 00:00:00 [kworker/u:1]
root 183 2 0 Jun18 ? 00:00:00 [sync_supers]
root 185 2 0 Jun18 ? 00:00:00 [bdi-default]
root 186 2 0 Jun18 ? 00:00:00 [kblockd]
root 191 2 0 Jun18 ? 00:00:00 [ata_sff]
root 202 2 0 Jun18 ? 00:00:00 [khubd]
root 228 2 0 Jun18 ? 00:00:00 [rpciod]
root 236 2 0 Jun18 ? 00:00:58 [kswapd0]
root 284 2 0 Jun18 ? 00:00:00 [fsnotify_mark]
root 295 2 0 Jun18 ? 00:00:00 [nfsiod]
root 311 2 0 Jun18 ? 00:00:00 [jfsIO]
root 312 2 0 Jun18 ? 00:00:00 [jfsCommit]
root 313 2 0 Jun18 ? 00:00:00 [jfsSync]
root 321 2 0 Jun18 ? 00:00:00 [xfs_mru_cache]
root 322 2 0 Jun18 ? 00:00:00 [xfslogd]
root 323 2 0 Jun18 ? 00:00:00 [xfsdatad]
root 324 2 0 Jun18 ? 00:00:00 [xfsconvertd]
root 325 2 0 Jun18 ? 00:00:00 [crypto]
root 402 2 0 Jun18 ? 00:00:00 [scsi_eh_0]
root 405 2 0 Jun18 ? 00:00:00 [scsi_eh_1]
root 408 2 0 Jun18 ? 00:00:00 [kworker/u:2]
root 415 2 0 Jun18 ? 00:00:00 [smflush]
root 471 2 0 Jun18 ? 00:00:00 [mv_crypto]
root 505 2 0 Jun18 ? 00:00:00 [kjournald]
root 516 2 0 Jun18 ? 00:00:00 [kjournald]
root 535 1 0 Jun18 ? 00:00:00 /usr/sbin/buttons-nwsp2
root 548 2 0 Jun18 ? 00:00:04 [kjournald]
root 688 1 0 Jun18 ? 00:00:22 /usr/sbin/noflushd -n 15 /dev/sda
root 699 2 0 Jun18 ? 00:00:51 [kjournald]
root 730 1 0 Jun18 ? 00:00:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhcpdCbScript
root 739 1 0 Jun18 ? 00:00:00 /sbin/udevd
root 746 1 0 Jun18 ? 00:00:11 /usr/bin/httpd -f httpd.conf -d /etc
nobody 753 746 0 Jun18 ? 00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
nobody 754 746 0 Jun18 ? 00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
root 774 1 0 Jun18 ? 00:01:32 /usr/sbin/syncawayd -n 3
nobody 824 1 0 Jun18 ? 00:00:03 proftpd: (accepting connections)
1 832 1 0 Jun18 ? 00:00:00 /usr/sbin/portmap
root 846 1 0 Jun18 ? 00:00:00 dropbear -s -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root 869 1 0 Jun18 ? 00:00:00 /usr/sbin/rpc.mountd
root 871 1 0 Jun18 ? 00:00:00 /usr/sbin/rpc.statd
root 875 2 0 Jun18 ? 00:00:00 [lockd]
root 876 2 0 Jun18 ? 00:00:00 [nfsd]
root 883 1 0 Jun18 ? 00:00:00 /usr/sbin/hostd 7200
root 946 1 0 Jun18 ? 00:00:05 /usr/sbin/nmbd -D -l /var/log/samba
root 948 1 0 Jun18 ? 00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root 953 948 0 Jun18 ? 00:00:00 /usr/sbin/smbd -D -l /var/log/samba
root 965 1 0 Jun18 ? 00:00:00 /bin/sh
root 2518 2 0 04:00 ? 00:00:00 [kworker/0:2]
adam 2520 948 2 04:46 ? 00:02:21 /usr/sbin/smbd -D -l /var/log/samba
root 2564 2 0 06:06 ? 00:00:00 [kworker/0:0]
root 2566 2 0 06:23 ? 00:00:00 [flush-8:0]
root 2567 846 0 06:29 ? 00:00:00 dropbear -s -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root 2568 2567 0 06:29 ttyp0 00:00:00 -sh
root 2597 2568 0 06:30 ttyp0 00:00:00 ps -ef
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Req: VPN daemon

Postby fvdw » Tue Jun 19, 2012 7:55 pm

:scratch strange on my system double checked it again no problems

Code: Select all
root@fvdwsl-nwsp2:/ # pptpd -d --conf /etc/pptpd.conf


before connection with vpn client windows 7
Code: Select all
root      4187   926  0 20:55 ?        00:00:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root      4192  4187  0 20:55 ttyp0    00:00:00 -sh
root      4488     2  0 20:59 ?        00:00:00 [flush-7:0]
root      4587     1  0 21:01 ?        00:00:00 pptpd -d --conf /etc/pptpd.conf
root      4591  4192  0 21:01 ttyp0    00:00:00 ps -ef


after connection with windows 7 vpn client

Code: Select all
root      4187   926  0 20:55 ?        00:00:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_host_key
root      4192  4187  0 20:55 ttyp0    00:00:00 -sh
root      4376     1  0 20:58 ?        00:00:00 pptpd -d --conf /etc/pptpd.conf
root      4401  4376  0 20:58 ?        00:00:00 pptpd [192.168.1.44:5575 - 0000]
root      4402  4401  0 20:58 ?        00:00:00 /usr/sbin/pppd local file /etc/ppp/options.pptpd 115200 10.5.1.
root      4442  4192  0 20:58 ttyp0    00:00:00 ps -ef
root@fvdwsl-nwsp2:/ #


try to run it in foreground to see if you get error message

Code: Select all
pptpd -f --conf /etc/pptpd.conf
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Req: VPN daemon

Postby fvdw » Tue Jun 19, 2012 8:10 pm

I have send you a pm on how to be able to read the debug messages form pptpd
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 10 guests