Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: shwick
Forum: *nix Software Jan 10th, 2009
Replies: 1
Views: 913
Posted By shwick
Can anyone help?


I tried some stuff from the samba checklist.

The pc could ping both the samba server shwick_gateway and itself shwickhomepc.
The server couldn't ping shwickhomepc: "ping:...
Forum: *nix Software Jan 3rd, 2009
Replies: 1
Views: 930
Posted By shwick
I was monitoring some ftp browsing and noticed that for each directory I clicked a new pasv command was sent to the ftp server.

This meant that a new tcp connection was created on a new port...
Forum: *nix Software Jan 3rd, 2009
Replies: 1
Views: 913
Posted By shwick
When I share a new folder on my XP box it isn't picked up by samba after a while.

If I immediately connect to the network and share a folder samba picks it up. After about 10 minutes if I share...
Forum: *nix Software Jan 1st, 2009
Replies: 0
Views: 1,053
Posted By shwick
I'm trying to run multiple instances of squid and I've followed the available directions.

The second instance of squid throws an error when it tries to open it's access log file.

Jan 1...
Forum: *nix Software Dec 31st, 2008
Replies: 0
Views: 525
Posted By shwick
There is a squid process listening on a random port with protocol udp each time I start squid and I'm not sure what it does.

I do a "ps -ef | grep squid" and get

root 22110 1 0 18:24...
Forum: *nix Software Dec 31st, 2008
Replies: 6
Views: 1,593
Posted By shwick
I used vi to generate it.

I meant deveop iptables in python as in write iptables rules in python. Supposedly "python-iptables" will let you write iptables rules in python.
...
Forum: *nix Software Dec 31st, 2008
Replies: 6
Views: 1,593
Posted By shwick
See those Protect chains? I have many of them and need to create a function for them. It would save me 4*16 lines of code.


#!/bin/sh

#
# reset the default policies in the filter table.
#...
Forum: *nix Software Dec 31st, 2008
Replies: 3
Views: 992
Posted By shwick
Yes I figured vnc4server wouldn't work unless it listened on localhost, I fogot to post back here.

I switched to x11vnc, when combined with xvfb allows me to start the server on any interface.
...
Forum: *nix Software Dec 31st, 2008
Replies: 6
Views: 2,045
Posted By shwick
Gmail doesn't send you unencrypted data when the https connection has been established. They encrypt data with your public key.

Why do they encrypt data with your public key? Because they feel...
Forum: *nix Software Dec 31st, 2008
Replies: 0
Views: 1,731
Posted By shwick
I have openvpn 2.1_rc7 running on ubuntu 8.04. I set up a user that has all traffic and dns pushed through the vpn.

On windows the vpn client works just fine, all traffic and dns requests are...
Forum: *nix Software Dec 31st, 2008
Replies: 6
Views: 2,045
Posted By shwick
If you read the full pfsense thread, you would see that originally I didn't know how the signing worked.

Then at the end I realized that the user submits a self signed certificate to gmail. I...
Forum: *nix Software Dec 18th, 2008
Replies: 6
Views: 2,045
Posted By shwick
I'm going with connection level authentication, so as soon as the ssl connection is established the user is authenticated.

As a result I want to disable csrs(certificate signing requests) from the...
Forum: *nix Software Dec 18th, 2008
Replies: 1
Views: 608
Posted By shwick
I created a new user, l4d1, then logged into it with "su l4d1". What is with the new shell? It's just a question mark "?", no command completion or command history.

The l4d1 user doesn't have a...
Forum: Networking Hardware Configuration Dec 13th, 2008
Replies: 4
Views: 2,339
Posted By shwick
Well I give up I guess I'll settle for 68 MB/s ftp and 43 MB/s samba. lame.

I tried a bunch of tcp tweaking on my ubuntu gateway, stuff from articles like


# TCP gigabit tweaks...
Forum: Networking Hardware Configuration Dec 13th, 2008
Replies: 4
Views: 2,339
Posted By shwick
Yes both onbaord gigabit cards. Crossover is CAT5.

So I found how to make samba faster, I removed "SO_RCVBUF=8192 SO_SNDBUF=8192" from socket options. I let the tcp stack set the buffer size...
Forum: Networking Hardware Configuration Dec 12th, 2008
Replies: 4
Views: 2,339
Posted By shwick
I'm having many little problems with my gigabit network.

My hard drive reads at 85 MB/s, so why am I downloading from the ftp server at 68 MB/s? How could I diagnose what is eating those 17 MB/s?...
Forum: *nix Software Dec 10th, 2008
Replies: 6
Views: 1,593
Posted By shwick
My iptables script is getting bloated, redundant, and there's code duplication everywhere, how can I clean it up?

Use shell script functions?
Develop it in a different language, like python?
Forum: *nix Software Dec 10th, 2008
Replies: 3
Views: 983
Posted By shwick
I'm running fully update Ubuntu 8.04 (as of today).

I did a "users" out of the blue and saw "root shwick shwick" and I only had two ssh sessions open to my gateway.

I checked if there was an...
Forum: *nix Software Dec 9th, 2008
Replies: 0
Views: 846
Posted By shwick
Ubuntu 8.04 + OpenVpn 2.1_rc7

I noticed in my syslog when I start OpenVpn that it still recognizes my original "test" users, client1 and sysadmin1. I created/signed certificates for those users,...
Forum: *nix Software Dec 8th, 2008
Replies: 0
Views: 1,454
Posted By shwick
I'm running ubuntu 8.04 and x11vnc 0.9.3. I'm having trouble getting it running.

When I run "x11vnc" with no arguments, it tries to open :0 but fails:

08/12/2008 20:51:56 *** XOpenDisplay...
Forum: *nix Software Dec 6th, 2008
Replies: 3
Views: 992
Posted By shwick
I'm running ubuntu 8.04 with vnc4server.

I'm trying to get my vnc server to listen on a specific interface. I don't want it listening on localhost, I want it listening on a virtual tun interface...
Forum: *nix Software Nov 16th, 2008
Replies: 1
Views: 1,121
Posted By shwick
I'm going through the openvpn howto, section "Configuring client-specific rules and access policies", http://openvpn.net/index.php/documentation/howto.html#policy.

I understand how the network is...
Forum: *nix Software Nov 6th, 2008
Replies: 0
Views: 950
Posted By shwick
I'm on a network with one gateway and one windows pc on the lan. I wanted to test OpenVPN so I VPNed to the gateway, using default server.conf. This works fine.

Then I configured server.conf to...
Forum: *nix Software Nov 4th, 2008
Replies: 3
Views: 2,903
Posted By shwick
I looked around the net and couldn't find an easy way to determine how to get a Windows NIC to report what it's auto-negotiated speed was.

I found out you could check the event logs, Control...
Forum: *nix Software Nov 4th, 2008
Replies: 4
Views: 1,453
Posted By shwick
Thanks got it working now.
Forum: *nix Software Oct 31st, 2008
Replies: 3
Views: 2,903
Posted By shwick
Anyone have a problem like this before? I'm sort of stumped and don't know how to proceed. Maybe the Windows PC's onboard gigabit lan autonegotiated itself to 100Mbit/s down 10Mbit/s up? How do I...
Forum: *nix Software Oct 30th, 2008
Replies: 4
Views: 1,453
Posted By shwick
I have an install script that sets some environment variables. To run the script I have to use the source command.

The script has to be run as sudo because the environment variables need to be...
Forum: *nix Software Oct 29th, 2008
Replies: 0
Views: 847
Posted By shwick
I'm running ubuntu 8.04 and openVPN 2.1_rc7.

I'm stuck on running the vars script in the openVPN setup, http://openvpn.net/index.php/documentation/howto.html#pki.

I've run the vars script a...
Forum: *nix Software Oct 27th, 2008
Replies: 4
Views: 1,879
Posted By shwick
Someone on IRC said "that depends if the windows server is advertising on netbios, and what the permissions are on the share". Well the permissions on the windows share allow it to be downloaded, I...
Forum: *nix Software Oct 26th, 2008
Replies: 3
Views: 2,903
Posted By shwick
I have a home network set up with ubuntu 8.04 as the gateway pc and a windows pc on the lan. When I try to upload a file to ubuntu I get slow speeds.

smbget from linux: 200kb/s
sftp put from...
Forum: *nix Software Oct 24th, 2008
Replies: 4
Views: 1,879
Posted By shwick
I made samba a domain master and added it as a netbios server in dhcpd.conf and I'm still having the same problem.
Forum: *nix Software Oct 21st, 2008
Replies: 4
Views: 1,879
Posted By shwick
Let me clarify the questions, they may have been confusing.

The windows machine can see and download all the shared folders from the linux machine, and the linux machine can download from the...
Forum: *nix Software Oct 21st, 2008
Replies: 4
Views: 1,879
Posted By shwick
I have a different problem now. I have two machines, the linux machine with samba and a windows xp machine as a client.

When I restart the windows machine and browse Workgroups I can see the linux...
Forum: Network Security Oct 20th, 2008
Replies: 0
Views: 1,012
Posted By shwick
Running ubuntu 8.04.

Recently I was making some iptables rules to allow samba services. As a proof of concept:


iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A...
Forum: *nix Software Oct 19th, 2008
Replies: 4
Views: 1,879
Posted By shwick
Running ubuntu 8.04 and Samba version 3.0.28a.

I'm trying to restrict the number of directories users can share with the "usershare max shares" option.

I set it to 3 but I can still share...
Forum: Network Security Oct 19th, 2008
Replies: 0
Views: 640
Posted By shwick
Running ubuntu 8.04.

I'm using the recent module in two different chains SSH_PROTECT and FTP_PROTECT. What I want is for an ip to be allowed to make a new connection to SSH port 22 once every 60...
Forum: *nix Software Oct 17th, 2008
Replies: 1
Views: 901
Posted By shwick
I created auth.log with "sudo touch auth.log" and changed it's permissions with "sudo chown syslog auth.log", "sudo chgrp adm auth.log" and "sudo chmod 640" to make it the same as syslog.

I tried...
Forum: *nix Software Oct 16th, 2008
Replies: 1
Views: 658
Posted By shwick
What does the -e argument mean?

#!/bin/sh -e
Forum: *nix Software Oct 16th, 2008
Replies: 1
Views: 901
Posted By shwick
Running ubuntu 8.04

I wanted to separate the cron logs from the auth logs, so in /etc/syslog.conf I uncommented the line "cron.* /var/log/cron.log".

I also wanted to cleanse the auth...
Forum: *nix Software Oct 14th, 2008
Replies: 2
Views: 2,475
Posted By shwick
Ok I decided to ditch the port forwarding and just get it working normally first. I got it working by opening my local interface through iptables.

In vsftpd.conf I specified a port range of 55000...
Showing results 1 to 40 of 46

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC