LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-24-2002, 02:49 AM   #1
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 15
packet masking???


hey everyone,

this isn't necessarily a linux-only question, but it mainly pertains to how to do it in linux.

i'm on a university firewall and they are buttholes about file downloading/sharing. basically i needed to send my friend a legit file via ftp, but i cannot do outbound ftp since it is blocked at the router level. what i'm asking is if there is a way to mask packets of different protocols as an allowed type of packet, send it to an outside server, have it convert it back to its native format, then send it to its correct destination? i don't know much about networking so i could come off as a complete idiot. .

if there is a way to do it, what type of software/commands is available to do such a thing?

thanks a lot,

icy

Last edited by icyfire; 11-24-2002 at 02:53 AM.
 
Old 11-24-2002, 04:23 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
email it to him. =-}

Seriously, though. . .

If you post the file on a website, your friend should be able to
download it from there.
The sort of thing you are talking about is unlikely to make the U.
sysadmins happy, which could get you in trouble. Also, doing something
like that is normally regarded as a security breach of the firewall, and so
is unlikely to be available, as coders generally like to keep their programs
clean of security holes. . .
Is outbound ssh blocked? port 22. If not, then you should be able to use
scp, if your friend is running an ssh server daemon.
 
Old 11-24-2002, 04:49 AM   #3
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
hmm i might try that.

i was trying to send him a 690mb iso. i dont think email is a feasible solution =) actually....posting on a website too is unfeasible.....

i can try ssh, but isn't ssh a more secure form of the ftp protocol? i can run ftp servers fine, its just that noone outside of the network can even connect.

thanks,
icy

edit: aren't firewalls generally supposed to keep opposing content out, not in?

Last edited by icyfire; 11-24-2002 at 04:51 AM.
 
Old 11-24-2002, 02:06 PM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Very simply:
A firewall works to keep two networks ( a private one and the global one,
usually) seperated as much as possible, with the maintainer determining
what level of seperation there should be.

If your friend has a computer with an IP address (even dynamic), he can
set up an ssh server (which will allow an scp connection), and YOU can
connect to his server.
scp or sftp is not really the same as ftp or telnet, or whatever. You
accomplish the same goal, but with very different means. Usually
people don't limit port 22 access going out of a firewall, and since
scp uses 22, you should be able to connect to an outside server.

You could always burn a disk and snailmail it to your friend. . .
 
Old 11-25-2002, 12:19 AM   #5
Kamikaze_Gerbil
LQ Newbie
 
Registered: Nov 2002
Location: Vancouver, Canada
Distribution: Mandrake
Posts: 19

Rep: Reputation: 0
Re: packet masking???

Quote:
Originally posted by icyfire

i'm on a university firewall and they are buttholes about file downloading/sharing. basically i needed to send my friend a legit file via ftp, but i cannot do outbound ftp since it is blocked at the router level. what i'm asking is if there is a way to mask packets of different protocols as an allowed type of packet, send it to an outside server, have it convert it back to its native format, then send it to its correct destination?
icy
They are probably blocking port 21. Why not set your client and his server to use another port, one that they aren't blocking?
 
Old 11-26-2002, 06:54 AM   #6
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Original Poster
Rep: Reputation: 15
i've had it running on various different ports, including the most non-blocked ports of all time: 80 and 8080. when i get back to my linux machine, i will try ssh. is ssh a similar setup to ftp? i recall that being a complete pain...

thanks,

icy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packet Filter to redirect a packet to a user level process akawale Linux - Networking 3 09-01-2006 12:06 PM
how do i read the data in the packet that i have captured after packet capture? gajaykrishnan Programming 23 04-19-2006 05:09 AM
Apache IP masking? totalshredder Linux - Software 1 01-16-2005 05:08 PM
bit masking? blackzone Programming 1 08-10-2004 02:41 AM
Packet Masking/Packeteer workarounds? skyblade Linux - Networking 1 09-20-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration